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)"
Free-running mode (without music synchronization):
Remove these ads by
Signing UpStep 1Acquire the Parts
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 Step | Download PDFView All Steps | Next Step » |
















































Cheers Kev
Cheers Kev
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).
//#define TESTMODE
to turn it off.
I could just get a ssr that has a low input rating.
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!
c:\sketchbook\libraries\TimerOne\TimerOne.h
c:\sketchbook\libraries\TimerOne\TimerOne.cpp
it says this was never declared
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.
Thanks,
Win Guy
Win Guy
Real good instructable...keep up d work.
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!
Brilliant project!
thanks again!
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.
But bear in mind that you must select the current limiting resistors so that when all 8 LED's in a row are lit the maximum allowable current draw isn't exceeded.
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 :)