Serial Transmit
R2026bLibraries:
UAV Toolbox Support Package for ArduPilot Autopilots /
Peripheral Blocks
Description
Add-On Required: This feature requires the UAV Toolbox Support Package for ArduPilot Autopilots add-on.
The Serial Transmit block transmits data over a serial communication interface (SCI) on supported ArduPilot® targets. The block accepts input values as an N-by-1 or 1-by-N array.
Use this block to transmit data from a Simulink®model to external devices or subsystems over a serial connection on ArduPilot hardware. Typical applications include, transmitting sensor or control data to external serial peripherals, debug or telemetry data transmission, and communication with companion computers or serial devices.
The Serial Transmit block is supported only on ArduPilot based flight controllers. It is not supported for SITL board configuration or ArduPilot Host Target autopilot configuration.
Note
When you use this block to send serial data, set the SERIALx_PROTOCOL parameter of the ArduPilot autopilot to an unused protocol value. For instance, using Mission Planner, set the parameter to 55. When SERIALx_PROTOCOL has its default value, ArduPilot assigns a built-in driver to the port and the serial block cannot access it.
Examples
Ports
Input
Parameters
Version History
Introduced in R2026b


