# 3DR Pixhawk 1 Flight Controller (Discontinued)

注意

This flight controller has been discontinued and is no longer commercially available. You can use the mRo Pixhawk as a drop-in replacement.

注意

PX4 does not manufacture this (or any) autopilot. Contact the manufacturer for support or compliance issues.

The 3DR Pixhawk® 1 autopilot is a popular general purpose flight controller based on the Pixhawk-project (opens new window) FMUv2 open hardware design (it combines the functionality of the PX4FMU + PX4IO). It runs PX4 on the NuttX (opens new window) OS.

Pixhawk Image

Assembly/setup instructions for use with PX4 are provided here: Pixhawk Wiring Quickstart

# 主要特性

  • 主片上系统:STM32F427 (opens new window)
    • CPU: 180 MHz ARM® Cortex® M4 with single-precision FPU
    • RAM: 256 KB SRAM (L1)
  • Failsafe System-on-Chip: STM32F100
    • CPU: 24 MHz ARM Cortex M3
    • RAM: 8 KB SRAM
  • Wifi: ESP8266 external
  • GPS: u-blox® 7/8 (Hobbyking®) / u-blox 6 (3D Robotics)
  • Optical flow: PX4 Flow unit
  • Redundant power supply inputs and automatic failover
  • External safety switch
  • Multicolor LED main visual indicator
  • High-power, multi-tone piezo audio indicator
  • microSD card for high-rate logging over extended periods of time

Connectivity

  • 1x I2C
  • 1x CAN (2x optional)
  • 1x ADC
  • 4x UART (2x with flow control)
  • 1x Console
  • 8x PWM with manual override
  • 6x PWM / GPIO / PWM input
  • S.BUS / PPM / Spektrum input
  • S.BUS output

# 在哪里买

Originally manufactured by 3DR® this board was the original standard microcontroller platform for PX4®. While the board is no longer manufactured by 3DR, you can use the mRo Pixhawk as a drop-in replacement.

Order mRo Pixhawk from:

# 产品规格

# 处理器

# 传感器

  • ST Micro L3GD20H 16 bit gyroscope
  • ST Micro LSM303D 14 bit accelerometer / magnetometer
  • Invensense MPU 6000 3-axis accelerometer/gyroscope
  • MEAS MS5611 气压计

# 接口

  • 5x UART (serial ports), one high-power capable, 2x with HW flow control
  • 2x CAN (one with internal 3.3V transceiver, one on expansion connector)
  • Spektrum DSM / DSM2 / DSM-X® Satellite compatible input
  • Futaba S.BUS® compatible input and output
  • PPM sum signal input
  • RSSI (PWM or voltage) input
  • I2C
  • SPI
  • 3.3 and 6.6V ADC inputs
  • Internal microUSB port and external microUSB port extension

# Power System and Protection

  • Ideal diode controller with automatic failover
  • Servo rail high-power (max. 10V) and high-current (10A+) ready
  • All peripheral outputs over-current protected, all inputs ESD protected

# 额定电压

Pixhawk can be triple-redundant on the power supply if three power sources are supplied. The three rails are: Power module input, servo rail input, USB input.

# 正常运行最大额定值

Under these conditions all power sources will be used in this order to power the system

  • Power module input (4.8V to 5.4V)
  • Servo rail input (4.8V to 5.4V) UP TO 10V FOR MANUAL OVERRIDE, BUT AUTOPILOT PART WILL BE UNPOWERED ABOVE 5.7V IF POWER MODULE INPUT IS NOT PRESENT
  • USB power input (4.8V to 5.4V)

# 绝对最大额定值

Under these conditions the system will not draw any power (will not be operational), but will remain intact.

  • Power module input (4.1V to 5.7V, 0V to 20V undamaged)
  • Servo rail input (4.1V to 5.7V, 0V to 20V)
  • USB power input (4.1V to 5.7V, 0V to 6V)

# 原理图

FMUv2 + IOv2 schematic (opens new window) -- Schematic and layout

注解

As a CC-BY-SA 3.0 licensed Open Hardware design, all schematics and design files are available (opens new window).

# 连接器

提示

The RC IN port is for RC receivers only and provides power. NEVER connect any servos, power supplies or batteries to it or to the receiver connected to it.

Pixhawk Connectors

# 针脚定义

# TELEM1,TELEM2 接口

针脚 信号 电压
1(红) VCC +5V
2(黑) TX (OUT) +3.3V
3(黑) RX (IN) +3.3V
4(黑) CTS (IN) +3.3V
5(黑) RTS (OUT) +3.3V
6(黑) GND GND

# GPS 接口

针脚 信号 电压
1(红) VCC +5V
2(黑) TX (OUT) +3.3V
3(黑) RX (IN) +3.3V
4(黑) CAN2 TX +3.3V
5(黑) CAN2 RX +3.3V
6(黑) GND GND

# SERIAL 4/5 port

Due to space constraints two ports are on one connector.

针脚 信号 电压
1(红) VCC +5V
2(黑) TX (#4) +3.3V
3(黑) RX (#4) +3.3V
4(黑) TX (#5) +3.3V
5(黑) RX (#5) +3.3V
6(黑) GND GND

# ADC 6.6V

针脚 信号 电压
1(红) VCC +5V
2(黑) ADC IN up to +6.6V
3(黑) GND GND

# ADC 3.3V

针脚 信号 电压
1(红) VCC +5V
2(黑) ADC IN up to +3.3V
3(黑) GND GND
4(黑) ADC IN up to +3.3V
5(黑) GND GND

# I2C

针脚 信号 电压
1(红) VCC +5V
2(黑) SCL +3.3 (pullups)
3(黑) SDA +3.3 (pullups)
4(黑) GND GND

# CAN

针脚 信号 电压
1(红) VCC +5V
2(黑) CAN_H +12V
3(黑) CAN_L +12V
4(黑) GND GND

# SPI

针脚 信号 电压
1(红) VCC +5V
2(黑) SPI_EXT_SCK +3.3
3(黑) SPI_EXT_MISO +3.3
4(黑) SPI_EXT_MOSI +3.3
5(黑) !SPI_EXT_NSS +3.3
6(黑) !GPIO_EXT +3.3
7 GND GND

# POWER

针脚 信号 电压
1(红) VCC +5V
2(黑) VCC +5V
3(黑) 电流 +3.3V
4(黑) 电压 +3.3V
5(黑) GND GND
6(黑) GND GND

# SWITCH

针脚 信号 电压
1(红) VCC +3.3V
2(黑) !IO_LED_SAFETY GND
3(黑) SAFETY GND

# Serial Port Mapping

UART 设备 Port
UART1 /dev/ttyS0 IO debug
USART2 /dev/ttyS1 TELEM1 (flow control)
USART3 /dev/ttyS2 TELEM2 (flow control)
UART4
UART7 CONSOLE
UART8 SERIAL4

# Debug Ports

# Console Port

The PX4 System Console runs on the port labeled SERIAL4/5.

提示

A convenient way to connect to the console is to use a Dronecode probe (opens new window), as it comes with connectors that can be used with several different Pixhawk devices. Simply connect the 6-pos DF13 1:1 cable on the Dronecode probe (opens new window) to the Pixhawk SERIAL4/5 port.

Dronecode probe

The pinout is standard serial pinout, designed to connect to a 3.3V FTDI (opens new window) cable (5V tolerant).

3DR Pixhawk 1 FTDI
1 + 5v (红色)
2 S4 Tx
3 S4 Rx
4 S5 Tx 5
5 S5 Rx 4
6 GND 1

The wiring for an FTDI cable to a 6-pos DF13 1:1 connector is shown in the figure below.

Console Connector

The complete wiring is shown below.

Console Debug

注解

For information on how to use the console see: System Console.

# SWD Port

The SWD (JTAG) ports are hidden under the cover (which must be removed for hardware debugging). There are separate ports for FMU and IO, as highlighted below.

Pixhawk SWD

The ports are ARM 10-pin JTAG connectors, which you will probably have to solder. The pinout for the ports is shown below (the square markers in the corners above indicates pin 1).

ARM 10-Pin connector pinout

注解

All Pixhawk FMUv2 boards have a similar SWD port.

# 编译固件

提示

Most users will not need to build this firmware! It is pre-built and automatically installed by QGroundControl when appropriate hardware is connected.

To build PX4 for this target:

make px4_fmu-v2_default

# Parts / Housings

# 支持的平台 / 机身

Any multicopter / airplane / rover or boat that can be controlled with normal RC servos or Futaba S-Bus servos.