112 RGB LED Coffee Table

It looks awesome! This is exactly the kind of stuff I'd like to build (my arduino is in the mail right now ::))

How long did it take you to build it?

~1year since testing began. probably could be done in 2-3 months without school.

Wow. Very impressive, Joe.

Do you have any schematics? I'm curious as to how you've multiplexed the LEDs with the TLCs.

I'm assuming you have your manual controls and the processing sketch tied to the master board, which updates the slave? The master sends a rough equivalent of the Box[] array via I2C?


the line above the capacitor on the left is VCC at 5v
the line below is gnd

yea i send almost the box array, except to speed it up i only send red green or blue at a time

the slaves only job is to listen to i2c and update the tlc5940 array. this was done to ensure minimal cpu time available

Hey Joe. First, that is awesome. Seriously well done.

Still a noob to this stuff, but I was wondering if you could talk a bit more about multiplexing the anode. I looked at your schematic but it's not fully clicking for me.

Well they are common cathode led's so they have 3 positive leads and one negative. You can control which color is lit by activating a separate transistor in my schematic. when the program begins the first red grayscale pwm information gets loaded onto the TLC5940. then the red transistor pin is driven high by the atmega, while the two other transistors are driven low. after an amount of time has passed ~ 2 ms all of the transistors are shut off and the next information is uploaded to the tlc5940, this time its the green pwm info. then after the upload has finished the green transistor is driven high. this process cycles over and over...

hope this is helpful, take a look at the send_data() function in my code

I'm truely impressed. This is by far my favourite Arduino Project I've seen.

here's a slightly better video with some voiceover

that table is so cool, i want one now

That is in serious need of tetris!
Great work

im hooked... i want to make one... i guess step one is getting all the leds... im making mine 18" by 42", with 3" by 3" squares... so i need 84 leds... where did you get yours?

Ebay

they probably not the best or brightest, but by far the cheapest. to get brighter you could use three separate Red green and blue led's to get a better color spread and brightness.

lol im going to go with cheap for my prototype... lol

wow, the build itself is already good, but the software takes it all :slight_smile:

where do you buy a tlc5940, and what is it?

Absolutely great work. I've actually been working on a smaller version of this same idea. How many TLCs are you running? Each chip has 16 channels. And it looks like each LED consumes one channel. So 112/16 is 7 chips? My build is using 25 LEDs. The big difference is that my LEDs are common anode LEDs. So each color has its own channel on the TLC and are connected together across columns. My anodes are connected together down the rows. So I basically set my TLCs, pulse a row for 2ms or so, clear the row, set the TLC for the next row, pulse the next row, etc. The problem I'm running in to is my colors are not consistent at all. If I set my display to white, I get some white, some bluish, some greenish, some redish, some don't turn on much at all, blah blah blah. Any ideas why this might be happening? I guess switching to common cathode LEDs might be an easier fix...

I didn't realize I needed one of these until I read this post. :slight_smile:

Jeremy --> http://focus.ti.com/lit/ds/symlink/tlc5940.pdf
|-> http://uk.rs-online.com/web/0422283.html
& only £2.16!

Paul.

The TLC5940's have dot correction which you can set on the individual channels to correct for the varying LED colors. Don't ask me how to do it though, im just starting with these. Also the TLC5940's are in very short supply and most major distributors are on back order. Mouser had some TLC5941NT's (dip package) which are essentially the same chip, however their max Ic is 80mA instead of 120mA and they don't have the EEprom to store the dot correction so you would have to set that in the setup each time.

how did you link processing to the arduino? i guess i could just google that huh? i'll try that too. :wink:

Wow, very impressive. Definitely the best LED coffee table I have seen thus far.