Skip to main content

LED Status

The 305ap has three LEDs (red, green, and blue), all active-low (GPIO LOW = on).

ColorGPIOPin
RedPD9—
GreenPB12—
BluePE12—

PX4 controls these LEDs to communicate system state. The patterns below reflect standard PX4 LED behavior.

Patterns​

Boot Sequence​

PatternMeaning
Blue blink (first 5 s after power-up)Bootloader active, waiting for firmware upload
Green solid (during an upload)Bootloader writing firmware
All LEDs on brieflyNuttX initializing
Blue slow blinkPX4 starting up, sensors initializing

Normal Operation​

PatternMeaning
Blue breathing (slow pulse)Disarmed, no GPS
Green solidGPS lock acquired, ready to arm
Green + BlueDisarmed, GPS lock, ready
Green fast blinkArmed
Red + Blue alternatingError condition — check QGC for details
Red solidCritical error

Arming States​

LED stateMeaning
Green slow blinkPre-arm checks passing, waiting for arm command
Green fast blinkArmed — props may be spinning
Red blinkPre-arm check failing

Diagnosing Errors​

If the red LED is blinking, connect to QGroundControl and check:

  1. Status bar: error flags appear at the top
  2. MAVLink Console → commander status: shows what is blocking arming
  3. MAVLink Console → listener vehicle_status: detailed system state

No LEDs at All​

If no LEDs illuminate after power-on:

  • Verify power input voltage is within spec
  • Check the SD card is inserted (missing SD card does not prevent boot but triggers an error)
  • Try re-flashing firmware via DFU mode