Computer-controlled Music-synchronized Flashing Christmas Tree Lights
Intro: Computer-controlled Music-synchronized Flashing Christmas Tree Lights
Use solid-state relays to blink the lights on your Christmas tree in time with music. Also good for Halloween haunted houses.
STEP 1: Acquire and Set Up a Christmas Tree
Get a nice large, healthy tree set up in front of your biggest windows. See How to Pick and Decorate a Christmas Tree for more details.
STEP 2: Add Lights
String lots of lights onto the tree. Use as many sets as you like, but arrange them such that there are three light regions, each with a separate plug. Run these three plugs down the trunk so they can easily be attached to the light controller. Up to three strings of lights can usually be linked in series, so you can almost certainly cover even big trees.
STEP 3: Hook Me Up
Plug light strings into the controller you built for Halloween: https://www.instructables.com/id/Solid-state-Halloween-controller-and-how-to-build-/ Attach computer and sound system. Select high-quality Christmas music and sync the lights with a winamp plugin: http://www.8-legs.org/ewilhelm/projects/2.165/index.html
STEP 4: Run With It
Fire up the music, and treat your friends, family, and entire neighborhood to a great light now. If you really want to share, hook the music up to your outside speaker system and make the house shake in time to the music.
17 Comments
electronguy 18 years ago
dan 15 years ago
moordere 15 years ago
mooch91 15 years ago
thegeeke 15 years ago
cooldog 15 years ago
RJ1 15 years ago
THE_GEEK2007 16 years ago
canida 16 years ago
Song #2 on Christmas Re-Grooved.
JonWindsor 16 years ago
hi 17 years ago
brian2012 17 years ago
floydigus 18 years ago
Long story short, I bought 5 sets of lights and a light-up star. Wired it all up and got it so I could turn the individual light sets on and off. Kind of fun, but not too impressive. I found a winamp plugin, ready rolled, that was designed to control 8 leds from the parallel port (a la http://forums.majorgeeks.com/showthread.php?t=77923). It just worked - everyone agreed it was one of the funniest things they had ever seen when I had it grooving to Love's Theme by Barry White.
adam_b 18 years ago
ewilhelm 18 years ago
unterhausen 18 years ago
However, if all you are doing is writing to the data bits of the parport, i.e. you need less than 8 bits of output, just open the standard parallel port driver and write to it. I use that for an experiment at work. If you need to read, use the control bits, or use irq's it ain't going to work.
Open the parallel port, windows considers it a file:
hndFile = CreateFile( "\\\\.\\LPT1", // Open the Parallel port
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
0,
NULL
);
Write to the parallel port:
WriteFile(hndFile,OutByte,1,&NoBytes,NULL);
ewilhelm 18 years ago