PDA

View Full Version : connecting leds to 0/16/16



aviaparts
03-23-2008, 07:04 AM
I have two 0/16/16 boards that I use vor switches, I now have about 20 leds to connect. Does anybody know how a led can be connected to this board ? It seems silly to buy a led64 boards if it can be done on a 0/16/16.

Thanks

Trevor Hale
03-23-2008, 08:09 AM
Hi Marnix.

If I am not mistaken The Output acts as a switch to ground.

Therefore you will require to supply +5V and a resistor to the anode of the led and connect the cathode to the 0/16/16.

Make sure that the 0/16/16 has a connection between the ground of it's power supply in common with the ground of your +5 V LED supply.

I hope that makes sense.

Best regards Trev

dnoize
03-23-2008, 08:28 AM
maybe this picture helps too.

Stef


http://www.trossenrobotics.com/images/PImages/01616withnotes.jpg

aviaparts
03-25-2008, 09:49 AM
Thanks but I think I am having trouble with my vision ... I found an manual at Trossenrobotics explaining how to connect to the board :

http://www.trossenrobotics.com/PhidgetDatasheets/IFK-0.16.16_1012.pdf

Then I have the one at Phidget :

http://www.phidgets.com/documentation/Phidgets/1012.pdf

I am under the impression that for the same boards different way's are shown, in the first one the ground from the power supply is connected to the ground of the board + the positive lead of the power supply goes to the switch (or bulb) and continues from the bulb to the input or output node of the Phidgetcard.

In the second document it is the ground from the power supply that goes to the switch and continues from the switch to the ground of the Phidgetcard, the Positive lead goes from the power supply to the inputs or outputs from the cards.

Stef if I am correct, your drawing is the first.

Perhaps I am completely missing the ball here but I would like to be sure before I wire anything ...

aviaparts
03-25-2008, 03:40 PM
just did a test with the boards, I used the power supply ground to Phidget ground version, worked fine so I'll stick with this, it's the easiest to wire anyway.