$6 and an ESP32: Beating IKEA and Open Sourcing it
Decision Card
Effort: Weekend build once parts arrive (1–3 weeks shipping) — order 5 PCBs from the published KiCad files, buy an ESP32-C6 board and an LD2450 or DFRobot C4001 radar, solder two 7-pin headers, 3D-print the case and flash the supplied ESPHome config (about 3–4 hours hands-on).
Honest take: The “$6” in the title contradicts the video’s own closing figure of “$10 on one presence sensor”, and neither counts the 3D printer, soldering gear, USB power supply or shipping. The 2D-tracking board lost the creator’s presence “once or twice” even with a 5-minute timeout, the sensitive DFRobot board has no zones, and the title’s Zigbee/Matter claim is never demonstrated — only Wi-Fi via ESPHome is shown working.
Concrete next steps:
- Find the repo (10 min): the video’s description links it; Circuit Digest’s write-up names the GitHub user as FeatureNAB, but I could not locate the repository itself by search.
- Prototype on a breadboard first (1–2 hours): wire an LD2450 to any ESP32 using the ESPHome LD2450 component to judge detection quality in your room before ordering PCBs.
- Pick the radar by need (15 min): LD2450 for zones and X/Y tracking, DFRobot C4001 25 m (SEN0609) for still-person sensitivity; the creator’s advice for both is to build two units.
- If adding a temperature sensor, measure the enclosure’s offset against a reference thermometer and subtract it with an ESPHome sensor
offsetfilter (30 min). - Skip if you need battery power, have no access to a soldering iron and 3D printer, or would rather buy a finished open-source equivalent such as the Everything Presence Lite, which uses the same LD2450 radar.
TL;DR
A maker designs an open-source ESP32-C6 carrier PCB and 3D-printed enclosure that accepts either an LD2450-style 2D-tracking radar or a more sensitive DFRobot radar, integrating with Home Assistant via ESPHome for roughly $10 a unit against $40–$100 commercially. It works after one PCB respin, but the tracking radar occasionally drops a still person, the enclosure self-heats by about 6 °C, and it cannot run on batteries.
Key Points
- Infrared (PIR) presence sensors are cheap but cannot see a person who is not moving, which is what breaks lighting automations. 00:10
- Commercial mmWave sensors cost about $40–$100 each, and a house needs several. 00:31
- The ESP32-C6 was chosen because it supports Zigbee and Thread as well as Wi-Fi. 01:16
- Antenna layout tells you the capability: one transmitter plus one receiver gives distance only; stacking pads vertically narrows the beam and stretches range from 5 m to 25 m. 02:33
- One transmitter and two receivers give angle from arrival-time difference, which combined with distance yields 2D position. 03:00
- The board is a sandwich: ESP32 on one side, radar on the other, plus an I2C connector for extras such as temperature/humidity. 03:55
- Optional capacitor pads guard against ESP32 resets from Wi-Fi current spikes on weak power adapters; the creator has not yet seen the problem. 06:22
- The first PCB batch was unusable: connections for the double-row connector were mixed up in layout despite a correct-looking schematic. 07:39
- The radar runs hot and draws too much current for batteries; a temperature sensor in the case reads about 6 °C high even with vents and a lower ESP32 clock, so the offset is subtracted in firmware. 10:40
- In use, the tracking board lost presence once or twice with a 5-minute timer; the DFRobot board never did but has no zones. 11:56
Notable Quotes
“Like a Triassic predator, they can’t see you if you don’t move.” 00:13
“Now all the connections on these printed circuit boards are completely wrong and are only good for practicing soldering.” 07:47
“They calculate the thermal compensation in the hardware and then subtract it in the firmware.” 10:52
Verified Claims
PIR sensors cannot detect a person who stays still, while mmWave radar can detect breathing-level motion. 00:13
- TI Radar Academy: Passive Infrared (PIR), Homey: mmWave vs PIR
- Verdict: Confirmed
Commercial mmWave presence sensors cost about $40 to almost $100. 00:31
- 9to5Toys: Aqara FP2 falls to $71 low, Staples Canada: Aqara FP2 at CA$109.99
- Verdict: Confirmed for the upper end (Aqara FP2); I did not find a current price for a $40 unit.
The ESP32-C6 supports Zigbee and Thread in addition to Wi-Fi and Bluetooth. 01:19
- Espressif ESP32-C6 product page, ESP32-C6 datasheet
- Verdict: Confirmed
The DFRobot board reaches a “ridiculous” 25 m range. 02:45
- DFRobot wiki: C4001 25 m (SEN0609)
- Verdict: Disputed in part — 25 m is the motion-detection and ranging figure; the same wiki entry gives 16 m for presence detection, which is the use case here.
The tracking radar gives full 2D position tracking using one transmitter and two receivers. 03:00
- ESPHome LD2450 component, HLK-LD2450 manual
- Verdict: Inconclusive — 2D tracking of up to three targets is confirmed (assuming the unnamed board is an LD2450, as Circuit Digest’s description implies); the 1Tx/2Rx antenna count was not stated in the sources found.
Five PCBs cost $4 from JLCPCB and can be manufactured in 24 hours, here with ENIG finish. 04:37
- JLCPCB PCB prototype, JLCPCB fabrication services and production time
- Verdict: Inconclusive — “from $2 for 5 pieces” and 24-hour builds are advertised for standard HASL boards; sources did not confirm that price or lead time with ENIG. This is a sponsored segment.
The whole device costs about $10 per unit ($6 in the title). 11:34
- Circuit Digest write-up, LinuxGizmos: XIAO ESP32C6 starts at $5.20
- Verdict: Inconclusive — “around $10” is repeated by Circuit Digest; with an ESP32-C6 board alone at roughly $5 the $6 title figure looks unlikely, and no BOM was found to check either number.
Commercial devices handle self-heating by subtracting a temperature offset in firmware. 10:52
- ESPHome SCD4x component (
temperature_offset, default 4 °C), ESPHome Sensor component filters - Verdict: Confirmed as standard practice — sensor vendors build in a self-heating offset; no source checked for specific smart-home brands.
- ESPHome SCD4x component (
mmWave radar draws too much power for battery operation. 10:36
- Homey: mmWave vs PIR
- Verdict: Confirmed
Tools, Papers & Standards Mentioned
- ESP32-C6 — Espressif product page, datasheet
- The specific ESP32 board is not named in the transcript; a common small C6 board is the Seeed Studio XIAO ESP32C6
- 2D-tracking radar (not named in the transcript; consistent with the Hi-Link HLK-LD2450) — ESPHome LD2450 component, module manual
- DFRobot C4001 mmWave sensor — 25 m version (SEN0609), 12 m version (SEN0610)
- ESPHome — Sensor component and filters
- Zigbee / Thread / IEEE 802.15.4 / Matter — covered on the Espressif ESP32-C6 product page
- JLCPCB (sponsor) — PCB prototype service
- Project files (KiCad, STLs, ESPHome configs) — repository not found by search; see the Circuit Digest write-up and the video description
- Home Assistant, KiCad, Bluetooth, I2C, STEMMA connector, ENIG finish, PLA and the continuous-wave radar explainer video are mentioned, but no canonical source was retrieved for them.
Follow-up Questions
- Does the published ESPHome configuration actually run over Zigbee or Thread/Matter on the ESP32-C6, or only Wi-Fi as shown in the video?
- What is the real per-unit bill of materials (radar module, ESP32-C6 board, PCB, headers, shipping) and how does it compare with a finished Everything Presence Lite?
- Can a single unit carry both an LD2450 and a C4001 to get zones and still-person sensitivity together, and do two 24 GHz radars in the same room interfere?
Sources
- https://circuitdigest.com/news/this-diy-open-source-mmwave-presence-sensor-features-esp32-c6-with-precision-2d-spatial-tracking
- https://esphome.io/components/sensor/ld2450/
- https://esphome.io/components/sensor/index.html?highlight=filter
- https://new.esphome.io/components/sensor/scd4x
- https://wiki.dfrobot.com/SKU_SEN0609_C4001_mmWave_Presence_Sensor_25m
- https://wiki.dfrobot.com/SKU_SEN0610_Gravity_C4001_mmWave_Presence_Sensor_12m_I2C_UART
- https://github.com/EverythingSmartHome/everything-presence-lite
- https://dev.ti.com/tirex/explore/content/radar_academy_3_10_00_1/_build_radar_academy_3_10_00_1/source/tech_comparisons/pir.html
- https://homey.app/en-us/wiki/infrared
- https://9to5toys.com/?p=999980
- https://www.staples.ca/products/3074047-en-aqara-fp2-presence-sensor-white
- https://www.espressif.com/en/products/socs/esp32-C6
- https://www.espressif.com/sites/default/files/documentation/esp32-c6_datasheet_en.pdf
- https://manuals.plus/hi-link/hlk-ld2450-motion-target-detection-and-tracking-module-manual
- https://jlcpcb.com/features/pcb-prototype
- https://jlcpcb.com/help/article/pcb-fabrication-services-and-production-time
- https://linuxgizmos.com/seeed-studio-xiao-esp32c6-with-matter-support-starts-at-5-20/
- https://wiki.seeedstudio.com/xiao_esp32c6_getting_started