APD ESC
Search…
UART Telemetry Output
Details on the UART telemetry output on the HV Pro ESC
The UART output is not isolated from the signal input connections. The output must be connected to a different device to the signal generator. Failure to do so will result in permanent damage to the unit.

Connections

HV Pro units produced after Feb 2020 will contain a separate header for the UART output stream. If your unit does not contain this header, please contact APD on how to proceed.

Pinout

Reading Datastream

The UART output of the ESC matches the logged data contents. The data stream will begin when the ESC receives a valid throttle signal (arming is not necessary). Datarate is 115200 Baud.

Version 2.0 Structure

The UART output packet structure is valid for firmware versions 2.0 and onwards. This firmware is compatible with version 2.0 onwards of the configuration tool.

Packet Structure

Index
Datapoint
Size
0
Voltage
16bit Unsigned Int
1
Temperature
16bit Unsigned Int
2
Bus Current
16bit Int
3
Reserved
16bit Unsigned Int
4
E-RPM
32bit Unsigned Int
5
Input Duty
16bit Unsigned Int
6
Motor Duty
16bit Unsigned Int
7
Status Flags
8bit Unsigned Int
8
Reserved
8bit Unsigned Int
9
Checksum (Fletcher)
16bit Unsigned Int
10
Stop Byte
65535

Reading Examples

Implementation examples of reading the raw data stream, and calculating values from the raw data.
telemetryRead_Example_v2.c
6KB
Text
UART Read Example C Version 2.0
telemetryRead_Example_v2.txt
4KB
Text
UART Read Example Python Version 2.0

Version 1.0 Structure

The UART output packet structure is valid for firmware versions 1.0 and onwards. This firmware is compatible with version 1.0 onwards of the configuration tool.

Packet Structure

Index
Datapoint
Size
0
Voltage
16bit Unsigned Int
1
Temperature
16bit Unsigned Int
2
Bus Current
16bit Int
3
Reserved 0
16bit Unsigned Int
4
E-RPM
32bit Unsigned Int
5
Input Duty
16bit Unsigned Int
6
Motor Duty
16bit Unsigned Int
7
Reserved 1
16bit Unsigned Int
8
Checksum (Fletcher)
16bit Unsigned Int
9
Stop Byte
65535

Reading Examples

Implementation examples of reading the raw data stream, and calculating values from the raw data.
telemetryRead_Example.c
5KB
Text
UART Read Example C Version 1.3
telemetryRead_Example.txt
3KB
Text
UART Read Example Python Version 1.3
Last modified 27d ago