Offline
Newbie
Karma: 0
Posts: 48
|
 |
« on: October 14, 2012, 04:09:27 pm » |
I'm trying to multiplex small segments of LED Strips. I'm sinking using TLC5940's, i'm sourcing using a ULN2803 driving PNP transistors. (BC577)
I started out at 12v, which neatly gave me about 20mA on each rgb led channel. Since I'm multiplexing I wanted to increase the current going to the LED strips. I did this by increasing the voltage to 18v.
Now, however, the transistors are not 'shutting down' completely, does anyone know how this happens?
I'm using a 2.5kohm resistor between the base and the ULN2803 outputs.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #1 on: October 14, 2012, 04:25:02 pm » |
Many things can go wrong. Without a circuit diagram, it is hard to know what.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 275
Posts: 25482
Solder is electric glue
|
 |
« Reply #2 on: October 14, 2012, 04:28:55 pm » |
I'm using a 2.5kohm resistor between the base and the ULN2803 outputs.
You need pull ups to the +ve and a resistor in series with the base.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #3 on: October 14, 2012, 04:52:13 pm » |
You need pull ups to the +ve and a resistor in series with the base.
Could you please explain what kind of resistors from where to where that should be?
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 275
Posts: 25482
Solder is electric glue
|
 |
« Reply #4 on: October 14, 2012, 04:56:51 pm » |
Put a 4k7 resistor one end to the base, the other end has a other 4K7 to the +ve and is also connected to the output of the ULN2803. Values are not critical.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #5 on: October 14, 2012, 05:20:27 pm » |
So then i'd have the the emitter to 18v, a 2k5 from base to the ULN, a 4k7 from the emitter to base, and another 4k7 from the emitter to the ULN?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1372
Now, More Than Ever
|
 |
« Reply #6 on: October 14, 2012, 05:28:54 pm » |
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 275
Posts: 25482
Solder is electric glue
|
 |
« Reply #7 on: October 14, 2012, 05:29:52 pm » |
Loose the 2K5 and yes.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #8 on: October 14, 2012, 05:32:44 pm » |
Ik hooked up my scope to the collecter and to ground, and noticed something what i consider 'odd'.
When using 12v, I read about 3v when the transistor should be off, and 12v when it should be on.
When using 18v, i read about 12v when the transistor should be off, and 14v when it should be on.
What could this mean?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #9 on: October 14, 2012, 05:36:11 pm » |
So then i'd have the the emitter to 18v, a 2k5 from base to the ULN, a 4k7 from the emitter to base, and another 4k7 from the emitter to the ULN?
Loose the 2K5 and yes.
Without the 2k5 nothing's happening at all..
|
|
|
|
|
Logged
|
|
|
|
|
Anaheim CA.
Offline
Edison Member
Karma: 31
Posts: 2307
Experienced old Whitebeard with a Full head of Hair...
|
 |
« Reply #10 on: October 14, 2012, 05:41:56 pm » |
A PNP transistor is effectively a diode from base to emitter ( base cathode ) and pulling too much current from the base WILL destroy the transistor, Short the base to ground and the transistor WILL explode or shut down the power supply, in either case the transistor is toast. ALL PNP transistors need some method of current limiting (A resistor) in the base circuit. If it was an NPN directly pulling the base down, likely the NPN is toast as well.
Bob
|
|
|
|
|
Logged
|
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 275
Posts: 25482
Solder is electric glue
|
 |
« Reply #11 on: October 14, 2012, 05:45:12 pm » |
Then you are missunderstand what I was saying. Can you draw what you are doing.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #12 on: October 14, 2012, 05:47:24 pm » |
A PNP transistor is effectively a diode from base to emitter ( base cathode ) and pulling too much current from the base WILL destroy the transistor, Short the base to ground and the transistor WILL explode or shut down the power supply, in either case the transistor is toast. ALL PNP transistors need some method of current limiting (A resistor) in the base circuit. If it was an NPN directly pulling the base down, likely the NPN is toast as well.
Bob
To be honest, i don't quite see how this is relevant..? Also, when not connecting anything to the transistor except for 12v on the emitter and the collector to the 'anode' of the led strips, i measure about 11v from the collector to ground..
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 275
Posts: 25482
Solder is electric glue
|
 |
« Reply #13 on: October 14, 2012, 05:49:42 pm » |
Also, when not connecting anything to the transistor except for 12v on the emitter Transistors are current devices. Do not leave the base floating, the results you see will not make sense.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #14 on: October 14, 2012, 05:52:45 pm » |
Then you are missunderstand what I was saying. Can you draw what you are doing.
My initial setup was: Leds | | Collector Base ------2k5-----ULN2803 output Emitter | | 18v What i understood you meant was: Leds | | Collector Base --- 2k5 --- ULN2803 output | | 4k7 | | | Emitter ----------4k7 | | 18v (edited, misdrew something)
|
|
|
|
« Last Edit: October 14, 2012, 05:54:30 pm by Inevitableavoidance »
|
Logged
|
|
|
|
|
|