This year, I decided to make my pumpkin a little more exciting. I thought and thought about it, and then I came across LED Dance Room. I figured "I could do that", and the project was born.
There are two modules for this setup: The Controller, and The LED/Breakout Board.
The controller is simply an Arduino running software that allows a computer to control it over USB.
The breakout/LED board is a breadboard that has 12 ultra-bright leds connected to the digital pins on the Arduino over two 15 ft lengths of CAT5 cable. The three unused wires in the cable are used to connect the speakers inside the pumpkin to the stereo that is near the controller.
The pumpkin is controlled by a processing script running on a computer. This program detects the beats that the internal microphone in my laptop picks up. It then converts these to data that the arduino can read. The arduino recives these signals and flashes different leds to different sounds (bass is brighter, treble is darker).
Here is a video of it in action:
Step 1: What You Need...
For the controller
For the LED/Breakout board
-12 LEDs of various colours (the super-bright ones work best)
-a resistor (that matches your leds)
You will also need a computer running the arduino software and processing.
Step 2: Installing Libraries
You will need to install two libraries: minim and the arduino library for processing. You can get minim from http://code.compartmental.net/tools/minim/. You will also need to install the arduino library, which can be found at http://www.arduino.cc/playground/Interfacing/Processing.
Step 3: Building the Controller
Step 4: The LED/Breakout Board
I recommend that you wrap your electronics in plastic to prevent them from getting all gooey.
The schematic below should help.
Step 5: Programming
Step 6: More Programming...
Step 7: Fire It Up!!!
1. Your leds are connected correctly
2. You programmed the arduino correctly
3. You loaded the processing code correctly
If none of these work, please ask in the comments, or on the forum on my website (forum.covins.ca).
Step 8: Final Thoughts and Possible Improvements
If you have any ideas, please post them in the comments.
Thanks, and please remember to rate and vote if you enjoyed reading this.