ESP32 LD2410S Human Presence Sensor

LD2410S Human Presence Sensor image

LD2410S

Protocol: UART

Overview

The LD2410S is an ultra-low-power 24GHz mmWave radar sensor for human presence detection, supporting both stationary and moving target detection. It uses a unique UART communication protocol at 115200 baud and operates at 3.3V, making it ideal for battery-powered smart home automation systems.

About LD2410S Human Presence Sensor

The LD2410S is an ultra-low-power 24GHz mmWave radar sensor designed for human presence detection. It operates at 3.3V and consumes approximately 0.1mA, making it ideal for battery-powered applications. Unlike other LD2410 variants, the LD2410S uses a different UART communication protocol with a baud rate of 115200. It can detect both moving and stationary human targets within a range of up to 8 meters. For more information on the LD2410 series, see LD2410.

Where to Buy

LD2410S Human Presence Sensor

Starting from

$8 per unit

Amazon com
Amazon.com Ships worldwide
View Price
Amazon de
Amazon.de Ships to EU
View Price
Aliexpress
AliExpress Best value
View Price

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specifications

Interface UART (115200 baud)
Detection Range 0.2–8 meters
Detection Field ±60°
Power Supply 3.3V DC
Output UART, GPIO
Resolution 0.75m gate intervals
Operating Temperature -40°C to +85°C
Dimensions 20mm × 20mm
Pin Spacing 2.54mm

Pinout Configuration

The VCC pin is used to supply power to the sensor, and it typically requires 3.3V or 5V (refer to the datasheet for specific voltage requirements). The GND pin is the ground connection and must be connected to the ground of your ESP32.

The LD2410S module is a compact, ultra-low-power radar sensor designed for energy-efficient human presence detection. It operates at 3.3V and provides UART-based communication along with an optional digital output pin. The pin definitions are as follows:

  • 3V3 – Power input pin. Connect to a regulated 3.3V source. Supplying the correct voltage is critical to avoid damaging the sensor.
  • GND – Ground reference. Connect this to the ground pin of the ESP32 or host controller to complete the circuit and ensure signal stability.
  • TX – UART transmit pin. Sends data from the LD2410S to the microcontroller (connect to ESP32 RX).
  • RX – UART receive pin. Receives commands from the microcontroller (connect to ESP32 TX).
  • OUT – Optional digital output that goes HIGH when presence is detected. Operates at 3.3V logic level and can be used for interrupt-driven designs or to trigger external logic.

Note: Due to its lower voltage requirement, this sensor is ideal for battery-powered or mobile ESP32 applications. Ensure all connections are made with 3.3V logic-compatible devices.

Wiring with ESP32

The following wiring instructions demonstrate how to interface the LD2410S radar sensor with an ESP32 using UART communication. This setup is based on UART2 (GPIO16/17) for asynchronous serial input/output:

  • 3V3 (red wire) → 3.3V pin on the ESP32. Do not connect to 5V as this may permanently damage the sensor.
  • GND (black wire) → GND on ESP32. A solid ground connection is necessary for reliable UART data transfer.
  • TX (green wire) → GPIO16 (RX on ESP32). This wire sends serial data from the LD2410S to the ESP32.
  • RX (blue wire) → GPIO17 (TX on ESP32). This pin allows the ESP32 to send configuration commands to the sensor.
  • OUT (yellow wire, optional) → GPIO18 if you're using the digital output for real-time hardware presence detection or interrupts.

Ensure the UART baud rate is configured to 115200 bps and that UART2 is properly defined in your firmware. All wiring should use 3.3V logic-compatible lines, as the LD2410S is not 5V tolerant.

Troubleshooting Guide

Common Issues

🚫 No Data Received

❌ Presence Not Detected

⚠️ Intermittent Detection

🔌 UART Initialization Fails

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

Code Examples

Arduino Example

C++
🏠

ESPHome Example

YAML
🛠️

PlatformIO Example

C++
🐍

MicroPython Example

Python

Conclusion

The ESP32 LD2410S Human Presence Sensor is a powerful Human Presence sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.