This code allows you to calculate the rpm of the motor using a quadrature encoder. The rpm value will be displayed in the serial monitor, minus sign will represent the opposite direction of rotation. For code to work you must know the pulse per rotation of the encoder. If not known it can be calculated using this code. Distance travelled by the wheel is also being calculated, it can be uncommented and displayed on the serial monitor.
-
Notifications
You must be signed in to change notification settings - Fork 0
easy rpm and rotation direction calculation along with distance travelled by wheel
License
SwaritBhardwaj/rpm-counter-using-magnetic-encoder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
easy rpm and rotation direction calculation along with distance travelled by wheel
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published