Ordered on weekdays before 14:00 = shipped the same day and delivered the next day in 98% of cases. Free returns 30-day reflection period 1-year warranty

Wiring diagram and code example

How to connect the LD2410C 24GHz Human Presence Sensor Module to an Arduino UNO or ESP32, with an example sketch you can upload straight away.

Human Presence Detection with LD2410C

This project detects human presence using the digital output pin of the LD2410C 24GHz mmWave radar sensor. When motion or stationary presence is detected, the built-in LED lights up and the status is reported to the Serial Monitor.

Wiring diagram: LD2410C 24GHz Human Presence Sensor Module on an Arduino UNO
Wiring diagram · Click to enlarge
Connection table: LD2410C 24GHz Human Presence Sensor Module on an Arduino UNO
Connection table · Click to enlarge
Human_Presence_Detection_with_LD2410C.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : Human Presence Detection with LD2410C
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : Human Presence Sensor LD2410C
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

// LD2410C Human Presence Detection Example
// Reads the OUT pin to detect human presence

const int PRESENCE_PIN = 2;
const int LED_PIN = 13;

int lastState = -1;

void setup() {
  pinMode(PRESENCE_PIN, INPUT);
  pinMode(LED_PIN, OUTPUT);

  Serial.begin(115200);
  Serial.println(F("LD2410C Presence Sensor Ready"));
}

void loop() {
  int currentState = digitalRead(PRESENCE_PIN);

  // Update on state change
  if (currentState != lastState) {
    lastState = currentState;

    if (currentState == HIGH) {
      digitalWrite(LED_PIN, HIGH);
      Serial.println(F("Target detected: Presence confirmed!"));
    } else {
      digitalWrite(LED_PIN, LOW);
      Serial.println(F("No target detected."));
    }
  }

  delay(50);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

LD2410C Human Presence Detection

This circuit reads real-time mmWave radar data from the LD2410C sensor over UART using ESP32 Serial2. A resistor voltage divider (1kΩ / 2kΩ) safely steps down the sensor's 5V TX output to 3.3V for the ESP32 RX2 pin. Presence, stationary targets, and moving targets are reported over the Serial Monitor.

Wiring diagram: LD2410C 24GHz Human Presence Sensor Module on an ESP32 DevKit V1
Wiring diagram · Click to enlarge
Connection table: LD2410C 24GHz Human Presence Sensor Module on an ESP32 DevKit V1
Connection table · Click to enlarge
LD2410C_Human_Presence_Detection.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : LD2410C Human Presence Detection
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : Human Presence Sensor LD2410C
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include <ld2410.h>

ld2410 radar;
uint32_t lastPrint = 0;

void setup() {
  Serial.begin(115200);
  // LD2410C default baud rate is 256000 on Serial2 (RX: 16, TX: 17)
  Serial2.begin(256000, SERIAL_8N1, 16, 17);

  Serial.println("Connecting to LD2410C sensor...");
  if (radar.begin(Serial2)) {
    Serial.println("LD2410C sensor initialized successfully!");
  } else {
    Serial.println("Sensor initialization failed. Check wiring and power.");
  }
}

void loop() {
  radar.read();

  if (radar.isConnected() && (millis() - lastPrint > 500)) {
    lastPrint = millis();

    if (radar.presenceDetected()) {
      Serial.print("Presence: DETECTED | ");
      if (radar.movingTargetDetected()) {
        Serial.print("Moving Target: ");
        Serial.print(radar.movingTargetDistance());
        Serial.print(" cm | ");
      }
      if (radar.stationaryTargetDetected()) {
        Serial.print("Stationary Target: ");
        Serial.print(radar.stationaryTargetDistance());
        Serial.print(" cm");
      }
      Serial.println();
    } else {
      Serial.println("Presence: None");
    }
  }
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

LD2410C 24GHz Human Presence Sensor Module

The LD2410C is an advanced presence sensor that detects human movement using 24 GHz FMCW millimeter wave radar. Unlike traditional PIR sensors, this module operates via microwaves and the Doppler effect, allowing it to detect movement through almost all materials except metal.

Main Features

  • Detection range from 0.75 to 6 meters with a detection angle of ± 60°
  • Detects both moving and stationary people
  • Status readable via "OUT" pin, UART interface, or Bluetooth
  • Adjustable sensitivity, detection zones, and delay via app or PC
  • Operates between -40 °C and +85 °C, insensitive to light, dust, and moisture
  • Compact size: 22 x 16 mm and low power consumption of 79 mA at 5 V
  • Plug-and-play with 5-pin connector, suitable for Arduino, Raspberry Pi, ESP32
  • Compatible with Home Assistant and ESP Home

Use Cases

  • Directly connect to Home Assistant via Bluetooth for smart automation
  • Configure with HLKRadarTool app (Android/iOS) to adjust delay and detection distance
  • Read out with microcontrollers such as ESP32 via available LD2410 library
  • Applications in intelligent lighting, HVAC systems, and security

Technical Details

  • Power supply: 5 V
  • Power consumption: 79 mA
  • Dimensions: 22 x 16 mm
  • Detection technology: 24 GHz FMCW radar, Doppler effect
  • Interfaces: OUT pin, UART, Bluetooth
  • Temperature range: -40 °C to +85 °C

The LD2410C offers a reliable and flexible solution for detecting human presence, even in challenging environments. Thanks to its easy integration and extensive configuration options, this sensor is suitable for various smart applications without requiring extensive programming knowledge.

  • Presence sensor
  • Adjustable
  • Bluetooth connection
  • 22 x 16 mm
Playing loads the video from YouTube.

Why choose this product?

  • Moves and stationary – Detects moving and stationary people.
  • Adjustable via app – Sensitivity, zones and delay can be adjusted.
  • Works through materials – Detects through virtually all materials, except metal.
  • Plug-and-play connection – Works directly with 5-pin connector.
  • Compact size – 22 x 16 mm, fits easily into projects.
Specifications
Compact size22 x 16 mm and low power consumption of 79 mA at 5 V
Power supply5 V
Dimensions22 x 16 mm
Connection5-pin connector
InterfaceOUT pin, UART, Bluetooth
Suitable forArduino, Raspberry Pi, ESP32
Temperature range-40 °C to +85 °C
Power consumption79 mA
Detection technology24 GHz FMCW radar, Doppler effect
Detection range0.75 to 6 meters
Detection angle± 60°

Frequently bought together

Total: € 19,23

Reviews

No reviews yet.

Write a review
Your rating

Shipping & returns

Shipping

  • Parcel with track & trace€ 7,70Within 24 hours
  • Pick up at PostNL location€ 7,40Within 24 hours
  • Letterbox parcel€ 3,70Within 2 business days
  • Letterbox parcel 24 hours€ 4,55Within 24 hours
  • Pick up in storeFree
All about shipping

Returns

Not satisfied? You have 30 days after delivery to return the product.

All about returns

Recently viewed