Gikfun mc 38 wired door sensor magnetic switch for arduino ek1656.
Raspberrypi garage door and sensor.
This sensor essentially is a reed switch.
4 4 out of 5 stars 26.
A check with infrared light barriers or other methods would certainly be possible but in this case that is much more complicated.
4 5 out of 5 stars 125.
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.
Aleph dc 1561 w surface mount alarm magnetic contact package of 10.
Get it as soon as thu jul 9.
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.
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.
With a magnet attached to the garage door the pi relies on two magnetic reed switches to check the garage door s status.
A magnetic field will cause the reeds to come together thus completing an electrical circuit.
Wire pin 2 5v on the pi to the vcc pin on the relay.
Build a raspberry pi door window sensor with reed relais.