Skip to the content
2 layers23.5 × 50 mmWindow contact sensor pcb, the printed circuit board in 3D

Window contact sensor pcb

hggh/window-handle-sensor6

window handle contact sensor

Size
23.5 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
5
Pads
24
Tracks, vias
95, 8
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
18 Jul 2020
Updated
30 Apr 2023

Overview

Window contact sensor pcb is an open-source printed circuit board by hggh, from the hggh/window-handle-sensor repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 23.5 × 50 mm with 11 parts on 5 nets, routed with 95 tracks and 8 vias.

Its parts include 3 capacitors, 3 ICs and 1 connector. It belongs with the sensors and measurement and home automation and IoT boards and the ESP32 boards of this library.

README

README.md

window handle sensor

get the status of your windows. sensor is between your handle and the window.

window_sensor_installed.jpg

magnet_holder.jpg case_sensor_pcb.jpg

TODO

  • replace xc6220 footprint with the one from KiCAD
  • add a button for wifi reset
  • battery connector rotate it: open should be on top

PCBs

this project contains of two pcbs.

window-handle-sensor

This PCB is the sensor. It has three hall sensors placed on a 0.6mm pcb.

library used: https://github.com/hggh/kicad-libraries

BOM of window-handle-sensor pcb
numbername
C1,C2,C3ceramic cap 0.1 µF SMD 0805
U1,U2,U3Infineon TLE4913
ESP controller board

This PCB is the controller board with the ESP32-S2. The thickness of this pcb can be 1.0-1.6mm.

BOM of esp32-s2 pcb
numbername
C1ceramic cap 22µF SMD 0805
C2ceramic cap 4.7µF SMD 0805
C3tantalum cap 220µF SMD EIA-7343-31
C4ceramic cap 100nF SMD 0805
C5ceramic cap 1µF SMD 0805
U1XC6220 3.0V SOT-25
U2ESP32-S2-WROOM
H12.54mm 2x3 pin header
J1JST PH S2B-PH-K
Q1BC817
Q2BC807
R1, R1410k SMD0805
R2, R3, R4100 SMD0805
R5, R6, R7, R8, R910M SMD 0805
R10, R111k1 SMD 0805
R12, R1310k SMD 0805

case

The inlay is placed on the square bolt with 3x magnets.

Magnets: Ø 2 mm, h=1mm (strength: 110g): https://www.supermagnete.de/eng/disc-magnets-neodymium/disc-magnet-2mm-1mm_S-02-01-N

Parts

11
QtyValueFootprintReferences
3100nFCapacitor_SMD:C_0805_2012MetricC1, C2, C3
3TLE4913Package_TO_SOT_SMD:SC-59U1, U2, U3
1PCBCONNConnector_PinHeader_2.00mm:PinHeader_1x05_P2.00mm_VerticalJ1

The 7 most common of 11 parts.

More from hggh/window-handle-sensor

2
  • 2 layers40.4 × 33.8 mmEsp32-s2, the printed circuit board in 3D

    Esp32-s2

    hggh/window-handle-sensor

    window handle contact sensor

    31 parts6GPL-3.0
  • 2 layers31 × 38 mmLipo loader, the printed circuit board in 3D

    Lipo loader

    hggh/window-handle-sensor

    window handle contact sensor

    9 parts6GPL-3.0

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

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

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the Window contact sensor pcb PCB?

It measures 23.5 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Window contact sensor pcb use?

11 parts. 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 Window contact sensor pcb KiCad files?

From the hggh/window-handle-sensor repository on GitHub, at the commit this page was made from: the board is pcb/sensor-inside-handle/window-contact-sensor-pcb.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Window contact sensor pcb design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).