Component guide · Intermediate · 4 min read
Hi-Link HLK-LD2412, LD2420, LD2401, LD2402, LD2402G, LD116

and LD1115H 24 GHz Human Presence Radars
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These Hi-Link 24 GHz FMCW radars detect people even when they sit or lie still, by sensing breathing-sized movement. They are siblings of the popular LD2410. The LD2412 and LD2420 split the range into distance gates you can tune; the LD2401 adds Bluetooth; the LD2402 is a low-cost version. All have an OUT pin plus UART for distance and settings, and work well with ESPHome and Home Assistant.
Key specs at a glance
- Frequency
- 24 GHz FMCW
- Supply
- About 3.3 V (LD2420, LD2402) or 5 V (LD2412); check model
- Range
- About 6 to 10 m for motion, less for still people
- Output
- OUT pin plus UART (115200 or 256000 baud)
- Beam
- About plus or minus 60 degrees
- Settings
- Gates, sensitivity and hold time over UART or Bluetooth
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Hi-Link HLK-LD2412 24GHz Human Presence Radar Sensor – UART/GPIO Output₹639
Option 2Hi-Link HLK-LD2420 24GHz Human Presence Radar Sensor – GPIO/UART Interface₹319
Option 3Hi-Link HLK-LD2420 24GHz Human Motion Radar Sensor Module₹297
Option 4Hi-Link HLK-LD2401 24GHz Human Presence Radar Sensor – GPIO/UART/Bluetooth₹269
Option 5Hi-Link HLK-LD2402 24GHz Human Presence Radar Sensor – GPIO/UART Interface₹194
Option 6Hi-Link HLK-LD2402G 24GHz Millimeter Wave Human Motion & Presence Sensor, ±60°, Up to 10m Range₹179
What the Hi-Link LD2412, LD2420 and LD2402 presence radars is
The Hi-Link HLK-LD2412 and LD2420 are 24 GHz mmWave presence radars that detect people even when they sit or lie still, for smart lighting, occupancy and Home Assistant.
Unlike PIR, presence radar keeps the output on while someone reads or sleeps, which makes lights and air conditioning stop switching off on people.
Each model has its own UART protocol, so use the library or ESPHome component for that exact part. The OUT pin works with no code at all.
Hi-Link LD2412, LD2420 and LD2402 presence radars pinout
The pins on the Hi-Link LD2412, LD2420 and LD2402 presence radars and what each one does.
| Pin | Function |
|---|---|
| VCC | Supply (3.3 or 5 V, check model) |
| GND | Ground |
| OT1 / OUT | Presence output |
| TX / RX | UART data and settings |
- VCC
- Supply (3.3 or 5 V, check model)
- GND
- Ground
- OT1 / OUT
- Presence output
- TX / RX
- UART data and settings
Wiring the Hi-Link LD2412, LD2420 and LD2402 presence radars
Connect the Hi-Link LD2412, LD2420 and LD2402 presence radars like this.
| Hi-Link LD2412, LD2420 and LD2402 presence radars pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5 V | 5 V (VIN) or 3.3 V (check module) |
| GND | GND | GND |
| Radar TX | D10 (SoftwareSerial RX, low baud only) | GPIO 16 (RX2) |
| Radar RX | D11 | GPIO 17 (TX2) |
| OUT (if fitted) | D2 | GPIO 27 |
- VCC
- Arduino Uno:
- 5 V
- ESP32:
- 5 V (VIN) or 3.3 V (check module)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- Radar TX
- Arduino Uno:
- D10 (SoftwareSerial RX, low baud only)
- ESP32:
- GPIO 16 (RX2)
- Radar RX
- Arduino Uno:
- D11
- ESP32:
- GPIO 17 (TX2)
- OUT (if fitted)
- Arduino Uno:
- D2
- ESP32:
- GPIO 27
Example code
For distance and gate energy, use the model's protocol (or ESPHome's ld2410 or ld2420 component). The hex dump sketch in the LD2450 guide helps check the baud rate.
// Motion radar with a digital OUT pin: HIGH while motion is seen (plus the hold time)
const int RADAR = 2; // ESP32: use GPIO 27
const int LED = 13;
void setup() {
pinMode(RADAR, INPUT);
pinMode(LED, OUTPUT);
Serial.begin(115200);
}
void loop() {
bool motion = digitalRead(RADAR);
digitalWrite(LED, motion);
static bool last = false;
if (motion != last) { Serial.println(motion ? "Motion" : "Clear"); last = motion; }
delay(20);
}Setup and tuning
power at the voltage the datasheet gives for your exact model (the LD2420 is a 3.3 V part), GND, TX and RX to the microcontroller, and OUT for a simple on/off signal.
use the ld2410 or ld2420 component, or the Hi-Link app over Bluetooth on the LD2412, to set zones.
set maximum distance and per-gate sensitivity so the area you care about is covered.
wall-mount at about 1.5 m, facing the room, away from fans and AC vents.
set how long the output stays on after the last detection.
What you need
Shop this list12 of 13 found in our store · ₹3,981
Hi-Link HLK-LD2412 24GHz Human Presence Radar Sensor – UART/GPIO Output: the part this guide coversHi-Link HLK-LD2412 24GHz Human Presence Radar Sensor – UART/GPIO Output₹639
Hi-Link HLK-LD2420 24GHz Human Presence Radar Sensor – GPIO/UART Interface: another version this guide coversHi-Link HLK-LD2420 24GHz Human Presence Radar Sensor – GPIO/UART Interface₹319
Hi-Link HLK-LD2420 24GHz Human Motion Radar Sensor Module: another version this guide coversHi-Link HLK-LD2420 24GHz Human Motion Radar Sensor Module₹297
Hi-Link HLK-LD2401 24GHz Human Presence Radar Sensor – GPIO/UART/Bluetooth: another version this guide coversHi-Link HLK-LD2401 24GHz Human Presence Radar Sensor – GPIO/UART/Bluetooth₹269
Hi-Link HLK-LD2402 24GHz Human Presence Radar Sensor – GPIO/UART Interface: another version this guide coversHi-Link HLK-LD2402 24GHz Human Presence Radar Sensor – GPIO/UART Interface₹194
Hi-Link HLK-LD2402G 24GHz Millimeter Wave Human Motion & Presence Sensor, ±60°, Up to 10m Range: another version this guide coversHi-Link HLK-LD2402G 24GHz Millimeter Wave Human Motion & Presence Sensor, ±60°, Up to 10m Range₹179
Hi-Link HLK-LD2402G-W 24GHz Millimeter-Wave Motion Sensor Module – UART/GPIO Interface: another version this guide coversHi-Link HLK-LD2402G-W 24GHz Millimeter-Wave Motion Sensor Module – UART/GPIO Interface₹173
Hi-Link LD116 24GHz Human Presence Radar Module – 6m Detection, ±41° Horizontal Angle: another version this guide coversHi-Link LD116 24GHz Human Presence Radar Module – 6m Detection, ±41° Horizontal Angle₹749
Hi-Link LD1115H 24GHz Micro-Motion Radar Module – TTL Serial Interface: another version this guide coversHi-Link LD1115H 24GHz Micro-Motion Radar Module – TTL Serial Interface₹629
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs- Hi-Link HLK-LD2410 24 GHz presence radar: the most common hobby presence radarFind this part
HC-SR501 PIR motion sensor module: a PIR to compare or combine with radarHC-SR501 PIR Motion Detector Sensor Module₹59Closest match, check the specs
Alternatives and when to choose them
- LD2410 presence radar: the most documented sibling.
- LD2450 trajectory radar: tracks the position of up to 3 people.
- DFRobot C4001: Gravity board with I2C.
Common mistakes to avoid
- Powering the module at a voltage its datasheet does not list.
- Mounting it facing a fan or AC unit.
- Leaving all gates at maximum sensitivity.
- Swapping TX and RX.
Frequently asked questions
Can the LD2412 detect a person sitting still?
Yes. It senses tiny breathing movements, so it keeps detecting still people.
How do I add it to Home Assistant?
Use ESPHome with the ld2410 or ld2420 component on an ESP32 board.
Why does it detect presence in an empty room?
Fans, curtains or AC flaps move; lower sensitivity on those gates.
Can it see through walls?
Partly through thin walls, which causes false triggers from the next room.
What is a gate on these radars?
A distance band, about 0.7 m wide, with its own sensitivity setting.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

