HLK-LD2410 Serial Communication Protocol V1.02
HLK-LD2410 Serial Communication Protocol V1.02
HLK-LD2410
Human presence sensing module
Serial communication protocol
Version: V1.02 Revised date: 2022-7-1 Copyright by @ Hi-Link Electronic Co., Ltd.
Page 1 / 20
HLK-LD2410
Content
1 Introduction to Communication Interfaces ....................................................................................................... 3
2.2.3 Maximum distance gate and unmanned duration parameter configuration command ............ 9
Page 2 / 20
HLK-LD2410
Index chart
Page 3 / 20
HLK-LD2410
1 Introduction to Communication Interfaces
1.1 Pin Definitions
level for no one) directly through an I0 pin, and can also output the detection result data through
the serial port according to the specified protocol. The serial port output data includes: Target
status and distance auxiliary information, etc, users can use flexibly according to specific
application scenarios.
Page 4 / 20
HLK-LD2410
The power supply voltage of the module is 5V, and the power supply capacity of the input
The module I0 output level is 3.3V. The default baud rate of the serial port is 256000, 1 stop
Including the farthest door for motion detection and the farthest door for static detection, the
setting range is 1 to 8. For example, if the farthest door is set to 2, only if there is a human
body within 1.5m will it effectively detect and output the result.
Sensitivity
Only when the detected target energy value (range 0~ 100) is greater than the sensitivity
value will it be determined that the target exists, other wise it will be ignored.
The sensitivity value can be set from 0 to 100. The sensitivity of each range gate can be
independently set, so that the detection in different distance ranges can be precisely adjusted,
In addition, if the sensitivity of a certain distance gate is set to 100, the effect of not
recognizing the target under the distance gate can be achieved. For example, if the sensitivity
of distance gate 3 and distance gate 4 is set to 20, and the sensitivity of other distance gates is
set to 100, it is possible to detect only the human body within the range of 2.25-3.75m from
No-one duration
When the radar outputs the result from man to no man, it will report man for a period of time.
Page 5 / 20
HLK-LD2410
If there is no man in the radar test range during this time period, the radar will report no man;
if the radar detects man during this time period, it will be refreshed again. This time, in
seconds. It is equivalent to the unmanned delay time. After the person leaves, the output state
will be unmanned only after the person has left the system for more than this duration.
configuration tool is provided. The user can use this tool software to connect the serial port of the
module, read and configure the parameters of the module, and receive the detection results
reported by the. module. Data, and real-time visual display, which greatly facilitates .the use of
users.
1. Use the USB to serial port tool to connect the module serial port correctly
2. Select the corresponding serial port number in the host computer tool, set the baud rate
to 256000, select the engineering mode, and click to connect the device
3. After the corresponding is successful, click the start button, the right graphical interface
4. After connecting, if the start button is not clicked, or click stop after starting,the mode
Note:The parameters cannot be read and configured after clicking start, and configuration
can only be performed after stopping.
The interface and common functions of the host computer tool are as follows:
Page 6 / 20
HLK-LD2410
The ball is the target state output indication: red means that there is a moving target, and
2 Letter of Agreement
This communication protocol is mainly used by users who need to do secondary development
without visual tools.LD2410 communicates with the outside world through the serial port(TTL
level). The data output and parameter configuration commands of the radar are all carried out
under this protocol. The default baud rate of the serial port is 256000, 1 stop bit, and no parity bit.
Page 7 / 20
HLK-LD2410
Table 4 ACK command protocol frame format
Command word:0x00FF
Command value:0x0001
Return value:2 bytes status (0 success, 1 failure)+2 bytes protocol version(0x0001)+2 bytes buffer
size(0x0040)
Send data:
RADAR ACK(success):
FD FC FB FA 08 00 FF01 00 00 01 00 40 00 04 03 02 01
you need to issue other commands again, you need to send the enable configuration command
first.
Command word:0x00FE
Command value:none
Page 8 / 20
HLK-LD2410
Send data:
FD FC FB FA 02 00 FE 00 04 03 02 01
Radar ACK(success):
FD FC FB FA 04 00 FE 01 00 00 04 03 02 01
Configuration Command
The command sets the radar’s maximum detection range gate(moving &
0~65535 seconds). For specific parameter words, please words, please refer to table5-5. This
Command word:0x0060
Command value:2 bytes maximum moving distance door word+4 bytes maximum moving
distance door parameter+2 bytes maximum static distance door word+4bytes maximum static
distance door parameter+2 bytes no-person duration word + 4 words Section unattended duration
parameter.
FD FC 1400 60 00 00 00 08 00 01 00 08 00 02 00 05 00 04 03
FB FA 00 00 00 00 00 00 02 01
Page 9 / 20
HLK-LD2410
Radar ACK(success):
FD FC FB FA 04 00 60 01 00 00 04 03 02 01
Command word:0x0061
Command value:none
Return value:2 bytes ACK status(0 success, 1 failure)+ header(0xAA)+maximum distance gate
N(0x08)+configure maximum moving distance gate+ configure maximum static gate + distance
gate 0 motion sensitivity(1 byte)+...+Distance Gate N Motion Sensitivity(1 byte)+ Distance Gate
0 Rest sensitivity 1 Byte) +..+ Distance Gate N Rest Sensitivity(1 byte)+ No Time Duration(2
Bytes).
Send data:
FD FC FB FA 61 00 04 03 02 01
Radar ACK:(success, max range gate 8, configure moving range gate 8, static range gate 8, 0~8
motion sensitivity 20, 0~8 static sensitivity 25, unmanned duration 5 seconds)
Byte1~4 Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte18
5.6 7.8 9.10 11 12 13 14 15 16 17
FD FC FB FA 18 61 00 AA 08 08 08 14 14 14 14
00 01 00
Byte Byte20 Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte 30
19 21 22 23 24 25 26 27 28 29
14 14 14 14 14 19 19 19 19 19 19 19
Byte Byte
31 32
19 19
energy value of each range gate will be added to the date reported by the radar. For the detailed
Page 10 / 20
HLK-LD2410
format, please refer to 2.3.2 target data composition. After the module is powered on, the
engineering mode is disabled by default, and this configuration value is lost when the power is
turned off.
Command word:0x0062
Command value:none
Send data:
FD FC FB FA 02 00 62 00 04 03 02 01
Radar ACK(success):
FD FC FB FA 04 00 62 01 00 00 04 03 02 01
Command word:0x0063
Command value:none
Send data:
FD FC FB FA 02 00 63 00 04 03 02 01
Radar ACK(success):
FD FC FB FA 04 00 63 01 00 00 04 03 02 01
not be lost after power failure. Its supports not only the individual configuration of each distance
gate, but also the simultaneous configuration of all distance gates to a unified value. If you set the
sensitivity of all distance gates to the same value at the same time, you need to set the distance
Page 11 / 20
HLK-LD2410
gate value to 0xFFFF.
Command word:0x0064
Command value:2bytes distance gate word + 4 bytes distance gate value + 2 bytes motion
sensitivity word + 4 bytes motion sensitivity value + 2 bytes static sensitivity word + 4 bytes static
sensitivity value.
Send data:configure the motion sensitivity of distance gate 3 to 40, and the static sensitivity of 40
FD FC FB FA 04 00 00 00 04 03 02 01
Radar ACK(success):
FD FC FB FA 14 00 64 00 00 00 FF FF 00 00 01 00 28 00 00 00 02 00 28 00 00 00 04 03 02 01
Send data: configure the motion sensitivity of all distance gates to 40, and the static sensitivity to
40.
FD FC FB FA 14 00 64 00 00 00 FF FF 00 00 01 00 28 00 00 00 02 00 28 00 00 00 04 03 02 01
FD FC FB FA 04 00 64 01 00 00 04 03 02 01
Command value:none
Page 12 / 20
HLK-LD2410
Return value: 2 bytes ACK status(0 success, 1 failure) + 2 bytes firmware type (0x0000) + 2 bytes
Send data:
FD FC FB FA 02 00 A0 00 04 03 02 01
Radar ACK(success):
FD FC FB FA 0B 00 A0 01 00 00 00 00 02 01 16 24 06 22 04 03 02 01
0x0001 9600
0x0002 19200
0x0003 38400
0x0004 57600
0x0005 115200
0x0006 230400
0x0007 256000
0x0008 460800
Page 13 / 20
HLK-LD2410
Send data:
FD FC FB FA 04 00 A1 00 07 00 04 03 02 01
Radar ACK(success):
FD FC FB FA 04 00 A1 01 00 00 04 03 02 01
Command word:0x00A2
Command value:none
Send data:
FD FC FB FA 02 00 A2 00 04 03 02 01
Radar ACK(success):
FD FC FB FA 04 00 A2 01 00 00 04 03 02 01
No-one duration 5
Page 14 / 20
HLK-LD2410
Command word:0x00A3
Command value:none
Send data:
FD FC FB FA 02 00 A3 00 04 03 02 01
Page 15 / 20
HLK-LD2410
Radar ACK(success):
FD FC FB FA 04 00 A3 01 00 00 04 03 02 01
information of the target by default, including the target state, motion energy value, static energy
value, motion distance, static distance and other information. If the radar is configured in
engineering mode, the radar will additionally output the energy value of each range gate(moving
table 9. In normal working mode and engineering mode, the definition of the reported data type
Page 16 / 20
HLK-LD2410
mode of the radar. In the normal working mode, the radar outputs the basic information data of the
target by default; when configured in the engineering mode, the radar will add the energy value
information of each range gate after the basic information data of the target. Therefore, the basic
information of the target will always be output in the data reported by the radar, and the energy
value information of the range gate will only be output after the command is enabled.
In normal working mode, the composition of the target data reported by the radar is shown in
Table 11, and the definition of the target state value is shown in Table 12. The composition of the
target data frame in the engineering mode is shown in Table 13, and some data are added based on
1 byte
2 bytes 1 byte 1 byte 1 byte 1 byte
(see table 12)
0x00 No target
Page 17 / 20
HLK-LD2410
... 2 bytes 1 byte 1 byte 1 byte .. 1 byte 1 byte ... 1 byte M bytes
Data data:
F4 F3 F2 F1 0D 00 02 AA 02 51 00 00 00 00 3B 00 00 55 00 F8 F7 F6 F5
F4 F3 F2 F1 23 00 01 AA 03 1E 00 3C 00 00 39 F8 F7 F6 F5
00 00 08 08 3C 22 05 03 03 04
03 06 05 00 00 39 10 13 06 06
08 04 03 05 55 00
host computer “send command” and the radar “reply command ACK”. If the radar has no ACK
reply or fails to reply ACK., it means that the radar fails to execute the configuration command.
As mentioned before, sending any other commands to the radar, the developer needs to send
the “enable configuration” command first, and then send the configuration command within the
Page 18 / 20
HLK-LD2410
specified time. After the command configuration is completed, send the “end configuration”
For example, if you want to read the radar configuration parameters, first the host computer
sends the “enable configuration” command, after receiving the radar ACK successfully, it sends
the “read parameters” command; after receiving the radar ACK successfully, it finally sends the
“end” command. “configure” command; after the radar ACK is successful, it indicates that the
Page 19 / 20
HLK-LD2410
3 Version History
Date Version Modify the content
2022-7-1 1.02 Fixed some error descriptions and added restart commands
Page 20 / 20