Pixhawk Overview

Specifications

  • Processor
    • 32-bit ARM Cortex M4 core with FPU
    • 168 Mhz/256 KB RAM/2 MB Flash
    • 32-bit failsafe co-processor
  • Sensors
    • MPU6000 as main accel and gyro
    • ST Micro 16-bit gyroscope
    • ST Micro 14-bit accelerometer/compass (magnetometer)
    • MEAS barometer
  • Power
    • Ideal diode controller with automatic failover
    • Servo rail high-power (7 V) and high-current ready
    • All peripheral outputs over-current protected, all inputs ESD protected
  • Interfaces
    • 5x UART serial ports, 1 high-power capable, 2 with HW flow control
    • Spektrum DSM/DSM2/DSM-X Satellite input
    • Futaba S.BUS input (output not yet implemented)
    • PPM sum signal
    • RSSI (PWM or voltage) input
    • I2C, SPI, 2x CAN, USB
    • 3.3V and 6.6V ADC inputs
  • Dimensions
    • Weight 38 g (1.3 oz)
    • Width 50 mm (2.0”)
    • Height 15.5 mm (.6”)
    • Length 81.5 mm (3.2”)

Purchase

The Pixhawk 1 was originally manufactured and sold by 3DR.

A slightly improved but fully compatible variant can now be obtained from mRo: mRo Pixhawk 2.4.6 Essential Kit!

Pixhawk connector assignments

../_images/Pixhawk_with_legend.jpg ../_images/pixhawk-status-LEDs-definition.jpg

Pixhawk top connectors

../_images/PixhawkLabled.jpg

Pixhawk PWM connectors for servos and ESCs and PPM-SUM in and SBUS out

../_images/pixhawkPWM.jpg

Pixhawk connector diagram

../_images/PixHawk_labelled.png

For all connectors pin 1 is on the right in the above image

Serial 1 (Telem 1) and Serial 2 (Telem 2) Pins: 6 = GND, 5 = RTS, 4 = CTS, 3 = RX, 2 = TX, 1 = 5V.

Pixhawk connector pin assignments

TELEM1, TELEM2 ports

Pin Signal Volt
1 (red) VCC +5V
2 (blk) TX (OUT) +3.3V
3 (blk) RX (IN) +3.3V
4 (blk) CTS +3.3V
5 (blk) RTS +3.3V
6 (blk) GND GND

GPS port

Pin Signal Volt
1 (red) VCC +5V
2 (blk) TX (OUT) +3.3V
3 (blk) RX (IN) +3.3V
4 (blk) CAN2 TX +3.3V
5 (blk) CAN2 RX +3.3V
6 (blk) GND GND

SERIAL 4/5 port - due to space constraints two ports are on one connector.

Pin Signal Volt
1 (red) VCC +5V
2 (blk) TX (#4) +3.3V
3 (blk) RX (#4) +3.3V
4 (blk) TX (#5) +3.3V
5 (blk) RX (#5) +3.3V
6 (blk) GND GND

ADC 6.6V

Pin Signal Volt
1 (red) VCC +5V
2 (blk) ADC IN up to +6.6V
3 (blk) GND GND

ADC 3.3V

Pin Signal Volt
1 (red) VCC +5V
2 (blk) ADC IN up to +3.3V
3 (blk) GND GND
4 (blk) ADC IN up to +3.3V
5 (blk) GND GND

I2C

Pin Signal Volt
1 (red) VCC +5V
2 (blk) SCL +3.3 (pullups)
3 (blk) SDA +3.3 (pullups)
4 (blk) GND GND

CAN

Pin Signal Volt
1 (red) VCC +5V
2 (blk) CAN_H +12V
3 (blk) CAN_L +12V
4 (blk) GND GND

SPI

Pin Signal Volt
1 (red) VCC +5V
2 (blk) SPI_SCK 3.3V
3 (blk) SPI_MISO +3.3V
4 (blk) SPI_MOSI +3.3V
5 (blk) !SPI_NSS +3.3V
6 (blk) !GPIO +3.3V
7 (blk) GND GND

POWER

Pin Signal Volt
1 (red) VCC +5V
2 (blk) VCC +5V
3 (blk) CURRENT up to +3.3V
4 (blk) VOLTAGE up to +3.3V
5 (blk) GND GND
6 (blk) GND GND

SWITCH

Pin Signal Volt
1 (red) VCC +3.3V
2 (blk) !IO_LED_SAFETY GND
3 (blk) SAFETY GND

Console Port

The system’s serial console runs on the port labeled SERIAL4/5. The pinout is standard serial pinout, to connect to a standard FTDI cable (3.3V, but it’s 5V tolerant).

Pixhawk FTDI
1 +5V (red) N/C
2 Tx N/C
3 Rx N/C
4 Tx 5 Rx (yellow)
5 Rx 4 Tx (orange)
6 GND 1 GND (black)

Spektrum/DSM Port

The Spektrum/DSM port is for connecting Spektrum DSM-2/DSMX receiver modules.

Pin Signal Volt
1 (white) Signal +3.3V
2 (black) GND GND
3 (red) VCC +3.3V

Pixhawk system features

  • The Pixhawk (FMUv2) flight controller consists of a PX4-FMU controller and a PX4-IO integrated on a single board with additional IO, Memory and other features.
  • A 32-bit processor with an additional failsafe backup controller.
    • STM32F427 32-bit primary microcontroller: 168 MHz, 252 MIPS, Cortex M4 core with a floating point unit.
    • Two megabytes of Flash program memory and 256 kilobytes of RAM.
    • STM32F103 backup failsafe 32-bit co-processor provides for manual recovery and has its own power supply.
    • Socket for a plug in micro SD memory card for data logging and other uses.
  • Power system with redundancy.
    • The Pixhawk is supplied with an in line power supply with voltage and current sensor outputs.
    • Ideal diode controller with redundant power supply inputs and automatic fail-over.
    • Servo rail high-power (max. 10V) and high-current (10A+) ready.
    • All peripheral outputs are over-current protected and all inputs ESD protected.
    • The provided external safety button enables safe motor activation / deactivation.
    • LED status indicators and driver for high brightness external multicolored LED to indicate flight status.
    • High-power, multi-tone piezo audio indicator also informs of current flight status.
    • High performance UBLOX GPS plus external compass in protective case available.
    • Weight: 38g (1.31oz), Width: 50mm (1.96”), Thickness: 15.5mm (.613”), Length: 81.5mm (3.21”)

Connecting and disconnecting DF13 connectors

Pixhawk analog input pins

This section lists the analog pins available on the Pixhawk. These are virtual pins, defined in the firmware.

Virtual Pin 2 and Power connector Pin 4: power management connector voltage pin, accepts up to 3.3V, usually attached to 3DR power brick with 10.1:1 scaling

Virtual Pin 3 and Power connector Pin 3: power management connector current pin, accepts up to 3.3V, usually attached to 3DR power brick with 17:1 scaling

Virtual Pin 4 and (No connector Pin): VCC 5V rail sensing. This virtual pin reads the voltage on the 5V supply rail. It is used to provide the HWSTATUS.Vcc reading that ground stations use to display 5V status

Virtual Pin 13 and ADC 3.3V connector Pin 4: This takes a max of 3.3V. May be used for sonar or other analog sensors.

Virtual Pin 14 and ADC 3.3V connector Pin 2: This takes a max of 3.3V. May be used for second sonar or other analog sensor.

Virtual Pin 15 and ADC 6.6V connector Pin 2: analog airspeed sensor port. This has 2:1 scaling builtin, so can take up to 6.6v analog inputs. Usually used for analog airspeed, but may be used for analog sonar or other analog sensors.

../_images/pixhawk_analog_input_pins.jpg

Virtual Pin 102: Servo power rail voltage. This is an internal measurement of the servo rail voltage made by the IO board within the Pixhawk. It has 3:1 scaling, allowing it to measure up to 9.9V.

Virtual Pin 103: RSSI (Received Signal Strength Input) input pin voltage (SBus connector output pin). This is the voltage measured by the RSSI input pin on the SBUS-out connector (the bottom pin of the 2nd last servo connector on the 14 connector servo rail).

This can alternatively serve as SBus out by setting the BRD_SBUS_OUT parameter ( Copter, Plane, Rover).

../_images/pixhawk2.jpg

Pixhawk digital outputs and inputs (Virtual Pins 50-55)

The Pixhawk has no dedicated digital output or input pins on its DF13 connectors, but you can assign up to 6 of the “AUX SERVO” connectors to be digital outputs/inputs. These are the first 6 of the 14 three-pin servo connectors on the end of the board. They are marked as AUX servo pins 1 - 6 on the silkscreen as seen above.

To set the number of these pins that are available as digital inputs/outputs, set the BRD_PWM_COUNT parameter. On Pixhawk this defaults to 4, which means the first 4 AUX connectors are for servos (PWM) and the last 2 are for digital inputs/outputs. If you set BRD_PWM_COUNT to 0 then you would have 6 virtual digital pins and still have 8 PWM outputs on the rest of the connector.

The 6 possible pins are available for PIN variables as pin numbers 50 to 55 inclusive. So if you have BRD_PWM_COUNT at the default value of 4, then the two digital output pins will be pin numbers 54 and 55.

In summary:

If BRD_PWM_CNT= 2 then

50 = RC9

51 = RC10

52 = Aux 3

53 = Aux 4

54 = Aux 5

55 = Aux 6

If BRD_PWM_CNT= 4 then

50 = RC9

51 = RC10

52 = RC11

53 = RC12

54 = Aux 5

55 = Aux 6

If BRD_PWM_CNT= 6 then

50 = RC9

51 = RC10

52 = RC11

53 = RC12

54 = RC13

55 = RC14

By default, the pins are digital outputs as outlined above. A digital pin will instead be a digital input if it is assigned to a parameter that represents a digital input. For example, setting CAM_FEEDBACK_PIN to 50 will make pin 50 the digital input that receives a signal from the camera when a picture has been taken.

Powering

The topic Powering the Pixhawk explains both simple and advanced power-supply options for the Pixhawk.