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 pin | MagWLED-1 GPIO |
|---|---|
| SD (data) | GPIO 10 |
| WS (word select / L/R) | GPIO 8 |
| SCK (clock) | GPIO 7 |
| VDD | 3.3V |
| GND | GND |
| L/R (channel select) | GND (mono) |
Enabling AudioReactive in WLED
Once the microphone is wired up:
- Open the WLED interface
- Go to Config → Usermods → AudioReactive
- Enable it and set the input source to I2S Digital Microphone
- Set the pin assignments to match the table above (SD=10, WS=8, SCK=7)
- 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.