NeoPixel WS2812 LED Setup Instruction
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.
Make sure your NeoPixel LEDs are connected to the AUX PWM outputs. MAIN PWM outputs do not support NeoPixel.

Ardupilot NeoPixel Setup Guide
Follow the instruction below to set this up.
Set NTF_LED_TYPES to include NeoPixel

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
Ardupilot Default Motor# & Direction (Quad X) In the Servo Output Page, set:
#9 function -> NeoPixel1
#10 function -> NeoPixel2
#11 function -> NeoPixel3
#12 function -> NeoPixel4

Last updated
Was this helpful?