Skip to the content
PCBKitNew board
4 layers97.5 × 52 mmMain module, the printed circuit board in 3D

This IOT project allows you to open and close your window from any smart house. For example - you can setup rules like a "If night and noise greater then expected -> close window" and "Noise reduced -> open window"

Size
97.5 × 52 mm
Copper layers
4
Thickness
1.6 mm
Parts
121
Nets
100
Pads
393
Tracks, vias
533, 67
Pours
331
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
19 Jul 2021
Updated
22 Nov 2024

Overview

Main module is an open-source printed circuit board by shm-dmitry, from the shm-dmitry/auto_close_window repository on GitHub, published under the Apache-2.0 licence. It is a 4-layer board of 97.5 × 52 mm with 121 parts on 100 nets, routed with 533 tracks and 67 vias.

It is built around the ESP32-WROOM-32, AD8541ARZ and XL6009, with the AMS1117-3.3, AMS1117-5.0 and BAV21WS among its other parts. Its parts include 37 capacitors, 27 resistors, 12 ICs, 6 diodes and 6 connectors. It belongs with the home automation and IoT and robots and motor control boards and the ESP32 and AVR (ATmega, ATtiny) boards of this library.

Main components

12

README

README.md

This project allows auto-open and auto-close your windows. Project consists schematics of 3 modules and firmware for 2 controllers

Project re-started

In-door modules:

  1. Placed on window neare handle. It controls handle state (via hall sensor and magnet) and allows to you to push button open or close manually Also this module connected to WIFI and allows to to control your window from any smart house server (via MQTT protocol).
  2. Placed on up-side window frame. Contains servo, receives commands from module#1 and executes it.

Out-door module:

  1. Listen for a noise and check air quality.

Project status

Hardwarestatus
Indoor schema :: near-handle moduleno
Indoor schema :: servo moduleno
Indoor schema :: digital channel to outdoor schemano
Outdoor module schema :: microcontroller and its peripheryno
Outdoor module schema :: sensorsno
Boardstatus
Indoor board :: near-handle moduleno
Indoor board :: servo moduleno
Outdoor module boardno
Firmwarestatus
Indoor firmware :: hardware sensors - hall, switch and soft lockno
Indoor firmware :: buttonsno
Indoor firmware :: servo control and calibrationno
Indoor firmware :: led indicationno
Indoor firmware :: controllerno
Outdoor firmware :: BMP280no
Outdoor firmware :: SGP30no
Outdoor firmware :: Noise sensorno
Outdoor firmware :: Sensor value filters and controllerno
Outdoor firmware :: Data transmitterno

Parts

121
QtyValueFootprintReferences
1010KResistor_SMD:R_0805_2012MetricR3, R6, R8, R9, R10, R11, R15, R20, R24, R29
922 uFCapacitor_SMD:C_1210_3225MetricC2, C9, C10, C11, C14, C15, C22, C24, C30
74.7 uFCapacitor_SMD:C_0603_1608MetricC1, C12, C19, C20, C21, C27, C31
51KResistor_SMD:R_0805_2012MetricR4, R5, R12, R19, R21
410 uFCapacitor_SMD:C_0603_1608MetricC3, C5, C6, C33
4100 nFCapacitor_SMD:C_0603_1608MetricC7, C13, C29, C35
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
310 nFCapacitor_SMD:C_0603_1608MetricC25, C26, C36
322KResistor_SMD:R_0805_2012MetricR1, R13, R22
3330 nFCapacitor_SMD:C_0603_1608MetricC23, C34, C37
347KResistor_SMD:R_0805_2012MetricR2, R14, R23
222 uFCapacitor_Tantalum_SMD:CP_EIA-3216-10_Kemet-I_Pad1.58x1.35mm_HandSolderC16, C17
2BAV21WSDiode_SMD:D_SOD-323FD3, D5
2BC847Package_TO_SOT_SMD:SOT-23Q3, Q4
2KLS7-TS3601-5.0-180Library:SW_PUSH_P6.5_W3.5SW1, SW5
10,5Resistor_SMD:R_2512_6332MetricR25
11 uFCapacitor_SMD:C_0603_1608MetricC18
1100 uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC28
11000 uFCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC4
1100KResistor_SMD:R_0805_2012MetricR26
1200Resistor_SMD:R_0805_2012MetricR16
1200KResistor_SMD:R_0805_2012MetricR18
120KResistor_SMD:R_0805_2012MetricR7
1220 uF@35VCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC32
13ALibrary:FuseHolder1808F2
147 nFCapacitor_SMD:C_0603_1608MetricC8
1620Resistor_SMD:R_0805_2012MetricR17
16ALibrary:FuseHolder1808F1
1AD8541Package_TO_SOT_SMD:SOT-23-5U4
1AGND/PGNDNetTie:NetTie-2_SMD_Pad2.0mmNT1
1AMPLF1260, 4.7 uHInductor_SMD:L_TaiTech_TMPC1265_13.5x12.5mmL1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1AMS1117-5.0Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1CH_CETestPoint:TestPoint_Pad_D1.0mmTP9
1CH_CSTestPoint:TestPoint_Pad_D1.0mmTP15
1CH_FBTestPoint:TestPoint_Pad_D1.0mmTP14
1CP2102N-Axx-xQFN28Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mmU1
1Charge from flusherJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1
1Charger portConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ9
1Conn_01x02_SocketConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ1
1Conn_01x04_SocketConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ5
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U9
1FLUSHJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP2
1GNDLibrary:TestPoint_Plated_Hole_D1.0mmTP1
1IC_CETestPoint:TestPoint_Pad_D1.0mmTP8
1INA169Package_TO_SOT_SMD:SOT-23-5U12
1IRF7425PbFPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmQ2
1IRLML0030Package_TO_SOT_SMD:SOT-23Q1
1Limit SwitchConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ7
1MK_OUTTestPoint:TestPoint_Pad_D1.0mmTP2
1M_DIRTestPoint:TestPoint_Pad_D1.0mmTP12
1M_EN#TestPoint:TestPoint_Pad_D1.0mmTP10
1M_STPTestPoint:TestPoint_Pad_D1.0mmTP11
1MicrophoneConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ4
1NOISETestPoint:TestPoint_Pad_D1.0mmTP4
1NOISE1TestPoint:TestPoint_Pad_D1.0mmTP3
1R315TestPoint:TestPoint_Pad_D1.0mmTP7
1R433TestPoint:TestPoint_Pad_D1.0mmTP6
1RESETJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP3
1RM065, 100KPotentiometer_THT:Potentiometer_Runtron_RM-065_VerticalRV1
1SMAJ26ADiode_SMD:D_SMAD6
1SP0503BAHTPackage_TO_SOT_SMD:SOT-143D1
1SR540Diode_THT:D_DO-201AD_P3.81mm_Vertical_AnodeUpD4
1SRX882@315MhzLibrary:SRX882_VerticalU11
1SRX882@433MhzLibrary:SRX882_VerticalU6
1STX882@433MhzLibrary:STX882_VerticalU7
1T433TestPoint:TestPoint_Pad_D1.0mmTP5
1TL331Package_TO_SOT_SMD:SOT-23-5U10
1TMC2209_ModuleLibrary:TMC2209U5
1US1MDiode_SMD:D_SMAD2
1USB_C_Receptacle_USB2.0Library:USB_C_P16_MIDMOUNT_1.6J2
1VM_ENTestPoint:TestPoint_Pad_D1.0mmTP13
1XL6009Package_TO_SOT_SMD:TO-263-5_TabPin3U8

Questions

How big is the Main module PCB?

It measures 97.5 × 52 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Main module use?

121 parts, built around the ESP32-WROOM-32, AD8541ARZ, XL6009 and AMS1117-3.3. 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 Main module KiCad files?

From the shm-dmitry/auto_close_window repository on GitHub, at the commit this page was made from: the board is schematics/main-module/main-module.kicad_pcb and its schematic schematics/handle-module/handle-module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Main module design in my own project?

Its repository publishes it under the Apache-2.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).

More from shm-dmitry/auto_close_window

2
  • 4 layers96 × 43 mmOutdoor module, the printed circuit board in 3D

    Outdoor module

    shm-dmitry/auto_close_window

    This IOT project allows you to open and close your window from any smart house. For example - you can setup rules like a "If night and noise greater then expected -> close window" and "Noise reduced -> open window"

    127 parts1Apache-2.0
  • 4 layers80 × 42 mmHandle module, the printed circuit board in 3D

    Handle module

    shm-dmitry/auto_close_window

    This IOT project allows you to open and close your window from any smart house. For example - you can setup rules like a "If night and noise greater then expected -> close window" and "Noise reduced -> open window"

    114 parts1Apache-2.0

Similar boards

  • 4 layers144 × 69 mmXray v2, the printed circuit board in 3D

    Xray v2

    shm-dmitry/xray-detector

    V3 version in progress. V2 version details:

    154 parts
  • 2 layers100 × 60 mmQuietPS, the printed circuit board in 3D

    QuietPS

    ljuszkie/quietPS

    Quiet power supply for tube preamplifiers

    55 parts
  • 4 layers86 × 29.9 mmGeiger probe, the printed circuit board in 3D

    Geiger probe

    bartkepl/CanGeigerProbe

    Polowa sonda promieniowania jonizującego z miniaturową lampą Geigera-Müllera, komunikująca się cyfrowo przez CAN 2.0B.

    116 partsMIT
  • 2 layers50 × 51 mmPrismo reader, the printed circuit board in 3D

    Prismo reader

    hacklabkyiv/prismo-reader

    RFID readers of Prismo access management system

    48 parts5GPL-3.0
  • 2 layers44 × 44 mmMeteostation, the printed circuit board in 3D

    Meteostation

    Maniak003/Meteostation

    109 parts7
  • 2 layers14.4 × 24.9 mmHvoltmeter, the printed circuit board in 3D

    Hvoltmeter

    Maniak003/HV-voltmeter

    High voltage (to 3kV) voltmeter

    35 parts3
  • 2 layers145 × 130 mmPhaser, the printed circuit board in 3D

    Phaser

    cillian64/phaser

    Hardware device to track mains frequency and distinguish outlets on different phases

    49 parts