Professional Documents
Culture Documents
Department of Electrical Power Engineering, Defence Services Technological Academy, Pyin Oo Lwin, Myanmar
1
Thantsinaung11@gmail.com
2
aungwinhtut@gmail.com
3
phoepyae.hha@gmail.com
Abstract — A smart home automated system is designed by of software in MCU solutions has increased during the past
developing related software for mobile phone and few years, for MCUs supporting the IoT, even more
implementing hardware. The paper proposes an software, tools and enablement will be needed. [4] A broad
implementation of IoT (Internet of Things) based smart home
ecosystem with easily accessible support is the key to
automated system to remotely control the home appliances
enable the development of embedded processing nodes and
using Wi-Fi and Bluetooth. A low cost Wi-Fi module
ESP8266, HC-05 Bluetooth Module and Arduino are used to IoT applications. [5]
build Smart Units. The user can remotely operate home II. SYSTEM OVERVIEW
appliances like lights, fan, door lock etc. The lights in any In this section an elaborated design of proposed home
room can be controlled from any place in the house, within the
automation system and the components used in it is
Wi-Fi and Bluetooth range. So the concept of IoT is being
used to make home smarter.
presented.
A. System Architecture
Keywords - Home automation, Internet of things, Wi-Fi
module, Smart home, Bluetooth In this work we will design a system which is based
on Home automated system using internet of things
I. INTRODUCTION concept. Here for communication point of view we are
Internet of Things (IoT) is extension of current internet using Wi-Fi module Esp8266 and Bluetooth module HC-
to provide communication, connection, and 05. Basically we are using TCP protocols for
internetworking between various devices or physical communicating with Wi-Fi devices.
objects also known as "Things". IoT term represents a B. System Components
general concept for the ability of network devices to sense
1) Wi-Fi Module: The ESP8266 is used as Wi-Fi
and collect data from the world around us, and then share
module that allows microcontrollers access to a network.
that data across the Internet where it can be processed and
It is a self-contained SOC (System on a Chip) that doesn’t
utilized for various interesting purposes. The Internet of
necessarily need a microcontroller to manipulate inputs
things can be defined as connecting the various types of
and outputs as you would normally do with an Arduino, for
objects like smart phones, personal computer and tablets to
example, because the ESP-01 acts as a small computer.
internet, which brings in new and useful type of
Depending on the version of the ESP8266, it is possible to
communication between things and people and also
have up to 9 GPIOs (General Purpose Input Output). Thus,
between things [2]. With the introduction of IoT, the
we can give a microcontroller internet access like the Wi-Fi
research and development of home automation are
shield does to the Arduino, or we can simply program the
becoming popular in the recent days. Home automation
ESP8266 to not only have access to a Wi-Fi network,
system represents and reports the status of the connected
but to act as a microcontroller as well. This makes the
devices in an intuitive, user-friendly interface allowing the
ESP8266 very versatile, and it can save you some money
user to interact and control various devices with the touch
and space in your projects.
of a few buttons. Some of the major communication
technologies used by today’s home automation system
include Bluetooth, Wi-MAX and Wireless LAN (Wi-Fi),
ZigBee, and Global System for Mobile Communication
(GSM) [3].Here we are using Wi-Fi and Bluetooth. It offers
the user complete access control of the appliances through
a remote interface. Automation is the use of control
systems and information technology to control equipment,
industrial machinery and processes, reducing the need for
the human intervention [4].
The wide variety of potential IoT applications need a
software development environment that ties together the
applications, the command, control and routing process and
the security of the node and system. While the importance
Fig. 2 Wi-Fi Module (ESP8266 ESP01)
Fig.7 DHT22
Fig.11 RFID-RC522
Fig.17 Interfacing DHT-22 and Bluetooth with Arduino Uno
To connect the ESP8266, following instructions must be
followed
VCC will be connected to the 3.3V power supply
GPIO0 and GPIO2 are general purpose digital
ports. GPIO0 also controls the module mode
(programming or normal operation).
Rx: Goes to Arduino pin 11 (But needs a voltage
adjusting)
CH_PD: Chip enables. Keep it on high (3.3V)
Fig.13 Interfacing DHT22 with UNO with 10kOhm pull up resistor.
After interfacing sensors and Wi-Fi module with Arduino RST: Reset. Keep it on high (3.3V) with 10kOhm
pro mini, we will connect buzzer and LEDs as an individual pull up resistor for normal operation. Put it on 0V to
room lights with Arduino pro mini. So here our hardware part reset the chip.
is finish. In below figure full hardware interfacing is shown: GND is ground.
Tx: Goes to Arduino pin10
C. Software Design
First download the Arduino software IDE from
Arduino official website. After downloading the software,
install it in your system. Here we will write the code for the
home automated system.
Once the Arduino IDE is installed, open the program
to get it ready to program ESP8266 devices. Under File,
Preferences, and Additional Boards Manager URLs, add widely used for home automation. In this paper a remotely
this link: operated mobile phone controlled home appliances system
http://arduino.esp8266.com/stable/package_esp8266com_i is proposed.
ndex.json
To control lamp, fan, air-con, pump motor, etc., an
This will allow the Arduino IDE to manage ESP8266
compatible boards. android APK can be used. To create a control app for home
To connect ESP8266 to home Wi-Fi network, SSID appliances, MIT app inventor is used to develop. The
and password for router must be supplied. The following following pictures are screen shots of APK development
two line of code set the SSID and password to join the main process.
router.
ACKNOWLEDGEMENTS
Fig.20 Viewing data from IoT cloud Server The authors would like to express their thanks to Col.
C. Control from Mobile Phone Myo Thein Kyaw, Director of studies, D.S.T.A for his
Nowadays mobile phone has become a part of our valuable contribution and also thank you all for helping us
daily life. Due to low cost of mobile phones, they are achieve one of the major goals in our lives.
REFERENCES