LD2410C mmWave radar

Lessons learned, and how to use it to detect static presence reliably using different still_energy values to signal on/true and off/false.

Writeup in progress

I have figured out a good way to get more reliable presence detection with the HLK LD2410 module.

This page will document my approach. Currently this page is a (very) early work (nearly empty) in progress.

Overview

ManufacturerHiLink
NameLD2410C
Datasheet (LD2410C)HLK-LD2410C_manual_v1.00.pdf
Serial protocol (LD2410C)HLK-LD2410C_Serial_communication_protocol_v1.00.pdf
InterfaceUART
Supply voltage

The LD2410 sensors use a serial protocol over UART. The C variant also has BLE, which can be disabled in configuration or at runtime.

Variants

There are several variants of the LD2410 sensor:

The differences are mainly in form-factor, and only the C variant and some of the B variants have oboard BLE.

Note that this page assumes the C variant LD2410C (because that is the variant that I have).

Pinout

PinDescription
TXUART TX
RXUART RX
OUTPulls HIGH when prescence is detected
GNDGround
VSSSupply voltage,

The OUT pin will pull HIGH when presence is detected and the light sensor is above it's threshold. The light sensor can be disabled, and then the OUT pin should pull HIGH regardless of the light levels, but this is a bit unreliable. Since we don't rely on the sensors own internal presence detction alone, we can ignore this pin anyway.

References