MAVLINKHUD

Overview

The LED parameter group (specifically LED_BRIGHTNESS) configures the on-board Status LEDs. This is primarily used in AP_Periph firmware for DroneCAN nodes (like GPS modules).

Key Concepts

1. Brightness Control

Allows the user to adjust the intensity of the RGB status LEDs to match ambient lighting conditions or to reduce power consumption on battery-limited devices.

  • LED_BRIGHTNESS:
    • 100: Full brightness.
    • 10-50: Dimmed for night operations or stealth.
    • 0: Disabled.

Developer Notes

  • Library: Tools/AP_Periph and libraries/AP_Notify.
  • Note: Main autopilot LED brightness is typically handled in the NTF_ group.

LED_BRIGHTNESS

%
Default 100
Range 0 100

LED Brightness (LED_BRIGHTNESS)

Description

This parameter controls the brightness intensity of the RGB status LED on the DroneCAN peripheral (e.g., GPS/Compass module). It allows you to dim the LED for stealth or power saving, or turn it off completely.

The Mathematics

$$ \text{Duty Cycle} \propto \text{LED\_BRIGHTNESS} \% $$

The Engineer's View

Defined in Tools/AP_Periph/Parameters.cpp. Used by the ToshibaLED or NeoPixel driver on the peripheral node.

Tuning & Behavior

  • Default Value: 100% (High)
  • 0: LED Off.
  • 10-50: Dimmed.