Вы находитесь на странице: 1из 5

International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)

IoT Enabled Home With Smart Security


Dr. M.L. Ravi Chandra1, B. Varun Kumar2, B.SureshBabu3
Dept. of ECE, Dept. of ECE, Dept. of ECE,
Srinivasa Ramanujan Institute of Technology, SRIT, SRIT,
Ananthapuramu, A.P-India Ananthapuramu, A.P-India Anantapuramu, A.P-India

Abstract— The IoT enabled with smart security system The Internet of Things is anterior to origin its presence
presents security to the home and also providing a facility to the felt. Most folks admit Smartphone’s these eras, fully a scant
user where one can continuously monitor the surrounding folks have good TVs, and most with success folks in all
parameters inside the house (like temperature, smoke and light probability understand somebody owns a sensible automotive.
intensity) and can control them by collection and exchange of
Directly, we have a tendency to assault different associated
data between the things for example switching on/off devices (like
fan and light based on these parameters). In recent days when devices in our lives- smart watches that may tell the degree
ever house is locked the break-ins number has been increased opposite calories we outburst out, cutlery that may tell the
enormously. So in order to provide security to the home this once to prevent ingestion, ovens that we will activate
presented paper is helpful. When the intruders enters into the remotely, while wrist joint bands, streetlights laundry
house, image of the intruder is captured by the system, even if machines, pills and even bridges can all become inter
intruder escapes Police need to caught the intruder to recover the connected. Internet of Things is categorically specifically
stolen things which needs the picture of the intruder to the police. changing into a reality. We will see the proof of it around the
The planned system captures the picture of the intruder and world. Our devices square measure property good on all
sends it to the authorized mail through internet over Simple Mail
occasions from latest phones to latest TV to smart automotive
Transfer Protocol (SMTP). So security to the home is provided
more effectively in the smart way of communicating the things. to smart room, everything is currently obtaining connected and
Home appliances are smartly automated to reduce the human communicated through internet. Each year, we’ll see
effort for intelligent decisions with the help of Internet Of Things a larger range of everyday devices that suddenly become
(IoT). This compact and lightweight product is designed to “smart”. In fact, it won’t be long till there square measure a lot
provide security and to control home appliances in the house by of connected devices than there square measure folks.
the owner through IoT servers. Microcontroller used here is Analysts predict that there'll be fifty billion connected “things”
Raspberry Pi3 for all processing and controlling operations. by 2020, whereas the population of the planet can climb to a
Various sensors such as LM35 a temperature sensor, Light mere 7.6 billion by 2020, in keeping with the Cisco IBSG.
Dependent Resistor, PIR sensor with a magnetic door switch,
smoke sensor are interfaced to pi General Purpose Input Output
port pins through Analog to Digital Converter module along with II. LITERATURE SURVEY
a camera and LAN connection is interfaced to the pi board.
D. Naresh proposed the “Bluetooth Based Home Automation
Keywords—Smart security sensors; Raspberry Pi3 and Security System Using ARM9” [1]. The paper proposed
Microcontroller; IoT; SMTP. that home need electrical parameters are interfaced to the
general purpose input / output ports of the microcontroller in
I. INTRODUCTION an embedded system board and their status is passed to the
ARM7 with Bluetooth device.
The Internet of Things (IoT) is the network of physical Jitendra Rana has proposed “Zigbee Based Home
objects—devices, vehicles, buildings and other items Automation” embedded system with the ZigBee wireless
embedded with electronics, software, sensors, and network network and indicated how to overcome by eliminating the
connectivity—that enables these objects to collect and complication of wiring in case of inter connected wired
exchange data. The most notable features of IoT include automation[2].
artificial intelligence, connectivity, sensors, active Md. Nasimuzzaman Chowdhury presented the “Access
engagement, and small implement use. Any device depart Control of Door and Home Security by Raspberry Pi Through
essentially be embedded with physical science, software, Internet” embedded system when it communicated with both
sensors to speak with different device is “Things”. A Thing, the interrupts of raspberry pi which take a snap shot of the
within the Internet of Things, are often an individual with a person through a camera and transmits via wifi[3].
monitor implant, microchip a placental mammal with a M.L. Ravi Chandra presented a devised protocol called Fault
microchip electronic device, Associate in nursing automobile Tolerance QoS Routing Protocol, which has capability to send
that has built in sensors to alert the driving force once tire the data with an alternative route when route break occurs.
pressure is low or the other natural or unreal object that may This protocol gives the better results than GAEEQR in terms
be allotted associate in nursing information science web based of delay, packet delivery ratio, and throughput and energy
protocol address and supplied with the flexibility to transfer consumption [4].
data over a network.

978-1-5386-1887-5/17/$31.00 ©2017 IEEE

1193
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)

Subhajit Dey “Web Based Real-Time Home Automation and connected to power supply and another lead GND is
Security System” this proposed system is an smartly connected to ground and one more lead Vout is connected to
automated way of controlling home electrical parameters via ADC module which feds the temperature sensor output to the
human involved communication as well as through smart corresponding GPIO pin of pi.
control of the entire system is provided[5]. Gas Sensor (MQ-2): The Grove-Gas detector (MQ2)
module is beneficial for gas run detection. It’s appropriate for
sleuthing H2, LPG, CH4, CO, Alcohol, Smoke
III. HARDWARE REQUIREMENT or fuel. Attributable to its high sensitivity and quick latent
period, menstruation will be taken as presently as potential.
Microcontroller (Raspberry Pi3): The Raspberry Pi is a
The sensitivity of the detector will be adjusted by
small pocket size on chip computer originated in the United
potentiometer. Gas detector 3 pins which are connected to the
Kingdom by the Raspberry Pi foundation. LINUX is the
power supply facility provide by the predefined
shrink traditions operating system and Python is the generally
pin and information pin is connected to ADC module that feds
main programming language used in pi. This raspberry pi is
digital information price to the corresponding GPIO pin of pi.
used to Transmit or receive the data into the cloud or from
ADC Module: The ADC0808 data acquisition component
sensors over wireless communication.
is a monolithic CMOS device with an 8-bit analog-to-digital
converter. This ADC module is interfaced between pi and
various analog sensors to establish communication to
exchange data from sensors to pi.
LDR (Light Dependant Resistor): A photo resistor or Light
Dependent Resistor or CdS (Cadmium Sulphide) Cell is a
resistor whose resistance decreases with increasing incident
light intensity. LDR is interfaced to pi through ADC module
to read the light data value.

IV. IOT ENABLED HOME WITH SMART SECURITY SYSTEM


IoT enabled home with smart security system is used to
capture the image of the intruder when ever he/she opens the
door and if he/she enters in to the room then the raspberry pi
sends that image to the mail and buzzer will be in the on
position to alert the neighbors. When the person opens the
door the magnetic door switch detects it by working as a reed
switch that information is fed to ADC module which converts
it into digital data that can be read as input signal through
GPIO port pin to the raspberry pi microcontroller then the pi
programmed to activate the buzzer which is connected to the
corresponding GPIO port pin.
Figure 1. Raspberry Pi3 Microcontroller
If the person is entered into the room PIR detects the
presence of human by generating an electrical signal which is
Magnetic door switch: This Magnetic Door detector is fed as an input signal to the pi and the pi will trigger a signal
basically a reed switch, sheathed in associated ABS to the camera to capture the image of the person, that image
plastic shell. Usually the reed is 'open' information will be transmitted to owners mail through
(no association between the 2 wires). The opposite is associate raspberry pi3 microcontroller which has internet accessing
degree attraction magnet. Once the magnet is a smaller capability with the help of LAN or WiFi. The sensors
amount than 13mm (0.5") away, the reed switch connected to the pi microcontroller continuously sense the
closes that indicates door is open. physical values i.e., temperature sensor senses the surrounding
PIR Sensor: It is an associate electronic detector that is temperature in the home and provides input to the ADC
employed for motion detection. Human body generates a module which converts it into digital data that is read by
infrared heat which is picked up by the motion sensor and respective connected GPIO port pin of the Raspberry Pi
outputs a 5V signal for a period of one minute to the microcontroller periodically. Similarly, humidity sensor senses
Raspberry Pi through GPIO pins and the alarm triggers and the humidity levels present in the atmosphere. LDR senses the
message need to be displayed. light intensity in home. Gas sensor senses the gas content in
Temperature Sensor (LM35): LM35 may be an exactitude the home and corresponding GPIO port pin of Raspberry pi
precision IC temperature sensor with its electrical output reads the value to the Pi. The sensed values will be are
proportional to the temperature (in °C). All of that’s work into converted into digital by ADC module which are read as the
the little package with 3 leads. One of the lead named as Vcc is input by the GPIOs port pins of the pi microcontroller. These

1194
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)

digital data values are processed and digitized in the pi will be detected is also shown in the following result
microcontroller. These digital data values are continuously screenshots figures.
transmitted to the user through IoT web server thingspeak.com The temperature sensor LM35 which detect the surrounding
account through internet by following MQTT (Message temperature and generates analog electrical signal that is fed to
Queuing Telemetry Transport) light weight messaging ADC0808 pin. Light sensor LDR which detects the
protocol. These digital values are displayed in the form of surrounding light intensity and generates analog electrical
graphs for better understanding of the home appliances signal that is fed to ADC 0808 pin, Gas sensor MQ-2 which
through these parameters. In Parallel the sensed and digitized detects the surrounding harmful gas such as LPG, smoke and
values are displayed in the monitor, along with the status of generates analog electrical signal that is fed to ADC 0808 pin,
each thing such as fan, light. The user can login into their All these sensed analog signals which are connected to ADC
account by the username and password. The sensor values are 0808 pins are converted into digital data by ADC module.
displayed in the respective fields in the form of graphs for Then these digital data is read by respective GPIO port pins of
easy visualization. Depending upon the sensor values, the pi as input data. The data which is read by GPIO port pins is
switching of ON or OFF the fan or light can be done by just processed by the desire python program which have dumped
sending the command through talkback app in in pi to display the sensed data in LCD, serial monitor as well
thingspeak.com. Hence, controlling of the things in the home as to transmit the these sensed data into IoT cloud server
from being in office or any other places is possible through thingspeak.com trough Internet following MQTT protocol as
internet with the enable of IoT. The planned system consists of shown in the below figure 3, which shows the sensed data in
connected raspberry pi3 microcontroller, with magnetic door terms of graph charts in thingspeak.com.
switch, PIR sensor, temperature sensor LM35, light sensor
LDR, gas sensor MQ-2 which are interfaced to ADC module
to pi as inputs, relays, camera, buzzer are interfaced to pi, and
LAN cable connected to pi as shown in block diagram of
figure 2.

Figure 3. Sensor readings based graphs in ThinkSpeak.com IoT server

User can have continuous monitor of all parameters from


Figure 2. Block diagram of IoT enabled home with smart security graph charts in thingspeak.com. According to the values
displayed in the website user can choose the desired action.
When all the sensor values are normal both fan and light are
V. RESULTS OFF and the action is as shown in figure 4, figure 5 which
This proposed paper is to design and provide security to show the status of the things.
our home over camera surveillance and controlling our home
appliances by IoT enable system without any human
interaction. The sensors can generates the inputs to the pi then
pi can take the action depends on the sensors.
In this section, shown how to set the talkback in
ThinkSpeak.com for controlling appliances such as light and
fan from a remote location. A pictorial view of how intruders

1195
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)

Figure 6. Setting Talkback to BOTH ON


Figure 4. Setting Talkback to BOTH OFF

Figure 5. Output when Talkback is BOTH OFF


Figure 7. Output when Talkback is BOTH ON

If the user desired to switch both the things to be in ON The PIR sensor values and magnetic door switch (reed switch)
position the corresponding talkback is as shown in below values along with temperature, LDR and smoke sensor values
figure 6 and the corresponding switching action is shown in are shown in console and continuous monitoring of area also
below figure 7. provided with the help of camera along with the figure
Similarly to switch ON the light alone or fan alone the showing a person image entered into the home by opening the
command used here is D1 ON to turn it OFF the command door which is shown in the below figure 8.
used is D1 OFF and D2 ON to turn it OFF the command used
is D2 OFF respectively.

1196
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)

References
[1] D. Naresh, B. Chakradhar, Bluetooth Based Home Automation and
Security System Using ARM9. International Journal of
Engineering Trends and Technology (IJETT) – Volume 4 Issue 9- Sep
2013.
[2] Jitendra Rana, Rajendra and Sunil N, Zigbee Based Home Automation.
at SSRN-1587245 10th April 2010.
[3] Md. Nasimuzzaman Chowdhury, Md. Shiblee Nooman, Access Control
of Door and Home Security by Raspberry Pi Through
Internet International Journal of Scientific & Engineering Research,
Volume4, Issue 1ŗǰȱber-2013 ISSN 2229-5518.
[4] M.L.Ravi Chandra, Dr. P.Chandra Sekhar Reddy, Fault Tolerance QoS
Routing Protocol for MANET, IEEE 6th International
Conference on Advanced Computing (IACC) Electronic ISBN: 978-1-
4673-8286-1, Print on Demand (PoD) ISBN: 978-1-4673-8287-8, Feb
2016.
[5] Subhajit Dey, T Kundu, Web Based Real-Time Home Automation and
security system, IJEETC ISSN 2319 – 2518 Vol. 4, No. 3, July
2015.
[6] “EMBEDDED/REAL TIME SYSTEMS” by KVKK Prasad, Dreamtech
Press, 2005.
[7] “FUNDAMENTALS OF ELECTRIC CIRCUITS” by Mathew
Figure 8: Sensor Readings on the console with human detection & capture of N.O.Sadiku, Third Edition, 2008 TMH.
image
Whenever PIR sensor detects the presence of human or
magnetic door sensor opens the captured picture is send to the
owner mail over SMTP.
Advantages:
1. Continuous monitoring is possible with the IoT.
2. Circuit complexity is less because of presence of
number on onboard ports.
3. With the help of picture of intruder one can recover
their stolen things easily.

Conclusion:
In this presented paper, security is provided to the
home in the absence of owner by sending the images of the
intruder to the owner mail over SMTP and continuous
monitoring of physical parameters in the home can be
observed in the thingspeak.com IoT web server and according
to the owner’s decision in the website fan and light can be
controlled with the help of IoT.

Future Scope:
This presented paper work can be further extended
to send the video recorded in the scene to the nearby police
station immediately to provide better security and by
measuring even more physical parameters more home
appliances can be controlled and instead of just switching on
the fan one can choose the desired temperature.

1197

Вам также может понравиться