Learning programming made easy.
Open a garage door with a raspberry pi.
As a programmer i like to reuse tutorials or already production level code.
The two wires from the relay connect to the garage door opener using the screw terminals used by the existing garage door opener wall button.
Connect 2 wires from each garage door opener switch.
I use a raspberry pi computer to control opening and closing of the door.
All activity is monitored and logged using the raspberry pi.
Build a raspberry pi door window sensor with reed relais.
Learn programming c javascript jquery the mean stack mongo express angular and node and excel.
The software relies on python flask and wiringpi gpio python module.
A check with infrared light barriers or other methods would certainly be possible but in this case that is much more complicated.
Raspberry pi garage door opener step 1.
Opening garage doors with a raspberry pi parts list.
The operation of the motor works as follows.
However i had a raspberry pi lying around with no use so i wanted to put it to work.
So you basically remove the battery on the remote and connect the on the battery compartment on the remote to the 3v on the pi.
Setup wifi via the command line.
This first step is to install an operating system to your rpi.
Install and optimize rasbian for our purposes.
Demo and tutorial on how to control your garage door from your phone using an esp8266 module nodemcu and raspberry pi.
This will allow us.
Now that the relay is connected to the pins it s time to setup the os and software we will use to.
In practice a simpler and cheaper device such as an ardunio microcontroller would work.
My garage door remote uses the cr2032 battery which is 3 3v and coincidentally the raspberry pi also has a 3v terminal which is right next to the 5v plug.
With a magnet attached to the garage door the pi relies on two magnetic reed switches to check the garage door s status.
The next step is to setup your wifi from the command line.
In addition to a surveillance camera and motion sensors information about open windows and doors is also of interest to a self built surveillance system.
Then wire the relay to the garage door opener.
Then wire pin 6 gnd to the gnd on the relay.
Wire pin 2 5v on the pi to the vcc pin on the relay.
The two wires from the raspberry pi go to the magnetic switch with half of the switch mounted to the center channel and the other half mounted to the carriage slide with the two sides lined up with the garage door closed.