Yet Another Daft Punk Coffee Table (5x5 LED Matrix)

Yet Another Daft Punk Coffee Table (5x5 LED Matrix)
Yes, I know this has been done before, but I wanted to build my own, using as few parts as possible.  I built this as a table top or wall mount model, but it can be scaled up to make a coffee table.  I built it as a study for a more ambitious project, which will be an 8x8 RGB coffee table.  In designing this project, I wanted to keep the part count and cost as low as possible, and also to design the software for speed and minimal memory usage.

The code I used in the Arduino sketch demonstrates direct port manipulation, which is a fast and powerful alternative to digitalWrite().

Update 3/10/2011 : Finished adding the Music Synchronization section of this Instructable.
Update 3/20/2011:  I decided to build Lampduino instead of the coffee table.

Note that the flickering in the video below was caused by my video camera. When viewed with the naked eye, no scanning is perceived, and the lights do not flicker.

Music Sync Mode:
Arvid "Try (fenomenon remix)"


Syncing to Daft Punk's "Around the World:
 

 

Free-running mode (without music synchronization):













 
Remove these adsRemove these ads by Signing Up
 

Step 1Acquire the Parts

Acquire the Parts
Parts List

25 LED's - I used warm white 5mm LED's purchased on eBay
5 resistors - I used 100 ohm, but the exact value will depend on what LED's you use. I will explain how to calculate in the Wiring step. 
NOTE: You may need also need 10 diodes and different resistors, especially if you are using white LED's... please the Troubleshooting section in step 3 for details.
Arduino - I used a Duemilanove clone - in Step 7, I switch to a much cheaper alternative.
wire
white foam board
.005" thick matte drafting film - I bought a sheet from a local artist's supply store.  The smallest sheet they had was way more than I needed - 24x36"

If you want to implement music synchronization capabilities, you will also need some more parts, as discussed in the Music Synchronization step.

Tools Needed

hot glue gun
mat knife
soldering iron
solder
pliers/wire cutters

The LED's I used were point source water clear.  If you don't want to deal with hotspots in your display, diffused would be better.  I had to put blobs of hot glue on mine to diffuse them.  The photo below only shows bits of the foam board, because I forgot to photograph the parts before I started.  The piece I used was about 16x20" to start with.

« Previous StepDownload PDFView All StepsNext Step »
107 comments
1-40 of 107next »
Jan 24, 2012. 10:16 AMnewdos says:
Hey Sam - its me again!!! my daftpunk table is working great but I have just one query to ask you on this. I have added to your code, my AGC code, to deal with using different volume levels, and to refine it I need to print out various variables using serial.print() but as sonn as I add this line anywhere in the code the whole thing seems to crash or not run. Any ideas ?

Cheers Kev
Jan 25, 2012. 1:27 AMnewdos says:
I have debuugged the code and it runs fine on a separate mood lamp that morphs when noa audio input but sync when a signal is there I just want to be able to refine the variables a bit for the daftpunk table but just by puttin in the serial print anywhere in your sjetch it then doesnt run - try it and you will see!! I'm guessing it something to do with the timerone.h lib but I am too new to this to know what yet. Any help would begreatly appreciated.

Cheers Kev
Jan 2, 2012. 11:54 AMgmnnn says:
Hello,
I have a problem. I created a 3x3 matrix and I connected columns and rows to 10,9,8 and 6,5,4. When I enable the test mode it works fine, but when i disable it none of the leds turn on (even if I try to turn on middle ones).
Jan 2, 2012. 12:02 PMgmnnn says:
Edit: When I use your frames it works, but when I create my own frames by your frame creator, it doesn't work. I even tried to add my frames into your frames.h but the part that I added doesn't make any led turn on, when it's your frames it works.
Dec 10, 2011. 4:48 PMmoiguille says:
please, I need help with my 5x5 matrix, when installing the program on the Arduino and connect (correctly to the matrix) does the sequence just programmed LED lights a while in order by rows. could help me to know that I'm doing wrong.
Aug 4, 2011. 8:15 AMForeverhex says:
Does anyone know if you could use this circuit (or slightly modify it) to power a matrix of relays, such as SSRs? That way I could power a lamp or a ton of LEDs instead of just 1 per square.

I could just get a ssr that has a low input rating.
Dec 10, 2011. 12:35 AMcoil1002 says:
Most ssr's have a control voltage of 3-32vdc you could probably get away with replacing the leds with the ssr's and not run into problem
Nov 12, 2011. 8:52 AMjeffrey_mackie says:
lincomatic -
thanks for your detailed instructions set. I'm keen to get this project going.
I downloaded the code as well as the TimerOne library from the arduino website. I try to compile the code and keep getting the error: "daftpunk.cpp:11:22: error: TimerOne.h: No such file or directory"
I'm pretty sure I put the TimerOne file in the right folder. I have tried putting it in a few different folders but can't seem to get this error to go away.
any help you can provide would be much appreciated. Thanks!
Nov 19, 2011. 5:10 AMjeffrey_mackie says:
Thanks for helping an Arduino beginner!
Oct 6, 2011. 10:02 PMbostondrummer1 says:
So the only time I can get this thing working is when I have the threshold set to about 884. Then it doesn't even follow the music much, and changing the music usually leads to a need for a new threshold. Any ideas?
Jun 4, 2011. 12:16 PMpsychodot5415 says:
I am setting up a Christmas light show similar to that shown in Arduino Christmas Light Controller instructable. That one gives a sketch for Joy To The World. I like what you have done in step 7, using an audio source to drive the Daft Punk show. If I copy what you have done for that step, and use analog pin 0 as an input, do you think it would work with the Christmas light show? Looks like I would need to share the 5V power source between the light controller and the audio source.
Aug 12, 2011. 5:39 PMpsychodot5415 says:
I finished my project and published. http://www.instructables.com/id/Arduino-Christmas-Light-With-Music-Sync/ Thanks for use of your code.
Jul 4, 2011. 3:33 PMfostersfriend says:
Can you help me modify the code for a 8 by 8 matrix ?
Jun 19, 2011. 8:02 PMfostersfriend says:
(removed by author or community request)
Jun 21, 2011. 12:34 PMfostersfriend says:
Timer3.initialize(1000);

it says this was never declared
Jun 21, 2011. 7:11 PMfostersfriend says:
Dunno i must have played with it and forgot
Jun 2, 2011. 12:09 PMtretarsch says:
@lincomatic: awesome job on the table and the instructions! thanks to you it only took me 2 days to build this. i decided to solder the wires directly to the I/O pins for stability reasons.
thanks so much for sharing your elegant code! would have taken me ages to figure that stuff out.
you sir are a legend :)

one more thing: im an idiot and assumed your wiring to the arduino was show from the backside and so i wired it that way. of course all the letters i added to frames.h showed inverted on the matrix. since i hotglued all the wires already i just changed the code of the frames, which totally did the job. you might want to point that out in your instructions.
Foto 5.JPGFoto 2.JPGFoto 4.JPG
May 30, 2011. 2:38 AMWin Guy says:
I can't view the video, and I'm using Google Chrome. Could you possibly re-post the vid?
Thanks,
Win Guy
May 30, 2011. 7:28 PMWin Guy says:
Video #1 and #2, it says "This video contains content from EMI, who has blocked it in your country on copyright grounds."
Win Guy
May 24, 2011. 5:50 PMjayeshshinai says:
My first arduino project! DONE!
Real good instructable...keep up d work.
May 15, 2011. 9:44 AMholmez says:
hello there,

ive added two buttons to the program which are ment to display two different patterns depending on which button is pushed. currently i have it so when a button is pushed it displays the first frame and when it is pushed again it shows next frame, though i want it to display the full sequence. Any help would be greatly appreciated!

Many Thanks,
holmez

p.s. great post!
May 17, 2011. 12:39 PMholmez says:
Thank you brother, worked it out in the end just had to concentrate a bit more. Got that working and a tempo gauge cause couldnt get my hand on a jack plug!

Brilliant project!
May 17, 2011. 2:06 PMholmez says:
No Bother!

thanks again!
Apr 20, 2011. 8:28 PMburgergarnish says:
Hi there!

I want to make something similar but would like to use 64 led's in an 8"x8" matrix. Would I have to change anything to use so many? Like some kind of interface between the lights and the Arduino?

Thank you so much.
Apr 17, 2011. 3:45 PMlnijs says:
hi, good instructable, i'm in the process of making my own one at the moment.

anyways, under "parts needed", you say you need 25 resistors, but you only use 5.

I understand why you only used 5, but it had me a little bit confused as I didn't know why you said to get 25 if you only need 5..


anywho, I'm liking the instructable, will be doing the wiring tomorrow :)
Mar 30, 2011. 4:34 PMumarthebeast says:
can you show me a diagranm of the led panels and how they are soddered?
1-40 of 107next »

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!
31
Followers
2
Author:lincomatic(Lincomatic's Blog)
For more information on my projects as they develop, visit my blog: http://blog.lincomatic.com