A wifi raspberry pi connected to a 2 channel relay connected to my actual garage door remote allows me to open and close my garage door with just a browser on my smartphone.
Rpi garage door opener web page button.
I tapped into the buttons on the wall and ran a pair of wires to the relayboard and connected them to common and normally open.
Now when you click the button again the relay will be turned off and the button text will be changed to open again.
So now i wondered if we could make this board interact with a raspberry pi so that it could be activated over the network.
I was curious if the board itself could still be activated and sure enough when i hit both pins on the board with a wire the garage door opened.
This tutorial assumes you have the gpio binding installed and have already gotten that working for other items.
Press open button to switch on the relay or to open the garage door.
After only writing software for many years in web development creating something that interacts with the real world was a special kind of excitement for me when i saw it.
Raspberry pi garage door opener by quartarian.
Raspberry pi garage door opener created by lewis callaway last updated on 2014 03 14 01 30 14 pm edt.
The goal is to hook a raspberry pi up to my garage door opener set up some sensors to determine the state of the garage door and create a web page that will control it all.
I am using a raspberry pi3b gpio pins to control a relay board which simulates someone pressing the garage door opener on the wall.
A button on a web page opens my garage door.
When the relay is triggered it closes the circuit hooked up to the garage motor and opens the garage.
No open close buttons no feedback.
I had to buy a new garage door opener remote because my old remote s button had disintegrated and no longer worked.
Where i started a simple button to command the relay.
So i got rid of the other two buttons that i never used from the camera page and added a garage door button that called a php script that opened the garage door on the click of a button.
Let me relish my small victory for a moment now that we ve cheated our way past the garage door opener next time we can work on data logging and.
As soon as you turned on the relay button text will be changed close to turn off the relay.
You can also see the state of the relay.
We will wire a very basic circuit to the pi s gpio pins and upload a website that triggers the circuit.
When you access the webserver from your browser of choice you will have a big button that triggers the garage door via a relay.
My config settings.
It was anyway very helpful to understand the concept around dedicated rpi to control a motor from a relay.