Electronic Switches (Relays and MOSFETs)
Electronic switches are useful for turning higher voltage (>5V DC) / high power auxiliary equipment on and off via digital outputs on the flight controller board. Most commonly they use relay or MOSFET components.
Up to four electronic switches can be operated via the "relay" joystick button functions when connected to the appropriate signal outputs.
Most flight controllers cannot provide power to the output rail to trigger the relays, so a 5V power supply will generally need to be connected to the AUX power connector (if it exists), or to the power pin on one of the outputs.