Bluetooth Door Sensor Raspberry Pi
Interfacing the pir motion sensor to the raspberry pi s input gpio.
Bluetooth door sensor raspberry pi. The ds18b20 and ds18s20 represents a very simple sensor. Unlike many projects using this hardware we use ipv6 sub ghz 6lowpan communication instead of bluetooth. Hooking up the sensor. These raspberry pi sensors are addressed via the so called 1 wire bus.
Gikfun mc 38 wired door sensor magnetic switch for arduino ek1656. Build a raspberry pi door window sensor with reed relais. There are many use cases continue reading how to make raspberry pi bluetooth proximity monitor. A check with infrared light barriers or other methods would certainly be possible but in this case that is much more complicated.
The sensor outputs a digital high 5v signal when it detects a person. However these modules can not measure additional information such as humidity and or air pressure. When the bluetooth mac address is within a certain range a wemo connected device is turned on. When the magnet is less than 13mm 0 5 away the reed switch closes.
4 3 out of 5 stars 42. We use the sensortag hardware with sub ghz configuration. Low voltage labs traffic lights. Start up the raspberry pi and go to the desktop type.
Get it as soon as fri sep 25. Free shipping on your first order shipped by amazon. When the mac address leaves the area the wemo devices is turned off. 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.
The project also lets users send a command to the door thus enabling you to. In addition to using a raspberry pi the project uses two sensors to determine whether or not the garage door is open. 1 16 of 217 results for raspberry pi door sensor amazon s choice for raspberry pi door sensor. 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.
Normally the reed is open no connection between the two wires. The thingsquare system uses 6lowpan instead of bluetooth for several reasons. The door sensor consists of one sensortag and one ordinary magnet. Introduction this project uses a raspberry pi w zero to continuously monitor an area for a specific bluetooth mac address.
Copy and paste the following code into your raspberry pi and save it as a python file. An advantage is that many different 1 wire components can be connected in series and read out by a single gpio. The other half is a magnet. 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.