Skip to the content
PCBKitNew board
4 layers40 × 30 mmDoor sensor, the printed circuit board in 3D

KiCad design for the Matter Over Thread Door Sensor project.

Size
40 × 30 mm
Copper layers
4
Thickness
1.6 mm
Parts
27
Nets
38
Pads
101
Tracks, vias
173, 38
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
19 Jun 2026
Updated
19 Jun 2026

Overview

Door sensor is an open-source printed circuit board by AndersFrandsen, from the AndersFrandsen/door-sensor-hardware repository on GitHub. It is a 4-layer board of 40 × 30 mm with 27 parts on 38 nets, routed with 173 tracks and 38 vias.

It is built around the MS88SF2, AP2112K-3.3 and BAT54C. Its parts include 5 capacitors, 5 resistors, 3 connectors, 2 ICs and 2 diodes. It belongs with the sensors and measurement boards of this library.

Main components

3

README

README.md

Hardware

KiCad design for the Matter Over Thread Door Sensor project.

Overview

A door sensor PCB that uses the MS88SF2 Radio-module (Nordic nRF52840) to detect door open/close events via a reed switch and send them over a Thread network using the Matter protocol.

Board

  • Size: 40 × 30 mm
  • Layers: 4 (F.Cu signal, In1.Cu GND plane, In2.Cu power plane, B.Cu signal)
  • Thickness: 1.6 mm
  • Version: HW v1.0

Power

The board supports two power sources, OR-ed by a BAT54C Schottky diode (D2):

  • USB-C (P1 — GCT USB4135-GF-A) — 5V input via USB (power only)
  • Battery (BT1 — CR2032 coin cell, holder 36-3034-ND)

The AP2112K-3.3 LDO (U2) regulates the USB supply to 3.3 V before it is OR-ed with the battery by the BAT54C. Because the battery runs at ~3 V, the regulated USB rail always wins, ensuring that flashing and debugging draw from USB rather than the battery.

Bill of Materials

RefQtyValue / PartDescription
BT1136-3034-NDCR2032 coin cell holder
C1, C221 µFDecoupling capacitor
C3110 µFBulk decoupling capacitor
C4, C52100 nFDecoupling capacitor
D11LEDStatus LED
D21BAT54C-E3-08CT-NDDual Schottky diode
J11FTSH-107-01-F-DV-K-P-TRSWD/JTAG/UART debug header
J21JST SH SM02B-SRSS-TBReed switch connector
P11GCT_USB4135-GF-AUSB-C receptacle
R111 KLED current limiting resistor
R2, R325.1 KUSB-C CC pull-down resistors
R4110 KPull resistor
R711 MPull resistor
SW11SW_PushReset / user button
U21AP2112K-3.3TRG1DICT-ND600 mA 3.3 V LDO regulator, SOT-23-5
U31MS88SF2Radio module (Nordic nRF52840)

Schematic

schematic.pdf

PCB

FrontBack
PCB frontPCB back

Parts

27
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_2.1mmH1, H2, H3, H4
4~TestPoint:TestPoint_Pad_D1.5mmBATT, GND, USB, VCC
2100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC4, C5
21µFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2
25K1Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R3
110KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4
110µFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3
11KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
11MResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U2
1BAT54CPackage_TO_SOT_SMD:SOT-23D2
1BatteryBattery:BatteryHolder_Keystone_3034_1x20mmBT1
1LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1
1MS88SF2MS88SF2:XCVR_MS88SF2U3
1Reed_SWConnector_JST:JST_SH_SM02B-SRSS-TB_1x02-1MP_P1.00mm_HorizontalJ2
1STDC14Connector_PinHeader_1.27mm:PinHeader_2x07_P1.27mm_Vertical_SMDJ1
1SW_PushButton_Switch_SMD:SW_SPST_PTS647_Sx38SW1
1USB-CConnector_USB:USB_C_Receptacle_GCT_USB4135-GF-A_6P_TopMnt_HorizontalP1

Questions

How big is the Door sensor PCB?

It measures 40 × 30 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Door sensor use?

27 parts, built around the MS88SF2, AP2112K-3.3 and BAT54C. 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 Door sensor KiCad files?

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

Can I use the Door sensor design in my own project?

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

Similar boards

  • 2 layers89.5 × 31 mmFlowing dongle, the printed circuit board in 3D

    Flowing dongle

    ugokutennp/flowing-dongle-ccd

    DIY Multiple Connection Watchman Dongle for SteamVR

    36 parts73MIT
  • 2 layers230 × 85 mmLe chiff ble hotswap, the printed circuit board in 3D

    Le chiff ble hotswap

    MangoIV/le_chiff_ble

    A drop-in replacement-PCB for the beautiful le_chiffre

    117 parts52GPL-3.0
  • 2 layers132 × 90.7 mmDao choc ble right, the printed circuit board in 3D

    Dao choc ble right

    Mposiblee/Zireael

    The keyboard is based on Dao Chok BLE. The locations of components on the board have been changed, space for the battery has been added, and the thumb cluster has also been changed.

    79 parts42CERN-OHL-P-2.0
  • 2 layers36 × 33 mmNrf52-sensor tag, the printed circuit board in 3D

    Nrf52-sensor tag

    HomeSmartMesh/nrf52_thread_sensortag

    nRF52840 small sensor Tag, Low power design, battery operated

    23 parts41MIT
  • 2 layers79.9 × 28.4 mmNrf52840 hub, the printed circuit board in 3D

    Nrf52840 hub

    ugokutennp/nrf52840-x3

    3 connection DIY watchman dongle

    36 parts8MIT
  • 4 layers31 × 45 mmTrick tracker, the printed circuit board in 3D

    Trick tracker

    HomeSmartMesh/bike_trick_tracker

    Tracking sensors for bike movements like height from pressure 9 axis and ToF with record and telemetry

    61 parts2MIT
  • 2 layers80.7 × 51.5 mmMinew MS88SF2-breakout, the printed circuit board in 3D

    Minew MS88SF2-breakout

    atoomnetmarc/Minew-MS88SF2-breakout

    Simple nRF52840 Minew MS88SF2 IEEE802.15.4 module breakout board.

    36 parts1Apache-2.0
  • 2 layers61.7 × 35.1 mmMS88SF2 eInk display v2, the printed circuit board in 3D

    MS88SF2 eInk display v2

    chacal/pcbs

    Hardware design files for various hobby projects

    61 parts1MIT