addrledctl - Addressable LED Control, is a simple arduino firmware that allows you to control addressable RGB LEDs with the press of just one button.
- Static lighting only
- Save state to EEPROM and restore on boot
- Only one button required for control
Long press the button to enter the configuration mode. You'll see the current selected color (R, G, B) on the first 4 LEDs. LEDs after the first 4 will show the final result of R+G+B. Hold the button to start the iteration through the selected color, and release when the desired color is achieved. Single pressing the button in configuration mode will cycle through the available colors. System will exit from configuration mode and save the selected values to a non-volatile memory after 10 seconds of button inactivity.
As this project meant for PC builds, the stabilized 5v are expected to come directly from PCs PSU (SATA or Molex) to 5v and GND pins of Arduino board. Just be sure to unplug the LED strip or place a diode on board 5v pin to make sure that board will not power the LEDs by any accident (when flashing, and it's powered by USB for example).
This is very basic, but I'll still want to point out that ground should be shared between the Arduino board and LED strip to send the signal.
All pins are defined in human readable format with preprocessor #define
s in
main sketch file.
Button is configured to be connected from ground (active on LOW).
When connecting the ARGB data pin, it's recommended to use the ~320 Ohm resistor to limit the signal amplitude.
Project is configured to be used with arduinocli
.
- To build from source:
arduino-cli compile
- Upload to board with:
arduino upload -p <PORT>