Why monitor entrance to your house?
My two main reasons for this project were:- Security and control, when somebody would enter unexpectedly, I could ask somebody to go and take a look.
- Because I can. >:)
Two Arduino’s
I really like all the posibilties with Arduino’s. For this project I used two Arduino’s.Monitoring the door
One to be monitoring my door with a reed contact sensor.
Reed contact sensor
When the door is opened, the input pin goes HIGH, so my Arduino 'knows' the door is open. When closing the input goes LOW again. Let’s call this one the “Front-door Arduino”.
Connection to the internet
Because I don’t have a wired internet connection at my door, I used a second (Ethernet-)Arduino that was connected to my router. Let’s call this one the “Internet Arduino”.The Internet Arduino sends API calls to Pushover. Pushover makes it easy to send push notifications to your Android phone or iPhone.
RF-Link for wireless data communication
The front-door Arduino communicates with the Internet Arduino about the door status.For this connection I used two DFRobot APC220 Radio Communication Modules. They make a perfectly stable serial connection between both ends.
Because of this separated setup, it also enhances security. When the ’intruder’ would tamper with the Front-door Arduino, the (hidden) Internet Arduino would notice and send me a push notification to tell me that there is something wrong with the setup.
Schematic
My Setup looks like this:Pushover
As you can see, the Internet Arduino sends a message to Pushover. You can make a free account there that allows you to send and receive push notifications on your mobile phone.In your Pushover account, you’ll find a userkey. Also register an ‘Application’, this will be your Arduino sending stuff. Pushover will give you an Application API token/key as well. You need those two values (userkey and API token).
Video
This works like a charm:Source code
Do you want to build your own setup? Please let me help you with my source code:- Front door Arduino: https://gist.github.com/rogiervandenberg/48b9b08df8c29d3fe5c4
- Internet Arduino: https://gist.github.com/rogiervandenberg/7219c67f3e74e9b79cd5