Quote:
Originally Posted by tomy
Ok that makes sense but how we figure that into rpm? We would have pulses per rotation.
|
Figure out how many pulses per minute (ppm), and divide by the number of pulses per rotation (ppr) to get rotations per minute (rpm). For example, if you get 160 ppr, and count 40 pulses in 10 ms, then you would have 60 (sec/min) * 100 (10 ms/sec) *40 (pulses/10 ms) =240,000 ppm and 240,000 ppm / 160 ppr = 1500 rpm.
Quote:
Originally Posted by tomy
We are using a talon srx but we are not using an encoder. We are using a gear tooth sensor.
|
If it's counting gears as they rotate, it's an encoder. Encoders can be magnetic, optical, proximity, mechanical, or any other consistent means of detecting a fractional rotation or motion.