Introduction: 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.

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!

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.

Step 5: Upload the Code to Your Arduino!

You have wired up the circuit and it is time for the first test. Just download my code and open it with the Arduino Software (http://arduino.googlecode.com/files/arduino-1.0.5...). Upload the code to your arduino and with the help of some music, the LEDs should light up.

If you think the LEDs change their brightness to slow then feel free to change the delay() time from 30 to 1....30.

You can find the line here:

void loop(){


digitalWrite(resetPin, HIGH);

digitalWrite(resetPin, LOW);

for (int i=0;i<7;i++){

digitalWrite(strobePin, LOW);

delay(30);

Step 6: Success!

Now you can light up awesome cases with your new color organ. I really like to use bottles because it is always a nice suprise for guests when suddenly a bottle lights up.

Feel free to check out my Youtube channel for more awesome projects:

http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information.
https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab

Comments

author
TylerH66 (author)2017-08-06

Where does the audio in for pin 5 on the MSGEQ7 come from?

author
Uddipta206UdDReX (author)2017-07-11

I want to use 5050 RGB led strip but instead of BUZ11 N Channel MOSFET can i use a2shb mosfet which i got inside 24key IR Comtroller? plz rely asap.

author
g_alex (author)2017-06-01

Hello guys

I need some help... I jast downloaded the Programm and burn it to my Uno. But when the programm starts and an nothing but leds is wired, they start to light...

Sry for my bad english..:(

author
HardikM16 (author)2016-06-15

Hey Scott! i made the circuit once myself and twice the way you did. But the LEDs are not listening to what the audio input tells them to do and they keep blinking in their own merry way, even when there is no audio input( or jack) connected. PLEASE HELP ASAP!!! IT IS MY SCHOOL PROJECT!!

author

Have you ordered the MSGEQ7 IC? If so then order an other, more expensive one because what I've ordered was a faulty one. Sorry for the late comment, but sadly this IC is often sold as fake ICs... China likes to do such things :(

author
wzdl (author)HardikM162016-10-03

use 10kohm resister between Analoge input and ground.

Don't forget to connect both ground wire and signal wire to the arduino

Don't touch the arduino when testing

author
ve3joc (author)2016-08-20

Where would you put a potentiometer to adjust the sensitivity for the LEDs?

author
SimonL61 (author)2016-04-02

Hey Scott, i've already looked through the other Comments below, but the ones who asked things like my problem, got no answer that helped me.

My problem is, that my LEDs are more or less always on, and are just flashing a little bit, first i thought i'd be the MSGEQ7 but i've tried a new one now. There seems to be no difference if the Audio IN cable is connected or not.

Have you any idea?

Might it be a problem that the Text on the MSGEQ7 isn't the same as your's?

Mine says:

MSGEQ7

0418

100661

author
GreatScottLab (author)SimonL612016-04-03

The IC should not be the problem. Seems like your circuit has a problem.

author
SimonL61 (author)GreatScottLab2016-04-03

Strange, checked it a couple of times already

May i'll need to check it another couple of times.

Could it be that my Audio Jack isn't working well?

Mine looks like this: http://www.amazon.de/mono-Klinken-Einbaubuchse-geschlossene-Schaltung-Geh%C3%A4use/dp/B0060LFNGO?ie=UTF8&psc=1&redirect=true&ref_=oh_aui_detailpage_o04_s00

author
Detective Decimal (author)2016-01-14

I don't quite know how to read the schematic, Could I simply just watch the video and mimic what cables are put where and whatnot?

author
lja123 (author)2016-01-12

how do you get the code to run 7 leds

author
lja123 (author)2016-01-12

is there another way I can see it

author
lja123 (author)2016-01-11

hey I can not download the code

author
jerry.ericsson2 (author)2016-01-07

I have dreamed of this setup since I saw my first light organ back in 1972, while serving in the US Army. When I get back to my warm weather home, I think I will build one to mount in our Motor Home. Probably using strip LED lighting instead of the 1W LEDs though; better for mobile use I think. Of course I do have red green and blue 100 Watt LEDs... no probably not, too much strain on my 32 volt power supply, or not...Need relays for that high an amperage though I guess.

author
MikkelP1 (author)2015-12-01

is it possibel to do it wiith a mic ?

author
mobilohm (author)2015-11-22

Maybe I caught something by speeding out my brain on the video but assuming the blue wires are leading to the leds I still don't see where the 5W resistors should be conected on the breadboard... An answer would be nice as i've nearly finished. Thanks.

author
GreatScottLab (author)mobilohm2015-11-24

They connect in series to the LEDs. Not on the breadboard.

author
SirTrollik (author)2015-04-25

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.

author
mobilohm (author)SirTrollik2015-11-21

the video says... use one pin of the side ones (left-right) & the back one for ground...

author
SirTrollik (author)SirTrollik2015-04-25

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

author
mobilohm (author)2015-11-19

Hello I'm trying to do it on a breadboard but being a beginner I dont know how to transpose from schematic and the video is too fast for my purpose :) Could you help please?

author
FlorianG6 (author)2015-09-14

Hey, ive got everything working so far, the lightshow is pretty cool and stuff ... but it steals my right audio channel o.O

I used an Audio-Hub to get the Audio to go to my Organ aswell as to my Speakers. Im not sure but i think it's got something to do with one of the audio signals not beeing connected to anything. As soon as i plug the cable into the Organ the right speaker will mute.

Any suggestions? Thanks in advance :)

author
whatxcounts (author)2015-09-13

does Buzz11_NR4941 has same function with TIP31?

author
engineertype (author)2015-07-12

Better to buy a MSGEQ7 and supporting components here:
http://www.ebay.com/itm/301210655107

author
Hermse93 (author)2015-05-19

Hi,

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

After
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
author
SohamB1 (author)Hermse932015-06-24

Try changing analogInput to A0.

author
SohamB1 (author)2015-06-24

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

Regards.

author
harithal1 (author)2015-04-13

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

author
harithal1 (author)harithal12015-04-13

sir are you busy?

author
sldata (author)harithal12015-04-24

You can get it at SparkFun:

https://www.sparkfun.com/products/10468

author
MatiasArg (author)2015-04-11

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 :)

author
KarunTheWarrior (author)2015-03-02

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.

author
vibro15 (author)2014-12-04

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?

author
GreatScottLab (author)vibro152014-12-12

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.

author
hsharma29 (author)GreatScottLab2015-02-08

ANY ALTERNATIVE FOR THE IC.

author
hsharma29 (author)2015-02-08

Any Alternatives for MSGEQ7 and BUZ11

Really Hard to Find.

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

-BA3812L

-LMC835

-LA3600

author
Adambowker98 (author)2015-02-03

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!

author
cjfortin (author)2015-01-21

Yes, you could use (2) 10 ohm resistors in parallel to get the 5 ohm value.

author
TravisH2 (author)2015-01-09

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!

image.jpg
author
AndyR3 (author)TravisH22015-01-14

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

author
TravisH2 (author)2015-01-09

Can some one tell me what I did wrong here? I'm so lost.

image.jpgimage.jpgimage.jpgimage.jpgimage.jpg
author
hangovercat made it! (author)2014-12-17

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
author
KarunTheWarrior (author)2014-12-10

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?

author

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.

author
RudiFebrian13 (author)2014-10-08

can i use 12v for power source ?

author

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.

author

does this tutorial apply to the led strips as well

author

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.

About This Instructable

85,742views

147favorites

License:

Bio: Awesome Electronics Tutorials, Projects and How To´s
More by GreatScottLab:Adding a Current Limit Feature to a Buck/Boost ConverterDIY LiPo Charge/Protect/5V Boost CircuitMake Your Own POV LED Globe
Add instructable to: