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.