The Sparkle Motion board comes with an onboard PDM microphone, so adding audio reactivity to your project is easy. Here's how to get it set up.
Click Config and then select the Usermods tab. Scroll down a bit and you'll find the AudioReacive section.
Click the box to enable, then enter the settings and the Digitalmic section as follows:
- Type: Generic I2S PDM
- Pin I2S SD: 25
- Pin I2S WS: 33
- Pin I2S SCK: 26
The other pins are unused.
Reboot your microcontroller for changes to take effect.
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. Make some noise and see how your lights react.
Page last edited January 29, 2025
Text editor powered by tinymce.