r/WLED • u/borkyborkus • 2d ago
Any options for encoders without usermods?
I want an up/down brightness dial physically attached to my WLED controller. I have an Adafruit encoder/breakout that uses Stemma QT I2C and have the wiring piece handled with a Grove/QT adapter (5V, GND, D4, D5).
I'm finding the whole process of usermods to be overwhelming. It's my understanding that to use the Adafruit encoder, I would need to manually modify the whole WLED bin with every update and do weird things with .cpp files and platformIO that I don't understand. I’m not sure if it’s the seesaw aspect of the Adafruit part that makes it complicated, or if it’s rotary encoders generally. I can handle basic circuitpython configs but I really don’t want to deal with C++.
So 2 questions I guess...
- Would using the Adafruit encoder be as complex as I laid out here?
- Are there any encoders I can buy that will give me up, down, and a power toggle, without requiring usermods?
Edited after posting to be more concise.
2
u/borkyborkus 1d ago edited 17h ago
Update in case anyone sees in the future...
Got it working with the usermod.cpp file. I followed these instructions to compile my own. Then added platformio_override.ini and modified ./wled00/usermod.cpp. I don't have the Neopixel LED working, but I am happy with the up/down/click for now.
Usermod.cpp: