PX4 NeoPixel Setup Guide
Note: This is experimental at the moment. Please operate with caution.
The official release of PX4 firmware does not support NeoPixel at the moment. However, you could flash the custom firmware (based on v1.15beta1) below and set up NeoPixel at the Actuator tab in QGroundControl.
2MB
px4_fmu-v6x_x650-rev2.px4
Ardupilot NeoPixel Setup Guide
Follow the instruction below to set this up.
Set NTF_LED_TYPES to include NeoPixel
Setup LED Parameter
NTF_LED_BRIGHT: 3
NTF_LED_LEN : 4
NTF_LED_OVERRIDE: 0
In this example, we connected the wiring as follow:
Motor 1 LED -> AUX (FMU) PWM 1
Motor 2 LED -> AUX (FMU) PWM 2
Motor 3 LED -> AUX (FMU) PWM 3
Motor 4 LED -> AUX (FMU) PWM 4
#9 function -> NeoPixel1
#10 function -> NeoPixel2
#11 function -> NeoPixel3
#12 function -> NeoPixel4