How to make sound reactive LED lights
Make your own sound reactive LED lights: the parts, the wiring and the firmware, plus the shortcut if you would rather plug in and play.
What you need
- An addressable LED strip, ring or matrix (WS2812B is the common choice)
- An ESP32 board, ideally an ESP32-S3
- A microphone: an I2S module such as the INMP441, or a board with one built in
- A 5 V power supply sized for your LEDs
- For a long run, a level shifter (74AHCT125) and a 330 Ω resistor on the data line
Wiring it up
- Strip data: connect it to the board's LED pin through the resistor (and the level shifter for long runs).
- Strip power: connect 5 V and ground to the supply, and join the supply's ground to the board's ground.
- Microphone: wire it to the board's I2S pins (clock, word select, data) and give it 3.3 V and ground.
The firmware
Firmware with audio analysis turns the microphone into light. Simple firmware maps volume to brightness. Better firmware finds the beat; the best follows chords, melody and song sections. Anima Lite, which runs on our controllers, does all of these.
Tuning
- Gain and noise gate: set the gain so the input meter moves with the music, and the noise gate just above the room's quiet.
- Auto-gain: turn it on for rooms that get quiet and loud.
- Placement: put the microphone where it hears the music, not right against the speaker.
The shortcut
If you'd rather skip the soldering, an AudioReactive controller is all of the above in a finished shell with a plug-in strip socket. See the shells.
Updated Nov 27, 2026. Still stuck? Ask us.