Simple shift light
July 2, 2025 · View on GitHub
This telemetry indicator consists of one or two single color LEDs. The LED lights up at maximum torque, then flashes at maximum power, then flashes faster at the rev limiter.
Only one output pin is required.
Hardware design
The circuit is fairly straightforward (choose one or two LEDs, left or right):

VLEDis wired to the power source. Both3V3and5Vwill work in this case.SLPinis wired to an output-capable GPIO pin. This pin will work in open drain mode.
Components required:
- One or two single color LEDs.
Forward voltage ( ) must not exceed 3.2 volts
if you are wiring
VLEDto3V3. Red color is recommended ( ). - One or two 500 ohm or higher resistors. 1 K-ohm is recommended. Lower impedance may damage your DevKit board. High impedance will result in dimmer lights.
Firmware customization
The involved class is SimpleShiftLight.
Pass the SLPin as parameter to the constructor.
For example:
ui::add<SimpleShiftLight>(GPIO_NUM_40);
See the corresponding integration test for an example.
Notifications
-
On startup:
The LED will flash faster and more times the lower the battery charge for one and a half seconds. If there is no battery or the battery is fully charged, it will light up without flashing.
-
On connection:
The LED will flash twice.