3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

LED Matrix Coffee Table

LED Matrix Coffee Table
«
  • home etch serial arduino.jpg
  • matrix driver daughter board.jpg
  • Back of table - wiring.jpg
  • top view matrix wiring.jpg
  • Wired LEDs.jpg
  • cells.jpg
  • glass placed.jpg
  • chequerboard pattern.jpg
  • last photo ←
»
Some construction shots of my Arduino-controlled 8 x 8 LED matrix LED coffee table.

27 comments
Nov 29, 2010. 8:09 AMgaitskell says:
Trialex - This table is really nicely designed/built.

For the multiplex solutions being discussed below - if you are switching the LEDs on and off row by row to get the overall effect - won't that decrease the apparent brightness of the LEDs when ON very significantly? Decrease by a factor = 1/(number of rows)?

Is there an LED solution that works with the Arduino that keeps the ON state of the LEDs even when the other rows are being addressed? I assume this would require every LED to have a separate driver pin?
Jan 25, 2011. 2:36 PMgaitskell says:
Thanks for the reply. After we posted that question, inspired by your table, we built the Peggy 2 (evilmadscientist) - 25x25 LEDs. I understand your point now concerning max transient current, versus continuous current.

For the 10 mm diameter, white LEDs we used in Peggy 2, this is 90 mA transient vs 30 mA continuous. The only downside to setting the current supply >30 mA is if your software crashes (or has a logic error) before the next multiplex step switches off the LEDs - you can blow them. Did you worry about this for your software?

Jan 26, 2011. 9:54 AMgaitskell says:
This is an elegant solution. Your guidance is helping me become more familiar with the options.

I looked at the Maxim data sheet. A MAX7219 ~$13 in single quantities - can control 64 LEDs. Am I correct in understanding the following?

(1) It will drive 40 mA max per LED/segment.
(2) With 64 separate LEDs the chip will refresh all their states at about 800 Hz. I am assuming that at max intensity the LEDs are on approx 1/8th of the time - since there are 8 banks of 8 LEDs each? ( For the large/bright LEDs transient currents (10% duty cycle) of ~100-150 mA are permitted - if 40 mA is the max for this driver then one is giving up some brightness there?)
(3) For intensity control it uses further time modulation at 1/32nd resolution. The intensity is set globally for all 64 LEDs. You can't change the relative intensity of the LEDs separately.
(4) You are of course free to determine if each LED is either on or off through serial commands.
(4) The serial interface for sending updated state information for each LED runs at 10 Mbit/sec max, with each command taking 16 bits. So the time to write a command to change the on/off state of an LED is 1.6 us. To send the instructions to change the state of all 64 LEDs (unlikely, but limiting case) say would take approx 100 us. This is fast enough to not be a limitation, even for an LED array with many updates. Or am I missing some aspect of the communications overhead?

For the Peggy2 type display 25x25 one would need 10 of these chips, which is ~$100-$130 so I understand your comment on cost. Dedicating a micro-controller to handling display updates, with some discrete electronics is the more budget option? Although the programing to get the desired visual update behavior is also a challenge...

On the other hand in principle a LED display driver could drive the LEDs much closer to their maximum brightness (if it can supply the rates maximum transient currents) without fear of software crashes causing LED burn out?

Did you ever come across a version of this kind of display driver chip that allows different intensities on the LEDs, and also handles a larger number of individual LEDs (>>64) at a lower cost per LED?

Thanks for the discussion, Rick
Nov 27, 2011. 6:43 PMGeneRalf says:
It is probably a little late and you've completed your work already, but the chip is less the $2 @
http://www.taydaelectronics.com/servlet/the-788/Display-Drivers-serially-interfaced/Detail
Feb 1, 2011. 12:21 PMgaitskell says:
Thanks for the response. Again, very useful.

Do you feel able to publish the schematic (or just a hand sketch) of how your circuit for the coffee table was put together - doesn't have to perfect, but enough info to highlight any subtleties. I just want to make sure I don't have any misunderstanding of how to work at a practical level with the MAX7219. (I'm also going to look at the data sheets of the TLC5940 and TLC5916.)
Jun 2, 2011. 9:51 AMvishalapr says:
This is soooooo ultra cool, have a look at mine as well
http://www.instructables.com/id/Star-Wars-X-Wing-2/
Jun 19, 2009. 11:47 PMbman22 says:
i just realized. Do you think if i put two of the 5000mcd leds in there it would be enough. i found out that the superflux are between 2800mcd and 25000mcd. do you know which you have? Can you tell me how much you paid for them, cause those range are selling for between about 1-5$ each with a quantity of over 50 at mouser. I cannot afford paying more than about 40 total
Jun 23, 2009. 12:49 PMtony112 says:
hey, I just saw your problem with the pricing of LED's. Check out this seller on E-BAY seller named " jeledhk". I have been dealing with these people for about a year now, buying many many LED's from them. They are AWESOME people to work with, the only problem, is that they take approx 2 to 3 weeks to receive. However, they are brand NEW LED's for a third of the price anywhere else...Take care
Jul 2, 2009. 10:04 PMbman22 says:
great. i ordered 100 70,000mcd red led's from them. only $30. My next question is where did you get the opaque sheet that covers the top (and what is it? glass?). i would prefer to buy things like that locally, so if you got it from someplace like homedepot, i will be happy.
Mar 29, 2010. 11:19 AMsolpredator says:
You could have saved a great deal of money just buying .220 plexiglass and sanding the bottom side to create the opaque look, while maintaining a nice, flat, polished surface on top....it would weigh much less as well.  ;)
Mar 24, 2009. 10:10 AMsam says:
-Great project, I thought about doing this with only 9 segments to save cost and wiring, but your design is much more elegant. Can you make any sort of pattern, or is it limited to a checkered, all on, all off sort of thing? I'm having a hard time understanding how the LED's are being multiplexed- am I right in thinking that it turns them on and off at very high rates to achieve what seems to me like magic? Is it just those 4 wires connected to the LED's or is there a ground or something underneath that I can't see? Sorry for all the questions!
Dec 20, 2009. 3:23 PMpenester says:
i agree with Turdhurler above, I want to make one.
Dec 21, 2011. 11:56 AMmatt.e.jenkins says:
This is a great build. Does your Game Of Life code auto restart when it dies or gets stuck in a pattern? If so can you share that code with me. I can't figure out how to do that.
Thanks,
Matt
Jun 19, 2009. 11:18 PMbman22 says:
You wouldn't happen to know the light output in mcd of these LED's. I can't afford the official superbright's measured in flux, but I found some LED's up into 5000mcd, and I am wondering if I even have to pay $25 to get the LED's. (I'm buying 2x what I need. Its much better value that way, and I could use the extra LED's in case I want to make another), so knowing the mcd value could save me a fair bit of money, and having to be pissed when I find they are not bright enough
Jun 3, 2009. 8:33 AMwkumtrider says:
Is it possible to get detailed instructions on how to build this and where you got your parts? This thing is sweet!
Mar 12, 2009. 9:58 PMDirtMcGurt says:
This looks great! I second the request for a full write up and maybe even a video. A few questions as I'm still pretty new at hobby electronics: 1. How are you driving all those leds off an arduino? I recently made a led cube and I had to limit myself to a 3x3x3 because there weren't enough pins to directly control a 4x4x4. How hard would it be for a novice to interface a led driver with an arduino? 2. Are those custom led modules you're using there? They look a little like blinkm's
Apr 29, 2009. 7:58 PMsnowpenguin says:
Check out this instructable: http://www.instructables.com/id/Charlieplexing-LEDs--The-theory/
It's called charlieplexing. Each row of LEDs and each column acts as one output or ground connection. Thus, you can drive many LEDs from several pins.
Mar 10, 2009. 5:56 AMcrapflinger says:
would be neat to get a full Ible on this one ...looks like a little easier method than the others i've seen....also a parts list and a wiring diagram would be neat
Mar 25, 2009. 12:21 AMGaark says:
i agree with Turdhurler above, I want to make one.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
15
Followers
4
Author:trialex