Estimate RPM from signal pulses received from IR sensor connected to Arduino on Simulink
6 views (last 30 days)
Show older comments
Hi
I need to control the speed of a DC motor with the PID controller that I have designed. I am using Arduino for controlling the motor and an IR sensor to get the speed.
I just wanted to know how I can do this on Simulink to get the speed of motor in rpm because IR sensor output is a train of pulses whenever it is triggered, and I want process these pulses on Simulink and get the speed.
Thank you.
4 Comments
Answers (0)
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!