Skip to the content
PCBKitNew board
2 layers90 × 100 mmGarage, the printed circuit board in 3D

Garage door control unit

Size
90 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
33
Pads
96
Tracks, vias
111, 2
Pours
4
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
10 Jun 2025
Updated
4 Sep 2025

Overview

Garage is an open-source printed circuit board by macdems, from the macdems/Garage repository on GitHub. It is a 2-layer board of 90 × 100 mm with 32 parts on 33 nets, routed with 111 tracks and 2 vias.

It is built around the HLK-30M12C, LM358 and LM2940T-5.0/NOPB. Its parts include 8 resistors, 4 capacitors, 4 ICs, 4 switches and 2 diodes. It belongs with the home automation and IoT boards and the ESP32 and RISC-V boards of this library.

Main components

3

README

README.md

Garage ESPHome Controller

Overview

This project provides a comprehensive solution for automating and monitoring a garage door using the ESP32-C3 Super Mini microcontroller. The controller integrates seamlessly with Home Assistant via ESPHome, enabling smart home automation and remote control.

Key Features

  • ESPHome integration for easy Home Assistant setup and monitoring
  • Current sensor for accurate detection of fully open/closed garage door states by monitoring motor current
  • External push button support for manual operation
  • 12V remote receiver compatibility (e.g., INEL ORS-X1T) for remote control
  • Compact hardware design fits standard enclosure with receiver
  • Complete KiCAD hardware design files and ready-to-use ESPHome YAML configuration

Hardware Requirements and Bill of Materials (BOM)

IDItemQuantityDescription
U1LM2940T-5.0/NOPB voltage stabilizer1Package TO-220-3, output voltage 5V
U2ACS712xLCTR-05B current sensor1For motor current measurement https://www.aliexpress.com/item/1005006830307802.html, SOIC-8 package
U3LM358 operational amplifier1Package DIP-8 W7.62mm
U4ESP32-C3 Super Mini1Main controller (recommended version with external antenna socket for optimal WiFi performance)
K1,K2Relay module JW1aFSN-DC12V1For garage door motor control
C1Capacitor 470nF1Capacitor THT: D4.3mm W1.9mm P5.00mm
C2Capacitor 22µF1Capacitor THT: D4.5mm P2.50mm
C3Capacitor 1nF1Capacitor THT: D4.3mm W1.9mm P5.00mm
C4Capacitor 22uF1Capacitor THT: D4.5mm P2.50mm
D1,D2Diode 1N41482Diode 1N4148 THT: DO-35 SOD27 P7.62mm Horizontal
HS1Heatsink1Heatsink for TO-220 https://www.aliexpress.com/item/1005006082544471.html
J1AC power connector1TerminalBlock MetzConnect: TerminalBlock MetzConnect Type101 RT01602HBWC 1x02 P5.08mm Horizontal
J2Gate connector1TerminalBlock MetzConnect: TerminalBlock MetzConnect Type101 RT01603HBWC 1x03 P5.08mm Horizontal
K1,K2Relay SPST-NO2Relay THT: Relay SPST Panasonic JW1 FormA
PS1HLK-30M12C 230V power supply1Converter ACDC: Converter ACDC Hi-Link HLK-30M12C
Q1,Q2Transistor 2N55512Package TO SOT THT: TO-92 Inline
R1,R2,R5,R6Resistors 10k4Resistor THT: R Axial DIN0207 L6.3mm D2.5mm P7.62mm Horizontal
R3,R4Resistor 68k2Resistor THT: R Axial DIN0207 L6.3mm D2.5mm P7.62mm Horizontal
R7Resistor 4k71Resistor THT: R Axial DIN0207 L6.3mm D2.5mm P7.62mm Horizontal
R8Resistor 5k61Resistor THT: R Axial DIN0207 L6.3mm D2.5mm P7.62mm Horizontal
RV110k Potentiometer1Potentiometer THT: Potentiometer Runtron RM-065 Vertical
SW1Button connector1TerminalBlock MetzConnect: TerminalBlock MetzConnect Type101 RT01602HBWC 1x02 P5.08mm Horizontal
SW2Radio remote receiver connector1TerminalBlock MetzConnect: TerminalBlock MetzConnect Type101 RT01604HBWC 1x04 P5.08mm Horizontal

Electric circuit diagram

Electric schematic

Assembly & Integration

  1. Use the provided KiCAD or Gerber files to manufacture the PCB. I recommend using JLCPCB service, which offers high quality PCB boards for only $2.
  2. Assemble the PCB using the schematic above.
  3. Install all components in the enclosure, connect 230V power and your garage doors to the terminals. Optionally, you may connect external button or radio remote receiver.
  4. Adjust the RV potentiometer such that there is 0V on R7.
  5. Flash the ESP32-C3 Super Mini with the included ESPHome configuration.
  6. Add the device to Home Assistant via ESPHome for full smart home integration.

Additional Recommendations

  • Use the ESP32-C3 Super Mini version with an external antenna socket and connect a suitable WiFi antenna.
  • Ensure all wiring and installation comply with local electrical safety standards.

License

This project is open source. Please refer to the repository for detailed license information.


For further assistance, consult the repository documentation or open an issue.

Parts

32
QtyValueFootprintReferences
410kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R5, R6
3MountingHoleMountingHole:MountingHole_3.5mmH1, H2, H3
21N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2
22N5551Package_TO_SOT_THT:TO-92_InlineQ1, Q2
268kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3, R4
2Relay_SPST-NORelay_THT:Relay_SPST_Panasonic_JW1_FormAK1, K2
110kPotentiometer_THT:Potentiometer_Runtron_RM-065_VerticalRV1
11nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC3
122uFCapacitor_THT:CP_Radial_Tantal_D4.5mm_P2.50mmC4
122µFCapacitor_THT:CP_Radial_Tantal_D4.5mm_P2.50mmC2
1470nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1
14k7Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR7
15k6Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR8
1AC L/NTerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type101_RT01602HBWC_1x02_P5.08mm_HorizontalJ1
1ACS712xLCTR-05BPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1ButtonTerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type101_RT01602HBWC_1x02_P5.08mm_HorizontalSW1
1ESP32-C3_SUPERMINI_THESP32-C3_SUPERMINI:MODULE_ESP32-C3_SUPERMINI_THU4
1GateTerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type101_RT01603HBWC_1x03_P5.08mm_HorizontalJ2
1HLK-30M12CConverter_ACDC:Converter_ACDC_Hi-Link_HLK-30MxxPS1
1HeatsinkCustom:Heatsink_T8WC_TO-220HS1
1LM2940T-5.0/NOPBPackage_TO_SOT_THT:TO-220-3_VerticalU1
1LM358Package_DIP:DIP-8_W7.62mmU3
1RadioTerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type101_RT01604HBWC_1x04_P5.08mm_HorizontalSW2

Questions

How big is the Garage PCB?

It measures 90 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Garage use?

32 parts, built around the HLK-30M12C, LM358 and LM2940T-5.0/NOPB. 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 Garage KiCad files?

From the macdems/Garage repository on GitHub, at the commit this page was made from: the board is garage.kicad_pcb and its schematic acs712-sim.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Garage design in my own project?

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

Similar boards

  • 2 layers54.6 × 52.1 mmDB supply v1, the printed circuit board in 3D

    DB supply v1

    echopen/PRJ-medtec_kit

    29 parts19
  • 2 layers132.1 × 45.7 mmIPoS, the printed circuit board in 3D

    IPoS

    peterheinrich/InternetOverSpaghetti

    Transmitting IP packages over a pair of spaghetti thus demonstrating how media independent IP really is.

    42 parts342
  • 2 layers68.8 × 53.6 mmZArduino, the printed circuit board in 3D

    ZArduino

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    46 parts269
  • 2 layers152 × 88 mmRFBitBangSMT, the printed circuit board in 3D

    RFBitBangSMT

    profdc9/RFBitBanger

    A QRP digital transceiver created from readily available parts for off-the-grid maintenance

    271 parts222
  • 2 layers118 × 103.5 mmEV Charger2, the printed circuit board in 3D

    EV Charger2

    fotherja/EV_Charger

    Arduino Uno Code for EV Charger

    62 parts167MIT
  • 2 layers113 × 62.2 mmFullScope, the printed circuit board in 3D

    FullScope

    tvlad1234/pillScopePlus

    Oscilloscope based around the STM32F401 Black Pill and a color LCD screen

    15 parts165Apache-2.0
  • 2 layers75.2 × 61.1 mmHelios, the printed circuit board in 3D

    Helios

    Grix/helios_dac

    Helios Laser DAC

    102 parts132
  • 2 layers144.1 × 182.2 mmSHVC CPU-01, the printed circuit board in 3D

    SHVC CPU-01

    starlightk7/OpenSFC

    OSHW Reproduction Parts related to the Super Famicom / Super Nintendo game console

    498 parts114CERN-OHL-S-2.0