Simple MOSFET LED Switch for Pixhawk

The Pixhawk flight controller, using the ArduPilot Copter firmware, allows for switching one or more AUX pins as GPIO pins from low to high (or vice versa) using the provided “Relay” function. Unfortunately the STM32 MCU of the Pixhawk uses a 3.3 V logic voltage on the white/yellow signal wire, which means that most regular…