Skip to the content
PCBKitNew board
2 layers75.4 × 23.7 mmEsp door sensor, the printed circuit board in 3D

ESP8266 Reed Switch/Door/Window contact

Size
75.4 × 23.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
12
Pads
33
Tracks, vias
64, 6
Pours
8
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
28 Nov 2021
Updated
5 Jan 2023

Overview

Esp door sensor is an open-source printed circuit board by danielchiaradia, from the danielchiaradia/ReedSwitch repository on GitHub. It is a 2-layer board of 75.4 × 23.7 mm with 13 parts on 12 nets, routed with 64 tracks and 6 vias.

It is built around the ATTINY85-20PU and NDP6020P. Its parts include 3 connectors, 2 resistors, 2 ICs, 1 capacitor and 1 transistor. It belongs with the sensors and measurement boards and the ESP8266 and AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

ReedSwitch

Simple Door/Window contact with low quiescence current of around 5µA (according to my cheap multimeter ...). There is quite some power loss on the ESP development board caused by the regulator, serial converter and other components. However, it will only be powered for a short amount time, so it's not worth going the hard naked ESP way here.

BOM

  • ESP01
  • Attiny85
  • LiFePO4 Battery
  • 2 x 3K3 Ohm resistor
  • 410 µF capacitor
  • Reed Switch with two terminals or alternatively a normally closed reed switch.
  • 1xP-Channel MOSFET (e.g.NDP6020P)

How it works

The attiny will be turned on by the reed switch and then turns the ESP via the MOSFET on. The ESP sends the current state of the reed switch to a REST service. After sending the data, the ESP signals to the attiny to turn of the power.

Quiescence current

Around 5-10 µA with closed reed switch. Open switch will cause around 20-30 µA current (probably the closed terminal draws some current)

Parts

13
QtyValueFootprintReferences
23.3 kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2
2Conn_01x01Connector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mmJ1, J3
1ATtiny85-20PPackage_DIP:DIP-8_W7.62mmU2
1C_PolarizedCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1
1Conn_01x02Connector_Wire:SolderWire-0.75sqmm_1x02_P7mm_D1.25mm_OD3.5mmJ2
1ESP-01v090ESP:ESP-01U1
1NDP6020PPackage_TO_SOT_THT:TO-220-3_VerticalQ1

The 9 most common of 13 parts.

Questions

How big is the Esp door sensor PCB?

It measures 75.4 × 23.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esp door sensor use?

13 parts, built around the ATTINY85-20PU and NDP6020P. 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 Esp door sensor KiCad files?

From the danielchiaradia/ReedSwitch repository on GitHub, at the commit this page was made from: the board is assets/esp-door-sensor/esp-door-sensor.kicad_pcb and its schematic assets/esp-door-sensor/esp-door-sensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esp door sensor design in my own project?

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

Similar boards

  • 2 layers185.4 × 160 mm8088-mainboard, the printed circuit board in 3D

    8088-mainboard

    i-melnichenko/8088-homebrew-computer

    An open-source modular computer built around the Intel 8088 CPU.

    104 parts12MIT
  • 4 layers140 × 95 mmMDRVCT60A002M MCP41100-EP, the printed circuit board in 3D

    MDRVCT60A002M MCP41100-EP

    Laracleteuh/projet-tank-terminale-2026-2027

    Repo GitHub pour le projet de Tank RC des Terminales spécialités sciences de l'ingénieur. Contenu Open - Source, et maintenu jusqu'en juillet 2027

    86 parts1
  • 2 layers101.6 × 53.3 mmCharger layout1, the printed circuit board in 3D

    Charger layout1

    jverneuer/cloudcharger-pcb

    43 parts
  • 2 layers70 × 20 mmDOORSENSOR Enhanced AutoRoute, the printed circuit board in 3D

    DOORSENSOR Enhanced AutoRoute

    greenMikeEU/shrdzm

    SHRDZM (just a name, not an acronym) is an ESP8285/ESP8266 based sensor and actor integration platform.

    13 partsGPL-3.0
  • 2 layers210 × 105 mmN3pp msp commun, the printed circuit board in 3D

    N3pp msp commun

    oliviera999/n3_firmwires

    firmwires des bojetw connectés n3

    103 parts
  • 2 layers30.7 × 76.1 mmRepeater v2, the printed circuit board in 3D

    Repeater v2

    plusvic/simplebus2-intercom

    General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

    17 parts95CC0-1.0
  • 2 layers101.5 × 54 mmSimkarte, the printed circuit board in 3D

    Simkarte

    osmocom/osmocom-analog

    Software Implementation of analog cellular telephony systems like NMT, TACS, IMTS, A/B/C-Netz; mirror of https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog

    15 parts32GPL-3.0