running 12v LEDS

Comments & issues
9000cse
Phidgetly
Posts: 19
Joined: Sat Nov 02, 2013 7:50 am
Location: Southampton, UK
Contact:

running 12v LEDS

Postby 9000cse » Tue Dec 01, 2020 6:46 am

Hi. Got a question for thoese that know these things.
I use a PHIDGET 1012_2B.
On input pins 0, 1 & 2 trigers timing software on my computer.
How do I run 12V LEDS from pins 1 through 8 on the output side? Computer software driven.
As the 1012 only puts out 5V.

Cheers. Andy

User avatar
mparadis
Site Admin
Posts: 769
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: running 12v LEDS

Postby mparadis » Fri Dec 04, 2020 3:50 pm

You need an external 12V DC power supply if you want to drive 12V LEDs.

The outputs on a 1012 are solid state switches to ground, so you need to wire each LED up as follows:

- ground of 12V supply wired to G terminal on 1012
- positive wire of 12V supply to LED anode
- LED cathode to digital output (0-15) terminal on 1012

Then you can repeat by wiring other LEDs in parallel to different outputs. You don't need to run a new ground wire for every LED you add because all of the grounds on the 1012 are tied together (but keep in mind that the current of all active LEDs are going through that wire so you may want to run a few extras depending on number of LEDs, the forward current, and the gauge of cable you're using).

9000cse
Phidgetly
Posts: 19
Joined: Sat Nov 02, 2013 7:50 am
Location: Southampton, UK
Contact:

Re: running 12v LEDS

Postby 9000cse » Sun Dec 06, 2020 5:10 am

Hi, Thanks for input. I was thinking along these lines, but was not sure. Thanks for confermation.
Andy


Return to “General”

Who is online

Users browsing this forum: No registered users and 3 guests