Forum 2005-2010 (read only)
(Read 1 time)
Sep 25, 2009, 08:59 pm
I have recently done a fair amount of reading on the TLC5940NT chip but still have a few questions I am hoping someone here can clarify. Lets say I have purchased 12 individual RGB leds and I wish to control them with the TLC5940NT. I understand i can use this to turn off/on the individual leds as well as use PWM but will the TLC5940NT allow me to change the color of the the individual LEDS? Essentially I wish to build a LED matrix similar to the sparkfun 8x8 matrix with SPI backpack in terms of function but without the unit being so compact ( the matrix will not be arranged in a linear fashion). If this is a total noob question I apologize as I am very new to this still.
Location: Bonn, Germany
Sep 25, 2009, 09:14 pm
yes and no ;0)
You will be able to control the color of each LED, but you will have to provide 3 TLCs to do so, as RGB LEDs are normally using 3 pins for the colors and one as common anode/cathode. So, to control 12 RGB Leds you will have to have 36 Pins which makes 3 TLC5940s, which is thanks to the daisy-chain feature and the brilliant library here no problem.
Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead
Sep 25, 2009, 10:02 pm
I see, thank you, for the clarification.
Location: Manchester (England England)
Solder is electric glue
Sep 25, 2009, 11:07 pm
If you want to control up to 16 RGB LEDs using only 1 TLC5940 chip you can do it through multiplexing. Here is what I did:-
Sep 26, 2009, 02:01 am
You may also want to look at the tlc5947.
Sep 26, 2009, 03:35 am
Thanks again for the helpful information. Just what I was looking for.