14 Apr 2012

Arduino Music Visualizer

Music is food for the soul...I love listening to music and also love electronics. So I thought why not make an Arduino based LED music visualizer! With some cool lights synced with some music, you could create a great effect and a great ambiance! 
That is what I tried in my first Arduino project: an Arduino music visualizer. You can call it what you like: musical lights, dancing lights, etc. With slight modifications in the amateur sketch given below and by replacing the LEDs with more exotic lights, you can create a sensational light show!

Here is the code: 
Arduino LED Music Visualizer (code)

Materials Required:
  • Arduino Uno
  • 8 x 8 LED matrix
  • mp3 male jack
  • wires
Tools Required:
  • Soldering Iron
  • Wire Stripper

Wiring for the Arduino and the LED matrix 
Step by Step Guide:
  • Solder one wire to each column and row of LEDs (that makes 16 wires)
  • Insert the row wires in the Arduino pins A5, A4, A3, A2, 3, 4, 5, 6 in their respective order
  • Insert the column wires in the Arduino digital pins 7, 8, 9, 10, 11, 12, 13 in their respective order
  • Insert the negative wire of the mp3 jack into a ground pin
  • Insert the positive wire into the analog pin A0
  • Write the sketch on your Arduino verify the code and the wiring
This is what the music visualizer I made looked like:

Instead of an LED matrix, you could make an LED cube in this way. Below is the fascinating YouTube Video that inspired me to make my first Arduino project:

With this project, enhance your music listening experience and create a rocking ambiance. 


Alejandro said...

Hello, i would like to discuss with you a project i have in mind that works very similar to the audrino led visualizer you have created. Please email me at expressduque@live.com to discuss further.


Anonymous said...

Please, show me how to wiring the circuit.