Raspberry pi sends an email to your phone when door is opened or closed logs the event to a text file.
Wireless magnetic door sensor raspberry pi.
4 3 out of 5 stars 42.
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.
Link to blog article.
Build a raspberry pi door window sensor with reed relais.
The ds18b20 and ds18s20 represents a very simple sensor.
Gpio project kit for raspberry pi.
Capture images from your raspberry pi camera module.
With just a few components you can easily make a diy home alarm system for your doors and windows.
Entry sensor monitors your door window server cabinet or catflap.
An advantage is that many different 1 wire components can be connected in series and read out by a single gpio.
Hooking up the sensor.
It does not matter which of the two cables of the magnetic switch is connected to the base of the transistor.
Start up the raspberry pi and go to the desktop type.
If you have a first or second generation raspberry pi then you will need to procure a wireless dongle that is supported by the raspberry pi and install the.
These raspberry pi sensors are addressed via the so called 1 wire bus.
A fun iot maker project tutorial using a raspberry pi python and some adafruit magnetic door sensors.
The free end should be attached to the window door and the one with cable best to the fixed door window frame.
Just be aware that the built in wireless card of the raspberry pi 3 only supports the 2 4ghz band so if your network is dual band you won t be able to monitor the 5 0ghz spectrum.
1 16 of 217 results for raspberry pi door sensor amazon s choice for raspberry pi door sensor.
Yoohey mc 38 surface mount wired nc door sensor alarm magnetic reed switch 5pcs.
Compatible with raspberry pi a b a b pi 2 pi 3 pi 4 and pi zero wh models.
The raspberry pi with the receiver within the range listens for the incoming signal from the sensor.
Once the signal is detected the raspberry pi will send the odata http post request to the hana server.
However these modules can not measure additional information such as humidity and or air pressure.