Docs / MagWLED-1 / Firmware & Setup

Adding a microphone for AudioReactive effects

The MagWLED-1 does not have a built-in microphone. However, the GPIO breakout header exposes the I2S pins needed to connect an external digital microphone, and the MagWLED firmware includes AudioReactive support pre-configured for those pins.

Connecting an INMP441 microphone

The INMP441 is the recommended I2S microphone for use with WLED AudioReactive. Wire it to the GPIO breakout header as follows:

INMP441 pinMagWLED-1 GPIO
SD (data)GPIO 10
WS (word select / L/R)GPIO 8
SCK (clock)GPIO 7
VDD3.3V
GNDGND
L/R (channel select)GND (mono)

Enabling AudioReactive in WLED

Once the microphone is wired up:

  1. Open the WLED interface
  2. Go to Config → Usermods → AudioReactive
  3. Enable it and set the input source to I2S Digital Microphone
  4. Set the pin assignments to match the table above (SD=10, WS=8, SCK=7)
  5. Save and reboot

Using a pre-built AudioReactive firmware

The firmware at install.magwled.com includes AudioReactive builds with the I2S pins pre-configured for MagWLED-1. Flash one of these and the pin settings will already be correct — just wire up the mic and enable the usermod.

Custom compilation

If you’re compiling your own firmware, see Compiling WLED with AudioReactive for MagWLED-1 for the correct build flags.