lamaPLC: RD-xx - Ai-Thinker Radar Module with UART communication

Radar Module Rd-03 The Ai-Thinker RD-xx series comprises 24 GHz mmWave radar modules, each optimized for varying levels of human detection and tracking complexity. While all use FMCW technology, their primary differences lie in connectivity, target tracking capabilities, and power requirements.

Comparison of RD-01, RD-03, and RD-03D:

FeatureRD-01RD-03RD-03D
Primary FocusHuman presence + WirelessPrecise motion/presenceMulti-target trajectory tracking
ConnectivityUART, Wi-Fi, BLE 5.0UARTUART
Detection RangeUp to 5 metersUp to 6.5 metersUp to 8 meters
Detection Angle±60° (Horizontal)±60° (Horizontal)±60° (Azimuth), ±30° (Pitch)
Target TrackingSingle presence/motionSingle presence/motionUp to 3 targets simultaneously
Data OutputPresence, micro-motionPresence, micro-motionX/Y coordinates, speed, distance
UART Baud Rate115200 (Default)115200 (Default)256000 (Default)
Power Supply3.0V – 3.6V3.0V – 3.6V5V (Stable)
Size35 x 18 mm20 x 20 mm15 x 44 mm

Key Differentiators

  • RD-01: The only one in this group with integrated Wi-Fi and Bluetooth (via BL602 chip). It is designed for smart home products that need to report human presence directly to a cloud or app without an external gateway.
  • RD-03: A cost-optimized, standalone version of the RD-01 without wireless features. It offers higher bandwidth (1 GHz) for better interference resistance and is ideal for simple “occupied/unoccupied” triggers such as lighting.
  • RD-03D: The most advanced in the series. Unlike the others, it provides a spatial map of up to three people, showing their exact positions in a room (X and Y coordinates) and their speed.

Rd-03 is an electrostatically sensitive piece of equipment; special precautions should be taken during handling.

PIN out

Radar Module Rd-03

3V3input power
GNDGround
OT1UART_TX
RXUART_RX
OT2Detection result output, output high level when sensing, output low level when not sensing

If you'd like to support the development of the site with the price of a coffee — or a few — please do so here.

Here's a handy tip: you can quickly save this page as a PDF by clicking “export to PDF” in the menu on the right side of the screen.

2026/02/14 22:38

Characteristics of perception

Characteristics of a sensor installed on the ceiling, approximately 2.6 to 3 meters high.Horizontal characteristic of a sensor mounted on a wall, approximately 1.5 to 2 meters high.

RD-03 Arduino example

To connect the Ai-Thinker RD-03 to an Arduino reliably, use a dedicated library such as RD03Radar. This library simplifies the interpretation of complex 24 GHz mmWave data packets by translating them into straightforward presence and motion indicators.

Pinout

The RD-03 requires a stable 3.0V – 3.6V power supply and communicates via UART at a default baud rate of 115200. 

  • VCC → Arduino 3.3V
  • GND → Arduino GND
  • RX → Arduino TX (e.g., Pin 17 for ESP32/Mega)
  • TX → Arduino RX (e.g., Pin 16 for ESP32/Mega) 

Arduino code

#include <RD03Radar.h>
 
// Use a HardwareSerial port (e.g., Serial2 on ESP32 or Serial1 on Mega)
// On Uno, you may need SoftwareSerial, but performance may be limited.
RD03Radar radar(Serial2);
 
void onPresenceChange(RD03PresenceState state, float distance) {
  if (state == RD03PresenceState::MOTION_DETECTED) {
    Serial.print("Motion detected at: ");
    Serial.print(distance);
    Serial.println(" cm");
  } else if (state == RD03PresenceState::STATIONARY_DETECTED) {
    Serial.println("Subject is stationary (e.g., breathing detected).");
  } else {
    Serial.println("Area is clear.");
  }
}
 
void setup() {
  Serial.begin(115200);
 
  // Set detection callback
  radar.onPresenceChange(onPresenceChange);
 
  // Start radar (provide RX and TX pins for ESP32)
  radar.begin(16, 17); 
  Serial.println("RD-03 Radar Initialized");
}
 
void loop() {
  // Required to process incoming serial data
  radar.loop(); 
}

Sources

Sensor topics on lamaPLC

PageDateTags
2026/02/12 22:14, , , , , , , , ,
2026/02/14 22:31, , , , , , , , , ,
2026/03/21 19:20, , , , , , ,
2026/02/15 20:33, , , , , , , , ,
2026/02/14 23:38, , , , , , , , , , , ,
2026/02/14 22:24, , , , , , , , , , , , ,
2026/03/28 22:07, , , , , , ,
2026/02/15 20:40, , , , , , , , , , , , , ,
2026/02/14 23:36, , , , , , , ,
2026/02/14 23:37, , , , , , , , , , ,
2026/02/14 22:40, , , , , , , , , ,
2026/02/14 22:39, , , , , , , , , , ,
2026/02/14 23:39, , , , , , , , , , , , ,
2026/02/14 22:16, , , , , , , , , , , , ,
2026/03/21 22:25, , , , , , , , , , ,
2026/02/14 22:55, , , , ,
2026/02/14 18:19, , , , , , , , , , ,
2026/02/15 20:42, , , , , , , , ,
2026/02/14 18:11, , , , , , , ,
2026/02/15 20:44, , , , , ,
2025/05/31 21:32, , , , , , , ,
2026/02/14 19:29, , , , , , , , , , , , , ,
2026/03/21 20:45, , , , , , , , ,
2023/07/01 15:29, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/14 22:18, , , , , , , , , , , , , , , , , , , ,
2026/03/22 00:26, , , , , , , , ,
2026/02/14 22:19, , , ,
2026/02/14 22:09, , , , , , , , , , , , , , , ,
2026/02/14 21:54, , , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/15 23:59, , , , , , , , , , ,
2026/03/28 18:02, , , , , , , , , , , , , , , ,
2026/02/14 23:58, , , , , , , , , , ,
2026/02/14 23:35, , , , ,
2026/02/14 22:24, , , ,
2026/02/14 23:38, , , , , , ,
2026/02/14 17:38, , , , , , , , , ,
2026/02/15 17:35, , , , , , , , , , ,
2026/02/15 20:20, , , , , , , , , , , , , , , , , ,
2026/03/22 01:24, , , , , , , , , , , ,
2026/02/14 21:17, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/15 16:39, , , , , , , ,
2026/02/14 22:23, , , , , , , ,
2025/09/23 16:59, , , , ,
2026/02/14 17:42, , , , , , ,
2026/02/14 22:33, , , , , ,
2026/02/14 22:33, , , , , , , , , , ,
2026/02/15 20:27, , , , , , , , , , , , , , , ,
2026/02/15 20:29, , , , , , , , , , , , , ,
2026/02/15 22:34, , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/14 22:22, , , , , , , , , , , , ,
2023/06/24 22:43, , , , , ,
2026/02/14 22:21, , , , , , , , , , ,
2026/02/14 22:22, , , , , , , ,
2026/02/14 22:32, , , , ,
2026/02/14 23:00, , , , , , , , ,
2026/03/05 20:19, , , , , , , , , , , , , , , , ,
2026/02/14 17:49, , , , , ,
2025/12/10 17:50, , , ,
2025/11/09 17:38, , , , , , , ,




This page has been accessed for: Today: 2, Until now: 47