View Single Post
  #2   Spotlight this post!  
Unread 01-02-2011, 18:20
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Encoder Problems

The wiring sounds right (though I'm going from memory and I might be wrong). I assume you have the encoder outputs connected to the Digital Sidecar inputs that the software is expecting.

Did you correctly attach the encoder "code disk" to the gearbox shaft? The long plastic collar with the slits goes on first. If it's on backwards, you will read nothing. The disk should be pressed on until it is exactly in line with the mounting tabs for the cover. If it's too far away from the sensor circuit board, you will read inconsistent values. If it's too close to the sensor circuit board, you have probably destroyed it by scratching off the reflective lines against the encoder's mounting screws.

If the disk is too loose, it won't give useful results. It will probably end up sliding off the end of the shaft where it will get wedged inside the housing and the values will stop changing.
Reply With Quote