Then wire pin 6 gnd to the gnd on the relay.
Raspberry pi garage door opener.
Open up your terminal and type the following commands.
All activity is monitored and logged using the raspberry pi.
The relay should be wired in the normally open position so that when activated the circuit will close and the garage door will open close.
Thought i d do something a little different today and just show a demo in the video below and write out the steps to the actual project here and on github.
Ssh pi your pi s ip address sudo rm var www index html sudo chown pi root var www exit cd desktop scp garageopener zip pi your pi s ip address var www ssh pi your pi s ip address cd var www unzip garageopener zip rm garageopener zip any os download filezilla.
It proved to anyway use the same kind of electrical setup for the command part.
Ssh pi pi s ip address sudo chown r pi root var www.
Now in filezilla log in by entering the hostname username as pi and password as raspberry.
Along the way i learnt about webiopi to check my gpio over a webpage.
With a magnet attached to the garage door the pi relies on two magnetic reed switches to check the garage door s status.
Download the filezilla in the ssh terminal write below commands.
Diy garage door opener with esp8266 module and rpi published on.
Welcome to the 13th raspberry pi tutorial.
Wire pin 2 5v on the pi to the vcc pin on the relay.
Same kind of setup but using an extra wireless remote.
I wasn t willing to kill my only remote.