![]() |
Turning LEDs on/off
I have an LED wired to the digital side car power and ground pins. I want to be able to turn it on/off programatically, but it always stays on. I am using Labview to open a digital output sand setting it to false, but the LED is always staying on.
I have the jumper on the DSC's port. What am I ding wrong? Should the LED be wired to the ground and signal pins? |
Re: Turning LEDs on/off
Wiring to the signal pin sounds like it would work.
|
Re: Turning LEDs on/off
Quote:
|
Re: Turning LEDs on/off
I think you are right when you say that you should wire to signal and ground, just don't mix up positive and negative on the LED, they make a nice pop sometimes, you can also run LEDs on spike relays if they are 12 volt
Edit: Also the signal may not carry enough current to power LEDs in which case you should use a spike |
Re: Turning LEDs on/off
LEDs from SuperBrightLED
Qty | Product / Options | Price/ea | ================================================== ========== 12 | RL5-G7532: 5mm Green LED | $ 0.54 | RL5-G7532: Green LED ---------------------------------------------------------- Resistors from www.MOUSER.com 299-82-RC 299-82-RC 82ohms Assuming the flat side of the LED is the negative side. Going to try the ground/signal setup now.... thanks |
Re: Turning LEDs on/off
Quote:
|
Re: Turning LEDs on/off
Quote:
Reversing polarity on a LED will not damage the LED (or the Digital Sidecar, for that matter) -- it will simply not night. LEDs are diodes. Feeding them too much power, however, can make them pop. |
Re: Turning LEDs on/off
Quote:
And like flameout said it won't hurt the sidecar or the LED at that voltage. An LED is a diode so it only lets current through in one direction and also happens to light up. |
Re: Turning LEDs on/off
Quote:
A high voltage high impedance source might work fine in the forward direction but damage the LED if polarity is reversed. |
Re: Turning LEDs on/off
Quote:
http://led.linear1.org/1led.wiz When I switched to the signal tonight, there was no light when I set the DIO to true or false. When the LED is on power and ground, it comes on |
Re: Turning LEDs on/off
Quote:
Disconnect your LED circuit and put a voltmeter (a cheap $10 one will do) between signal and ground at the DIO output. Flip the DIO true/false and confirm that you are getting 5 volts and zero volts. Now connect your LED circuit (leaving the voltmeter connected between signal and ground). My guess is that you will no longer see 5 volts. The load from the LED acting on the impedance of the signal source will drop the voltage below that necessary to provide the current to light the LED. |
Re: Turning LEDs on/off
Quote:
If I use a spike to control it, I assume I will need a different resistor to handle a 12v input? Or I run 5v throught the spike? |
Re: Turning LEDs on/off
Quote:
I'll draw a sketch and post it here in a few minutes. |
Re: Turning LEDs on/off
Quote:
|
Re: Turning LEDs on/off
1 Attachment(s)
Quote:
edit: corrected resistor value |
| All times are GMT -5. The time now is 17:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi