The Sparkle Motion Stick comes with an onboard I2S 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: Generic I2S
- Pin I2S SD: 13
- Pin I2S WS: 12
- Pin I2S SCK: 14
The other pins are unused.
Reboot your microcontroller for changes to take effect. Unplug the board from power completely for a few seconds.
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 May 20, 2025
Text editor powered by tinymce.