Date post: | 24-Dec-2015 |
Category: |
Documents |
Upload: | jeffery-doyle |
View: | 215 times |
Download: | 0 times |
EMAILING SECURITY SYSTEM WITH ARDUINO
Anthony FriendEastern Kentucky UniversityNetwork Security & Electronics ProgramNET 499 – Capstone
2
ARDUINO EMAILING SYSTEM
Motivation Problem Statement Assumptions Solution Results Design (top level) Video Time Future Work Q & A
MOTIVATION
The motivation behind this project was to provide clear instruction on how to install an IP camera to help people catch a burglar or home invader.
3
4
INTRODUCTION
In 2012, there were 2,100,000 burglaries in 2012. (FBI.gov)
A reported 4.7 billion dollars was lost as a result. (FBI.gov)
http://www.fbi.gov/about-us/cjis/ucr/crime-in-the-u.s/2012/crime-in-the-u.s.-2012/property-crime/burglary
5
PROBLEM STATEMENT
People need an option for a monitoring security system that will provide a relatively cheap alternative to current solutions
Provide a way to privately notify the client so he/she can take action to catch the burglar.
6
PROPOSED SOLUTION Use an Arduino microcontroller with inputs in specific
places to monitor for unauthorized changes in signal (such as a door opening).
If change is detected then the Arduino should contact the client and let them know about the change.
► The system should be customizeable towards each client.
7
ASSUMPTIONS You have a working internet connection
You have either
A router with a free LAN port OR a laptop with a free LAN port AND internet connection sharing enabled
You have an RJ45 Ethernet cable to use
You have a laptop with a USB port to program and power the Arduino
You have an email account that will accept the email
Gmail accounts are fine.
Yahoo accounts will not accept the email.
RESULTS
The key result of this project was
A functional security system which could send emails to a Gmail account controlled via local area connection (or WLAN).
The system has two inputs to monitor a door and movement as well as one master button to disarm the system.
8
9
Input Circuit Arduino Monitor Loop()
Mail Sending service without SSL
authentication (such as SMTP2Go.com)
The service sends an email to your mailbox
Does the circuit match the sending mail conditions?
No
Arduino:Begin the send mail
portion of the programYes
telent
https://learn.eku.edu/courses/1/NET499_23500_S14/groups/_48140_1//_2571764_1/AnthonyFriend_EKU_NET_Capstone2014_FinalVideo.mp4
Video Time! ~ 3:00
11
CONCLUSIONS
Great for small environments
Great stepping stone for future improvements
Easy to configure and wire
Cheap compared to other systems
FUTURE WORK
Add an alarm or a bell to scare off potential intruders
Could also wire an MP3 player to play a recorded message of you screaming “get out of here”
Add indicator LEDs to let the users know if there is an issue in sending the email
Replace the Arduino Uno to Arduino Mega in order to add more to the Arduino program.
----------------------------------------------------------------------------------------
Replace the security system inputs with an analog temperature sensor circuit and use that as an alert system at the grocery store I work at to monitor freezer temperatures.
12
13
Questions or Suggestions?
*Why use a third party service to send email, why not send mail directly to your inbox?The more popular SMTP services block unencrypted logins that the Arduinois forced to do. Because of this you have to go through a service that willaccept plain text logins.
*Since you send your account information in plain can’t someone sniff out that information and steal your account information?
It would be possible, however, someone would have to be sniffing while someone is attempting to break into your house, I think the chances ofboth of those happening at the same time is pretty low. Also the logininformation is in Base64 format which isn’t really the same thing as plain text, but is very easy to decode.
*Does this system have to be plugged into a computer to work?No, as long as you have a working internet connection through theEthernet shield and a 9V power adapter.