Home security is becoming increasingly important in society today. Especially in densely populated cities trespassing and theft are problems that many people have to deal with for which they may not have a good solution. Our team created an IOT device that detects motion at your front door (or wherever you place the detector) and wirelessly alerts the user from several places inside your home using LEDs. This system setup can be used as an affordable first step in a home security system. This system consists of three Particle Argons, a PIR motion sensor, and three LEDs.
MotionDetectorandAlertSystemSetup
The security system was set up using three Particle Argons. The first Argon was connected to the PIR motion detector via a breadboard. Additionally, it had an LED attached to it so indicate to the user when that specific module was detecting motion. When motion is detected, the voltage output received through the sensor changes. The Argon then publishes this on the cloud in Google Sheets as a motion event. The app, IFTTT, was used to communicate between the Particle devices and Google Sheets. The secondary Argon units are set up as motion indicators. Each of these devices connects to the cloud and monitors any new events published by the motion detector module. If it detects motion the Argon sends voltage through pin D7 on the board which powers the LED. Below are some images of our set up.
DataCollectionandIFTTT
Utilizing the app IFTTT allowed us to collect data from the Argon security system. Each time an event occurred it published an entry in Google Sheets which gave the exact date and time, and a '0' for each time an event was triggered. This data could be extracted and plotted. The below chart shows the amount of traffic seen by the motion detector over a few minutes.
This kind of data could be collected over a longer period and used to determine how much traffic comes to your front door. Below is a link to the Google Sheets spreadsheet for this project.
https://docs.google.com/spreadsheets/d/1tHxFQZnK14oug63-1yIGg9XIoaB7t-JXTrugLsxAdww/edit#gid=0
TestingMethod
The system was tested by concealing the motion detector in a cardboard box outside the front door of an apartment. It was left to gather data for several minutes. This helped to determine if the system could handle the door being opened several times in the same minute. As can be seen in the data collected above, the system can record multiple events in the same minute. Our team then simulated someone breaking and entering into the apartment. The LEDs on the indicator modules lit up appropriately when the apartment was entered. Below is an image of what the Google Sheets file looked like after several minutes.
DemonstrationVideo
Comments