Making a Raspberry Pi Garage Door Opener




A few years back I built a neat project I found online. It was originally designed by Andrew Shillday. You can find the code here. I decided that a Raspberry Pi Zero was sufficient, so I had to modify the pins used, but otherwise it was a fairly easy project.

The way it works is pretty simple. The Raspberry Pi Zero runs a simple server with an API endpoint. The mobile app connects to the API, authenticates and makes API calls to the configured endpoints. Since I have 2 garage doors, I configured the server for both independently. After I assembled the unit and wired it, I decided to expand upon it by creating a Grafana visualization to view two timelines - one for each door.

I used a small USB wifi dongle for connectivity as I don’t have a Pi Zero “W” model.

Here are the pictures:

"My Garage" Mobile App
Wiring Diagram

Wiring the Pi Zero to the Relay Module

Wiring the Pi Zero to the Relay Module

Relay Module

Pi Zero and Relay Module

Garage Door Opener pre-Installation

Garage Door Opener 1 pre-Installation

Garage Door Opener 2 pre-Installation

Pi Zero, Relay Module and Case

Pi Zero, Relay Module and Case

Pilot holes drilled in the case

Pilot holes drilled in the case

Screw terminals on case

Screw terminals on case

Finished case

Finished case

Installing the Pi Zero and Relay Module in the Case

Pi Zero and relay board in the case

Temporarily connected to door opener

The Workspace

All wired up

The final product
Author

Chris Bergeron

Posted on

06-05-2021

Updated on

08-06-2021

Licensed under

Comments