Thread: limit switches
View Single Post
  #5   Spotlight this post!  
Unread 26-04-2005, 15:53
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: limit switches

Quote:
Originally Posted by billbo911
If you are using the digital inputs, my guess is that the switches are sticking, either by binding of the mechanism, or internally to the micro switch it's self. If you are using your own code to set a flag, the code may not be written to reset the flag once the switch state changes.
I bet he's right. Try hooking a multimeter up to the switch and see how the resistance changes when you press and release the switch. If it's working properly, you should see a high (infinite, depending on the meter) resistance when released, followed by a fairly low resistance when you press it, and back to what it was before when you release it again.

If you find that it stays low after you release the switch, then you know it's the switches fault. Get a new one...
__________________