

Window contact sensor pcb
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.mdwindow handle sensor
get the status of your windows. sensor is between your handle and the window.


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
| number | name |
|---|---|
| C1,C2,C3 | ceramic cap 0.1 µF SMD 0805 |
| U1,U2,U3 | Infineon 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
| number | name |
|---|---|
| C1 | ceramic cap 22µF SMD 0805 |
| C2 | ceramic cap 4.7µF SMD 0805 |
| C3 | tantalum cap 220µF SMD EIA-7343-31 |
| C4 | ceramic cap 100nF SMD 0805 |
| C5 | ceramic cap 1µF SMD 0805 |
| U1 | XC6220 3.0V SOT-25 |
| U2 | ESP32-S2-WROOM |
| H1 | 2.54mm 2x3 pin header |
| J1 | JST PH S2B-PH-K |
| Q1 | BC817 |
| Q2 | BC807 |
| R1, R14 | 10k SMD0805 |
| R2, R3, R4 | 100 SMD0805 |
| R5, R6, R7, R8, R9 | 10M SMD 0805 |
| R10, R11 | 1k1 SMD 0805 |
| R12, R13 | 10k 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3 |
| 3 | TLE4913 | Package_TO_SOT_SMD:SC-59 | U1, U2, U3 |
| 1 | PCBCONN | Connector_PinHeader_2.00mm:PinHeader_1x05_P2.00mm_Vertical | J1 |
The 7 most common of 11 parts.
More from hggh/window-handle-sensor
2- 2 layers40.4 × 33.8 mm

- 2 layers31 × 38 mm

Similar boards
- 2 layers60 × 30 mm

Controller
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
11 parts3kApache-2.0 - 2 layers103 × 30.5 mm

- 2 layers26 × 30 mm

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 mm

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 mm

2 connector Sensor Board
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
11 parts915 - 2 layers

- 2 layers47 × 33 mm

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 mm

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).