Manual

Leddarâ„¢One Sensing Module 22
512
4
35.22
256
4
70.44
128
4
140.88
3.5. Serial Port Settings
Two settings are available to adjust data acquisition through the 3.3V UART
or RS-485 link. The baud rate can be configured to the desired value. Parity,
data bits and stop bits are fixed at None, 8, 1.
A baud rate of 115200 is recommended to provide the best data transfer rate
and measurement rate up to 50Hz. The following serial port settings are
configurable.
Table 6: Serial Port Setting Description
3.6. Modbus Protocol
The 3.3V UART link or RS-485 port on the sensor uses the Modbus protocol.
This section describes the commands that are implemented.
For more information on the Modbus protocol, please visit www.modbus.org.
Report Server ID (function code 0x11)
This function returns information on the sensor in the following format:
Table 7: Report Server ID Message Description
Offset
Length
Description
0
1
Number of bytes of information (excluding this one).
Currently 0x33 since the size of information returned is
fixed.
1
8
Serial number as an ASCII string
9
1
Run status 0: OFF, 0xFF:ON. Should always return 0xFF,
otherwise the sensor is defective.
20
11
The software part number as an ASCII string
Parameter
Value
Baud Rate
9600, 19200, 38400, 57600, 115200 bps
Modbus Address
1 to 247