Instructables

How to build your own LED Color Organ || Arduino || MSGEQ7

Picture of How to build your own LED Color Organ || Arduino || MSGEQ7

I am showing you how to build a color organ while only using an Arduino Uno, one MSGEQ7 and five external electronic components. I am using three high power led and three MOSFET to visualize the three different frequency bands of the music. Join me for this awesome and educational build.

 
Remove these adsRemove these ads by Signing Up

Step 1: Watch the video!

The video already gives you a lot of details about the build, but I will cover the most important steps again.

Step 2: What do we need?

Here is a small and easier overview of the components we gonna need:

1x Arduino Uno

1x MSGEQ7

2x 100nF capacitor

1x 10nF capacitor

1x 33pF capacitor

1x 200kΩ(1/4W) resistor or 2x 100kΩ(1/4W) resistor

3x 5Ω(5W) resistor

3x 1kΩ(1/4W) resistor

3x BUZ11 N Channel MOSFET

1x Breadboard

1x Jumper Wires

1x Power supply (5V, 2A)

3x 1W High Power LED (red,green,blue)

If you already have the parts laying around than you can skip to step 4. Otherwise follow step 3 and order your parts

Step 3: Order your parts!

Here is a little part list with example sellers from Ebay and Amazon. I hope it helps you to get your components fast and easy:

Ebay:

Audio Jack: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Resistor kit: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

5Ω(5W) resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Power Supply (5V, 2A): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

MSGEQ7: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Arduino Uno: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Capacitor Kit: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

BUZ11 N Channel MOSFET: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1W High Power LED (green): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1W High Power LED (red): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1W High Power LED (blue): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Jumper Wires:http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Breadboard:http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Amazon.de:

Audio Jack: http://amzn.to/1gt9QTS

Resistor Kit: http://amzn.to/1gt9XPf

Power Supply (5V, 2A): http://amzn.to/1lEBiPl

Arduino Uno: http://amzn.to/1iNrB3C

Capacitor Kit: http://amzn.to/PD2jZj

1W High Power LED (green): http://amzn.to/1iNsl91

1W High Power LED (red): http://amzn.to/1iNsZmJ

1W High Power LED (blue): http://amzn.to/1gtbiFI

Jumper Wires: http://amzn.to/NgYFSR

Breadboard: http://amzn.to/1gtbtB7

Amazon.com:

Audio Jack: http://amzn.to/1vAjQA1

Resistor Kit: http://amzn.to/1rTqrqr

Power Supply (5V, 2A): http://amzn.to/1ujS7oN

Arduino Uno: http://amzn.to/1pxcmKe

Capacitor Kit: http://amzn.to/1E9G9Tc

1W High Power LED (green): http://amzn.to/1xLtV1h

1W High Power LED (red): http://amzn.to/1ujSMGM

1W High Power LED (blue): http://amzn.to/1r9EJ0I

Jumper Wires: http://amzn.to/1rS1yen

Breadboard: http://amzn.to/1uHHjSR

MSGEQ7: http://amzn.to/1pMtTgy

BUZ11 N Channel MOSFET: http://amzn.to/1vEYsuC

Step 4: Create the circuit!

Picture of Create the circuit!

Now it's time to get serious. Wire up components on a breadboard is pretty simple and I bet you will get it right after trying a few times. Just follow the schematic

And don't forget to connect the ground wire of your 5V power supply with the ground (GND) of your arduino for potential equalisation. Otherwise the LEDs might do what they want but not what you want.

hangovercat made it!22 hours ago

I used this project to create a colour organ christmas tree light setup. I tested with the high power LEDs as per the instructions and then swapped them out for LED strings – one each for RG and B. I also used the Spectrum Shield which obviated everything on the left half of the circuit diagram (it includes the MSGEQ7, caps and 200k resistor). The shield is also set up as strobe=4 and reset=5 so adjust the code accordingly. It seems to be running ok with a single 900ma power supply connected to the Arduino but I am not an expert and cannot guarantee this will not create issues in any specific configuration. Thanks so much for posting this. I run it off the headphone output of my entertainment system and everyone thinks I am some kind of wizard.

IMG_2374.jpg

I've made the project, but the LEDs still glow even when the music is off. I checked my serial monitor and it shows some small values in the PWM pins when there is no input. This happens for about 1-2 minutes until the values go to zero. Could you tell me what the problem may be and how to fix it?

GreatScottLab (author)  KarunTheWarrior6 days ago

Try to add some smoothing capacitors to your power supply. Start with
470µF and 100nF between +5V and GND. If the problem still occurs then try to use a
bigger one. And if that does not help then you might want to use a bit
more expensive power supply.

vibro1514 days ago

I ordered the part listed here: http://amzn.to/1pMtTgy

Could anyone give me some insight as to how I would modify this project so it works with this audio analyzer?

GreatScottLab (author)  vibro156 days ago

It is the same IC which makes things pretty easy. Just connect the Pins of the Breakout Board to the Arduino pins like I described it in the schematic.

RudiFebrian132 months ago

can i use 12v for power source ?

GreatScottLab (author)  RudiFebrian132 months ago

If you want to use 12V for your LEDs then it is okay. But the MSGEQ7 and the Arduino needs 5V. Use for example a LM7805 to get 5V from 12V.

does this tutorial apply to the led strips as well

GreatScottLab (author)  brandon_gears17 days ago

If you want to use a 12V led strip then read the comment above you. You only replace the 1W LED with resistors with your LED strip.

thanks man, still a noob

Hey man, you can use a 12V power source. Your UNO will convert that to 5V for normal use and you can use the Vin pin to get the actual 12 V out. I assume this is for an LED strip ? I had that issue and had to use the method described and a relay to get it working well. I hope this helped !

phippsy271 month ago

How would you go about this same style setup with led strips

juys11 month ago
Am I interpreting this correctly, is all the processing done on the arduino itself? Would this operate without a conection to the computer?
GreatScottLab (author)  juys11 month ago

You are correct. It does not need a connection to a PC.

GreatScottLab (author)  thapakisankisan1 month ago

That is an audio amp. That has nothing to do with this project and is not necessary.

Keule made it!7 months ago

Hi,

thanks for the circuit and code. It works fine.

Maybe I will try to modify the code with a kind of colour fading. So the colour changes are hopefully a bit smoother.

Arduino Nano RGB clolour organ with MSGEQ7.jpg