Design of A Home Automation System Using Arduino
Design of A Home Automation System Using Arduino
Design of A Home Automation System Using Arduino
ISSN 2229-5518
795
AbstractThis paper presents a low cost and flexible home control and environmental monitoring system. It employs an embedded micro
web server in Arduino Mega 2560 microcontroller, with IP connectivity for accessing and controlling devices and appliances remotely. These
devices can be controlled through a web application or via Bluetooth Android based Smart phone app. The proposed system does not require
a dedicated server PC with respect to similar systems and offers a novel communication protocol to monitor and control the home environment
with more than just the switching functionality. To demonstrate the feasibility and effectiveness of this system, devices such as light switches,
power plug, temperature sensor, gas sensor and motion sensors have been integrated with the proposed home control system.
Index Terms Smart Home, Home Automation, Android Smartphone, Arduino, Light Dependent Resistor, Passive Infrared Sensor, Graphic
User Interface
1.0
INTRODUCTION
IJSER
1.1
IJSER 2015
http://www.ijser.org
796
IJSER
Figure 1: Block Diagram of the Smart Home System
2.0
IJSER 2015
http://www.ijser.org
IJSER
797
2.1
HARDWARE MODULE
Arduino can sense the surroundings by receivinging air, and spits out a digital signal on the data
input signal from a variety of sensors
pin (no analog input pins needed) and is
and can affect its environment via actuators [5].illustrated in figure 3. It is fairly simple to use, but
An analog temperature sensor is a chip that tellsrequires careful timing to grab data. The only real
you what the ambient temperature is. The DHT11downside of this sensor is you can only get new
is a basic, ultra low-cost digital temperature anddata from it once every 2 seconds, so when using
humidity sensor [6]. It uses a capacitive humidityour library, sensor readings can be up to 2 seconds
sensor and a thermistor to measure the surround-old.
IJSER 2015
http://www.ijser.org
798
IJSER
IJSER 2015
http://www.ijser.org
799
pliance as these devices do not draw much current.microcontroller. The Wi-Fi shield provides internet
To enable connectivity on the microcontroller, connectivity
a
for the embedded micro web server
Bluetooth module and Wi-Fi shield is used. The
which allows internet access and controls from a
Bluetooth provides connectivity via the serial I/O
web application. The circuit diagram of Home Aupins on the Arduino through which the Android
tomation System with is illustrated in figure 4.
based mobile application communicates with the
Software Module: Android application
IJSER
Figure 5: Smart phone app login page and bedroom page after login
The android application was designed using the
Google App-Inventor Integrated Development
Environment (IDE) and Java programming language. The application contains both a Bluetooth
module and a Wi-Fi module which interfaces
with the micro-controller and allows the android
smart phone to communicate with the microcontroller effectively and efficiently.
The android application allows the user to control devices and monitor conditions in the home
using the Bluetooth connection. The android application is efficient, flexible and has a user
friendly Graphic User Interface (GUI). The application has a user authentication page to verify
that the authorized user is logged in and has full
control of the home-appliances. The authenticaIJSER 2015
http://www.ijser.org
800
IJSER
Figure 6: Showing a logged in user profile.
IJSER 2015
http://www.ijser.org
801
wiring changes for installing the proposed system in pre-existing houses by creating a wireless
network within the home environment for con-
REFERENCES
1. Ajah, G, David, N, Abioye, A, Web Based Security System, Sch. J. Eng. Tech, 1(3):112-116,
2013.
2. Mahmood, S M, Abdulsattar, M, Firas, A Y;
Home Automation Management with WLAN
(802.11g) and RF Remote Control, Raf. J. of
Comp. & Maths, 6(1), 2009.
3. Aru O E ,Ihekweaba G, Opara F K, Design
Exploration of a Microcontroller Based RF
Remote Control 13amps Wall Socket, IOSRJCE, 11(1), 56-60, 2013.
4. David, N, Design of an Internet Based Security System, NIJOTECH, 29(2) 118-129, 2010.
5. Diaa, M F, Mahmood, B M, Data Acquisition
of Greenhouse Using Arduino, Journal of
Babylon University/Pure and Applied Sciences/ No.(7)/ Vol.(22), 1908-1916, 2014.
IJSER
IJSER 2015
http://www.ijser.org