Adding infrared control to your project is easy. WLED comes preprogrammed to use a variety of common IR remote controls, so you can get instant functionality with just a little bit of setup.
The Sparkle Motion Mini board doesn't have an onboard sensor, but it's easy to add one via the stemma port. The 3-pin stemma port uses GPIO 13, and the 4-pin uses GPIO 19 (yellow wire) and 22 (blue wire).Ā
You'll need an IR sensor and a STEMMA JST 3-pin connector with female sockets. Plug the connector into the smaller of the two stemma ports. Looking at the sensor with the bump facing you:
- White wire on the left
- Black wire in the middle
- Red wire on the right
You can lengthen the wires as needed so your IR sensor ends up right where you want it.Ā
We also have these handy IR breakout boards available.
Click the LED Preferences tab and scroll down to Hardware Setup.
Change the IR GPIO pin to match the pin you're using, and select which remote you're using from the dropdown. I like thisĀ 44 key remote since it gives me quick full-strip color control as well as plenty of customizable buttons to use with my different presets.
Remote Usage: 44 Key Remote
Change the brightness or turn the strip on and off with the buttons on the top row.
When you have the "solid" effect selected in WLED, the color buttons near the top of the remote will change the colors, making the pixels act like a "dumb" RGB strip.Ā
On my 44-key remote, there are buttons near the bottom labeled "DIY1", "DIY2" etc. WLED will automatically assign your animation presets to these buttons so you can select your favorite presets or playlists. Simply save the presets you want to the first 6 preset slots and the buttons will pull them up.Ā
Head over to the WLED wiki at https://kno.wled.ge/ to delve into all the particulars.
Page last edited January 22, 2025
Text editor powered by tinymce.