Skip to the content
2 layers85 × 59 mmESP32-Garage Door Controller, the printed circuit board in 3D

ESP32-Garage Door Controller

mikelawrence/ESP32-Garage-Door-Controller1

ESP32 based garage door controller. There are a lot of ESPHome based garage door controller projects on the web. What makes this one unique is usined a rotary encoder to determine garage door position.

Size
85 × 59 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
40
Pads
118
Tracks, vias
102, 8
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
26 Oct 2023
Updated
8 Dec 2024

Overview

ESP32-Garage Door Controller is an open-source printed circuit board by mikelawrence, from the mikelawrence/ESP32-Garage-Door-Controller repository on GitHub, published under the MIT licence. It is a 2-layer board of 85 × 59 mm with 30 parts on 40 nets, routed with 102 tracks and 8 vias.

It is built around the 2N7002K, TPD2E2U06DRL and CPC1511Y. Its parts include 12 resistors, 4 transistors, 2 capacitors, 2 diodes and 2 connectors. It belongs with the home automation and IoT boards and the ESP32 boards of this library.

Main components

3

README

README.md

ESP32 Garage Door Controller

ESPHome based garage door controller. There are a lot of garage door controller projects on the web, what makes this one unique is the use of a rotary encoder to determine garage door position. You need a garage door opener that supports a SPST switch to operate. Some openers (I'm talking about Chamberlain models) don't have this option on the unit.

On a side note: Chamberlain recently stopped third party API access to MyQ which killed control for all sorts of home automation including Home Assistant. I realize that company's have the right to limit access and to control their ecosystem. But what Chamberlain did was close access to their API after many people bought their opener with third party access available. They also did this so that you will be forced to pay for access your garage door opener from your phone. There is no reason to buy a Chamberlain system when there are other systems that don't charge for access and have open APIs. Vote with your pocketbook and just say NO to Chamberlain Garage Door Openers!

Status

  • The Entire assembly has been attached to my Genie garage door opener for the last year and has been operating like a champ!

PCB

PCB is designed in KiCad which is a great free EDA toolset

PCB Preview

PCB Parts List

QtyReferenceValueDescriptionManufacturerPart Number
1A1Mod, Adafruit Feather ESP32 V2Adafruit5400
2C1, C21uFCap, Ceramic, 1uF, 10V, 10%, 0805KemetC0805C105K8RACTU
1D1, D2IC, High-Speed ESD Protection Device, SOT-553TITPD2E2U06DRLR
1J1Conn, USB-C Power Only, SMTGCTUSB4135-GF-A
1J2Conn, Terminal Strip, 8-Pos, 3.5 mmPhoenix Contact1843664
1Conn, Terminal Strip, 8-Pos, 3.5 mm (mate)Phoenix Contact1863217
1Q1-Q4Trans, N-Ch MOSFET, 60V, 300mA, SOT-23OnSemi2N7002K
1R1-R55.1kRes, 5.1k, 100mW, 5%, 0603YAGEORC0603JR-075K1L
1R6680Res, 680, 100mW, 5%, 0603YAGEORC0603JR-07680RL
1R7-R94.7kRes, 4.7k, 100mW, 5%, 0603YAGEORC0603JR-074K7L
1R10-R12300Res, 300, 100mW, 5%, 0603YAGEORC0603JR-07300RL
1RL1IC, Solid State Relay, 230V, 450mA, SIPIXYSCPC1511Y

3D Box

I used Autodesk Fusion 360 to design a small clamshell box. This box has holes for 10mm X 3mm round magnets which hold the box pretty securely on a metal opener. There are two version of the box. One has two holes in the lid for standard PG0 gland nuts. The other has three holes for gland nuts.

Use M2.5 brass inserts and M2.5X8mm screws to hold the PCB. Use M3 brass inserts and M3x25mm screws to screw the box halves together. I've included STEP files so that you can 3D Print your own. I've also included the Autodesk Fusion 360 file so you can modify to your heart's content.

Code

yaml
substitutions:
  name: "car-garage-door"
  friendly_name: "Car Garage Door"
  max_count: "7000"
  invert_encoder: "true"

esphome:
  name: ${name}
  friendly_name: ${friendly_name} 
  name_add_mac_suffix: false

esp32:
  board: adafruit_feather_esp32_v2
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: !secret api_key

Parts

30
QtyValueFootprintReferences
55.1KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2, R3, R4, R5
42N7002KPackage_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4
3300Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR10, R11, R12
34.7KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7, R8, R9
21uFCapacitor_SMD:C_0805_2012MetricC1, C2
2TPD2E2U06Package_TO_SOT_SMD:SOT-553D1, D2
1680Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6
1Adafruit Feather ESP32 V2Adafruit-ML:Adafruit_ESP32_Feather_V2_5400A1
1CPC1511YRelay_THT-ML:Relay_IXYS_PowerSIPRL1
1Screw_Terminal_01x08Connector_Phoenix_MC:PhoenixContact_MCV_1,5_8-G-3.5_1x08_P3.50mm_VerticalJ2
1USB C Power OnlyConnector_USB:USB_C_Receptacle_GCT_USB4135-GF-A_6P_TopMnt_HorizontalJ1

The 24 most common of 30 parts.

Similar boards

  • 2 layers80 × 90 mmWiFi Septic Controller, the printed circuit board in 3D

    WiFi Septic Controller

    mikelawrence/WiFi-Septic-Controller

    WiFi enabled Septic Controller

    104 parts8MIT
  • 2 layers66 × 51.5 mmWiFi Gate Controller, the printed circuit board in 3D

    WiFi Gate Controller

    mikelawrence/WiFi-Gate-Controller

    WiFi enabled Gate Controller Addon to US Automatic Gate Opener

    91 parts8MIT
  • 2 layers112.5 × 85.5 mmCantactpro, the printed circuit board in 3D

    Cantactpro

    humancomputerintegration/ProtoPCB

    ProtoPCB Code and Evaluation Files

    99 parts3GPL-3.0
  • 2 layers100 × 70 mmGiantKnob, the printed circuit board in 3D

    GiantKnob

    mathisschmieder/GiantKnob

    USB-Midi-Controller for SDR Radios

    109 parts2
  • 2 layers74.5 × 49 mmEEG, the printed circuit board in 3D

    EEG

    wangq22/ADS1299-BioAmp

    ADS1299 BioAmp is an 8-channel biopotential acquisition board designed for research and development of EEG, EMG, ECG, and other low-amplitude bioelectrical signals.

    76 parts2
  • 2 layers50.3 × 46.2 mmWindpup, the printed circuit board in 3D

    Windpup

    barzamin/windpup

    doggy of the valley of the wind

    39 parts1
  • 4 layers54 × 29 mmWSB Device, the printed circuit board in 3D

    WSB Device

    emaneric/Wireless-Serial-Bridge

    A battery powered ESP32 based serial bridge

    99 parts
  • 2 layers99 × 110.5 mm7001-ventilator mainboard, the printed circuit board in 3D

    7001-ventilator mainboard

    OperationAIR/electronics

    Electronics and Firmware for OperationAir ventilator

    167 partsApache-2.0

Questions

How big is the ESP32-Garage Door Controller PCB?

It measures 85 × 59 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ESP32-Garage Door Controller use?

30 parts, built around the 2N7002K, TPD2E2U06DRL and CPC1511Y. 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 ESP32-Garage Door Controller KiCad files?

From the mikelawrence/ESP32-Garage-Door-Controller repository on GitHub, at the commit this page was made from: the board is ESP32_Garage_Door_Controller.kicad_pcb and its schematic ESP32_Garage_Door_Controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP32-Garage Door Controller design in my own project?

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