Arduino based led controller board for BV's BLDC firmware. The main feture of this is directional head & tail lights.
- Directional LEDs for headlight/taillight with dimming.
- Voltage display when idle.
- Simple & reliable uart connection.
- Configurable color & brightness via footpad UI
- Configurable cell count & led type via footpad UI
- Adruino Nano
- 2x LED Strips (SK6812 & WS2812)
All options can be set via footpad presses, to start the board must be nose up, then a single pad press will increment through the menu, and a dual pad hold will scroll through the options in that menu.
- Brightness, 4 levels including off (affects both on and idle brightness)
- Front color, 7 options (white, blue, cyan, green, yellow, red, magenta)
- Rear color, 7 options (same as front, sets direction to reverse so you can see it)
- Idle mode, 4 options (Regular colors, battery green->red fade in 5 levels, battery percent in green->red fade and leds on/off, leds fully off)
- Cell count, hold to counts up to your cell count, release to set (UI only shows 5 leds at a time, so for 18s hold past 5 for 3 loops, and then 3 more illuminated)
- LED count, same as cell count, except reboot is required to apply.
- LED type, 2 options, reboot is required to apply (1 = sk6812 aka rgbw, 2 = ws2812 rgb)
Features are designed to be configured VIA the constants
- VESC_LED_UART.ino: Configure UART freqency, you must match the value set in the VESC Tool
- balance_leds.cpp: Brightness & color options etc.
- config.cpp: Default values for battery and led configurations.
All the required libraries are included, just hit the upload button in Arduino IDE (v1)