A “Relay” is an digital output pin on the flight controller that can be switched between 0 volts and either 3.3V or 5V. Similar to a servo it allows the flight controller to invoke some action from another device on the vehicle. Up to 4 pins can be defined as relays.
Relay pins on the Pixhawk¶
On the Pixhawk AUX OUT 5 (pin 54) and AUX OUT 6 (pin 55) are setup as the “First” (or #0) and “Second” (or #1) Relays respectively.
Defining the relay pins through the Mission Planner¶
The First ~ Fourth relay pins can be defined most easily using the Mission Planner’s Config/Tuning screen’s Standard Params list as shown below. Alternatively if you know the exactly pin number to use, the RELAY_PIN parameter can be set directly.
Pilot control of the relay¶
The relays can be controlled with the auxiliary switches.