# wiring series of led's to TLC5940

hey every one, i hope someone can help me with this.

i do have 16 led arrays, with different lengh's ( shorteste 23 led's and the longeste 93 led's ), and every led array is connected to a tlc5940 channel.
My problem is that i just cant power 93 led's hooked in series ( it need's to much power ). and as far i understand i cant connect the led's in parallel since it is not going to work with the tlc5940.

any suggestion on to solv this the smartest way ? .. please any suggestion will be appreciated.

sorry for that :

i am using 5 mm, white led's

Forward voltage : 3.2 -3.4 V
current : 20 mA

the voltage i am using, is 24 V, 10 mA .... but as far as i understand i just cant power more than 10 Led's in series with 24 volt.
any suggestion how to do it ?

it is the same online calculator i used, and i am aware that i cannot powr more than 7 led's in series with 24 volts, my question is :

• how should i do if i want to power 93 led's in series ?
• can led's in parallel be hooked to an tlc9540, or should they be in series ?

how should i do if i want to power 93 led's in series

You need 93 x 3.4 = 316.2 volts !!! - forget it.

can led's in parallel be hooked to an tlc9540

No.

yeah exactly 316 v is way too much ... so that's why i dont know what to do .

here is what i am trying to do :

i have a poster panel with some quotes, and i am trying to lightend the quotes with Led's. every quote is different, and then has a different length, so the shorteste quote can be lightend with 23 led's and the longest one with 93 led's.

the led arrays will be lightend in random fashion, in fading way ( in and out ).
i have 30 quotes in total, that's 30 led arrays with different lengths, to control these i am using 2 TLC5940 hooked in parallel, and every Led array is hooked to a channel.

when lightning a "quote" the hole array should lighten up ( fade in and out ).

i hope it make some sens

to control these i am using 2 TLC5940 hooked in parallel, and every Led array is hooked to a channel.

You don't have enough current capacity in a TLC5940 to drive even the shortest string of LEDs, 20mA x 23 is 460mA and the longest will take 1.86 Amps. You can only get 120mA per channel on this chip and that is pushing it. With the power dissipation limits this is more like 60mA.
So first off you need a bigger power supply.
You can implement a system like KE7GKP described but due to the current you are going to have to switch you should use FETs for both the top drivers (p-Chanel ones) and the bottom one (n Channel).
You also need a resistor in series with each LED to control the current.

Thanks for the help ... before posting s a shematics i would like to clarify some things, juste to make sure that i understand correctly.

• can i fade Led's in and out with shift registers ? because i thought that i can only turn then on and off ?

• is 74HC595 good enough, or should i use some high voltage shift registers like tpic6b595

• every shift register has only 8 channels - maybe a dumb question, but just trying to learn here - but can i hook a hole array to a shift register, i mean every led array has alot of led's.

• is the setup "KE7GKP" suggested, a kind of multiplexing ?

This all seems pretty simple to me. Just make each of your strings and attach them to a power mosfet. Attach the bases of the mosfets to the outputs on the tlc5940. This way your using the mosfets as an electrical switch for a higher power load. Calculate the power requirements for the whole thing and get one power source big enough for the whole thing. Then use the led calculator or just do the math to figure out what resistors and arrangement you need.

Thanks alot for the explanation .. that made things clear for me.

for instance i want to light up one array at a time.

but i still have an issue ... because actually using a mosfets with a couple of TLC5940 was my original setup ( i already programmed the thing ). my problem with that setup was powering the whole thing. i mean if i am going to use an array pr. channel ( for the tlc5940 ) i need to have those Led's in series. and having 93 led's in series need a lot of voltage ( more than 300 v ).

if this solution is the simplest, how can i deal with the powering issue ?

This all seems pretty simple to me. Just make each of your strings and attach them to a power mosfet. Attach the bases of the mosfets to the outputs on the tlc5940

It is not so easy because if you invert the signal output you will never be able to turn any LED off completely.

thanks again, so the tlc5940 + mosfet .. is a bad idea ? and multiplexing would be better ?

i looked to my poster again, and here are the correct details :

• In all i have 22 arrays, arranged like this :

array 1 : 23 Leds array 2 : 31 Leds array 3 : 31 Leds array 4 : 38 Leds array 5 : 65 Leds
array 6 : 28 Leds array 7 : 25 Leds array 8 : 57 Leds array 9 : 36 Leds array 10 : 60 Leds
array 11 : 21 Leds array 12 : 87 Leds array 13 : 27 Leds array 14 : 25 Leds array 15 : 115 Leds
array 16 : 18 Leds array 27 : 33 Leds array 18 : 43 Leds array 19 : 72 Leds array 20 : 13 Leds
array 21 : 37 Leds array 22 : 17 Leds

for the Led's : 3.4V @ 20ma
my power source is : 24 V / 10 ma / 0,24 V A

the arrays are going to fade in and out in a random way, one array at a time.

i didnt mesure it myself ... but it is what is on the label : output 24 V / 10 mA / 0,24 V A

but i mean it does not really matter, i can always buy a new adapter according to how much power i need ( or is it a nonsens !? )

anyways .. i just found 2 adapters, and they should be fine, here are the specifications :

• 1 ) 24 V / 2500 mA
• 2 ) 20 V / 4500 mA

Thanks for a great explanation man . really appreciate it.

last question though, i already bought some N-channel mosfets ( FQP1306 http://sm0vpo.com/_pdf/FQ/FQP13N06.pdf ) and i've been reading the http://focus.tij.co.jp/jp/lit/an/slva280/slva280.pdf. and as i understood it works the same way as the transistor you mentioned, and will be wired the same way. I can though see the idea in your suggestion, the price is much more cheaper.

i drawed a wiring based on your explanation, is that correct ?

ups .. sorry i didnt see the diagram on your second post !

@KE7GKP
Yes but with that circuit V+ can only be +5V, any higher and you can't turn the transistor off, and +5V is not enough to run more than one LED. So no series wiring, it will have to be parallel with a resistor for each LED.

@stregoi
No that circuit is all wrong, the TLC will only sink current so there is no way for the LEDs to get any current.

@Grumpy_Mike
now i am kind of confused .. i've been told in a earlier post that i cannot use led's in a parallel wiring with the TLC5940. and that no need to use a resitor for every led.
how should i understand this ?

how should i understand this ?

By actually reading what has been said:-

i've been told in a earlier post that i cannot use led's in a parallel wiring with the TLC5940

Yes that is why we are talking about not wiring the TLC5940 to the LEDs but to a transistor, the transistor is driven from the TLC5940.

and that no need to use a resitor for every led.

Yes ONLY IF they are in series, if they are in parallel then you need to.

Again that circuit will not work because you can't get 24V out of a TLC5940 and therefore you will never be able to turn that transistor off.

In which case when it is off you are presenting the TLC5940 with 24V, this chip has a maximum voltage rating of 17V and so you will blow it up and it will not work. There is an application note to tell you how to use higher voltages it's number is SLVA280.