ESP32 Ai-Thinker RD-01 24GHz mmWave Radar Sensor

Ai-Thinker RD-01 24GHz mmWave Radar Sensor image

RD-01

Protocol: UART

Overview

The Ai-Thinker RD-01 is a high-sensitivity 24GHz radar sensor capable of detecting human presence and motion. It communicates via UART and is ideal for smart home and security applications.

Choose Your Platform

About Ai-Thinker RD-01 24GHz mmWave Radar Sensor

The Ai-Thinker RD-01 is a 24GHz mmWave radar sensor designed for human presence detection. It utilizes FMCW (Frequency Modulated Continuous Wave) technology to detect both moving and stationary human targets within a range of up to 5 meters. The sensor integrates Wi-Fi and BLE capabilities, allowing for wireless configuration and data transmission. It supports UART communication for integration with microcontrollers. For more information, refer to the official datasheet: RD-01 Datasheet.

Where to Buy

Ai-Thinker RD-01 24GHz mmWave Radar Sensor

Starting from

$15 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 Up to 5 meters
Detection Field ±60°
Power Supply 3.0–3.6V DC
Output UART, Wi-Fi, BLE
Operating Temperature -40°C to +85°C
Dimensions 35mm × 18mm × 3.6mm
Pin Width 1.25mm

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 RD-01 is a compact 24GHz mmWave radar sensor developed by Ai-Thinker, capable of detecting both stationary and moving human presence. It integrates radar, MCU, and wireless communication capabilities, and is designed to operate at 3.3V logic levels. The module exposes the following interface pins:

  • 3V3 – Power input. Supply a stable 3.3V DC regulated voltage. Supplying more than 3.6V may damage the internal circuitry.
  • GND – Ground reference. Must be connected to the system ground of the ESP32 or host MCU for consistent signal logic and power stability.
  • TX – UART transmit pin. Outputs presence and motion data to a host device. Connect to the ESP32’s RX pin (e.g., GPIO16).
  • RX – UART receive pin. Accepts configuration or control commands. Connect to the ESP32’s TX pin (e.g., GPIO17).
  • CHIP_EN – Chip enable. This pin must be pulled HIGH (3.3V) to activate the module. If left floating or LOW, the sensor will remain in a disabled state and won’t respond to UART communication.

Note: The RD-01 is a 3.3V-only device. All GPIOs and power lines must adhere to this voltage level. Connecting it directly to 5V logic may cause permanent damage.

Wiring with ESP32

To connect the RD-01 radar sensor to an ESP32 using UART, follow the wiring instructions below. This configuration uses UART2, commonly assigned to GPIO16 and GPIO17, and includes a required enable line for proper module operation:

  • 3V3 (red wire) → 3.3V on ESP32. Supplies power to the RD-01’s radar and microcontroller unit.
  • GND (black wire) → GND on ESP32. Provides a common electrical reference for the system.
  • TX (green wire) → GPIO16 (RX on ESP32). Transmits radar presence data from the RD-01 to the ESP32.
  • RX (blue wire) → GPIO17 (TX on ESP32). Sends commands from the ESP32 to configure or control the RD-01 module.
  • CHIP_EN (yellow wire) → 3.3V on ESP32. Required to enable the chip. Tie high during normal operation or control with a GPIO for reset functionality.

Communication Tip: Set the UART baud rate to 115200, with 8 data bits, no parity, and 1 stop bit. Avoid leaving the CHIP_EN pin floating—always pull high explicitly to ensure the module is active and responsive.

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

Conclusion

The ESP32 Ai-Thinker RD-01 24GHz mmWave Radar 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.