Intelligent Smart Home Automation and Security System Using
Intelligent Smart Home Automation and Security System Using
net/publication/315648361
Intelligent Smart Home Automation and Security System Using Arduino and
Wi-fi
CITATIONS READS
77 19,435
6 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Nagarajan Ramalingam on 29 March 2017.
Abstract: This paper provides a low cost-effective and flexible home control and monitoring system with the aid of an integrated
micro-web server with internet protocol (IP) connectivity for access and to control of equipment and devices remotely using
Android-based smartphone app. The proposed system does not require a dedicated server PC with respect to similar systems
and offers a new communication protocol for monitoring and controlling the home environment with more than just
switching functionality. Smart home interfaces and device definitions to ensure interoperability between Wi-fi devices from
various manufacturers of electrical equipment, meters and smart energy enables products to allow manufactured. In this
project gives the intelligent operation for lamps and fans. Here the system is connected with temperature control and lamp
control. Light dependent resistor (LDR) and Temperature sensor (LM35) are the main components for this automatic control
of lamps and fans. Here the LDR is responsible for lamp control and LM35 is responsible for controlling the operation of fan.
The proposed home energy control systems design intelligent services for users and provides, The proposed system are
implemented with smartphone.
J.Chandramohan, IJECS Volume 6 Issue 3 March, 2017 Page No. 20694-20698 Page 20694
• Driver circuit Figure 2: Proposed system of home automation system
• Relay circuit
• Loads
• Wire
Software requirements
• Arduino IDE
• Fritzing compiler
• Virtual Bread board
• Android apk
J.Chandramohan, IJECS Volume 6 Issue 3 March, 2017 Page No. 20694-20698 Page 20695
outputs.PIR sensor is used to detect the presence of motion. Automatic fan and control circuit connection is shown in
The sensor readings are used to turn off the lights if there isFigure 6. In fan/AC control, the temperature values are previously
no activity and turn on the lights otherwise. In addition, thisset. During daytime, the temperature values are about 35 oC.Then the
sensor is also used for security systems to detect suspiciousmicrocontroller will receive the signal from LM35, and turns ON the
movements. If it detects any suspicious movement an alarmport, which is connected to AC/fan. During winter season
(buzzer) will sound. An LM35 is functioning as temperature temperature reduced as below 20oC.Then there is no need
monitoring. This sensor also serves as an input in order to of fan/AC. Hence the fan/AC will turn off.
execute some sockets. The socket will in on condition when
the temperature exceeds a certain limit. This condition will 5. MAIN COMPONENTS
activate a fan or Air Condition (AC) while connected to the A. Arduino controller
socket. Connection circuit between microcontroller system
In Figure 7 shows the diagram of Arduino uno controller.
with a PIR sensor and an LM35 sensor is Shown in Figure 5
Arduino is a unique Arduino board which features a WIZ
and Figure 6. Output part consists of the relays and buzzer.
net Wi-fi port, a Wi-fi socket, nRF24L01+ module
Buzzer serves as a warning alarm when there is suspicious
interface and an ATMega328. This board will add wireless
movement. Relays connected with lamps and socket [8].
ESP8266 wi-fi shield control as well as internet
A. Automatic Lamp control
connectivity to the project [10].
B. Wi-fi Shield
Wi-fi is an open global standard built on the IEEE 802.15.4
MAC/PHY. Wi-fi defines a network layer above the
802.15.4 layers to support advanced mesh routing
capabilities. The Wi-fi specification is developed by a
growing consortium of companies that make up the Wi-fi
connection circuit of arduino with PIR Sensor for lamp
Alliance. The Alliance is made up of over 300 members,
control. Here the LDR is responsible for lamp control and
including semiconductor, module, stack, and software
LM35 is responsible for controlling the operation of fan. In
developers in Figure 12. [11]. Wi-fi Series 2The difference
lamp control, LDR values are previously set. Then the between Series 1 (S1) and Series 2 (S2) is that the latter
darkness falling on the LDR due to sunset. The enhances the power output of the antenna to 2mW [11]. S2
microcontroller receives the resistance value from LDR. also enhances the data protocol of the Wi-fi module.S2 is
When the controller attains the limit, the lamp will glow, or similar to S1 in enabling simple and easy communication
otherwise it will turn off [9]. between microcontrollers and supporting point-to-point and
B. Automatic Fan and AC control point-to-multi point communication [12]. The connection
diagram of esp8266 is shown in Figure 8.
C. Power supply
J.Chandramohan, IJECS Volume 6 Issue 3 March, 2017 Page No. 20694-20698 Page 20696
Figure 11: System overview
Figure 11 shows the system overview of the home
automation system. It which includes almost everything
you need. However, since Arduino version 0018, because
of the implementation of SPI and because the Arduino Wi-
fi Shield communicates with the Arduino board through
SPI, we have to include something more. The data in the
Figure 9: Power circuit database to transfer on the same web page hosting server to
show the data that is the switching state.
D. Relay circuit The web page on hosting server can read and update data in
database. Writing the Code for the Web Client For the Web-
enabled light switch, we will create a simple Ruby on Rails
+12V
project to manage the user interface interaction first via a
1 3 web browser. We won’t spend a lot of time on the user
D3
4 X 1N4007 IC7805 +5V
interface, though; since that will ultimately be the job of the
- +
2 custom Android application we will create after the web
AC 220V
+ + interface is functionally tested.
1000MFD\50V 0.1MDF 100MFD\25V The Android app was designed to show the switch is the
BRIDGE
same as the web page on hosting server. It can also read
update data on the database by touching the "ON" or "OFF"
12V / 1A
and appears on the button as on the website. This smart
switch device, the lamp in a house controlled manually with
Figure 10: Relay board and control circuit the infrared switches detection system or wirelessly with
first part is the smart switch apparatus that is connected Android App [14].
to the existing wiring of the electrical appliances in the The android platform app
house, such as a ceiling air condition and lamp in order to
get power supply.This unitwill receive supplies from the
lives and neutral of home supply that are connected to the
power module. It is 240 VAC to convert (AC) to (DC) with
5V rectifier type DC power supply Wi-fi adapter. The
relay circuit is shown in Figure 10.
The function of the relay module as normal switch "ON"
and "OFF" will turn a lamp. An infrared detection system
consists of infrared sensor as an input, while the relay
module as starting Arduino Wi-fi adapter. The Wi-fi is a
feature-rich RF module for use on a wireless sensor
network. The IEEE 802.15.4 protocol greatly reduces the
work of the programming ensuring data communications.
The Wi-fi has many other features for use in a WSN
beyond its networking ability [13].
J.Chandramohan, IJECS Volume 6 Issue 3 March, 2017 Page No. 20694-20698 Page 20697
The Figure 12 shows Screen shots of the proposed smart "C Programming for Arduino" Julien Bayle Copyright © 2013 Packet
Publishing
home. There are several platforms for developing smart
"Programming Your Home Automate with Arduino, Android, and Your
phone applications such as Windows Mobile, Symbian, iOS Computer" Mike Riley, Copyright © 2012 The Pragmatic Programmers,
and Android. In the proposed system, the Android platform LLC.
app is developed as most of the phones and handy devices ZigBee Communication Technology in a smart Home Wireless Sensor
Network "Proceedings of Second International Conference on Modern
support Android OS. Java programming language using the Trends in Science, Engineering and Technology 2014"
Android Software Development Kit (SDK) has been used Arduino Technical specs "www.ardui no.cc/en/M ain/arduino board uno"
for the development and implementation of the smart home " Getting Started with XBee RF Modules" Version 1.0 by Martin Hebel and
app [15]-[17]. George Bricker with Daniel Harris
[15]. R.Nagarajan and M,Saravanan. “Performance Analysis of a Novel
• Remote connection (via internet) to the smart home Reduced Switch Cascaded Multilevel Inverter,” Journal of Power
micro web-server; require server real Electronics, Vol.14, No.1, pp. 48-60. 2014.
[16].R.Nagarajan and M,Saravanan “Staircase Multicarrier SPWM
• IP and user authentication. Technique for Nine Level Cascaded Inverter,” Proceedings of the
• Device control and monitoring. International Conference on Power, Energy and Control, IEEE Press,
• Scheduling tasks and setting automatic control of pp-668-675. 2013.
the smart home environment. [17]. " C Programming for Arduino" Julien Bayle Copyright © 2013
Packet-Publishing..
• Password change option.
• Supports voice activation for switching functions.
J.Chandramohan received his B.E. in Electrical
and Electronics Engineering from Bharathiyar
CLUSION University Coimbatore, India, in 2003. He
In this paper presents the new circuit topology for received his M.E. in Power Electronics and
monitoring and control the home electrical devices by using Drives from Anna University, Coimbatore,
the flexible home-based Android smart phone at a India, in 2010. He is currently working toward
his Ph.D. in Power System at Anna University
reasonable price and implemented by wireless transceiver Chennai, India. He is currently working as a
and IBOARD. The Arduino as well as using android app for Assistant Professor of Electrical and Electronics Engineering at
system control configuration. The proposed new circuit Gnanamani College of Technology, Namakkal, Tamilnadu, India.
topology is used in a quiet based web services in an Author’s
His photo
current research interest includes Power System and High
interoperable application layer for communication between Voltage Engineering.
the remote user and the home device. All Android-based
smart phone, the Wi-Fi connection is the support built; the R. Nagarajan received his B.E. in
home access device to control can use the phone, Wi-Fi, 3G Electrical and Electronics Engineering
or 4G to access the Web page on hosting server using from Madurai Kamarajar University,
Madurai, India, in 1997. He received his
Android App.
M.E. in Power Electronics and Drives from
Anna University, Chennai, India, in 2008.
REFERENCES He received his Ph.D in Electrical
Andi Adriansyah, Akhmad Wahyu Dani" Design of Small Smart Home Engineering from Anna University,
Control Systems Based on Wireless Sensor Networks and Power Line Chennai, India, in 2014. He has worked in the industry as an
Communications" 10.1109/TIE .2014 .2379586, IEEE Transactions on Electrical Engineer. He is currently working as Professor of
Industrial Electronics. Author’s photo
Electrical and Electronics Engineering at Gnanamani College
Kim Baraka, Marc Ghobril, Sami Malek, Rouwaida Kanj, Ayman
of Technology, Namakkal, Tamilnadu, India. His current
Kayssi"Low cost Arduino/Android-based Energy-Efficient Home
Automation System with Smart Task Scheduling" 2013 Fifth International
research interest includes Power Electronics, Power System,
Conference on Computational Intelligence, Communication Systems and Soft Computing Techniques and Renewable Energy Sources.
Networks.
Zhenyu Zoua, Ke-Jun Lib*, Ruzhen Lia and Shaofeng Wub " Smart Home
System Based on IPV6 and ZIGBEE Technology" Procedia Engineering 15
(2011) 1529 – 1533
Rajeev Piyare "Internet of Things: Ubiquitous Home Control and
Monitoring System using Android based Smart Phone" International
Journal of Internet of Things 2013, 2(1): 5-11 Yue Li " Design of A Key
Establishment Protocol for Smart Home Energy Management System" 2013
Fifth International Conference on Computational Intelligence,
Communication Systems and Networks.
Shiu Kumar"UBIQUITOUS SMART HOME SYSTEM USING
ANDROID APPLICATION" International Journal of Computer Networks
& Communications (IJCN C) Vol.6, No.1, January 2014 Andi Adriansyah,
Akhmad Wahyu Dani" Design of Small Smart Home System Based on
Arduino" 2014 Electrical Power, Electronics, Communications, Controls,
and Informatics Seminar IBoard datasheet by “www. iteadstudio.com "
Tech Support: [email protected]
XBee datasheet by Digi International, Inc. All rights
reserved"www.digi.com" [email protected]
Nazrul Anuar Nayan, Ili A.M. Ikhsan, Yasuhiro Takahashi " Using ZigBee
Communication Technology in a smart Home Wireless Sensor Network
"Proceedings of Second International Conference on Modern Trends in
Science, Engineering and Technology 2014"
Arduino Technical specs "www.arduino.cc/en/M ain/arduino board uno"
" Getting Started with XBee RF Modules" Version 1.0 by Martin Hebel and
George Bricker with Daniel Harris
J.Chandramohan, IJECS Volume 6 Issue 3 March, 2017 Page No. 20694-20698 Page 20698