Instructables

Sound into Light shows

Featured
This is how to make a Magical Music Box which converts sound into a light show. When i was daydreaming what to make, i wanted something that would make a light show for any song simply by hearing it.

(include a video here)

Real simply, i used a microphone circuit for input, amplified it, ran it threw a potentiometer so i could control how senstive it was to ambient noise then split it into 3 band pass filters to tune out other frequencies then used that as an input for my arduino. A simple conditional based on that input controlled 6 digital out pins with each pin connected to a single input on 2 separate red, green, blue LED’s. So since each LED has 3 inputs, thats 6 pins to control 4 RGB LED’s.

I ran everything off of 2 nine volt batteries, one as +9v and the other as -9v. I included a simple power schematic. I used the arduino for all my grounds.

This is your overall shopping list. In each section i will let you know what parts you need from this list but don't get confused and think you need more parts. This is the complete listing of all parts needed to make this project. 

NOTE: if you make changes to the parts list, i'll try to detail how this affects the overall process in each section but no promises on the end result if you do

Materials used:
1x arduino (of any type, the code is pretty light stuff)
8x 1k ohm resistors
5x 10k ohm
7x 560 ohm
3x 150 ohm
1x Potentionmeter
4x RGB LED’s
8x 0.1 uF ceramic capacitors (this saves you trouble later since you don't have to worry                        about anodes and cathodes on these types of capacitors)
2x LM358N op amps
1x LM386 Audio Amp
1x microphone sensor
2x 9v batteries with battery holders
approx 2 miles of wire (just kidding but it seemed like a lot)
some kicking music to show off with
 
Remove these adsRemove these ads by Signing Up
skorotkiewicz6 months ago
Cool
You can use a larger power supply (say 18VDC) for your two voltages, and a pair of identical resistors to create the virtual ground halfway in between. This is called a virtual ground.

You need to make sure your power supply is isolated from ground, but this is usually the case. Ideally chose a power supply that does not have a grounded line cord.

Of course since the current draw through the resistors will vary the voltage, it's not ideal, but assuming that high fidelity is not a goal it should be close enough. You'll need to size the resistors properly for proper power dissipation and minimal voltage change. You can use a voltage follower to improve things. There is much discussion on the web, e.g. http://tangentsoft.net/elec/vgrounds.html. Thanks again!
oops I just noticed that someone already suggested this a few comments down.
Very useful project that should be very popular. I plan to build one. Can you confirm that you did build the device? The points where it says "include picture ..." leads me to wonder if you did actually get that far. The reason I ask is that filter design can be quite tricky. Thanks!
nickinoki (author)  michaelshiloh1 year ago
I actually made it for a school project before i made the instructable. I wrote the instructable for pictures to be inserted because i intended to make another one with improvements i thought of after making hte first one, Sadly, i never have.
Myrmidon3 years ago
Nice instructable, I was contemplating something similar just to trigger stuff for bass, mid and high end aspects, a VU meter basically. I was just going to use simple RC circuits though. :P

As for the laptop power circuit, look into virtual ground circuits. The basic idea is using a voltage divider and using where the resistors meet, this becomes your virtual ground then you take your + from the top resistor and the - from your bottom resistor. I'v attached an image to give you an idea. Don't rely on these values though, but both resistors and both capacitors must have equal values.

:)
example dual power supply.JPG
redryno12213 years ago
great instructable can't wait to see a video :)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!