Build a raspberry pi door window sensor with reed relais.
Raspberry pi 2 wireless door sensor.
Low voltage labs traffic lights.
Via usb or 433 mhz or 2 4 ghz radio.
I recently received this 2 wire door detection sensor see image below.
This a reed switch based sensor 2 wire door sensor it comes normally in two types nc normal close or no normal open.
The arduino can also be operated very easily on and with the raspberry pi e g.
Getting started with the raspberry pi set up your raspberry pi and explore what it can do.
Hooking up the sensor.
Gikfun mc 38 wired door sensor magnetic switch for arduino ek1656.
Ask question asked 3 years 5 months ago.
Interfacing the pir motion sensor to the raspberry pi s input gpio.
Rock band make your own musical instruments with code blocks.
The door sensor has two wires connect 1 wire doesn t matter which to a free pin i chose pin 8 you need to refer to this pin in the code explicitly and the other to one of the ground gnd pins pin diagram here.
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.
1 16 of 217 results for raspberry pi door sensor amazon s choice for raspberry pi door sensor.
Get it as soon as fri sep 25.
The raspberry pi can also be used as a micro controller but it has a lot more functions because it runs an operating system.
Copy and paste the following code into your raspberry pi and save it as a python file.
Start up the raspberry pi and go to the desktop type.
Entry sensor monitors your door window server cabinet or catflap.
Compatible with raspberry pi a b a b pi 2 pi 3 pi 4 and pi zero wh models.
It can for example also read analog sensors.
4 3 out of 5 stars 42.
Gpio project kit for raspberry pi.
Viewed 5k times 0.
Free shipping on your first order shipped by amazon.
A true micro controller is e g.
Visit our projects site for tons of fun step by step project guides with raspberry pi html css python scratch blender.
How to connect 2 wire door sensor to raspberry pi.
Active 2 years 11 months ago.
Raspberry pi sends an email to your phone when door is opened or closed logs the event to a text file.
A check with infrared light barriers or other methods would certainly be possible but in this case that is much more complicated.
Read now we can try reading the output from the pir motion sensor.