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.

Arduino Christmas Light Controller

Step 2

Once you have all your parts i started out by testing one relay on a bread board
1. Put all the components in acourding to the scematic (image 1)
2. Open the arduino program and goto open>digital>Blink
3. Upload it to your arduino
4. Connect where it says arduino pin on the schematic to digital pin 13

if all works well then its time to multiply that by 8 on a pcb

« Previous StepDownload PDFView All StepsNext Step »
16 comments
Oct 28, 2011. 2:08 PMdonphipps says:
Is there a way to hook up to computer va USB port, i am looking for a way to make light blink to music.
Nov 29, 2011. 11:09 PMblangston1 says:
Just thought I'd pipe in here. Vixen, an open source software that sequences audio to digital events, will pipe it's output directly through an arduino (connected via USB.) I am planning to use this to run my Christmas light show as I have a spare desktop to run the program in the garage. In this type of setup, the code on the arduino only tells it what it needs to know to become the generic plug-in for vixen and doesn't actually contain code for the sequence, so this wouldn't work if you wanted a standalone.

Beyond the arduino outputs, everything should be the same as dany's setup. Then your songs/light shows are only limited to your patience with the sequencer.

Unfortunately, like you, I am still in the production phase and don't have a finished product to show such as dany's. I am as far as running some test LEDs with the sequence on a bread board, so theoretically, I'll build the board with the relays and be good to go...

http://www.youtube.com/watch?v=bucQrRSpv7Y
Nov 30, 2011. 3:47 PMblangston1 says:
No problem! I'm glad you think it might work for your setup.

I like your idea about the xbee and the climate controlled box. However, part of the deal in getting my wife on board with turning our house into a musical light show involved committing to a budget of practically $0, so I'm working with only components that I already have. But thanks for the tip about the temp of the arduino. I realized that my crawlspace door in the floor of my guest room closet is within a few feet from the nearest crawlspace vent to the front yard. I think I'll set up the whole operation in my climate controlled ;-) guest room, and run the cables beyond the relay through the crawlspace to the front yard.

I also plan on using an FM transmitter to play my music. A buddy that's helping me with some of the wiring work told me that the range of the common dashboard mp3 player transmitters can be boosted by simply soldering a longer wire to their antenna on the cb and coiling around a rod. I guess we'll see if that actually works or not.

Let me know if you can't find the vixen plug-in code for the arduino, and good luck to you too!
Dec 11, 2010. 2:02 PMpso24 says:
What is the purpose of the transistor in this circuit?
Aug 10, 2010. 11:41 PMlane29 says:
you could find a serial led driver and then you yould not need anything but the relays
Mar 18, 2010. 2:31 AMsapc says:
(removed by author or community request)
Jul 7, 2010. 11:03 AMtalkingjazz says:
There is also a limit of usually 80-100ma MAX that you can source per port (8 pins) on most AVR's. Trying to drive many relays from a single port would more than likely blow the AVR chip.
Apr 14, 2010. 12:39 AMsapc says:
that would take a lot of time working out the delays for the song. nice job
Mar 18, 2010. 2:28 AMsapc says:
would a 2n2222a work as well. i just dont want to stuff up
Nov 22, 2009. 5:58 PMhunterman1996 says:
so i would just have to put it on blink? Im new to arduino im confused please help

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!
29
Followers
4
Author:dany32412