What is the best way to measure the RPM of a motor using a Pic?
I already have the sensor working and I can count the number of times the motor rotates. What I am trying to figure is the best way to turn that into RPM.
Best I can figure is to set a timer for a given period. When that period expires, determine the RPM and reset the counter.
Is there a better way?
I already have the sensor working and I can count the number of times the motor rotates. What I am trying to figure is the best way to turn that into RPM.
Best I can figure is to set a timer for a given period. When that period expires, determine the RPM and reset the counter.
Is there a better way?