Skip to the content
2 layers99.1 × 62.2 mmCurtain wiring, the printed circuit board in 3D

A standalone alarm system that opens your curtain.

Size
99.1 × 62.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
113
Pads
176
Tracks, vias
89, 3
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
20 May 2021
Updated
25 Aug 2023

Overview

Curtain wiring is an open-source printed circuit board by timbleman, from the timbleman/Window_curtain_alarm repository on GitHub. It is a 2-layer board of 99.1 × 62.2 mm with 30 parts on 113 nets, routed with 89 tracks and 3 vias.

It is built around the TMC22091KHC. Its parts include 10 connectors, 6 resistors, 4 capacitors, 2 ICs and 1 diode. It belongs with the ESP8266 boards of this library.

Main components

1

README

curtain_wiring/README.md

Wiring

This directory contains a wiring diagram and a PCB design. Created using KiCad.

Wiring

This wiring diagram is also present as a PDF. Please refer to the document for needed components. Low noise power supplies are expected, if the input voltage is noisy you may need to add some components.

PCB

This is the board designed for the curtain alarm. The board has a status LED and a button for user input. To fit inside the 3D printed housing, the ESP8266 (NodeMCU 12E) and TMC2209 should be socketed. The LED standoff needs to be installed.
The stepper driver and ESP can use separate power supplies. This is recommended to avoid noise. Theoretically, you could power both the ESP and motor using the micro USB port and connecting the ESPs VU to the TMCs VM. If you detect power-related problems (like crashing when the motor starts turning), you could add some additional filtering. There is some additional space to include some components like a low pass filter.
While the code does not yet utilize the TMCs UART functionality, the board is ready for it. Depending on the desired mode of communication, J9, J10, or JP1 need to be connected. R2 may need to be added.

Parts

30
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_4.3mm_M4_DIN965_Pad_TopBottomH1, H2, H3, H4
31kResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_HorizontalR2, R3, R5
2100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2
210kResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_HorizontalR4, R6
1100Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_HorizontalR1
1100uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC3
1220uFCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC4
1ADC_inConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ3
1Conn_02x12_Expansion_1Connector_PinSocket_2.54mm:PinSocket_2x12_P2.54mm_VerticalJ5
1Conn_02x12_Expansion_2Connector_PinSocket_2.54mm:PinSocket_2x12_P2.54mm_VerticalJ6
1Conn_02x12_Expansion_3Connector_PinSocket_2.54mm:PinSocket_2x12_P2.54mm_VerticalJ7
1D4Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ4
1END_STOPConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1LEDLED_THT:LED_D5.0mmD1
1NodeMCU1.0(ESP-12E)ESP8266:NodeMCU-LoLinV3U1
1Power_ConnConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1SW_WOS_CURTAINXOR_CALIBRATEButton_Switch_THT:SW_PUSH-12mmSW1
1SolderJumper_UARTJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1Stepper_Motor_bipolarConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalM1
1TMC_2209_1TMC_test:PinSocket_2x09_P2.54mm_VerticalIC11
1Uart_ConnConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ9
1Uart_Conn_tmcConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ10
1VU_ConnConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ8

Similar boards

  • 2 layers52.2 × 52.2 mmBase promicro, the printed circuit board in 3D

    Base promicro

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    30 parts3kApache-2.0
  • 2 layers40.6 × 15.2 mmVr mmm, the printed circuit board in 3D

    Vr mmm

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    30 parts1.2k
  • 2 layers270 × 11 mmDaylight, the printed circuit board in 3D

    Daylight

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    30 parts1.1kGPL-3.0
  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

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

    30 parts1kGPL-3.0
  • 2 layers40.5 × 58 mmInitial v, the printed circuit board in 3D

    Initial v

    tenderlove/initial-v

    It's a BMW shifter converted to a Bluetooth Keyboard that you use with Vim

    30 parts1kApache-2.0
  • 2 layers34.3 × 41.8 mmMotionCubeViewAllForces, the printed circuit board in 3D

    MotionCubeViewAllForces

    hackclub/OnBoard

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

    30 parts915
  • 2 layers57.4 × 62 mmPicoWS2812, the printed circuit board in 3D

    PicoWS2812

    ErichStyger/mcuoneclipse

    McuOnEclipse projects and examples

    30 parts765
  • 2 layers52.1 × 46.8 mmFIRE TEST PANEL, the printed circuit board in 3D

    FIRE TEST PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    30 parts431

Questions

How big is the Curtain wiring PCB?

It measures 99.1 × 62.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Curtain wiring use?

30 parts, built around the TMC22091KHC. 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 Curtain wiring KiCad files?

From the timbleman/Window_curtain_alarm repository on GitHub, at the commit this page was made from: the board is curtain_wiring/curtain_wiring.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Curtain wiring design in my own project?

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