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


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:


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?...



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


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.

Better to buy a MSGEQ7 and supporting components here:

Hermse932 months ago


After three evenings of trial and error i give up.. And ask you for a solution of my problem.

checking the circuit tons (see images) of times and run the program over and over
the results didn't get better. The serial monitor of my arduino dont get
the values i expect. it's continuously around 0 22 23 25 20 21 23. It doesn't even matter of the audio input is connected or not. The only reasson for the problem that i can imagine is that my MSFEQ7 is bad. (Order these one in china via aliexpress) Does anyone had a similiar problem?

Sry for bad english ;P

arduino project 2.JPGarduino project 1.JPG

Try changing analogInput to A0.

SohamB11 month ago

There is an error in the code I think. The analogInput pin will be A0 instead of 0 most probably.


SirTrollik3 months ago

Hi, I just want to ask about conneting the audio jack. I'm not sure, where I should connect the right and left channels and the ground.

I know that it was mentioned in the video but doesn't it affect the quality of the audio or somethin like that?

harithal13 months ago

same here sir i could not find msgeq7 please can you tell me an another alternative asap

sir are you busy?

sldata harithal13 months ago

You can get it at SparkFun:


MatiasArg3 months ago

Hi sir! I want to do it but well, i dont think i could find the buzz11, do you know an equivalent to it? Thanks sir, I really appreciate this :)

I finally got it to work but the LEDs arent bright enough. When i make the volume full, the brightness of the LED goes upto 50% but they dont blink. Could you tell me how to make my LEDs brighter. I am using LUXEON REBELS which are super bright.

vibro158 months 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)  vibro157 months 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.


hsharma295 months ago

Any Alternatives for MSGEQ7 and BUZ11

Really Hard to Find.

i find some but don't know if they are same




Adambowker986 months ago

I want to do something like this in my car, with a few solid-color analog LED strips that adjust brightness based on the music. I will use the MSGEQ7 shield from Sparkfun on an Arduino Uno. I have two questions:

1) How would I go about powering it? The car battery outputs 12V, which is what the LED strips need, but the Arduino only needs 5v, if I understand correctly.

2) Do you have code for using the MSGEQ7 with an LED strip (like shown at the end of the video under your couch, except for a solid-color LED strip)? That's exactly what I'm going for.

Thanks in advance!

TravisH26 months ago
I was trying to build this and when I went to try it, it didn't work, this is my first project like this and I'm a little confused and I'm not sure if I set it all up right. These are pictures of what I did. Thank for any help I get!
AndyR3 TravisH26 months ago

try to connect the ground of your breadboard to the ground off your arduino, this should help ;)

And it looks like your LEDs are not connectet to +, because there is probably no connection on the breadboard between both sides.

If you have issues like this try to explain what goes wrong so we can better help you.

Sry for bad english ;D

TravisH26 months ago
Can some one tell me what I did wrong here? I'm so lost.
hangovercat made it!7 months 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.


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)  KarunTheWarrior7 months 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.

RudiFebrian139 months ago

can i use 12v for power source ?

GreatScottLab (author)  RudiFebrian139 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_gears8 months 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 !

phippsy278 months ago

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

juys19 months 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)  juys19 months ago

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

GreatScottLab (author)  thapakisankisan9 months ago

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

Keule made it!1 year ago


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