Build a raspberry pi door window sensor with reed relais.
Raspberry pi door open sensor.
Read now we can try reading the output from the pir motion sensor.
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.
Interfacing the pir motion sensor to the raspberry pi s input gpio.
A raspberry pi with sd card and os installed i m using the pi 3 but any model with gpio headers will do unless you fancy some extra.
Copy and paste the following code into your raspberry pi and save it as a python file.
The sensor outputs a digital high 5v signal when it detects a person.
Learning programming made easy.
The raspberry pi can also be used as a micro controller but it has a lot more functions because it runs an operating system.
It sat there staring at me and then it clicked raspberry pi door sensor.
Adafruit industries unique fun diy electronics and kits magnetic contact switch door sensor id.
375 this sensor is essentially a reed switch encased in an abs plastic shell.
The arduino can also be operated very easily on and with the raspberry pi e g.
A true micro controller is e g.
A check with infrared light barriers or other methods would certainly be possible but in this case that is much more complicated.
In addition to using a raspberry pi the project uses two sensors to determine whether or not the garage door is open.
Learn programming c javascript jquery the mean stack mongo express angular and node and excel.
I could create a small program script which monitored the open closed state of door s then serve a simplistic html page displaying their states.
The project also lets users send a command to the door thus enabling you to.
The other half is a magnet.
Via usb or 433 mhz or 2 4 ghz radio.
Sunfounder raspberry pi 3 model b 37 modules sensor kit v2 0 for rpi 4b 3 b 2b a zero raspberry pi board included 4 4 out of 5 stars 141 135 99 135.
Low voltage labs traffic lights.
This instructable explains how i setup a raspberry pi to open my garage door using a smarthphone.
Raspberry pi garage door opener.
Each toilet at our office is a single room with its own locking door.
While this has been done before i thought i d post my solution.
It can for example also read analog sensors.
This was my first hardware project and instructable ever and i m sure.