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

2019 International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)

Domicile - An IoT Based Smart Home Automation


System
Md. Saniat Rahman Zishan Syed Ishmam Ahmad
Md. Sadad Mahamud
Dept. of Electrical and Electronic Dept. of Electrical and Electronic
Dept. of Electrical and Electronic
Enginnering Enginnering
Enginnering
American International University- American International University-
American Intenational University-
Bnagladesh Bangladesh
Bangladesh
Dhaka, Bangladesh Dhaka, Bangladesh
Dhaka, Bangladesh
saniat@aiub.edu ahmed.ishmam07@gmail.com
sadad@aiub.edu
Ahmed Rezaur Rahman Mehedi Hasan Md.Lutfur Rahman
Dept. of Electrical and Electronic Dept. of Electrical and Elctronic Dept. of Electrical and Electronic
Engineering Enginnering Enginnering
American International University- American International University- American International University-
Bangladesh Bangladesh Bangladesh
Dhaka, Bangladesh Dhaka,Bangladesh Dhaka, Bnagladesh
rrezaur72@gmail.com redoyhasan123@gmail.com md.lutfurrahmanaiub@gmail.com

Abstract— We are living in the fourth industrial revolution.


Our life is becoming more comfortable and smarter with the II. RELATED WORKS
help of rapid upgrade of technology. Internet of things (IoT) is Many researches are going on in this home automation
playing a massive role in this. One of the major sides of IoT is a
system. J. Saha with his coauthors presented a system on
smart home. As we are in the era of never-ending growth of the
internet and its application, smart home system or home
Advanced IOT Based Combined Remote Health
automation system is highly increasing to provide comfort in Monitoring, Home Automation and Alarm System where
life and improving the quality of life. In this paper, we present the authors presented a system for both remote health and
an IoT based low-cost smart home automation system. This home automation with alarm system [4]. K. GB, D. Kumar,
system is based on a web portal which controlled by an ESP32 K. Pai, Mannikandan J proposed a system called design of a
Wi-Fi module. Also, a custom-made private home web server is phoneme-based voice-controlled home automation system
developed for maintaining the current states of home where authors researched on different type of voice signals
appliances. and by using those voice signals they proposed a home
automation system [5]. A. Shinde with coauthor present a
Keywords—Home Automation, IoT, ESP32 Module, Relay
Module, Cloud Server paper on smart home automation system using IP,
Bluetooth, GSM and Android [6]. T. Chakraborty and S. K.
Datta presented a system called home automation using
I. INTRODUCTION
edge computing internet of things where they presented
We are moving towards to world of Internet. Where edge computing concept in the home automation system [7].
every physical object will be controlled and communicated Dr. V. Chayapathy; Dr. Anitha G S; Sharath B presented a
with the internet. A research shows that, Internet of Things paper IoT based home automation system by using personal
(IoT) connected devices installed base worldwide from 2015 assistant [8]. M. Al-Kuwari with his coauthor proposed a
to 2025 will be 75.44 billons [1]. With the advent of vocal system on smart home automation using IoT based Sensing
recognition software, such as Amazon Alexa, there is a large and Monitoring Platform where the authors presented a very
demand for home automation [2]. Our main goal is to
basic concept of how a home automation can be done using
develop a way to efficiently and affordably transform a pre-
IoT [9]. And many other researches have done different
existing home into a smart home. In this paper we proposed a
low cost, less power consumption IoT based system. By works on this home automation system. Also, many other
using this system, the registered person can control his/her researchers are still working on this vast field.
home appliances from anywhere anytime. Also, the
registered person can monitor his/her home electrical III. ARCHITECTURE MODEL
appliances. We created a custom-made private server for The full System is based on a microcontroller Arduino
monitoring and controlling the system. The server is UNO and a Wi-Fi module ESP32. Main controlling is done
communicated with the ESP32 Wi-Fi module. By assessing
by the microcontroller where all the data first fetched than
the server, the registered person can turn on/off his home
decode and finally Arduino execute is commented execution
appliances. And as it is a private home server it is also
secreted. The home server is created based on OSI model of cycle and the communication controlling is being done with
network architecture. As the world home automation system the Wi-Fi module ESP32. ESP32 module is directly
market is expected to grow from USD 32.11 Billion in 2015 communication with the private server and update Arduino
to USD 78.27 Billion by 2022, at a CAGR of 12.46 between if any changed or update was made by the register author.
2016 and 2022 using IoT system [3]. So, it important to feel Fig.1 shows the architecture model of the proposed system.
the change of upcoming era and make the changes. That’s Here, we just used two loads as a prototype. But, in future
why in this paper we proposed a system where user can use a system multipole number of load or home appliances can be
cost-effective smart home automation system. connected with this system as per user requirements.

978-1-5386-8014-8/19/$31.00 ©2019 IEEE

493
2019 International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)

Fig . 3 Hardware Model of the Proposed System

B. ESP32 Module:
Fig . 1 Architecture Model of the proposed system. ESP32 can perform as a complete standalone system or
as a slave device to a host MCU, reducing communication
IV. SYSTEM DESIGN stack overhead on the main application processor [12].
ESP32 is based on its main processor Tensilica Xtensa 32-
The total system is based on Arduino UNO. Wi-Fi bit LX6 with a clock frequency up to 240 MHz and
module connecting the system with the internet server. The performance up to 600 DMIPS. It’s also had Wi-Fi 802.11
data from the server is received after successful connection. b/g/n with 2.4 GHz up to 150 Mbit/s. Its internal memory is
Then the data is processed into Arduino for the future 448 KIb [13]. In this proposed system this module is
operation. Fig. 2 shows the simulation model of the system connecting Arduino with the server. Fig. 3 shows the
architecture. The full simulation is done by using Fritzing network layer model of our proposed system. Here some
[10] simulation software. home appliances are related to the microcontroller which is
working like an edge computing [14] unit. Then comes the
fog computing unit [15] which collects the small network
data and maintains the small network communication. This
communication is done here by the ESP32 module. If there
are many small network connections with the same cloud,
then more than one fog network will be performing the
individual data. Fig.4 Shows the system architecture model
where end devices are connected with the micro controlling
unit. Data in microcontroller goes to fog computing unit
Fig . 2 Simulation Model of the Proposed System where multiple microcontroller can be connected. Finally
the fog unit is connected with the cloud where multiple fog
For monitoring the room temperature and humidity the unit can be connected.
system is connected with the temperature and humidity
sensor. By using I2C data protocol the sensor data is
decoded into Arduino and future process is being done.
Also, for safety purpose of the house a gas sensor relates to
the system. If a predefined threshold level of gas sensor
value is crossed than the Arduino will provide an emergency
massage into the web server. And for testing purpose the
prototype is being developed with only two light loads. Both
the loads have been connected with two relay modules with
the system. This prototype system can control up to 10 loads Fig . 4 System Network layer model
and user can connect any load with this system which can be
controlled by the relay module. The system is running on In this system ESP32 is used for connecting the system with
5V and 2A current. the cloud. The ESP32 module reads the sensor data which is
gathered by Arduino and process in to the cloud. A private
A. Arduino UNO: cloud domain server is created for testing this system as
“domicile.com”. The domain is created with the help of
Arduino UNO is a Microcontroller Unit Board (MCB)
PHP and all the data is stored on the PHP data base. ESP32
which is based on ATmega328p chip. It has a flash memory
is working like a router and operated into the network layer
32KB of which 0.5 KB used by bootloader and SRAM of 2
of the OSI model [16]. All the data will be first converted in
KB. Also, it has 1 KB EEPROM with a clock speed of
to packet then this packets will be converted into farm and
16MHz [11]. Arduino is connecting all the sensors, loads
then finally into bits to go through internet. After entering to
and the server together. All the sensor and web data are first
the internet all the data converted from bit to packet and
fetched then decoded into Arduino. After decoding all the
finally packet to individual data. So, it follows the OSI
data, Arduino excecated its predefined conditional
reference model network layer.
operation. Turn on or off the load and updating the server
data. Fig. 3 shows the prototype hardware model.

494
2019 International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)

C. Relay Module: H. IoT Web Server:


As it already known that a relay is an electrically Testing purpose, we have created our custom-made
operated switch. The basic working principle is it can be server. The server is a private cloud domain server. The user
turned on or off based on letting current go through or not. can get all the update of his smart home from this server
By this it can turn on any load on or off. This on and off is also he/she can make all the required changes of his/her
controlling by the Arduino. We have used here 12V one house from this server. The monitoring web portal is
channel two relay modules. When any changes were made created with PHP and all the data is stored on a MySQL
in the server the data is processed by Arduino and then server. After logging into the web portal, author can register
Arduino will give a pulse to the relay module channel which ID and the user can see the real time condition of their home
will turn on or off the load. and can change the updates. Fig. 7 shows the present health
condition of a patient in the domicile web portal.
D. Gas Sensor:
We have used a MQ2 gas sensor in this system. MQ2
gas sensor is very popular sensor module to detect gas
leakage. They are sensitive to a range of gasses and are used
indoors at room temperature. The output is an analog signal
or analog voltage which can be read with an analog input of
the Arduino. If the predefined range of this analog value
crosses than Arduino will update an emergency status into
the web server through the Wi-Fi module. Fig 5 and Fig 6
show the gas sensor results in hardware and IoT web server.

Fig . 7 Private cloud domain IoT server domicile.com

V. RESULTS
Table I shows the prototype system result. Where changes in
the IoT server also make change in the hardware device.
Fig . 5 Message when gas threshold value crosses
TABLE I. IOT WEB SERVER RESULT
IoT server Preview Load Preview

Fig . 6 Web server update for emergency of gas

E. Temperature and Humanity sensor:


In this system we have used a Grove - Temperature &
Humidity Sensor (DHT11). This sensor provides a pre-
calibrated digital output. A unique capacitive sensor element
measures relative humidity and the temperature is measured
by a negative temperature coefficient (NTC) thermistor. It
has excellent reliability and long-term stability [17].

F. 16*2 LCD display:


A 16*2 LCD display have been used in this system for
showing the current condition. If any changes or update
were made from Arduino, the result of graphical change will
be shown into the display.

G. Load:
For testing the prototype, we have just connected two
loads with the system. Both the loads are 220V AC light
bulb.

495
2019 International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)

Table II shows the changed updates in the LCD display. We for a smarter life style. Here IoT plays a big role. In this
have manually increased the gas sensor value and proposed system users can change the load number
temperature sensor value to check the system. according to their requirement through the web portal. And
if the server is hosted on a public IP then the user can
TABLE II. HARDWARE RESULT PREVIEW control this server and monitor this server from anywhere in
this world. Though many future updates can further improve
LCD display Preview Real time Load Preview this proposed system. The server can be made more user
friendly. More than one house can be connected into the
server from there is possibility to monitor power
consumption of an area. Further work is still going on. We
believe that by using this Internet of Things we can create a
difference between normal life and smart life.

REFERENCES
[1] I. billions), "IoT: number of connected devices worldwide 2012-2025
| Statista", Statista, 2018. [Online]. Available: https:// www. statista.
com/statistics/471264/ iot-number-of-connected-devices-worldwide/.
[Accessed: 01- Aug- 2018].
[2] "Internet Subscribers in Bangladesh January, 2018 | BTRC",
Btrc.gov.bd, 2018. [Online]. Available: http:// www. btrc.gov.bd/
content/internet-subscribers-bangladesh-january-2018. [Accessed: 01-
Aug- 2018].
[3] 2018. [Online]. Available: http:// www. marketsandmarkets.com
/Press Releases/home-automationcontrol-systems.asp. [Accessed: 01-
Aug- 2018].
[4] "Advanced IOT based combined remote health monitoring, home
automation and alarm system - IEEE Conference Publication",
Ieeexplore.ieee.org, 2018. [Online]. Available: https: // ieeexp lore
.ieee.org/ document/8301659/. [Accessed: 01- Aug- 2018].
VI. COSTING
[5] "Design of a phoneme based voice controlled home automation
Costing for this system is very less, as we developed a system - IEEE Conference Publication", Ieeexplore.ieee.org, 2018.
model prototype. Table III shows the costing of this [Online]. Available: https://ieeexplore.ieee.org/document/8307835/.
[Accessed: 01- Aug- 2018].
prototype project.
[6] "Smart Home automation system using IR, bluetooth, GSM and
android - IEEE Conference Publication", Ieeexplore.ieee.org, 2018.
TABLE III. COST ANALYSES FOR THE PROTOTYPE SYSTEM [Online]. Available: https://ieeexplore.ieee.org/document/8313770/.
[Accessed: 01- Aug- 2018].
Name of the Equipment Quantity Cost in BDT [7] "Home automation using edge computing and Internet of Things -
Arduino UNO 1 450 IEEE Conference Publication", Ieeexplore.ieee.org, 2018. [Online].
ESP32 Module 1 650 Available: https://ieeexplore.ieee.org/document/8355544/. [Accessed:
Relay Module 2 200 01- Aug- 2018].
Light Bulb 2 400 [8] "IOT based home automation by using personal assistant - IEEE
Gas sensor 1 350 Conference Publication", Ieeexplore.ieee.org, 2018. [Online].
Temp. Sensor 1 450 Available: https://ieeexplore.ieee.org/document/8358401/. [Accessed:
LCD display 1 120 01- Aug- 2018].
Total 2620 [9] "Smart-home automation using IoT-based sensing and monitoring
platform - IEEE Conference Publication", Ieeexplore.ieee.org, 2018.
VII. ADVANTAGES [Online]. Available: https://ieeexplore.ieee.org/document/8372548/.
[Accessed: 01- Aug- 2018].
Some advantages of this device are mentioned below: - [10] "Fritzing", Fritzing.org, 2018. [Online]. Available: http:// fritzing.org/
home/. [Accessed: 01- Aug- 2018].
• Low cost smart IoT home automation solution
[11] "Arduino Uno Rev3", Store.arduino.cc, 2018. [Online]. Available:
• Power saving as it is an automated system https://store.arduino.cc/usa/arduino-uno-rev3. [Accessed: 01- Aug-
2018].
• Easy to maintain house hold loads through server [12] "ESP32 Overview | Espressif Systems", Espressif.com, 2018.
[Online]. Available: https:/ /www. espressif.com/ en/products/
• Can monitor the power consumption as the loads hardware/esp32 /overview. [Accessed: 01- Aug- 2018].
run time [13] "The Internet of Things with ESP32", Esp32.net, 2018. [Online].
Available: http://esp32.net/. [Accessed: 01- Aug- 2018].
• Gas leakage detection can monitor the safety issue [14] G. Digital and W. Computing?, "What is Edge Computing?", GE
Digital, 2018. [Online]. Available: https:// www.ge.com
• Any one from anywhere can control his/her smart /digital/blog/what-edge-computing. [Accessed: 01- Aug- 2018].
house. [15] B. Butler, "What is fog computing? Connecting the cloud to things",
Network World, 2018. [Online]. Available: https://www.
networkworld.com/article/3243111/internet-of-things/what-is-fog-
CONCLUSION computing-connecting-the-cloud-to-things.html. [Accessed: 01- Aug-
The main objective of this system is to make human 2018].
life easy and comfortable by using IoT. Now a day as people [16] "What is OSI model (Open Systems Interconnection)? - Definition
from WhatIs.com", SearchNetworking, 2018. [Online]. Available:
are so busy with their work pressure so the will be looking

496
2019 International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)

https://searchnetworking.techtarget.com/definition/OSI. [Accessed: seeedstudio.com/Grove-TempHumi-Sensor-p-


01- Aug- 2018]. 745.html?cPath=25_125. [Accessed: 01- Aug- 2018].
[17] "Grove - Temperature & Humidity Sensor ( DHT11 ) ",
Seeedstudio.com, 2018. [Online]. Available: https:// www.

497

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