View Single Post
  #3   Spotlight this post!  
Unread 08-02-2009, 20:30
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: drivers station digital input trouble

Here's how I've been telling our electronics team to wire up switches connected to the Driver Station digital inputs.
It shows how to hook it up when your switch has two terminals or three terminals.
Normal convention is that when a switch is in the "off" position, the signal line provides +5 volts and ground when "on" so you may see the opposite of what you expect in your programming but its usually easy to invert the sense of the switch.
Attached Thumbnails
Click image for larger version

Name:	Driver Station switch wiring.jpg
Views:	277
Size:	17.5 KB
ID:	7369