Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversFall ResetAmazon USFall reset deals: check better picks before checkoutAmazon US: today's deals, useful picks and quick comparisons.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
Blog

Radar-Based Home Security Sensor Using RD-03D and ESP32-C6

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

A practical RD-03D and ESP32-C6 build can provide privacy-preserving indoor motion, distance, angle, and target-tracking data for a home-security automation system. It is best treated as a DIY radar sensor or subsystem—not a certified, professionally monitored alarm. The radar reports targets; your firmware or home-automation platform must decide whether a target represents an intrusion.

The most reliable implementation uses the RD-03D over UART, an ESP32-C6 development board, ESPHome, and Home Assistant. Before wiring anything, identify whether the module is an RD-03D V1, RD-03D V2, or a reseller variant because pinouts, firmware behavior, range, and specifications may differ.

What this project does

The system monitors a defined indoor area and can report target presence, position, speed, angle, and distance. The ESP32-C6 processes the radar data and sends events over Wi-Fi to Home Assistant, MQTT, a local dashboard, or another automation platform. A buzzer, LED, relay driver, camera trigger, or phone notification can then be added.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A useful security event is not simply “the radar detected something.” A better rule is: the system is armed, a target enters a protected zone, remains there for a defined dwell period, and the event has not already triggered during a cooldown period.

#1 Best Overall
EC Buying Rd-03D 24G Radar Sensor Module Multi-Target Human Motion Trajectory Localization and Tracking Radar Module 8M Detection Onboard PCB Antenna
  • High performance Rd-03D 24G radar sensor module with multi-target human motion trajectory localization and tracking, featuring 8m detection range and 0.75m distance resolution for precise target positioning and tracking
  • Easily integrate the radar module into various applications such as smart homes, smart businesses, bathrooms, and smart lighting, thanks to its compact size of 15*44mm and the convenience of automatic default configuration loading
  • Support 24GHz ISM frequency band and provide accurate detection with a detection range of ±60° azimuth angle and ±30° elevation angle, making it ideal for smart home, smart business, bathroom, and smart lighting applications
  • Onboard PCB antenna and high-performance microstrip antenna for high detection accuracy and the ability to support UART for smart radar tuning via serial communication, providing quick and convenient operation
  • The radar module comes with a 5V single power supply and offers a visual tool for configuring tracking detection range, data reporting interval, and target retention time, ensuring a seamless and efficient user experience

This distinction matters because the sensor cannot identify a person. It cannot independently determine whether a target is a resident, guest, pet, or intruder, and it does not replace alarm supervision, backup power, tamper monitoring, or a defined emergency response.

RD-03D and RD-03D V2: confirm the hardware first

The Ai-Thinker RD-03D is a 24 GHz K-band FMCW radar module intended for human detection, target positioning, speed and distance measurement, and applications such as access control and alarms. Ai-Thinker also publishes a separate RD-03D V2 specification.

Do not apply every specification found online to every board labelled “RD-03D.” The V2 document states an 8 m maximum sensing distance, ±60° azimuth coverage, ±30° pitch coverage, wall installation, configurable detection range and reporting interval, a 5 V supply, and a 15 × 44 mm module size. Those figures should be attributed specifically to V2, not presented as guaranteed specifications for an unqualified RD-03D listing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check the module label, seller documentation, connector orientation, pin order, supply requirement, and firmware revision before connecting it. The Ai-Thinker RD-03D V1 documentation and RD-03D V2 specification are the appropriate starting points.

What the radar actually detects

  • Motion detection: movement produces a detectable change.
  • Presence detection: an attempt to determine that a person remains in the area.
  • Target tracking: reported distance, angle, speed, or X/Y position for a detected target.
  • Intrusion detection: an application-level conclusion created from sensor data, arming state, zones, and timing rules.

The current ESPHome RD-03D documentation describes up to three moving targets, target presence states, X/Y position, speed, angle, distance, and single-target or multi-target tracking modes. It also cautions that the documented FMCW operating behavior relies on Doppler shift and cannot detect or range objects that are not moving. Therefore, do not promise reliable detection of a completely stationary person without testing the exact module and firmware in its installed position.

Why use radar instead of PIR or a camera?

Technology Strengths Limitations
RD-03D radar Provides distance and directional data, works without visible light, and avoids capturing images. Requires careful placement and tuning; reflections, pets, fans, furniture, and adjacent rooms can create confusing detections.
PIR Simple, inexpensive, low-power, and easy to deploy for basic movement detection. Usually offers less positional information and is less useful when distance or target tracking is required.
Camera Can provide visual confirmation and potentially identify a person. Creates privacy, lighting, storage, cybersecurity, and image-retention concerns.

Radar can be a good choice for a hallway, doorway approach, garage entrance, stair landing, or another place where people cross a defined path. A radar-plus-camera design is also possible: radar can trigger a camera only after a configured event. That is an optional privacy trade-off, not a requirement of the radar system.

Why the ESP32-C6 is suitable

The ESP32-C6 provides the processing and connectivity needed for this project. Its relevant capabilities include:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • 2.4 GHz Wi-Fi 6.
  • Bluetooth 5 LE.
  • IEEE 802.15.4 for Thread- and Zigbee-oriented applications.
  • A RISC-V processor specified up to 160 MHz.
  • Hardware UART, SPI, I²C, USB Serial/JTAG, ADC, timers, and watchdogs.
  • Security features including secure-boot and flash-encryption support.

For this build, the most important feature is the hardware UART. Wi-Fi can connect the sensor to Home Assistant, MQTT, HTTP, or another local service. Thread and Zigbee capability does not automatically create a ready-made smart-home security product; suitable firmware, commissioning, and network integration are still required.

Rank #2
Rd-03D 24GHz Multi-Target Human Motion Tracking Radar Module, Trajectory Positioning Sensor with Onboard PCB Antenna for Smart Home, Security, and Automation Systems
  • 24GHz mmWave Radar Technology: Utilizes advanced 24GHz millimeter wave radar for precise human motion tracking, multi-target detection, and trajectory positioning.
  • Multi-Target Tracking: Capable of simultaneously detecting and tracking multiple moving people, ideal for smart security, building automation, and crowd monitoring applications.
  • Onboard PCB Antenna: Integrated PCB antenna design ensures stable signal transmission, compact size, and easy installation in various electronic systems.
  • Wide Application Range: Perfect for smart homes, offices, retail spaces, public venues, and IoT projects requiring accurate human movement analysis.
  • Easy Integration & High Reliability: Offers standard interface for seamless connection with microcontrollers and automation systems, providing reliable performance in demanding environments.

See Espressif’s ESP32-C6 product page, ESP32-C6 datasheet, and ESP32-C6-DevKitC information.

Parts and tools

  • One identified RD-03D hardware revision.
  • An ESP32-C6 development board with a documented pinout.
  • A regulated supply suitable for both devices.
  • Short jumper wires or a proper harness.
  • An optional level shifter or suitable high-speed voltage divider.
  • Optional LED, buzzer, relay driver, enclosure, tamper switch, and backup supply.
  • ESPHome and Home Assistant, or an Arduino/ESP-IDF development environment.

Use a complete development board unless you are designing a custom PCB. The board should expose a usable UART, provide appropriate 3.3 V logic, and document which GPIOs are available.

Wiring the radar to the ESP32-C6

RD-03D connection ESP32-C6 connection
Radar supply Regulated supply matching the exact radar revision
GND ESP32-C6 GND
Radar TX ESP32-C6 hardware UART RX
Radar RX ESP32-C6 hardware UART TX when configuration or tracking commands are required

Do not use fixed GPIO numbers without naming the exact development board. ESP32-C6 boards expose different pins and may route USB Serial/JTAG, boot straps, or other functions differently. Select documented UART-capable GPIOs that do not interfere with boot or USB operation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Power and logic-level precautions

The RD-03D V2 specification states a 5 V single-supply input, while the ESP32-C6-WROOM-1/WROOM-1U module specifies a 3.0–3.6 V operating supply. These are separate requirements:

  • Power the radar according to the exact radar revision’s documentation.
  • Power the ESP32-C6 through the development board’s supported input.
  • Confirm the radar UART logic level before connecting its TX line to an ESP32-C6 GPIO.
  • Never connect a 5 V signal directly to an ESP32-C6 GPIO unless level compatibility has been verified.
  • Use an appropriate level shifter or divider where necessary; a divider must still work reliably at 256000 baud.
  • Use a common ground, local decoupling, and a supply with sufficient current capacity.

Connector pin order can vary between boards and sellers. Long unshielded wires can also produce serial errors. A radar power-up delay, supply sag, or brownout may look like a firmware or UART failure.

For module electrical details, consult the RD-03D V2 specification and ESP32-C6-WROOM-1 datasheet.

UART settings

The current ESPHome RD-03D component specifies:

  • Baud rate: 256000
  • Parity: none
  • Stop bits: 1
  • Interface: hardware UART strongly recommended

These settings are a common source of failure. A generic ESP32 tutorial that assumes 9600 or 115200 baud is not suitable unless the exact radar documentation says otherwise.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

ESPHome implementation

ESPHome is the shortest practical route for Home Assistant users because it provides a documented RD-03D component. Use a board name and GPIO assignments valid for your exact ESP32-C6 board:

esphome:
  name: rd03d-security-sensor

esp32:
  board: YOUR_EXACT_ESP32_C6_BOARD
  framework:
    type: esp-idf

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

logger:
api:
ota:
  - platform: esphome

uart:
  id: radar_uart
  rx_pin: GPIOXX
  tx_pin: GPIOYY
  baud_rate: 256000
  parity: NONE
  stop_bits: 1

rd03d:
  id: rd03d_radar
  # Use only when supported by the module and firmware:
  # tracking_mode: multi

binary_sensor:
  - platform: rd03d
    rd03d_id: rd03d_radar
    target:
      name: "Radar Presence"
    target_1:
      name: "Radar Target 1"
    target_2:
      name: "Radar Target 2"
    target_3:
      name: "Radar Target 3"

sensor:
  - platform: rd03d
    rd03d_id: rd03d_radar
    target_1:
      x:
        name: "Target 1 X"
      y:
        name: "Target 1 Y"
      speed:
        name: "Target 1 Speed"
      angle:
        name: "Target 1 Angle"
      distance:
        name: "Target 1 Distance"

ESPHome syntax and supported options can change between releases, so check the installed version’s RD-03D documentation before flashing. Replace every placeholder pin and board name.

Recommended setup sequence

  1. Identify the ESP32-C6 board and its pinout.
  2. Identify the RD-03D revision, supply voltage, connector, and protocol.
  3. Select non-strapping, UART-capable GPIOs.
  4. Connect common ground, then power, then crossed TX/RX lines.
  5. Flash a minimal ESPHome configuration.
  6. Confirm Wi-Fi connectivity and Home Assistant discovery.
  7. Check logs for valid radar frames.
  8. Expose presence and target sensors.
  9. Test with one person moving through the intended detection zone.
  10. Add alert automation only after observing normal household behavior.

A successful installation should expose aggregate presence and, where supported, individual target states plus position and movement-related sensors. Actual behavior depends on radar firmware, tracking mode, installation, and the ESPHome release.

Designing useful alarm logic

Do not use a raw trigger such as:

if radar_target_detected:
    sound_alarm()

Instead, treat the radar as one input to an event state machine:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
disarmed or armed
  → target enters protected zone
  → target remains for dwell period
  → optional second sensor confirms
  → event recorded
  → notification sent
  → cooldown suppresses duplicates

Useful event types

  • Presence: one or more targets are reported.
  • Entry: a target crosses into a protected zone.
  • Dwell: the target remains for a defined period.
  • Direction: movement is toward or away from a boundary.
  • Multiple targets: more than one target is reported.
  • Radar offline: no valid frames or heartbeat arrives.
  • Tamper suspected: an enclosure opens, the board moves, or power is interrupted.
  • Cooldown: repeated detections are temporarily suppressed.

Arming modes

Use modes such as Disarmed, Home, Away, Night, Vacation, and Maintenance/Test. The same detection may be normal while occupants are home and suspicious while the property is in Away mode.

Alert outputs

Possible outputs include Home Assistant notifications, MQTT events, a local buzzer, a status LED, a relay driver, an event log, or an optional camera trigger. Do not connect a high-current siren or mains circuit directly to an ESP32-C6 GPIO. Use an appropriately rated driver, isolation, flyback protection, fuse, and enclosure.

Wi-Fi does not guarantee alarm delivery. A local-first design can continue detecting during an internet outage and use a local indicator while separately reporting that remote notification is unavailable.

Placement and detection-zone design

Start with a hallway, doorway approach, garage entry, or stair landing rather than a large open room. A narrow path makes it easier to define what should count as an event.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Test wall and ceiling mounting, the radar’s orientation relative to the walking path, the distance from walls and large metal objects, and whether the enclosure affects the signal. Furniture, windows, adjacent rooms, fans, curtains, HVAC airflow, and reflective surfaces can change results.

Rank #4
Rd-03D 24G Rd-03 Multi-Target Human Motion Trajectory Positioning and Tracking Radar Module, PCB Antenna photoelectric Sensor, rd-03d mmwave Radar, Accurate Tracking (Rd-03d Module 1pcs)
  • Rd-03d mmwave human detection sensor: 5V power supply wall mounted installation, capable of detecting 3 moving targets simultaneously, Module size: 15mm * 44mm, 1 * 4P-1.25mm socket interface. Detect azimuth angle ± 60 °, elevation angle ± 30 °,Detection distance: 8 meters.
  • Rd-03d mmwave radar: Using the S5KM312CL chip, it accurately perceives the motion status of the human body and the area, and is equipped with intelligent algorithms to achieve motion trajectory recognition and tracking, which can measure the speed and distance of targets in the area.
  • Accurate motion target positioning and tracking: High performance Rd-03d 24G Hz one transmitter and two receivers microstrip antenna, featuring narrow beam, high resolution, wide frequency band, strong anti-interference ability, and low power consumption
  • Radar rd-03d:Plug and play, real-time reporting of detection results, real-time display of distance, angle, speed, position and other information, recognition of the motion status of multiple human targets, and recognition of standing/walking dynamics.
  • Rd-03d mmwave human detection sensor: We provide perfect technical support and feel free to contact us by message if you have any questions.

The V2 specification describes wall installation and ±60° azimuth and ±30° pitch coverage, but these figures must not be generalized to every RD-03D variant. Use the manufacturer’s documentation for the actual board.

Use zones instead of the entire field of view

Where the integration exposes coordinates or distance, define a protected doorway region, minimum and maximum distance, and exclusion areas covering an adjacent room. A corridor-shaped zone is usually more useful than the entire radar field.

If your installation exposes only aggregate presence, rely on physical placement and timing rather than claiming that the software has precise spatial discrimination.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Calibration procedure

  1. Record the empty-room baseline.
  2. Test a person walking toward the radar.
  3. Test a person crossing its field of view.
  4. Test a person standing still.
  5. Test two people crossing paths.
  6. Test pets if they are present in the home.
  7. Test fans, curtains, HVAC airflow, and moving appliances.
  8. Test the actual doorway or perimeter zone.
  9. Repeat at different times and under different household conditions.
  10. Set dwell, distance, and alert thresholds only after these tests.

Custom firmware alternative

Arduino or ESP-IDF firmware can replace ESPHome when you need a custom protocol, local event engine, or specialized power behavior. The software should:

  1. Initialize a hardware UART at 256000 baud.
  2. Collect bytes continuously without blocking the main application.
  3. Detect packet boundaries.
  4. Validate framing, length, and packet contents.
  5. Decode target records.
  6. Reject malformed or stale frames.
  7. Maintain target state with timestamps.
  8. Apply zones, dwell time, direction, and cooldown rules.
  9. Publish events through Wi-Fi, MQTT, HTTP, BLE, Thread, or Zigbee.
  10. Recover from UART desynchronization and radar resets.

A suitable architecture is:

RD-03D UART
     ↓
Frame buffer and parser
     ↓
Packet validation
     ↓
Target tracker
     ↓
Zone, dwell, and direction rules
     ↓
Event state machine
     ↓
Notification or smart-home integration

Do not publish or reuse a packet parser without confirming the protocol for the exact RD-03D revision and firmware. V1, V2, and reseller-labelled variants may not behave identically. Espressif’s official ESP-IDF ESP32-C6 getting-started documentation is the appropriate development reference.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting

No radar data

Check the exact pinout, crossed TX/RX wiring, common ground, supply voltage, current capacity, and connector. Set the UART to 256000 baud, no parity, and one stop bit. Use a hardware UART. If necessary, inspect raw serial data with a suitable USB-UART adapter and test the radar independently of the ESP32-C6.

ESP32-C6 resets or disconnects

Supply sag, radar current spikes, incorrect 5 V logic, Wi-Fi demand, poor USB cabling, watchdog resets, and GPIO conflicts are common causes. Add local decoupling, use a properly sized supply, keep parsing non-blocking, log reset reasons, avoid boot-strapping pins, and test with Wi-Fi disabled before re-enabling it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

False alarms

Narrow the physical field of view, exclude adjacent rooms, set distance limits, require repeated detections or dwell time, add a cooldown, and log raw events while tuning. Check moving curtains, fans, HVAC airflow, pets, and reflective surfaces.

Best Value
EC Buying Rd-03E 24G Human Movement Precision Ranging Positioning Module Radar Sensing Module Precision Ranging Firmware
  • High precision indoor and outdoor human movement detection, micro-motion sensing, and distance measurement with the Rd-03E 24G Human Movement Precision Ranging Positioning Module Radar Sensing Module. Supports 24GHz ISM frequency band and provides visual tools for customizable detection distance and sensitivity settings
  • The radar antenna supports 1 receive and 1 transmit, with narrow beam width, high resolution, wide frequency band, and strong anti-interference capability, ensuring accurate ranging and gesture recognition detection. The module offers automatic default configuration loading and easy UART integration for intelligent radar adjustment
  • Achieve a maximum detection range of 6m for human movement and 3.5m for micro-motion sensing, with high precision ranging from 30 cm to 600 cm. The module covers a wide detection angle range, making it ideal for smart home appliances, commercial applications, intelligent security systems, and smart lighting
  • The DIP package with standard 2.54mm pin spacing makes installation and integration seamless. With a single 5V power supply and wall-mountable design, the Rd-03E module is convenient and versatile for various applications. The precision ranging firmware ensures accurate and reliable performance for diverse scenarios
  • Enjoy the benefits of precise distance measurement, gesture recognition, and human movement sensing in a compact and efficient module suitable for smart home, commercial, security, and lighting applications. The Rd-03E module provides advanced radar sensing capabilities for a range of innovative solutions

Missed detections

Reposition the radar, test several approach directions, verify the selected mode, cautiously widen the zone, and consider a second sensor. Do not promise reliable detection of a stationary person without validating the exact installation.

Multiple-target confusion

The ESPHome integration can expose up to three targets, but target numbers are tracking records, not identities. When people cross paths, target association may change. Build alarm logic around zones and state transitions rather than assuming Target 1 always represents the same person.

Network outage

Keep local sensing active, use a local LED or buzzer where appropriate, buffer events until reconnection, and distinguish “network unavailable” from “no target.” A local gateway or another network technology may be preferable where continued remote delivery is essential.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Security and construction considerations

Install the board in a protected enclosure and keep wiring inaccessible where practical. Consider an enclosure switch, supervised power input, backup power, and a device-health heartbeat. Secure the ESP32 firmware and network credentials, use local services where possible, and avoid exposing an unauthenticated control endpoint to the internet.

For a construction or renovation project, plan the radar’s final mounting position before closing walls or ceilings. Provide an accessible service point, avoid placing the sensor behind metal or unsuitable dense materials, leave room for connector strain relief, and document the module revision, wiring, supply, and GPIO assignments for future maintenance.

Power resilience deserves separate attention. A Wi-Fi sensor powered from the same unprotected circuit as the rest of the house may fail during an outage. Backup power, a local audible indicator, and a supervised offline state are additional design choices—not capabilities supplied automatically by the RD-03D and ESP32-C6.

When to choose another sensor

Requirement Better fit Reason
Basic movement detection PIR sensor Simpler, cheaper, and usually easier to deploy.
Stationary human presence LD2410-family module Hi-Link describes moving and stationary human detection, and ESPHome provides an LD2410 component.
Multi-target coordinates RD-03D Its documented ESPHome integration exposes target and position-related data.
Visual confirmation Camera or radar-triggered camera Can provide evidence, but introduces privacy and cybersecurity considerations.
Professional monitoring or certification Commercial alarm system DIY hardware is not a substitute for listed equipment, monitored response, tamper supervision, and tested failover.

For an alternative, see the manufacturer’s Hi-Link LD2410 page and the ESPHome LD2410 component. For RD-03D purchasing and datasheet access, the DigiKey RD-03D listing is one distributor reference, but prices and availability change.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Limitations to accept before installation

  • The RD-03D reports targets; it does not identify intruders.
  • Stationary-person performance depends on the hardware, firmware, mode, and installation.
  • Range and field-of-view claims must be tied to the exact module revision.
  • Walls, furniture, pets, fans, HVAC systems, and reflective objects can affect detection.
  • Multiple-target tracking does not provide person identity.
  • Wi-Fi connectivity does not guarantee notification delivery.
  • The system is not automatically tamper-resistant, power-resilient, certified, or professionally monitored.
  • A DIY radar sensor should not be the sole life-safety or security mechanism where a missed event could have serious consequences.

Verdict

The RD-03D and ESP32-C6 are a strong combination for a maker-built indoor radar sensor, especially when the project needs privacy-preserving target distance or tracking and local Home Assistant automation. ESPHome makes the first implementation considerably easier, while custom firmware allows more control over event handling and network behavior.

Build it as a carefully tested security subsystem: identify the radar revision, verify power and logic levels, use the correct 256000-baud UART configuration, define a narrow detection zone, add dwell and cooldown logic, and supervise power and connectivity. Do not present a target detection as proof of an intrusion or rely on this DIY device as the only protection for a home.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.