Maker Bench · Build
Build a mmWave Presence Sensor with ESPHome for $15–25
Presence — knowing a room is occupied even when nobody moves — is the sensor the smart home was missing, and radar modules made it cheap: a Hi-Link LD2410C costs about as much as a coffee and detects a person breathing at five meters. Paired with an ESP32 and ESPHome, it becomes a fully local presence sensor for $15–25 all in. This is the complete build, plus the comparison that matters: what the $38–83 branded sensors buy that this does not.
Published Nov 21, 2026
The parts
- ESP32 board — a C3 SuperMini or any dev board with a free hardware UART, $3–6.
- Hi-Link HLK-LD2410C radar module — 24 GHz, still-and-motion detection out to about 5 m across 9 distance gates, about $3–5 (AliExpress pricing; Hi-Link has no US storefront).
- Four jumper wires, a USB-C cable and a 5 V supply — $5–8. The radar draws about 79 mA; any properly rated 500 mA supply works.
- A case — 3D-printed (the printing bench earns its keep) or a small project box, $3–5. Keep metal out of the radar’s field of view.
Total: roughly $15–25. The tracking variant — an LD2450 module (about $6–10) that reports where up to three moving targets are, as x/y coordinates — builds identically for a few dollars more, with one weakness: motionless targets can drop out of an LD2450’s view beyond a couple of meters, so it tracks movement rather than holding a still room. For “is someone in this room,” the LD2410C is the right module; for “where in the room,” the LD2450 (or both).
The wiring
Four wires. Module VCC to the board’s 5 V pin — the radar needs 5 V even though its logic is 3.3 V and ESP32-safe. Ground to ground. Module TX to the ESP32’s RX pin, module RX to TX — crossed, as UART always is. ESPHome’s documentation is specific on two points: the UART runs at 256,000 baud with no parity and one stop bit, and you should use hardware UART pins — at that baud rate, software serial will drop data. The module’s OUT pin can optionally wire to a GPIO as a simple hardware presence signal.
The configuration
The ESPHome ld2410 component is native and mature: it exposes presence, moving-target, and still-target binary sensors, moving and still distances, and — the part that makes tuning pleasant — the per-gate energy readings and thresholds as numbers in Home Assistant, so you calibrate the sensor from a dashboard instead of reflashing. An engineering mode shows live gate energies; set each gate’s threshold above the empty room’s noise (a ceiling fan is the classic false positive) and the sensor holds a reader in a chair without firing on the cat through the doorway. Our YAML generator includes the LD2410 block — generate the starter config, flash it, and tune from there. Mounting guidance is one sentence: radar sees through plastic and drywall-ish materials but not metal, and it sees fans, curtains in a draft, and pets — aim and gate accordingly.
What the branded versions buy
Apollo MSR-2 — $37.99: the same LD2410 family, cased, with a light/UV sensor, an RGB LED, a buzzer, optional CO2, and Works with Home Assistant certification. Everything Presence Lite — about $39: LD2450 tracking with up to four zones configured inside Home Assistant (no vendor app), and it doubles as a Bluetooth proxy. Aqara FP2 — $82.99 list: the capability ceiling — up to 30 zones, five people, fall detection, sleep tracking — with the trade that zones are drawn in Aqara’s app and Aqara’s own table lists Matter support as “No.” The DIY build wins on price and on having no app anywhere in its life; it loses on case, certification, and your tuning time. That is a fair trade in both directions, and it is the same trade the whole maker bench offers.
Official documentation and references
- ESPHome — LD2410 component — wiring, UART requirements, and exposed entities
- ESPHome — LD2450 component — tracking, zones, and firmware requirements
- Apollo Automation — MSR-2 — the branded ESPHome presence sensor, $37.99
- Aqara — Presence Sensor FP2 — 30 zones, fall detection, and the spec table
Frequently asked questions
Can a $4 radar module really detect someone sitting still?
Yes — that is what the LD2410C is designed for. Its still-target detection reads micro-motion such as breathing across nine distance gates out to about five meters, which is precisely the case a PIR motion sensor misses.
LD2410C or LD2450 — which should I build?
The LD2410C for occupancy (is anyone here, moving or still). The LD2450 for tracking (where are up to three moving targets) — but motionless people can drop out of the LD2450’s view, so rooms where people sit still favor the 2410 or a combination.
Why does the module need 5 V if the ESP32 is 3.3 V?
The radar itself runs on 5 V; only its serial logic is 3.3 V, which is what the ESP32 pins see. Power it from the board’s 5 V (USB) pin and wire TX/RX directly — no level shifter needed.
How does the DIY sensor compare with the Aqara FP2?
The FP2 does far more — 30 zones, five-person tracking, fall detection — for $82.99 list, with zones configured in Aqara’s app. The DIY build does the core job (reliable still-presence) for $15–25 with no app or account anywhere. The Everything Presence Lite (~$39) splits the difference with zones configured in Home Assistant itself.

