Skip to content
My Account

Reference

The Complete Guide to the HLK-LD2450 24GHz Multi-Target Tracking Radar Module

The LD2450 is Hi-Link's multi-target mmWave radar: where the already-published LD2410 only tells you someone is present, the LD2450 tracks up to three people at once with real X/Y position and speed. This guide covers its real UART protocol, wiring, and when you actually need position tracking over simple presence.

2 min read

No ratings yet, be the first.

The HLK-LD2450 is a 24GHz FMCW (frequency-modulated continuous-wave) millimeter-wave radar module from Shenzhen Hi-Link, the sibling of the already-published HLK-LD2410. Where the LD2410 answers a yes/no “is someone there” question, the LD2450 tracks up to three separate moving targets simultaneously, each with its own X/Y coordinate and speed, streamed continuously over UART.

LD2410 or LD2450: which do you need?

LD2410LD2450
ReportsPresence + rough distance gate, single zoneX/Y position + speed, per target, up to 3 targets
Best for“Turn on the light when someone’s in the room”“Where in the room is each person, and are they moving”
OutputSimple presence/distance framesBinary coordinate frames per target, 10 frames/sec

If you only need occupancy detection, the simpler LD2410 is cheaper and easier to integrate. Reach for the LD2450 when you need to know where someone is in a room, count multiple people, or detect direction of movement.

Specifications and Pinout

SpecValue
Frequency band24GHz–24.25GHz (FMCW)
Power supply5V DC, >200mA
Detection range~6m
Detection angle±60°
Data refresh rate10Hz (10 frames/second)
Max simultaneous targets3
UART baud rate (fixed)256000, 1 stop bit, no parity
PinFunction
VCC5V
GNDGround
TXRadar’s UART transmit → MCU RX
RXRadar’s UART receive ← MCU TX
OT1Optional presence output pin (open-drain)

Wiring to an ESP32

The module needs a genuine 5V supply (not 3.3V) but its UART logic level is 3.3V-safe for direct connection to an ESP32’s hardware UART. Cross TX/RX between the two devices.

LD2450 PinESP32 Pin
VCC5V (VIN)
GNDGND
TXGPIO16 (RX2)
RXGPIO17 (TX2)

Arduino code (HLK-LD2450 library by RBEGamer)

#include <HardwareSerial.h>
#include <LD2450.h>

HardwareSerial radarSerial(2);
LD2450 radar;

void setup() {
  Serial.begin(115200);
  radarSerial.begin(256000, SERIAL_8N1, 16, 17);
  radar.begin(radarSerial);
}

void loop() {
  radar.read();
  for (int i = 0; i < 3; i++) {
    if (radar.getTargetActive(i)) {
      Serial.printf("Target %d: x=%dmm y=%dmm speed=%dcm/sn",
        i, radar.getTargetX(i), radar.getTargetY(i), radar.getTargetSpeed(i));
    }
  }
  delay(100);
}

The exact method names vary slightly between the several community LD2450 libraries (RBEGamer/HLK-LD2450, darkjumpy/HLK-LD2450_Arduino_Library, Fiooodooor/HLK-LD245X all exist), check the specific library’s own examples, the wiring and 256000-baud UART protocol are the same regardless of which one you pick.

Practical Applications

  • Room occupancy counting: track up to 3 people moving through a space.
  • Smart lighting zones: turn on only the light near the tracked X/Y position, not the whole room.
  • Fall/motion-pattern detection: speed and position data over time can flag unusual movement.
  • Privacy-preserving presence: no camera involved, useful where a camera would raise privacy concerns.

Conclusion

The LD2450 gives you real multi-target position tracking that a simple presence sensor like the LD2410 can’t, at the cost of a more involved binary UART protocol. Pair it with an ESP32’s hardware UART for reliable 256000-baud framing.

Advertisement

Related

All guides

More guides

Keep building.

From ESP32 HomeKit accessories to Arduino and ATtiny reference guides, there’s more where this came from.

All guides