TLC5940 - 4 x RGB

Hello,
I am working on a student project where I want to control 4 RGB LEds ( or 4xRED, 4xBLUE, 4xGREEN). I found out that the TLC5940 is a good solution for contolling 4 RGBs.

This is te schematics that I was thinking of. Can anyone tell me if this is a correct setup?

The resistor is 2 KOhm.

This is te schematics that I was thinking of.

That's not a schematic that is a physical layout diagram and is very difficult to follow. It is just the practical implementation of a schematic.

Can anyone tell me if this is a correct setup?

No it's not. The RGB LEDs should be common anode and as such connected to +ve not ground. The TLC5940 will not work with common cathode LEDs.

okay, I got it. well thanks al lot for the correction. So this will work if I use anode RGB LEDs and wire them to +. Is it right then to use 3.3 V?

Hi, have you looked at the playground example?
http://www.arduino.cc/playground/Learning/TLC5940

There are two different kinds of RGB leds, those with common anode and those with common cathode. Only the common + wil work, because the TLC5940 can only sink current and I imagine you'd want to control colors individually.

Just follow the playground article and you'll be fine.

[edit] +5V ! [/edit]

Is it right then to use 3.3 V?

No on two counts:-

  1. The TLC5940 won't work on this.
  2. Even if it did you can only get 50mA from this output.

There are two different kinds of RGB leds, those with common anode and those with common cathode

Then of course, there's the third (of two) type that's neither common anode or cathode, but has six pins.

Then of course, there's the third (of two) type that's neither common anode or cathode, but has six pins.

/me stands corrected :slight_smile: