ECEdge

Exam: GATE 2027 exams are on 6, 7, 13, 14, 20 and 21 February 2027. Official GATE 2027 site

Real-time audio spectrum on an LED matrix

Sample a digital microphone with an ESP32, run an FFT in real time and show eight frequency bands dancing on an 8 × 8 LED matrix.

What this proves to recruiters

  • You can run DSP on a microcontroller in real time.
  • You understand I²S audio and buffering.
  • You can make something people want to see.

Skills you will use

Eight bands from low to high631252505001k2k4k8kBand edges are spaced by octaves, like how we hear.
Each column is one frequency band, refreshed over 30 times a second.

Parts list

You can buy the listed parts online here:

PartQtyApprox. priceShop
ESP32 DevKit V1 board1₹400Find on Amazon
INMP441 I²S MEMS microphone1₹250Find on Amazon
WS2812B 8×8 LED matrix1₹450Find on Amazon
Breadboard, 830 points1₹90Find on Amazon
Jumper wire set (male-male and male-female)1₹120Find on Amazon
Total, about₹1,300

Prices are rough online prices in India and change with the seller. You may already have some parts, or find them in your college lab.

As an Amazon Associate I earn from qualifying purchases. Buying through these links costs you nothing extra and helps keep this site free.

Free software

  • Arduino IDE with the arduinoFFT and FastLED libraries

Steps

  1. Wire the INMP441 to the ESP32’s I²S pins and read samples at 16 kHz.
  2. Collect 512 samples, apply a Hann window and run the FFT.
  3. Group the FFT bins into 8 bands spaced logarithmically (low bands narrow, high bands wide).
  4. Convert each band to a height from 0 to 8 using a dB scale.
  5. Draw the bars on the WS2812 matrix with a colour per band and a slow fall-off.
  6. Measure your frame rate and make sure it stays above 30 frames per second.

Make it stand out

  • Run sampling and display in separate FreeRTOS tasks.
  • Detect the beat and flash on it.

Put it on your resume

Built a real-time audio spectrum analyser on ESP32 (I²S mic, 512-point FFT, 8 log bands) at [x] fps on an LED matrix.

Replace each [x] with a number you measured. Real numbers make a line believable.

Keep going

This project fits stage 2, “Digital signal processing”, of the Signal processing and edge AI roadmap. See also how freshers get into embedded AI and DSP engineer jobs.

More Signal processing and edge AI projects

All 49 project ideas