View Single Post
  #7   Spotlight this post!  
Unread 16-04-2005, 23:24
jdiwnab's Avatar
jdiwnab jdiwnab is offline
Really the Inventor Guy
AKA: Bryan Hartley
FRC #0617
Team Role: College Student
 
Join Date: Nov 2004
Rookie Year: 2002
Location: Highland Springs, VA
Posts: 260
jdiwnab is a jewel in the roughjdiwnab is a jewel in the roughjdiwnab is a jewel in the rough
Re: LED drivers on OI

Andrew, look at the documentation available online for the pinout guides and the manual for the OI and RC. These will tell you more that you would ever want to know. As previously stated, there are 11 LED's available. The proper pins should be in the docs. To wire them, get a DB-15 hood or a "game" cable (they are the kind on the joysticks. You could use a joystick that you don't want anymore and cut the cable off). You will want a good pair of strippers because of all of the wires. Strip the wires and have them separated somewhat. following the pinout, use a multimeter to check which wire is on which pin (there are some standards, but this will nearly always work). Hook the LEDs to the pins you want and then place and hide the wires (if you want to look good, or you could display it for all of it's ugly glory). For the extra buttons, you can splice a cable into the joystick cable or into your new LED cable.
(I'm not completly sure about the rest of this): Switches are between ground and a wire. close it and it is on (logic 0) or open and it is off (logic 1). For multiple postion switches, wire the ground to the grounds and the multiple wires to the other side. For POTs, I think the input could be an analog value and you can deal with it in your program.

But read the documentation. They tell you what pins you need and what things do. Those documents are your friend.
__________________
Proof that Macs will win the platform war: How did Scotty know how to use MacDraft in Star Trek IV?
// random()
I have 100 gmail invites. PM me if you want one.
If they want us to think outside of the box, why do they make us fit in a 38x28x60 inch box?
Beware of Geeks bearing GIFs
Help me test my server software