Then wire pin 6 gnd to the gnd on the relay.
Raspberrypi garage door and sensor.
All activity is monitored and logged using the raspberry pi.
Get it as soon as thu jul 9.
The important piece of hardware which detect the physical world the garage door into electron signals for the raspberry pi.
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.
A check with infrared light barriers or other methods would certainly be possible but in this case that is much more complicated.
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.
Wire pin 2 5v on the pi to the vcc pin on the relay.
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.
A magnetic field will cause the reeds to come together thus completing an electrical circuit.
Amazon s choice for raspberry pi door sensor.
Gikfun mc 38 wired door sensor magnetic switch for arduino ek1656.
This sensor essentially is a reed switch.
With a magnet attached to the garage door the pi relies on two magnetic reed switches to check the garage door s status.
Build a raspberry pi door window sensor with reed relais.