Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Hi-Link HLK-LD2412, LD2420, LD2401, LD2402, LD2402G, LD116

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

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the Hi-Link LD2412, LD2420 and LD2402 presence radars isHi-Link LD2412, LD2420 and LD2402 presence radars pinoutWiring the Hi-Link LD2412, LD2420 and LD2402 presence radarsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

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.

PinFunction
VCCSupply (3.3 or 5 V, check model)
GNDGround
OT1 / OUTPresence output
TX / RXUART data and settings
PinFunction
VCC
Supply (3.3 or 5 V, check model)
GND
Ground
OT1 / OUT
Presence output
TX / RX
UART data and settings
03

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 pinArduino UnoESP32
VCC5 V5 V (VIN) or 3.3 V (check module)
GNDGNDGND
Radar TXD10 (SoftwareSerial RX, low baud only)GPIO 16 (RX2)
Radar RXD11GPIO 17 (TX2)
OUT (if fitted)D2GPIO 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
04

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.

Read the presence output · Arduino C++Verify & upload in Electrolark
// 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);
}
05

Setup and tuning

Wiring

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.

ESPHome

use the ld2410 or ld2420 component, or the Hi-Link app over Bluetooth on the LD2412, to set zones.

Gates

set maximum distance and per-gate sensitivity so the area you care about is covered.

Mounting

wall-mount at about 1.5 m, facing the room, away from fans and AC vents.

Hold time

set how long the output stays on after the last detection.

06

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
07

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.
08

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.
09

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

  • Hi-Link HLK-LD2412 24GHz Human Presence Radar Sensor – UART/GPIO Output
    ₹639View
  • Hi-Link HLK-LD2420 24GHz Human Presence Radar Sensor – GPIO/UART Interface
    ₹319View
  • Hi-Link HLK-LD2420 24GHz Human Motion Radar Sensor Module
    ₹297View
  • Hi-Link HLK-LD2401 24GHz Human Presence Radar Sensor – GPIO/UART/Bluetooth
    ₹269View
  • Hi-Link HLK-LD2402 24GHz Human Presence Radar Sensor – GPIO/UART Interface
    ₹194View
  • Hi-Link HLK-LD2402G 24GHz Millimeter Wave Human Motion & Presence Sensor, ±60°, Up to 10m Range
    ₹179View
  • Hi-Link HLK-LD2402G-W 24GHz Millimeter-Wave Motion Sensor Module – UART/GPIO Interface
    ₹173View
  • Hi-Link LD116 24GHz Human Presence Radar Module – 6m Detection, ±41° Horizontal Angle
    ₹749View
  • Hi-Link LD1115H 24GHz Micro-Motion Radar Module – TTL Serial Interface
    ₹629View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • USB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)
    ₹85View
  • Hi-Link HLK-LD2410 24GHz Human Presence Radar Sensor Module – 5m Range, ±60° Angle, 5-12V DC
    ₹379View
  • HC-SR501 PIR Motion Detector Sensor Module
    ₹59View
Shop Radar & Microwave Motion Sensors

Keep learning

Component guideIntermediatemmWave and Microwave Presence SensorsRadar presence sensors send out radio waves and detect reflections from people.3 min read · SensorsComparisonIntermediatemmWave Radar ModulesmmWave radar modules sense people by their tiny motions, including breathing, so they detect someone sitting still where a PIR sensor fails.3 min read · SensorsConcept explainerIntermediateMQTT and Home Assistant for ESP32MQTT is a lightweight messaging system: devices publish messages to named topics on a broker, and anything subscribed to that topic receives them.3 min read · IoT & Wireless

Sources

  • Hi-Link LD2412, LD2420 and LD2402 manuals

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Hi-Link LD2412, LD2420 and LD2402 presence radars isHi-Link LD2412, LD2420 and LD2402 presence radars pinoutWiring the Hi-Link LD2412, LD2420 and LD2402 presence radarsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)4 items · ₹2,221

Hi-Link HLK-LD2412 24GHz Human Presence Radar Sensor – UART/GPIO Output · Hi-Link LD116 24GHz Human Presence Radar Module – 6m Detection, ±41° Horizontal Angle · Hi-Link LD1115H 24GHz Micro-Motion Radar Module – TTL Serial Interface · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

These radars also see a person sitting still, so OUT stays HIGH while someone is there.

LED 13 OFF
Serial monitor115200 baud
 

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question