Datasheet
Version: A00 Document No.: SJ-GU-TFmini-01 Page 7 of 10
Note: The detection range side length is not equal to the object resolution ratio at the corresponding distance.
6. Serial Port Data Communication Protocol and Line Sequence
The following section describes the connections and communications between TF_mini and external devices,
including the encoding format of the sending data, the communication protocol between the module and the
external devices, the hardware line connection indications, and the related precautions.
Communication protocol UART
Baud rate 115200
Data bit 8
Stop bit 1
Parity bit 0
Table 5 External communications
1 6.1 Standard Data Format of Serial Port
The module data is a hexadecimal output data; each frame data is encoded with 9 bytes, including 1 distance
data (Dist); each distance data has corresponding signal strength information (Strength); the frame end is the
data parity bit.
Byte1-2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8 Byte9
0x59 59 Dist_L Dist_H
Strength_
L
Strength_
H
Reserved Raw.Qual
CheckSum_
L
Data encoding interpretation
Byte1 0x59, frame header, all frames are the same
Byte2 0x59, frame header, all frames are the same
Byte3
Dist_L distance value is a low 8-bit. Note: The distance value is a hexadecimal value, for
example, Distance 1,000cm = 03 E8 (HEX)
Byte4 Dist_H distance value is a high 8-bit.
Byte5 Strength_L is a low 8-bit.
Byte6 Strength_H is a high 8-bit.
Byte7 Reserved bytes.
Byte8 Original signal quality degree.
Benewake (Beijing) Co. Ltd.










