7 Band Led Audio Visualizer

7,208

45

12

Introduction: 7 Band Led Audio Visualizer

This is a project that takes in a continuous analog signal usually music and uses it to light a 7 band led visualizer. It uses the MSGEQ7 chip to analyze the music signal to get the frequency magnitudes and maps it to the led strips. The Led strips used are the SK6812 also known as WS2811 or Adafruit Neopixel.

Equipment used:

1.) MSGEQ7

2.) 3.5 mm Female aux jack

3.) 2x 22k Ohm Resistors

4.) 0.01 microFarad Capacitor

5.) 2x 0.1 microFarad Capacitors

6.) 200 kiloOhm Resistor

7.) 33 picoFarad Capacitor

8.) Arduino Uno

9.) SK6812 RGB led strip/ WS2811 RGB led strip/ Any Adafruit Neopixel Strip

Step 1: Making the Female Headphone Jack

Solder the two channels each with 2 different 22K Ohm resistors. Then join the two resistors and solder them to a 0.01 microFarad Capacitor. That would be signal in. The ground from the jack goes to the ground rail of the bread board

Step 2: Wiring Up the Arduino and the MSGEQ7

Wire up the IC as shown in the Schematic.

Reset goes to Digital pin 8 on the Arduino.

Strobe goes to digital pin 5 on the Arduino.

DC out goes to Analog in A0

The Data In of the LED goes to Digital Pin 6 on the Arduino.

Step 3: LEDs

You'll need to solder 7 strips in series around a Card Stock If you want to have a old school visualizer effect. Do not use Solid core wire to solder they don't stick nicely to the pads on the strips. The Data in goes to pin 6 on the arduino. Also the LEDs can draw up to 80 milli Amps per LED. That means 60 LEDs can draw upto 5 Amperes (4.8A). I use an old CPU Power supply unit.

Step 4: The Code

the code is attached and can be opened in the arduino ide. You can set the number of LEDs in the code.

First Time Author

Participated in the
First Time Author

Be the First to Share

    Recommendations

    • Puzzles Speed Challenge

      Puzzles Speed Challenge
    • "Can't Touch This" Family Contest

      "Can't Touch This" Family Contest
    • CNC Contest 2020

      CNC Contest 2020

    12 Discussions

    0
    zachpatros
    zachpatros

    Question 5 months ago

    Hello! I set up the circuit as showed but I am confused on why my arduino is showing up as an error for compiling. I can send photos if you would like to see my circuit. Thank you and nice job on the project!

    0
    AnshC5
    AnshC5

    Answer 5 months ago

    Can you send me the error log that shows up when you try to compile and yeah I'd be happy to take a look at your circuit

    0
    MylesE
    MylesE

    8 months ago

    Great Job! I have a couple of questions though. Does the device you connect to this still produce the sound through it's built-in speakers (like a phone) or do you have to wire an external speaker. Also will this work with WS2812B strips without modification?

    0
    Louis9812
    Louis9812

    Reply 7 months ago

    No it does not work. U need a external Speaker cause the Phone uses the circuit like headphones that is why Bluetooth also do not work. I build my own version of it and im impressed how well it works. thanks for the code!

    1
    lolebeux30
    lolebeux30

    Question 8 months ago

    Could you post a picture of the full circuit, I'm having some issues building it! And how are the led strips set up in series, are they connected directly one into another?

    Thank you in advance.

    0
    jackfuller
    jackfuller

    Answer 8 months ago

    Yes, the strips are connected in series, just like they were before you cut them off the reel.

    I wired the +5v/GND connections in a series/parallel connection to save wire, but the Data (middle) connection must be wired in series (in the pic, from top of the left any strip to the bottom of the next right strip)

    0
    jackfuller
    jackfuller

    9 months ago

    Very nice project. I am impressed with your code work, well done. I have bread-boarded the circuit using WS2812b, 16/band. Works well. Thank you.

    Just for clarity, the text and pic uses digital pin 8 as RESET, but the code specifies digital pin 4, which works.

    I am building a stereo version, using this MSGEQ7 breakout board for simplicity, and 2 Arduino Nano, 1/channel.
    https://www.ebay.com/itm/Stereo-MSGEQ7-breakout-bo...

    You are correct to use multi-stand wire, like 22 gauge. I pre-tin the leads as well as each strip connection point, which makes soldering the strips fairly easy, if time consuming.

    IMG_0638.jpg
    1
    Moonlakeman73
    Moonlakeman73

    1 year ago

    It looks great !! I have been wanting to try something like this for a while.
    Have you done any upgrades to the sketch(peaks or rainbow colors)?
    Thank you for sharing your build.

    0
    amygoodchild
    amygoodchild

    1 year ago

    Nice job! You could think about putting something cool in front to diffuse the light, it will make it look even better

    0
    jessyratfink
    jessyratfink

    1 year ago

    That looks nice! Do you have any videos of it reacting to music? :)
    0
    AnshC5
    AnshC5

    Reply 1 year ago

    Sorry I forgot to upload it. It should be there now. :)

    0
    jessyratfink
    jessyratfink

    Reply 1 year ago

    Yay! That is fantastic. Works really well :D