Get it as soon as thu jul 9.
Raspberrypi garage door and sensor.
4 5 out of 5 stars 125.
A magnetic field will cause the reeds to come together thus completing an electrical circuit.
This sensor essentially is a reed switch.
Aleph dc 1561 w surface mount alarm magnetic contact package of 10.
Then wire pin 6 gnd to the gnd on the relay.
The important piece of hardware which detect the physical world the garage door into electron signals for the raspberry pi.
Build a raspberry pi door window sensor with reed relais.
In the picture the wires are not connected normally but when the other white component which is a magnetic comes near 0 5 inch away the reed switch closes.
Gikfun mc 38 wired door sensor magnetic switch for arduino ek1656.
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.
4 4 out of 5 stars 26.
All activity is monitored and logged using the raspberry pi.
Then wire the relay to the garage door opener.
Wire pin 2 5v on the pi to the vcc pin on the relay.
A check with infrared light barriers or other methods would certainly be possible but in this case that is much more complicated.