Holybro Pixhawk 6C Wiring Quickstart
Last updated
Last updated
:::warning PX4 does not manufacture this (or any) autopilot. Contact the manufacturer for hardware support or compliance issues. :::
This quick start guide shows how to power the Pixhawk 6C® flight controller and connect its most important peripherals.
Pixhawk 6C + PM02 + M8N GPS.
Pixhawk 6C can be mounted on the frame using double side tape included in the kit. It should be positioned as close to your vehicle’s center of gravity as possible, oriented top-side up with the arrow pointing towards the front of the vehicle.
:::note If the controller cannot be mounted in the recommended/default orientation (e.g. due to space constraints) you will need to configure the autopilot software with the orientation that you actually used: Flight Controller Orientation. :::
The Pixhawk6C can be purchased with M8N or M9N GPS (10-pin connector) that should be connected to the GPS1 port. These GNSS modules have an integrated compass, safety switch, buzzer and LED.
A secondary M8N or M9N GPS (6-pin connector) can be purchased separately and connected to the GPS2 port.
The GPS/Compass should be mounted on the frame as far away from other electronics as possible, with the direction marker towards the front of the vehicle (separating the compass from other electronics will reduce interference).
:::note The GPS module's integrated safety switch is enabled by default (when enabled, PX4 will not let you arm the vehicle). To disable the safety press and hold the safety switch for 1 second. You can press the safety switch again to enable safety and disarm the vehicle (this can be useful if, for whatever reason, you are unable to disarm the vehicle from your remote control or ground station). :::
Connect the output of the power module of your selection that comes with the Standard Set to one of the POWER port of Pixhawk 6C using the 6-wire cable.
If using a plane or rover, the FMU PWM-OUT will need to be separately powered in order to drive servos for rudders, elevons etc. This can be done by connecting the 8 pin power (+) rail of the FMU PWM-OUT to a voltage regulator (for example, a BEC equipped ESC or a standalone 5V BEC or a 2S LiPo battery).
:::note The power rail voltage must be appropriate for the servo being used! :::
PIN & Connector | Function |
---|---|
I/O PWM Out | Connect Motor Signal and GND wires here. |
FMU PWM Out | Connect Servo Signal, positive, and GND wires here. |
:::note MAIN outputs in PX4 firmware map to I/O PWM OUT port of Pixhawk 6C whereas AUX outputs map to FMU PWM OUT of Pixhawk 6C. For example, MAIN1 maps to IO_CH1 pin of I/O PWM OUT and AUX1 maps to FMU_CH1 pin of FMU PWM OUT. :::
The pinout of Pixhawk 6C’s power ports is shown below.
Pin | Signal | Volt |
---|---|---|
1(red) | VDD | +5V |
2(black) | VDD | +5V |
3(black) | CURRENT | +3.3V |
4(black) | VOLTAGE | +3.3V |
5(black) | GND | GND |
6(black) | GND | GND |
A remote control (RC) radio system is required if you want to manually control your vehicle (PX4 does not require a radio system for autonomous flight modes).
You will need to select a compatible transmitter/receiver and then bind them so that they communicate (read the instructions that come with your specific transmitter/receiver).
Spektrum/DSM receivers connect to the DSM input.
PPM or SBUS receivers connect to the PPM/SBUS input port.
PPM and PWM receivers that have an individual wire for each channel must connect to the PPM/SBUS* port via a PPM encoder like this one (PPM-Sum receivers use a single signal wire for all channels).
For more information about selecting a radio system, receiver compatibility, and binding your transmitter/receiver pair, see: Remote Control Transmitters & Receivers.
Telemetry radios may be used to communicate and control a vehicle in flight from a ground station (for example, you can direct the UAV to a particular position, or upload a new mission).
The vehicle-based radio should be connected to the TELEM1 port as shown below (if connected to this port, no further configuration is required). The other radio is connected to your ground station computer or mobile device (usually by USB).
Radios are also available for purchase on Holybro's website .
SD cards are highly recommended as they are needed to log and analyse flight details, to run missions, and to use UAVCAN-bus hardware. Insert the card (included in Pixhawk 6C) into Pixhawk 6C as shown below.
:::tip For more information see Basic Concepts > SD Cards (Removable Memory). :::
Motors/servos are connected to the I/O PWM OUT (MAIN) and FMU PWM OUT (AUX) ports in the order specified for your vehicle in the Airframe Reference.
:::note This reference lists the output port to motor/servo mapping for all supported air and ground frames (if your frame is not listed in the reference then use a "generic" airframe of the correct type). :::
:::warning The mapping is not consistent across frames (e.g. you can't rely on the throttle being on the same output for all plane frames). Make sure to use the correct mapping for your vehicle. :::
The wiring and configuration of optional/less common components is covered within the topics for individual peripherals.
General configuration information is covered in: Autopilot Configuration.
QuadPlane specific configuration is covered here: QuadPlane VTOL Configuration
Holybro Docs (Holybro)
Pixhawk 6C (PX4 Doc Overview page)