Skip to the content
2 layers40.1 × 65 mmEsphome presence detector, the printed circuit board in 3D

i made a diy presence detector for my homeassistant smarthome. it can mesure light, instantly detect motion via a PIR, and maintain that state using a mmwave sensor. its basically the perfect presence sensor

Size
40.1 × 65 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
19
Pads
40
Tracks, vias
106, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Jun 2026
Updated
1 Aug 2026

Overview

Esphome presence detector is an open-source printed circuit board by Theered, from the Theered/ESPHome-Presence-Detector_With-PCB repository on GitHub. It is a 2-layer board of 40.1 × 65 mm with 10 parts on 19 nets, routed with 106 tracks and 0 vias.

It is built around the WS2812B. Its parts include 3 connectors, 1 capacitor, 1 IC and 1 diode. It belongs with the home automation and IoT and sensors and measurement boards and the ESP32 and RISC-V boards of this library.

Main components

1

README

README.md

ESPHome-Presence-Detector_With-PCB

I was tired of my lights constantly turning off whenever I sat still while using a standard PIR motion detector. Since PIR sensors only detect "big movements", they often fail to notice someone who is sitting quietly.

To solve this, I built a presence detector using an mmWave sensor. Unlike a traditional PIR sensor, an mmWave sensor can detect very small movements, such as your chest moving while breathing, allowing it to reliably detect occupancy even when you're not moving around.

While designing the project, I decided to add a few extra features:

  • mmWave presence detection for reliable occupancy sensing
  • PIR motion sensor for fast motion detection when entering the room
  • Ambient light sensor to prevent lights from turning on when the room is already bright
  • Status LED to indicate Wi-Fi or device issues
  • Custom PCB to keep the wiring clean and make assembly easier

The PCB connects all modules directly to the microcontroller, making installation as simple as plugging the sensors into their designated headers.

Sensor data is sent to Home Assistant using ESPHome, allowing you to create virtually any automation you can think of —from automatically controlling lights to sending notifications when someone enters a room, everything is possible.

Requirements

Before starting this project, you will need:

  1. A working Home Assistant server
  2. A soldering iron and basic soldering skills
  3. A bit of patience and a good mood ;)

Note: The status LED and its resistor are small and can be quite challenging to solder. If you don't care about the LED, it can be left out.

PCB Design

schematic: image

PCB: image

CAD Model: image

Project Status

🚧 This project is still under development.

Additional documentation will be added soon, including:

  • Complete assembly guide
  • ESPHome configuration- and firmware instalation guide
  • refined 3D-printable enclosure files

Thank you for your patience while I finish building and documenting the project.

BOM:

  1. ws2812b LED (you can desolder them from a led strip or those single pixels) image

  2. TSL2591 IIC I2C Light Sensor image

  3. ESP32 S3 C3 SuperMini Development Board (Make sure the pins arent pre soldered, or you are gonna have a bad time) image

  4. HLK-LD2410c module image

  5. AM312 PIR motion detector image

  6. Female Pin Header image

  7. Custom PCB (gerber files are linked in the project) Screenshot 2026-08-01 123347

Parts

10
QtyValueFootprintReferences
1AM312 pirConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ2
1CCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1
1ESP32-C3_SUPERMINI_SMDfootprints:MODULE_ESP32-C3_SUPERMINIU2
1LD2410c mmwaveConnector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ1
1TSL2591 light sensorConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ4
1WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1

The 6 most common of 10 parts.

Similar boards

  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    34 parts1.1kCC-BY-4.0
  • 4 layers82.6 × 82.5 mmJumperless2, the printed circuit board in 3D

    Jumperless2

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    208 parts914
  • 2 layers95.3 × 161.9 mmDfh badge, the printed circuit board in 3D

    Dfh badge

    tanaes/whopping_Voron_mods

    135 parts787GPL-3.0
  • 2 layers42.8 × 28.8 mmMM Skirt, the printed circuit board in 3D

    MM Skirt

    PrintersForAnts/Micron

    If you want to purchase full kits there are 3 available (Kits are slowly updating to R1 hardware just make sure to double check the included hardware in your kit and if you have any questions reach out in the discord)

    11 parts741GPL-3.0
  • 2 layers149.6 × 127.1 mmErgodash, the printed circuit board in 3D

    Ergodash

    omkbd/ErgoDash

    keyboard

    187 parts732MIT
  • 2 layers285.5 × 95 mmReviung46 ver1 1, the printed circuit board in 3D

    Reviung46 ver1 1

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    119 parts517MIT
  • 2 layers177.7 × 144.5 mmCOMM PANEL, the printed circuit board in 3D

    COMM PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    275 parts431

Questions

How big is the Esphome presence detector PCB?

It measures 40.1 × 65 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esphome presence detector use?

10 parts, built around the WS2812B. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Esphome presence detector KiCad files?

From the Theered/ESPHome-Presence-Detector_With-PCB repository on GitHub, at the commit this page was made from: the board is PCB/KICAD files/esphome presence detector.kicad_pcb and its schematic PCB/KICAD files/esphome presence detector.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esphome presence detector design in my own project?

Its repository states no licence, so its author keeps all rights: ask Theered before reusing the design.