View Single Post
  #3   Spotlight this post!  
Unread 07-02-2017, 22:21
DIyer5465 DIyer5465 is offline
Registered User
FRC #5465
 
Join Date: Feb 2017
Location: Chandler
Posts: 4
DIyer5465 is on a distinguished road
Re: E4T Encoder Help

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:
  1. Resoldering the connections to eliminate any possibility of faulty wiring
  2. Setting the ticks/revolution in the code among other parameters specified in WPI Screensteps
  3. Switching the wiring to see if the oscillation jumped pins (it did)
  4. 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!
Reply With Quote