View Single Post
  #4   Spotlight this post!  
Unread 01-03-2010, 11:29
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,738
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Quadrature Encoder Wiring to Digital Sidecar

Crash -

Does the problem go away when the PWM headers for the encoder are not plugged in? If so, then it could indeed be a problem with the encoder or wiring (although it sounds correct to me).

Could this be a code issue? Have you checked the classmate to see if the watchdog is being fed, or if it reports everything as working correctly? Can you remove or disable any code you have for the encoders - does that fix the problem (indicating that the problem isn't with the encoders themselves, but with the code reading them)?

Can you enable the robot and let it sit without anything moving - does the problem still happen after a few seconds, or does it only happen after you start moving?

What does the robot signal light do once the sidecar stops responding (you can also look at the LED next to the 2-pin output for the signal light if you don't have one installed)?