ESP32 LD2461 Human Presence & Trajectory Radar Sensor

LD2461 Human Presence & Trajectory Radar Sensor image

PRESENCE UART

LD2461

Protocol: UART

Overview

The LD2461 is a high-precision 24GHz radar sensor capable of detecting multiple human targets and tracking their trajectories. It communicates via UART and is ideal for advanced presence detection applications.

About LD2461 Human Presence & Trajectory Radar Sensor

The LD2461 is a 24GHz millimeter-wave radar sensor designed for advanced human presence detection and trajectory tracking. It features a 2T4R (2 transmit, 4 receive) antenna configuration, enabling it to detect up to 5 moving or stationary targets simultaneously. The sensor provides precise range and angle measurements, making it suitable for applications such as smart lighting, occupancy monitoring, and security systems. For more information, refer to the official datasheet: LD2461 Datasheet.

Technical Specifications

Interface UART (256000 baud)
Detection Range Up to 8 meters
Detection Field ±45° horizontal, ±25° vertical
Power Supply 5V DC
Output UART, Optional GPIO
Resolution 0.75m range, 15° angle
Operating Temperature -40°C to +85°C
Dimensions 35mm × 35mm
Pin Width 2.54mm

Where to Buy

LD2461 Human Presence & Trajectory Radar Sensor

Starting from

$16 per Psc

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.

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 LD2461 is a high-precision 24GHz radar module with multi-target tracking capabilities, designed to detect up to 5 human targets simultaneously. It uses a 2T4R antenna array and provides both positional and motion data via UART. The sensor exposes the following pins for connection:

  • VCC – Power input. Connect to a regulated 5V supply. This pin powers the radar signal processor and onboard MCU. Stable voltage is critical to avoid data corruption or resets.
  • GND – Ground pin. Connect this to the ground rail of your microcontroller (ESP32) or power system to establish a shared reference for signals and voltage levels.
  • TX – UART transmit pin. This sends tracking data (position, speed, presence) from the LD2461 to the ESP32. Connect this to the ESP32’s RX pin (e.g., GPIO16).
  • RX – UART receive pin. This line receives commands or configuration data from the ESP32. Connect to TX on the ESP32 (e.g., GPIO17).
  • OUT – Optional digital output pin that toggles HIGH (typically 3.3V logic) when presence is detected. Can be used for quick interrupt-based presence notifications without parsing UART data.

Note: While the LD2461 is powered with 5V, its OUT logic level is 3.3V and is safe to connect directly to ESP32 GPIOs.

Wiring with ESP32

To integrate the LD2461 radar sensor with an ESP32 using UART communication, wire the sensor as follows. This setup ensures accurate data transmission and real-time tracking capabilities:

  • VCC (red wire) → 5V pin on ESP32. Use a stable and clean 5V supply to power the sensor.
  • GND (black wire) → GND on ESP32. A proper ground connection is essential for signal reference and power stability.
  • TX (green wire) → GPIO16 on ESP32 (UART RX). Allows the ESP32 to receive tracking data from the sensor.
  • RX (blue wire) → GPIO17 on ESP32 (UART TX). Enables the ESP32 to send configuration commands if needed.
  • OUT (yellow wire, optional) → GPIO18 on ESP32 if you plan to use a direct digital presence signal for interrupts or indicators.

Configuration Note: Set the UART baud rate to 256000 bps, no parity, and 1 stop bit. Verify in your firmware that UART2 (or the configured UART) is not in use by other components. Always double-check for secure connections, especially when running multi-target tracking at high data rates.

Troubleshooting Guide

Common Issues

🚫 No Data Received

❌ Presence Not Detected

⚠️ Intermittent Detection

🔌 UART Initialization Fails

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

Code Examples

🏠

ESPHome Example

YAML
🐍

MicroPython Example

Python

Conclusion

The ESP32 LD2461 Human Presence & Trajectory Radar Sensor is a powerful 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.