hello,
I have still some problems with the TLC5940 - actually with the power dissipation, because I burnt one TLC (my problem is that I don't understand the pd-formula in the datasheet, so I can not calculate it....
In detail: I drive 25 LED sheets at 12 V. Everey sheet needs 0,057A so IRef is 680 Ohm. I use the TLC library from metalab. I daisychained two TLC's; the first drives 16 LEDsheets, and the other the last nine. I feed the TLCs with 5 V, even If I could use just 3,3. (I have read the post of nima (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1204292903), but I dont believe that the 5 V is really the problem...?
-->Datasheet: 0-60mA; Vcc< 3,6 V and 0-120mA, Vcc > 3,6V))
All the setup worked perfectly for two weeks, while trying out different little programs. But when I started to let run all the programms for a longer time, at the programm which dimms all 25 Ledsheets at the same time on to off and vice versa, some of the Leds started to flicker or they had like an offset in brightness. When I excluded the "dimmall_programm" everything worked again. From time to time I held my finger to the TLCs and they where not hot! But nevertheless, after two days, the TLC who has to drive the 16 LED sheets was dead (of course I tried again the "dimmall_programm") - and the other who has to drive just 9 is still alive.
So my suspicion is that it consumes too much power when all the LEDs are dimmed (0%-100%-0%) at the same time......Unfortunately the power dissipation formula You can find in the TLC datasheet is not really clear for me.
PD = (Vcc x Icc) + (Vout x Imax x (DCn / 63) x Dpwm x N)
where:
VCC: device supply voltage (in my case: 5)
ICC: device supply current (in my case 30???? I looked at the datasheet under Icc...?)
VOUT: TLC5940 OUTn voltage when driving LED current (in my case 12 ?)
IMAX: LED current adjusted by R(IREF) Resistor (0,057)
DCn: maximum dot correction value for OUTn (63, I dident have done Dotcorrection, the DC Pin goes directly to 5 V, so Dot correction is 63...???)
N: number of OUTn driving LED at the same time (16)
dPWM: duty cycle defined by BLANK pin or GS PWM value (????4096???? here I have actually no idear what is exactly meant :-/
The formula with my values gives the result of 44976,624....mW?? or what? this result is of course far away from the max. rating of 2456mW for the DIL TLC...
so I have no clue if my calculation is totally strange (probably and hopefully yes) or if it is in fact not possible to dimm all (16) LEDs at the same time (what I can't believe).
Had anybody similar problems with dimming all channels at the same time?
Or had anybody problems with the capacitor between Vcc and GND? (if the capacitor is dead there is a short on the chip...this happend to me twice!)
For any help, hints and suggestions Im very gratefull!
Thanx a lot
lr