Pages: [1]   Go Down
Author Topic: LED won't shut off completely.  (Read 986 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 126
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

so i followed this LED strip tutorial: http://www.ladyada.net/products/digitalrgbledstrip/index.html

basically I've followed the circuit with the TIP 122 transistor, and I'm trying to fade between 3 led strips. they all work, except one of the strips will not completely turn off. I'm not sure if anyone has some quick suggestions/tips why this might be happening.

the code has been tested and works fine with lower voltage LED's. I've adjusted the circuit to take into an account an external power supply instead of the Arduino power due to low amperage and not enough voltage.

help?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 505
Posts: 31332
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

We need to know what you have done. That tutorial is about an addressable LED strip. You can't dim those with PWM.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 126
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been dimming them with PWM. and have tested a digital write to it. same results.
Logged

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 415
MEGA_Stick_II is here
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can dim them, simply give it a lower voltage - but that doesn't mean it is correct.
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 220
Posts: 6587
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The link you posted doesn't mention a TIP122 transistor. Maybe you posted the wrong link?
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Full Member
***
Karma: 0
Posts: 126
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

the circuit just asks for power transistors. tip122 would work just as fine. i am setting the voltage to 0, using an analog write function, i.e.

analogWrite(led, 0);
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 237
Posts: 24278
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is any of this relevant?

We haven't seen your code (hint) so we can't tell.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

United Kingdom
Offline Offline
Tesla Member
***
Karma: 220
Posts: 6587
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

the circuit just asks for power transistors. tip122 would work just as fine. i am setting the voltage to 0, using an analog write function, i.e.

analogWrite(led, 0);

I still think you have linked to the wrong page, I can find no reference to power transistors on that one.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

0
Offline Offline
Shannon Member
****
Karma: 159
Posts: 10409
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so i followed this LED strip tutorial: http://www.ladyada.net/products/digitalrgbledstrip/index.html

basically I've followed the circuit with the TIP 122 transistor, and I'm trying to fade between 3 led strips. they all work, except one of the strips will not completely turn off. I'm not sure if anyone has some quick suggestions/tips why this might be happening.

the code has been tested and works fine with lower voltage LED's. I've adjusted the circuit to take into an account an external power supply instead of the Arduino power due to low amperage and not enough voltage.

help?
Might be leakage current in the transistor - does that strip still glow a bit if the TIP122 base is connected to ground?
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: