The Sparkle Motion Mini board comes with an onboard PDM microphone, so adding audio reactivity to your project is easy. Here's how to get it set up.
Scroll down a bit and you'll find the AudioReactive section.
Click the box to enable, then enter the settings and the Digitalmic section as follows:
- Type: SPH0654
- Pin I2S SD: 9
- Pin I2S WS: 10
- Pin I2S SCK: 23
The other pins are unused.
Reboot your Sparkle Motion Mini for changes to take effect.
If you want the audio to work well in both loud and quiet settings, you may want to turn on AGC - automatic gain control. Start with Normal and then experiment with other options if you want more or less 'gain speed'.
There are a lot of other settings you can adjust in WLED. I found that the default settings for this mic seem to work perfectly, but you can delve into the particulars at https://kno.wled.ge/advanced/audio-reactive/
To use audio reactive mode, head back to the main interface and select any effect that has a music note icon next to the name. You can also search for musical-reactive effects that are built in.
Make some noise and see how your lights react. If it doesn't work, check your pins, try turning on AGC, tapping on the mic, and rebooting (removing power completely, waiting a few seconds then turn back on).
Page last edited April 29, 2025
Text editor powered by tinymce.