Embedded Home Security System: Design, Implementations, and Overview
Embedded Home Security System: Design, Implementations, and Overview
Abstract—An exploration of feasible and practical options to into our prototype it is still something that we wish to
instantiate an integrated home security system with viable implement on our own at some point in the future. We also
communication options. would have liked to have had user control over which sensors
the system monitored. A keypad would have been beneficial in
Keywords-component; home-security, arduino, motion sensor, all removing the computer requirement, but our concern was
remote monitoring. that people have difficulties setting their thermostat and our
system obviously would have more functions. We designed a
I. MOTIVATIONS AND LIMITATIONS GUI on the computer to allow the user easy access to system
Unfortunately during tough economic times the burglary details. This also benefited the system by allowing remote
rates tend to increase. While one would like to believe that our access using Remote Desktop Connection for example.
homes are sanctuaries and that nothing bad could happen to us;
that’s simply not how the world works. We wanted to provide III. PROTOTYPE
an affordable system to deter a would-be intruder. In order to We wanted to have a working model that we could show, it
achieve this there are a few steps. First the perpetrator must be needed to be portable, and needed to operate in the same
aware that there is a system in place, second there must be overall fashion as the final product we hope to have at some
some alert to inform the home owner to allow them to make a point.
decision about the situation. Finally there must be a recording
device to track what has happened, this can later be used to aid The components we used in our prototype are as follows:
police efforts to locate the valuables you undoubtedly wish to
recover. While it may seem like there are already a slew of A. Arduino Mega
options in the field of security systems we realized how often The Arduino Mega is the driver behind our entire project,
these systems were absurdly expensive either having extreme not only does it receive and interpret signals from our sensor
hook-up fees or forcing the owner into a monthly contract devices, but it also allowed us to run the program entirely on it
which becomes very expensive with time. We want to (lacking the benefits of the GUI and inexpensive cameras of
implement a system that is both inexpensive and a onetime cost course). Our reasoning for picking the Mega was that we knew
and feel there is a real market for a solution such as ours. One for our prototype it would supply ample configurability and we
final motivation was that Eric’s mother had mentioned it would would not have to be concerned with running out of
be something she would be interested in. A limitation of this connectors. This microcontroller uses 3.3V and 5V to power
system that some may consider paranoid is our decision to have its related devices and is itself powered either by USB 500mA
all the components directly related to security to be strictly or can be powered via an external source up to 12V. We
wired. The reasoning for this is that there are options out there decided to power using USB partially due to convenience and
to scramble a large array of channels and using wireless for also the added benefit of limiting harm done to the system by
cameras for instance could be disrupted if someone were any mistakes we could potentially make in connections. The
running a Linux flashed wireless N router broadcasting freely. Mega is affordable at roughly sixty dollars.
C. Parallax PIR
This sensor is your typical passive infrared device. It
detects motion at a distance of about 20 feet. This unit is
relatively simple and has two output modes to choose from.
We chose to use the high signal when motion was present.
These have a retail cost of about ten dollars. We decided to use
two to show the sensors picking up different sides of the room.
F. Buzzer
We used a basic 3V buzzer to be used to give an audible
Parallax PIR response to the user without requiring them to use the GUI on
the computer. Predominantly for allowing the user to know
D. Normally Closed Magnetic Switch when the alarm is being armed or disarmed and giving an
This very simple object is a key component in almost every audible alert with a timer before setting the alarm to give the
home security system found. Essentially while the door or user time to lock the facility if they are leaving. This item can
window that you are monitoring is closed the current will flow be found at your local electronics store for under five dollars
through the switch. If however one opens the window or door
the current will stop and we can act appropriately. The range
on prices is quite large anywhere from two dollars to ten G. Cameras
dollars with shipping and order quantity tending to be the For our prototype we opted to go with webcams while these
limitations. do not support the final goals of our project they do make it
extremely viable as a cheap alternative. To get a real camera
system that was able to record the way we wanted would have
been at a minimum of one-hundred dollars. We used a
thirteen dollar webcam and a webcam that was borrowed in
order to implement two control styles. In total we spent
thirteen dollars on our webcam.
Hardware Diagram
to find the resolution of the monitor that the application was VI. CODING
being displayed on and set the startup position based on that
information. Another cosmetic idea is that we are able to use Writing the code for this project was an interesting
any picture file that we would like to be our task icon and that experience and something that we could have improved
we could potentially create a logo and use it there. upon especially given our experience as Computer Science
majors. First we will talk about our Java programming
that was done for this project. We picked Java for its
cross-platform capabilities and also because it was a
familiar language with tools that we could use to debug
issues that arose.
A. Java Coding
B. Arduino Coding