Vous êtes sur la page 1sur 4

International Conference on Computing, Communication and Automation (ICCCA2016)

IoT Based Smart Security and Home Automation


System

Ravi Kishore Kodali, Vishal Jain, Suvadeep Bose and Lakshmi Boppana
Department of Electronics and Communications Engineering
National Institute of Technology, Warangal
AbstractInternet of Things (IoT) conceptualizes the idea of The existing infra-red (IR) or Blue-tooth remote controls
remotely connecting and monitoring real world objects (things) present in the market are in general appliance specic and
through the Internet [1]. When it comes to our house, this the same cannot be used interchangeably. Electrical appliances
concept can be aptly incorporated to make it smarter, safer and connected through Bluetooth making use of Blue-tooth enabled
automated. This IoT project focuses on building a smart wireless smart phones cannot be managed from a distant location [2].
home security system which sends alerts to the owner by using
Internet in case of any trespass and raises an alarm optionally.
Thus functions such as being able to turn on an air-conditioner
Besides, the same can also be utilized for home automation by while returning home cannot be done with such systems. In
making use of the same set of sensors . The leverage obtained by contrast, this work gives a cost effective and simple solution
prefering this system over the similar kinds of existing systems for wireless home automation and home security systems [3]
is that the alerts and the status sent by the wi connected [4]. The difculty faced by current home security/surveillance
microcontroller managed system can be received by the user on systems in providing information pertaining to the situation
his phone from any distance irrespective of whether his mobile to users while being away from home is tried to overcome
phone is connected to the internet . The microcontroller used in in this project. The subsequent sections of the paper have
the current prototype is the TI-CC3200 Launchpad board which been organized as follows: a comparative analysis between the
comes with an embedded micro-controller and an onboard Wi-Fi proposed system and the existing solutions has been provided
shield making use of which all the elctrical appliances inside the
in section II featuring the benets of the proposed system over
home can be controlled and managed.
the existing ones. Section III illustrates how the system has
KeywordsIoT, TI Wi-Fi CC3200 Launchpad, Internet. been implemented, while sections IV and V goes into greater
detail about working of the individual components present in
the system and the overall functioning. Section VI presents a
I. I NTRODUCTION owchart relating to the working of the system. Some further
modications which can be done to increase the delity and
Wireless Home security and Home automation are the dual user friendliness of the current prototype have been discussed
aspects of this project. The currently built prototype of the in section VII.
system sends alerts to the owner over voice calls using the
Internet if any sort of human movement is sensed near the
entrance of his house and raises an alarm optionally upon the II. A DVANTAGES
users discretion. The provision for sending alert messages to
concerned security personnel in case of critical situation is This low cost system with minimum requirements
also built into the system. On the other hand if the owner takes care of both home security as well as home
identies that the person entering his house is not an intruder automation
but an unexpected guest of his then instead of triggering the
This home security system does not use any smart-
security alarm, the user/owner can make arrangements such
phone application or any type of user interface instead
as opening the door, switching on various appliances inside
uses digits from the keypad on the phone, the system
the house, which are also connected and controlled by the
is platform independent and hence can be accessed
micro-controller in the system to welcome his guest. The
from a wide range of phones with different operating
same can be done when the user himself enters the room and
systems.
by virtue of the system he can make arrangements from his
doorstep such that as soon as he enters his house he can make To operate home security system the user need not
himself at full comfort without manually having to switch on have data connection enabled in his phone. The system
the electrical appliances or his favourite T.V. channel for an runs ne with the launchpad connected to wi at
example. Thus using the same set of sensors the dual problems home/ofce.
of home security and home automation can be solved on a
complementary basis. The optional smart phone application takes care of the
fact that the user may also wish to control his home
The alerts and the status of the IoT system can be accessed appliances without sensors being triggered.
by the user from anywhere even where Internet connectivity
may not be readily available (since it is not necessary for the To operate home security system the user need not
mobile phone to be connected to internet only board is required have data connection enabled in his phone. The system
to have an access to Wi-Fi). runs ne with the launchpad connected to wi at home.

ISBN: 978-1-5090-1666-2/16/$31.00 2016 IEEE 1286


International Conference on Computing, Communication and Automation (ICCCA2016)

The optional smart phone application takes care of the


fact that the user may also wish to control his home
appliances without sensors being triggered [5].
Since the launchpad sends a voice call to only a
particular number which is present in the web API
there is no need to worry about security leakage as
the system cannot be accessed by any other unauthen-
ticated user. This in turn increases the delity of the
security system.
The use of wi enabled launchpad in the system
enables the system to be controlled from any part
of the globe contrary to Blue-tooth controlled or IR
remote controlled existing home automation solutions
that too without any net connectivity in the phone.
Since the same set of motion sensors can be deployed
for home automation as well as security system the
system is simple and inexpensive.
This system does not require the user to manually
trigger an alarm but still it provides the user with Fig. 1. TI CC3200 Launchpad board
the advantage of analyzing the situation and then
triggering the security alarm remotely from his phone.
This idea overcomes the common fault in many exist- GNU Debugger (GDB) supports over Open On chip
ing home security systems which causes unnecessary debugger (OpenOCD)
embarrassment by triggering security alarm due to the Two 20-pin connectors enable compatibility with
systems inability to judge a special situation in which BoosterPacks which have added functions
it should not have triggered the alarm.
Flash memory is updated through USB using Sim-
III. I MPLEMENTATION S ETUP pleLink Programmer

A. Components required The board can be programmed through Energia IDE over
the USB cable. The accessible Wi-Fi used by the board should
1) TI CC3200 LaunchPad be proxyless and can be of WPA or WEP type.
2) AccessibleWi
3) Pir motion detector Sensor C. Setup
4) Alarm
5) Relays for connecting home appliances, electrome- The motion sensor is connected to a digital in-out pin of
chanically controlled doors or windows, Texas board. The board is powered up by external 12V battery
6) Mobile phone to recieve Voice Call or 12V adapter. The home appliances are connected to mains
7) Energia (Software) through relay which in turn is connected to another digital pin
of the board. The board is programmed to have access to the
B. TI CC3200 Launchpad local Wi-Fi. The voice call feature of the mobile phone should
be enabled.
The TI CC3200 Launchpad consists of Applications Micro-
controller, Wi-Fi Network Processor, and Power-Management IV. W ORKING O F PIR M OTION S ENSOR
subsystems. It uses ARM Cortex M4 Core Processor at 80
MHz. It has embedded memory including RAM (256 KB). The Human Beings emits thermal energy of wavelength around
dedicated ARM micro-controller also has a network processing 9-10 micro-meter everyday. Pyroelectric or Passive Infrared
subsystem in it. Its features include: Sensor (PIR) [6], [7] is an electronic device which is designed
to detect this IR wavelength when a human being is in its
USB interface using FTDI USB drivers proximity. To have a wide range for detection a simple lens is
The board is powered through USB for the LaunchPad used. Sensors may also be calibrated in such a way so as to
and external BoosterPack ignore domestic pets by setting a higher sensitivity threshold,
or by ensuring that the oor of the room remains out of focus.
It is operated from 2 AA- batteries
Standalone development platform provides features
such as sensors, LEDs and push-buttons V. W ORKING O F P ROTOTYPE

On-board antenna and U.FL connector can be selected The prototype can be used in following two ways :
using a capacitor re-work 1) As a smart security system
It supports 4 wire JTAG and 2 Wire SWD 2) As a smart home automation system

1287
International Conference on Computing, Communication and Automation (ICCCA2016)

Fig. 2. Security and Home Automation

other entrances too, motion sensor should be installed at those


places and will be controlled by a single micro-controller).

Fig. 3. PIR Motion Sensor working principle

A. As a smart security system


PIR motion sensors are installed at the entrances of a
building. These sensors as explained earlier detect the motion
of human beings. This signal which detects their presence Fig. 4. Implementation Setup
becomes the input trigger for the micro-controller. The owner,
who may or may not be present in that building, will be
receiving a voice call on his mobile phone (whose number B. As a smart home automation system
is predened in the program) stating that There is an Intruder
in the House. To turn ON the lights and alarm at house so that This application of the module can be explained by an
the intruder will be warned, the owner can press 1 from his example. Suppose the owner is expecting a guest at his house
mobile keypad. Moreover if the owner nds that his building is but he is not available there. Now, as the guests reach at his
not safe, he can send an SMS [8] to the concerned authority in house the owner will receive a video call. But now the owner
police department; explaining his situation. The module will can press digits other than 1 (such as 3 for lights, 4 for fan, 5
turn OFF the alarm and lights after a xed time delay.The for A.C., and so on) or even can disable the security system.
call will be triggered again as soon as the module detects any Similarly if the user or somebody leaves the house, the user
unexpected motion and the owner will receive the call again will still receive a video call and this time he can switch Off the
and the process continues so on.(To ensure the safety from appliances or can enable the security system again by pressing

1288
International Conference on Computing, Communication and Automation (ICCCA2016)

proper digits known to him. Since the appliances are connected [2] A. R. . C. Y. . O. K. Withanage, C., A comparison of the popular home
to mains supply through a relay they can be easily controlled automation technologies, pp. 1 11, may 2014.
using micro-controller. [3] B. R. Pavithra, D., Iot based monitoring and control system for home
automation, pp. 169 173, April 2015.
VI. F LOW C HART [4] M. J. H. B. T. A. M. K. T. Baig, M.Q., Articial intelligence, modelling
and simulation (aims), 2014 2nd international conference on, pp. 109
114, November 2014.
Start
[5] B. S. S. Tharaniya soundhari, M., Intelligent interface based speech
recognition for home automation using android application, pp. 1
11, march 2015.
[6] F. M. G. K. D. Sukmana, Husni Teja, Wireless and mobile (apwimob),
2015 ieee asia pacic conference on, pp. 183 187, august 2015.
Idle
[7] S. E. T. B. C. A. Urfaliglu, O., Signal processing, communication and
applications conference, 2008. siu 2008. ieee 16th, pp. 14, april 2008.
[8] E. A. Elkamchouchi, H., Design and prototype implementation of sms
based home automation system, pp. 162 167, november 2012.
[9] O. N. C. S. A. P. B. Sahani, M, Circuit, power and computing
technologies (iccpct), 2015 international conference on, pp. 16, March
no 2015.
Motion Detected? [10] T. Ming Zhao, Chua, Automatic face and gesture recognition, 2008.
fg 08. 8th ieee international conference on, pp. 16, September 2008.

yes

Voice call sent through Internet

Intruder there? yes

no

Press 2 to
Switch on Lights
Press 3 to Press1
Switch on Fan Alarm
Press 4 to
Switch on AC

VII. F URTHER S COPE


As the system is dependent on the users discretion and
judgeability of the situation (whether it is a guest or an intruder
entering his house) the use of a camera connected to the micro-
controller might help the user in taking decisions whether to
activate the security system or welcome the guest [9] [10].The
captured picture of the guest or intruder after face detection,
can be mailed to the user. The user can further forward the
same photograph to the police station if he wishes.Further the
system may be made more synchronised by integrating the
voice call feature within the same smart phone application
through which the user can even control his home appliances
without any voice call being triggered to his phone.

R EFERENCES
[1] M. N. N. A. Asghar, M.H., Principle application and vision in internet
of things (iot), in Communication Technologies (GCCT), 2015 Global
Conference on, may 2015.

1289

Vous aimerez peut-être aussi