LD2412 Human Presence Sensor

LD2412 Human Presence Sensor image

View on Amazon

Overview

The LD2412 is a wide-angle 24GHz mmWave radar sensor that detects human presence via FMCW. It supports both UART and digital output and is ideal for real-time occupancy monitoring in smart environments.

About LD2412 Human Presence Sensor

The HLK-LD2412 is a 24GHz FMCW radar sensor designed for human presence detection with a wide sensing angle of ±75° and a range up to 9 meters. It offers both UART communication and a digital output signal, and supports flexible power supply options (3.3V or 5V). This makes it highly adaptable for smart home, automation, and occupancy detection use cases.

Where to Buy

Get Your LD2412

LD2412 Human Presence Sensor

Starting from

$7 per unit

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

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

Technical Specs

LD2412 Specifications

Complete technical specification details for LD2412 Human Presence Sensor

📊 Technical Parameters

Interface UART (115200 baud), Digital OUT
Detection Range Up to 9 meters
Detection Field ±75°
Power Supply 3.3V or 5V DC
Output UART, GPIO
Resolution Configurable zones via UART
Operating Temperature -20°C to +85°C
Dimensions 20mm × 20mm
Pin Width 2.54mm
Pin Configuration

LD2412 Pinout

The **LD2412** is a 6-pin 24GHz mmWave radar with wide-angle detection and flexible power:

Visual Pinout Diagram

Pinout Diagram Primary
LD2412 Human Presence Sensor pinout
6
Total Pins

Pin Types

Power
3
Communication
3

Quick Tips

🔌

**Interface**: UART (115200 baud),📡 **Technology**: 24GHz FMCW radar,👤 **Detection**: Human presence (stationary and moving targets),📏 **Range**: Up to 9 meters (longest in LD series)

📐

**Field of View**: ±75° (widest in LD series),⚡ **Power**: Flexible - choose 5V or 3.3V (do NOT power both simultaneously),📊 **Pin Spacing**: 2.54mm (standard breadboard-compatible)

💡

**OUT Logic**: 3.3V compatible, safe for ESP32 GPIO,🎯 **Applications**: Wide-area occupancy detection, smart lighting, security systems,⚠️ **Power Warning**: Only connect ONE power source (5V or 3V3), never both

Pin Descriptions

Pin NameTypeDescriptionNotes
1 OUT
Communication

Digital presence output

3.3V HIGH when presence detected

2 TX
Communication

UART transmit

Sends data from sensor (connect to ESP32 RX)

3 RX
Communication

UART receive

Receives commands (connect to ESP32 TX)

4 5V
Power

5V power input

Use either 5V OR 3V3 (not both)

5 3V3
Power

3.3V power input

Use either 5V OR 3V3 (not both)

6 GND
Power

Ground connection

Connection Guide

Wiring LD2412 to ESP32

To interface the **LD2412** with an **ESP32** for wide-angle presence detection via UART:

Visual Wiring Diagram

Wiring Diagram Recommended
LD2412 Human Presence Sensor wiring with ESP32
5
Connections

Connection Status

Required
4
Optional
1

Protocol

UART

Pin Connections

LD2412 PinConnectionESP32 PinDescription
1 5V (or 3V3) Required
5V (or 3.3V)

Power supply (choose one voltage)

2 GND Required
GND

Ground

3 TX Required
GPIO16 (RX2)

Sensor transmit to ESP32 receive

4 RX Required
GPIO17 (TX2)

Sensor receive from ESP32 transmit

5 OUT Optional
GPIO18

Digital presence output (optional)

💡

**UART2**: Use UART2 on ESP32 (GPIO16/17 are default UART2 pins)

📊

**Baud Rate**: 115200 bps - must match in firmware configuration

**Power**: Choose either 5V or 3.3V (do NOT connect both)

🔄

**TX/RX**: Connect sensor TX to ESP32 RX, sensor RX to ESP32 TX

📡

**OUT Pin**: 3.3V logic level, safe for direct ESP32 GPIO connection

📏

**Wide Angle**: ±75° field of view provides excellent room coverage

🎯

**Long Range**: 9-meter detection range ideal for large spaces

**Breadboard**: 2.54mm pitch allows easy prototyping

Help & Support

LD2412 Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

LD2412 Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up LD2412

The ESP32 LD2412 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.

Best Practices

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

Safety First

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

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the LD2412 into your ESP32 project and bring your ideas to life!

Similar Options

Explore Alternative Sensors

Looking for alternatives to the LD2412? Check out these similar sensors that might fit your project needs.

LD2410C Human Presence Sensor

LD2410C Human Presence Sensor

HUMAN PRESENCE UART

The LD2410C is a millimeter-wave radar sensor for human presence detection, supporting both stationary and moving target detection. It uses...

View Details
LD2461 Human Presence & Trajectory Radar Sensor

LD2461 Human Presence & Trajectory Radar Sensor

HUMAN PRESENCE UART

The LD2461 is a high-precision 24GHz radar sensor capable of detecting multiple human targets and tracking their trajectories. It...

View Details
LD2410B Human Presence Sensor

LD2410B Human Presence Sensor

HUMAN PRESENCE UART,Bluetooth

The LD2410B is a millimeter-wave radar sensor for human presence detection with enhanced Bluetooth-based configuration support. It maintains...

View Details