Site icon Circuit Ideas for You

Audio Spectrum Analyzer Circuit using IC MSGEQ7

Music is not only meant to be heard; it can also be seen and with the MSGEQ7 chip, we can make music dance through lights.

IC MSGEQ7 is an integrated circuit designed for audio spectrum analysis and it divides an audio signal into seven frequency bands and produces an output voltage proportional to the signal level in each band.

A microcontroller, such as an Arduino, ESP32, or STM32, can read these output voltages for further processing.

Moreover, circuit is good for making music visualizer, LED lights dancing and audio meters.

Simple vertical bar diagram (7 bands, 8 LEDs per band).

Each column = one frequency band (7 columns).

Top = high level, bottom = low level.

Band7  █ █ █ █ █ █ █ █
Band6  █ █ █ █ █ █ █ ░
Band5  █ █ █ █ █ ░ ░ ░
Band4  █ █ █ █ ░ ░ ░ ░
Band3  █ █ █ ░ ░ ░ ░ ░
Band2  █ █ ░ ░ ░ ░ ░ ░
Band1  █ ░ ░ ░ ░ ░ ░ ░
        1 2 3 4 5 6 7   (columns = bands)

Legend: █ = LED on, ░ = LED off.

We can change 8 to any number of LEDs per column.

Simple horizontal bar diagram (7 rows, variable length).

Each row = one band and Length = level.

Band7: ████████
Band6: ██████
Band5: ████
Band4: ███
Band3: ██
Band2: █
Band1: █

Compact 7-bar single-row (good for LED strip):

One row, 7 groups and each group has 3 LEDs.

[ B1: ▓▓ ] [ B2: ▓▓▓ ] [ B3: ▓ ] [ B4: ▓▓▓▓ ] [ B5: ▓▓ ] [ B6: ▓▓▓ ] [ B7: ▓▓▓▓ ]

Circuit Working:

Parts List:

ComponentsValuesQuantity
Resistors200k 1/4 watt1
22k 1/4 watt2
Capacitors33pF1
0.1µF3
SemiconductorsIC MSGEQ71

To begin with, the circuit diagram above shows a single MSGEQ7 configuration with a mono input, also the audio signal passes through a resistor and a capacitor before entering the chip.

Chip separates into 7 bands and output pin gives DC voltage for each band.

Then RESET pin set back to start and STROBE pin move to next band and also DATA_OUT pin send band level.

Mix the left and right channels with two 22k resistors and couple them through the same capacitor to the input pin.

Thus, both channels combine into a mono signal before entering the chip.

Finally, chip then works the same way.

How to Build:

To build a Audio Spectrum Analyzer Circuit using IC MSGEQ7 follow the below steps:

Conclusion:

Overall, the MSGEQ7 is an easy to use chip for a spectrum analyzer, requires only a few components and works with both mono and stereo inputs.

Also, output is easy to read by Arduino or any microcontroller and circuit is good for DIY music visualizer projects.

Exit mobile version