Data Sheet

4.4UART Communication
4.4.1
UART protocol information
The UART communication for the TeraRanger Evo uses a simple Modbus-like protocol. The
communication parameters are:
Baud Rate: 115 200
Data Bits: 8
Stop Bit(s): 1
Parity: None
HW Flow Control: None
4.4.2
Commands
Address
Command
Data
CRC-8
0x00
PRINTOUT MODE
0x11
TEXT
0x01
0x45
0x00
PRINTOUT MODE
0x11
BINARY
0x02
0x4C
The default mode of TeraRanger Evo is Binary mode. For changing the output format to Text
mode, please use the following command in hexadecimal: 00 11 01 45. Accordingly, to
switch back to Binary mode use the hexadecimal command: 00 11 02 4C.
4.4.3
UART output format
Two output formats are available:
Text
output
Data output in human readable form (5 to 7 bytes message):
xxxxx\n
- Distance reading in millimeters* (maximum 5 bytes per sensor):
xxxxx
- New line character: \n (10 decimal / 0x0A hex)
Copyright © Terabee 2018
Terabee, 90 Rue Henri Fabre, 01630, St Genis-Pouilly, France
12/14