Pixhawk 4 快速接线指南

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 4® flight controller and connect its most important peripherals.

接线图概览

The image below shows how to connect the most important sensors and peripherals (except the motor and servo outputs). We'll go through each of these in detail in the following sections.

More information about available ports can be found here: Pixhawk 4 > Connections.

飞控的安装和方向

Pixhawk 4 should be mounted on the frame using vibration-damping foam pads (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.

GPS + 指南针 + 蜂鸣器 + 安全开关 + LED

Attach the provided GPS with integrated compass, safety switch, buzzer and LED to the GPS MODULE 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).

电源

Connect the output of the Power Management Board (PM board) that comes with the kit to one of the POWER bricks of Pixhawk 4 using a 6-wire cable. The PM input 2~12S will be connected to your LiPo battery. The connections of Power Management Board, including power supply and signal connections to the ESCs and servos, are explained in the table below. Note that the PM board does not supply power to the servos via + and - pins of FMU PWM-OUT.

The image below shows the power management board provided with Pixhawk 4.

针脚&连接器功能

I/O PWM-IN

参考下面 Pixhawk 4 的连接

M1

I/O PWM OUT 1:将信号线连接到到电机 1 的电调

M2

I/O PWM OUT 2:将信号线连接到到电机 2 的电调

M3

I/O PWM OUT 3:将信号线连接到到电机 3 的电调

M4

I/O PWM OUT 4:将信号线连接到到电机 4 的电调

M5

I/O PWM OUT 5:将信号线连接到到电机 5 的电调

M6

I/O PWM OUT 6:将信号线连接到到电机 6 的电调

M7

I/O PWM OUT 7:将信号线连接到到电机 7 的电调

M8

I/O PWM OUT 8:将信号线连接到到电机 8 的电调

FMU PWM-IN

参考下面 Pixhawk 4 的连接

FMU PWM-OUT

如果 FMU PWM-IN连接到 Pixhawk 4,则将信号线连接到 ESC电调或将信号,+,-线路连接到伺服舵机。

CAP&ADC-OUT

连接到 Pixhawk 4 的CAP & ADC IN 接口。

CAP&ADC-IN

CAP&ADC 输入: 针脚打印显示在电路板的背面

B+

连接到 ESC电调B+以为 ESC电调供电

GND

连接到 ESC电调负极

PWR1

5V 3A 输出,连接到 Pixhawk 4 的 POWER 1

PWR2

5V 3A 输出,连接到 Pixhawk 4 的 POWER 2

2~12S

电源输入,连接到12~S的LiPo电池

The following table summarizes how to connect Pixhawk 4's PWM OUT ports to PM board's PWM-IN ports, depending on the Airframe Reference.

机架参考

Pixhawk 4 -> 电源模块板 之间的连接

MAIN:电机

I/O PWM OUT --> I/O PWM IN

MAIN:舵机

I/O PWM OUT --> FMU PWM IN

AUX:电机

FMU PWM OUT --> I/O PWM IN

AUX:舵机

FMU PWM OUT --> FMU PWM IN

The pinout of Pixhawk 4’s power ports is shown below. The CURRENT signal should carry an analog voltage from 0-3.3V for 0-120A as default. The VOLTAGE signal should carry an analog voltage from 0-3.3V for 0-60V as default. The VCC lines have to offer at least 3A continuous and should default to 5.1V. A lower voltage of 5V is still acceptable, but discouraged.

针脚信号电压

1(红)

VCC

+5V

2(黑)

VCC

+5V

3(黑)

电流

+3.3V

4(黑)

电压

+3.3V

5(黑)

GND

GND

6(黑)

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).

The instructions below show how to connect the different types of receivers to Pixhawk 4:

  • Spektrum/DSM 或者 S.BUS 接收机连接到 DSM/SBUS RC 输入端口。

  • PPM 接收机连接到 PPM RC 输入端口。

  • PPM 和 每个通道有单独连接线 的 PWM 接收机需要连接在 PPM RC 端口,PWM信号需要通过一个类似这样的* PPM 编码器*(PPM-Sum 接收机只需要一根信号线就包含所有通道)。

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).

SD 卡

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 4 kit) into Pixhawk 4 as shown below.

电机

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.

:::caution 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.

针脚定义

Pixhawk 4 Pinouts (Holybro)

配置

General configuration information is covered in: Autopilot Configuration.

QuadPlane specific configuration is covered here: QuadPlane VTOL Configuration

更多信息

Last updated