|
Re: Encoder trouble
Did you check the wiring? Code? Power to PD board? Metal shavings in PD board? fingerprints on optical disc?
If the robot is moving the slightest bit, it will count up or down. It has +-1 degree acuracy, so moving its shaft 1 degree will trigger 1 count in 1x decoding. If you are intermittent, check the soldering of the wires and fingerprints on optical disc.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|