Main Content

Serial Port Names and Corresponding Labels on PX4 Flight Controller Boards

The PX4 Serial Receive and PX4 Serial Transmit block in UAV Toolbox Support Package for PX4® Autopilots support sending/receiving of data using the serial ports on the PX4 flight controller board.

This section lists the mapping of the different port labels on the PX4 flight controller board to the UART/USART port numbers that you can select during the configuration of the Simulink model.

Port Numbers for Cube Blue H7

LabelsUART/USART port number
USB/dev/ttyACM0
TELEM 1/dev/ttyS0
TELEM 2/dev/ttyS1
GPS1/dev/ttyS2
GPS2/dev/ttyS5

Port Numbers for Cube Orange

LabelsUART/USART port number
USB/dev/ttyACM0
TELEM 1/dev/ttyS0
TELEM 2/dev/ttyS1
GPS1/dev/ttyS2
GPS2/dev/ttyS5

Port Numbers for Cube Orange Plus

LabelsUART/USART port number
USB/dev/ttyACM0
TELEM 1/dev/ttyS0
TELEM 2/dev/ttyS1
GPS1/dev/ttyS2
CONSOLE/ADSB-IN/dev/ttyS4
GPS2/dev/ttyS5

Port Numbers for Pixhawk 6c

LabelsUART/USART port number
USB/dev/ttyACM0
GPS1 /dev/ttyS0
TELEM3 /dev/ttyS1
Debug Console/dev/ttyS2
TELEM2/dev/ttyS3
PX4IO/dev/ttyS4
TELEM1/dev/ttyS5
GPS2/dev/ttyS6

Port Numbers for Pixhawk 6x

LabelsUART/USART port number
USB/dev/ttyACM0
GPS1 /dev/ttyS0
TELEM3 /dev/ttyS1
Debug Console /dev/ttyS2
UART4 & I2C /dev/ttyS3
TELEM2 /dev/ttyS4
PX4IO/RC /dev/ttyS5
TELEM1 /dev/ttyS6
GPS2 /dev/ttyS7

Port Numbers for Uvify IFO-S

Physical LabelQGC PortUART/USART port number
USBUSB/dev/ttyACM0
CONN1TELEM 1/dev/ttyS1
Internal (telemetry)TELEM 2/dev/ttyS2
GPSGPS1/dev/ttyS3
SERIAL4TELEM 3/dev/ttyS6

Port Numbers for Pixhawk 1

LabelsUART/USART port number
USB/dev/ttyACM0
TELEM 1/dev/ttyS1
TELEM 2/dev/ttyS2
GPS/dev/ttyS3
Serial 4/dev/ttyS6
Serial 5 (NSH port)/dev/ttyS5

Port Numbers for Pixhawk 2.1 (Cube)

LabelsUART/USART port number
USB/dev/ttyACM0
TELEM 1/dev/ttyS1
TELEM 2/dev/ttyS2
GPS1/dev/ttyS3
GPS2/dev/ttyS6
Serial 5 (NSH port)/dev/ttyS5

Port Numbers for Pixhawk 4

LabelsUART/USART port number
USB/dev/ttyACM0
TELEM 1/dev/ttyS1
TELEM 2/dev/ttyS2
GPS/dev/ttyS0
UART/dev/ttyS4

Port Numbers for Pixracer

LabelsUART/USART port number
USB/dev/ttyACM0
TELEM 1/dev/ttyS1
TELEM 2/dev/ttyS2
Serial 5 (NSH port)/dev/ttyS5