
30-01-2017, 08:12
|
|
Registered User
 FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
|
|
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 517
|
|
|
Re: Encoder Question
Quote:
Originally Posted by GeeTwo
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.
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.
|
Thanks for the info. Would we have to use the talon SRx in cAN mode or in pwm mode if we hook it up that way. Also would we still have to set the distance per pulse.
|