
07-02-2017, 22:49
|
 |
Alumni turned Mentor
AKA: Branden Gunn
 FRC #4761
Team Role: Mentor
|
|
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 887
|
|
|
Re: E4T Encoder Help
Quote:
Originally Posted by DIyer5465
Thanks for the suggestions everyone. Unfortunately, nothing we tried solved the problem. The encoder still inconsistently oscillates between 0-n*0.25 where n is the number of ticks/rev set in the code.
Here's what we tried: - Resoldering the connections to eliminate any possibility of faulty wiring
- Setting the ticks/revolution in the code among other parameters specified in WPI Screensteps
- Switching the wiring to see if the oscillation jumped pins (it did)
- Reading the raw output of the encoder
Sadly, nothing we tried got us usable values from the encoder. I guess this means our encoder itself is busted. My advice for anyone reading this thread in the future is to be extra careful when assembling the optical encoders and avoid touching the sensor as much as possible. Thanks again for the help!
|
did you use all the little spacer tools when installing the encoder to the shaft? alignment is very important. it's also easy to damage the little glass disk. Also verify the cover of the encoder is fully snapped down, one of my students failed to fully snap it down once, and the difference is subtle (you should hear two clicks when installing).
if you take the cover off (carefully) and post a picture (in focus), we can look to see if it looks an installation error.
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
|