4x4x4 RGB LED cube, which led driver can I use??

Hello World,

I'm a student in the middle of a project. I need to know which chip I can use to FADE and control my led matrix.

I know the construction of my matrix, but need some expertise on the led driver. I read that the MAX7219 & 7221 are good drivers but not for fading, only for on and off.

I need to give values to every port from 0 to 255. What I believe I need is three chips that have 16 PWM ports, or am I talking nonsense??? ::)

Please save my day... ;)

EDIT: and what about transistors or other possible ways to use only one driver? Or ofcourse other sollutions in this way...lol:P

I just ordered samples from cypress' CY8CLED16 (http://download.cypress.com.edgesuite.net/design_resources/datasheets/contents/cy8cled16_8.pdf) and TI's TLC5940 (http://focus.ti.com/docs/prod/folders/print/tlc5940.html) Not sure the cypress is the solution but I read that JMG used TLC5940 for his monome RGB clone. Might be the answer. Also, you can use digital potentiometers via an I2C (or other) interface.

I just ordered samples from cypress' CY8CLED16 (http://download.cypress.com.edgesuite.net/design_resources/datasheets/contents/cy8cled16_8.pdf) and TI's TLC5940 (http://focus.ti.com/docs/prod/folders/print/tlc5940.html) Not sure the cypress is the solution but I read that JMG used TLC5940 for his monome RGB clone. Might be the answer. Also, you can use digital potentiometers via an I2C (or other) interface.

Thnx for replying, I really want to order the Texas Instruments Chip. But the TLC5940 chip is probably not working with my LEDS, because they are common cathodes, not anodes. This is what I read before; From PeterM src= http://pixelriot.com/pmatp/node/42

Having somewhat mastered the fading effects with the 5940, I proceeded to scale up to the first visual challenge: Using groups of RGB LEDs to fade through various color schemes in a prototype arrangement.

Immediately I discovered that I could NOT use Sparkfun's RGB led with the 5940. Short explanation: The Sparkfun component has one lead as the Cathode (negative) connection, and the three other leads are Anodes (positive) for each of the colors. The 5940 chip is a "cathode sink" design (I think I'm saying that right) which means that the ports for the LEDs on the chip deliver negative polarity. To uniquely control each color I would need a "common anode" LED, or three separate R G and B leds. Argh.

Can anybody tell me if this is true or how u can fix this problem??? I think the Cypress CY8CLED16 chip is good...Is there anybody out there, worked already with this chip??

Thnx,

Michel

Hi Yes, TLC5940 is common anode, the sparkfun board is common cathode design. But it's just a bare PCB, you can put common anode or cathode leds in there. The only thing you have to take care is that the anode led is at the correct position. These ones seems to be ok http://cgi.ebay.com/50X-5mm-4Pin-RGB-Common-A-Manual-Control-LED-8Kmcd-FS_W0QQitemZ250076048475QQihZ015QQcategoryZ66954QQtcZphotoQQcmdZViewItemQQ_trksidZp1742.m153.l1262 I already ordered RGB common cathode 5mm leds and 5mm White leds on this ebay shop. Cheap, fast, and not-so-bad quality. I might order common anode soon ^^

EDIT : sorry, I replied after reading a loooot of pages about TLC5940 and sparkfun boards, not leds, so my answer is not really interesting for your case ^^

@ Melka: You bought this other driver the Cycling...hows that working???

EDIT : sorry, I replied after reading a loooot of pages about TLC5940 and sparkfun boards, not leds, so my answer is not really interesting for your case ^^

lol :) but thanks anyway...

ANYBODY else??? Please HELP!!! I really need to order the right drivers for my project?!?!?

I ordered the Cypress, but I still haven't received it. Anyway, I received the TLC5940, and I'm starting to learn how it works. Seems to be a good chip, and there's a library already available for the Arduino.

I ordered the Cypress, but I still haven't received it. Anyway, I received the TLC5940, and I'm starting to learn how it works. Seems to be a good chip, and there's a library already available for the Arduino.

Nice news Melka, but do you know how it works on common cathode RGB leds?? For now the TLC still seems the best chip for my 4x4x4 RGB cube, but I'm afraid it wont work on my common cathode RGB leds. Can you test that for me?? Than I can order 4 or 5 TLC chips!

My 4x4x4 construction is almost complete so I realy need the drivers soon!

You can't just plug it as is, won't work. Maybe with some inverter chips, I don't know. Gotta do a little thinking here... how to use common cathode on a common anode design... Anyone has an idea?

I'm curious about this as well. ::)

I just received the samples from Cypress, but they are SSOP, so I can't solder those (well, I could try something but I don't even have a PCB with the pads, just breadboard & perfboard). I'll keep you posted if I succeed in using those chips.

I just received the samples from Cypress, but they are SSOP, so I can't solder those (well, I could try something but I don't even have a PCB with the pads, just breadboard & perfboard). I'll keep you posted if I succeed in using those chips.

What are u building??

I'm opening a new topic about the TLC, cause that chip is the chip for me I think. I want to know if I can go around the anode structure!

A monome clone using RGB leds. http://play-collective.net/blog/archives/category/arduinomonomergb You'll have all the crispy details there ^^