LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with transistor relay driver circuit

Hi, I am currently experiencing some problem with my transistor relay driver circuit. My led U1 is able to light up after I close the switch S2. However, the led will blow out after 1-2 seconds. Does anyone know what is wrong with my circuit that causes this to happen?

 

 

design.png

0 Kudos
Message 1 of 12
(5,451 Views)

It should normally work. Is the transistor heating up?

0 Kudos
Message 2 of 12
(5,444 Views)

How do I know if it is heating up?

0 Kudos
Message 3 of 12
(5,441 Views)

Use a temperature sensor, e.g. your finger tip or a thermocouple. You can also check if the maximum ratings of the transistor are exceeded.

0 Kudos
Message 4 of 12
(5,431 Views)

LED's normally have a forward voltage of about 2.1V.  When the relay closes, you are applying 12V across it!  You need to find the forward current of the LED (from the spec sheet) and calculate the value of a dropping resistor to put in series with it to limit the current that flows through it.

Message 5 of 12
(5,424 Views)

where is the current limit resistor? Smiley Surprised

Message 6 of 12
(5,417 Views)

What apok said. For a normal LED, I;d suggest to keep the current down to about 20 mA.

 

BTW, where did you get a 1 ohm capacitor?

 

Cameron

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 7 of 12
(5,400 Views)

He is using a modeling program, I'm pretty sure that is the max resistance of the relay's contacts, which look like a capacitor in this drawing, one reason I use the "curved plate" type of capacitor symbol.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 8 of 12
(5,388 Views)

This works for LED's too 🙂

 

https://www.sparkfun.com/products/retired/10622

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 9 of 12
(5,373 Views)

Hi guys, thanks for the reply. I have implemented my circuit on a breadboard and I am able to get my relay to work, as I am able to hear it click. However, my led still won't light up even though I put a 2.2kOhm resistor between it and the 12V power supply. Is there something I am doing wrong in the connection at the back of the relay? Please advise. Thanks.

0 Kudos
Message 10 of 12
(5,334 Views)