← Back to feed Article · November 10, 2026 · 3 min
Articles

DIY Radar Sensor Beats $80 Smart Home Devices

Standard infrared sensors shut off the lights the second you sit still, but a $15 homemade board using an ESP32 chip and a micro-radar module tracks your breathing instead.

Photo: xda-developers.com

The Aqara Presence Sensor FP2 is listed at $80 per room. Standard passive infrared sensors only register moving body heat, so the second you freeze or lie down, they assume the room is empty and shut off the lamps.

A homemade sensor pairing an ESP32 microcontroller with a micro-radar module drops that bill to about $15 per room while tracking tiny physical movements like the rising and falling of your chest. The question everyone wants answered before breaking out the wire cutters is straightforward: can an inexpensive DIY board genuinely replace an expensive plug-and-play retail gadget without ruining your evenings? The short answer is yes, provided you are willing to spend a couple of evenings tuning its software.

Why Cheap Infrared Fails and Radar Works

Traditional motion hardware fails because it depends on gross motion. As Adam Conway showed with a $5 Zigbee build on the ESP32-C6, basic setups hit an immediate wall when someone sits down or lies still. A similar restriction applies to Wi-Fi tracking: ESPectre turns the ESP32's radio into a motion sensor, but while that works for walking down a hallway, it cannot tell if someone is asleep in bed.

Photo: XDA Developers
"An mmWave radar sensor sends out a signal and reads the reflections, so it can pick up your chest rising and falling, even when you're asleep."

Micro-radar relies on millimeter-wave signals that continuously bounce off physical objects. When you breathe, tiny shifts in those reflections register as occupancy. Instead of guessing whether your body heat is travelling across a lens, the radar sees micro-movements in place.

The Hardware and the Setup

Putting the device together requires surprisingly little effort. The ESP32-C6 board costs about $5, and radar modules like the LD2410C are available under $10 on AliExpress, replacing older variants like the LD2410 and LD2410B. Connecting them involves four physical lines: power, ground, and two serial data channels. The author's multimodal build's hardware took less than an hour to assemble using Dupont jumper wires.

The LD2410C's 24GHz radio reaches about 6 meters, which easily spans a bedroom or study. In ESPHome, you configure the LD2410C's UART to 256000 baud and add the LD2410 platform, passing presence entities straight into Home Assistant. To add personal identification, the Bermuda integration can be installed through HACS to read signals from phones or smartwatches. ESPHome's LD2410 component defaults to a timeout of 5 seconds, which holds the active state briefly after movement ceases.

What the Low Price Really Costs You

Extreme sensitivity brings immediate side effects that retail gadgets try to mask. Millimeter-wave radar registers blowing curtains, rotating ceiling fans, and can even penetrate thin interior walls. A sensor placed facing the wrong angle will report someone in an empty room until its detection gates are manually dialed down.

"Tuning out the false positives took a couple of days."

Taming those phantom triggers requires watching real-time entities and tweaking thresholds one distance zone at a time. If you want straight from the packaging setup, a pre-built commercial device like the Aqara FP2 remains easier. You are trading money for setup labor: the $15 hardware delivers true occupancy tracking and keeps your data local, but getting there takes a weekend of fine-tuning.

How the picture shifted

Where reliable presence tracking previously meant buying a factory-made Aqara FP2 device, a bare-board ESP32 assembly now matches that sensitivity to a resting body for just $15. In this build, an LD2410C millimeter-wave radar handles the physical sensing directly, eliminating the frozen-body blind spots typical of older hardware. Cutting the hardware bill shifts the true expense into Home Assistant, where tuning out phantom triggers from curtains and fans becomes a manual chore. The five-dollar controller setup effectively matches the branded presence sensor, provided the owner is willing to trade personal evening hours for factory software filtering.

Photo: XDA Developers

Our stories: ESP32 Radar Weather Clock: Smart Screen That Spots Humans (October 5).

Source XDA Developers → Manufacturer page: aqara.com → © 2026 «Gadgety». Full or partial copying — with a link to this page.