ESP32 Garage Door Smart Home Opener 3D model thumbnail

ESP32 Garage Door Smart Home Opener

by ProjectGolfIV · via Thingiverse
Format3MF
CategoryHome
LicenseCC BY-SA
UploadedMar 31, 2026
⬇ 1 downloads 👁 25 views

Description

ESP32 Smart Garage Door Controller Native garage door integration with the Google Home ecosystem using an ESP32 microcontroller and the SinricPro platform. This project supports voice commands, physical open/close state sensing, and eliminates the common logic level mismatch problem for 5V relays driven by 3.3V MCUs. Code: GitHub Features Voice Control: Full integration with Google Assistant ("Hey Google, open the garage"). Open-Drain Relay Control: A software-based solution to the logic voltage mismatch (3.3V vs 5V). It prevents the 5V relay from remaining permanently triggered without the need for external logic level shifters. Magnetic Sensor Support: Reads physical states (Open/Closed) using hardware INPUT_PULLUP to prevent floating pins. LED Status: The built-in PCB LED indicates whether the door is currently open. Hardware Requirements ESP32 Development Board (e.g., NodeMCU-32S). Step-Down Converter (e.g. LM2596S 3.2V-35V 3A) 1-Channel Relay Module (5V Coil, Low-Level Trigger). 2x Magnetic Reed Switches (e.g., KN-OC55) - optional. Wiring Diagram (Pinout) Component Component Pin ESP32 Pin Notes 5V Relay VCC OUT+ StepDown Converter GND OUT- StepDown Converter IN (Signal) GPIO 5 Control (Open-Drain) Sensor (CLOSED) Wire 1 GPIO 14 INPUT_PULLUP Wire 2 GND Sensor (OPEN) Wire 1 GPIO 12 INPUT_PULLUP Wire 2 GND Dependencies Install the following libraries via the Arduino IDE Library Manager: SinricPro (by Sinric) WebSockets (by Markus Sattler) Configuration Clone or download the SmartGarage.ino code. Register at Sinric.pro and create a new Garage Door device. Update the credentials in the code: WIFI_SSID and WIFI_PASS APP_KEY , APP_SECRET , and GARAGE_DOOR_ID Serial Monitor Commands After uploading, open the Serial Monitor at 115200 baud and send one of the commands below: W Show connected Wi-Fi network and IP address S Show SinricPro connection status SE Show reed sensors state (OPEN/CLOSED) and detection flags since boot H Show help
esp32 garage Garage Door garage door opener garage door remote garage opener smarthome

Originally published on Thingiverse