Professional Documents
Culture Documents
Hans Report PDF
Hans Report PDF
CERTIFICATION
This report project of LAISSIN HANS FILMFINYOYEA (1243HUIBB-TECHEE22)
“Design of Smart Home Automation and Security system using “Eta Palace
Hotel Buea” as case study”. Submitted to the department of Electrical
/Electronic Engineering of Hibmat University institute of Buea in partial
fulfillment of the requirement for the award of a degree. Done under the
supervision of:
SUPERVISOR:
HEAD OF DEPARTMENT
SIGN:………………………. DATE:…………………..
DEDICATION
This work is dedicated to the Mailong Joseph’s family.
4
ACKNOWLEDGEMENTS
My sincere gratitude to the staff of Hibmat University Institute Buea for the
knowledge impacted throughout my stay in school.
ABSTRACT
This study aims to present / illustrate that thanks to the growth of new
technologies, the effective use of natural resources can be an important factor for
the economic development of several African regions. Africa is a continent with
the lowest share of "Smart House" construction technology usage. From this
study, the minimum requirements for a "Smart House" were determined
depending on the level of income of a person in Africa. The parameters of mobile
communications for controlling the elements of a "Smart House" are presented.
An algorithm of the "Smart House" element power supply system and its various
accessories was formed. The use of a "Smart House" construction technology in
Africa will reduce financial costs, improve living conditions and increase the
population welfare. The technologies implemented will significantly reduce the
daily and monthly costs of running a home in African countries. A general
analysis of approaches to data transmission over the Internet is also presented, as
this is a very important factor in the control and security of "Smart Houses" in
remote access mode via mobile phones or computers. Of course, an indispensable
condition is the access to this digital technology.
6
TABLE OF CONTENTS
CIIRTIFICATION………………………………………………………………3
DEDICATION…………………………………………………………….……4
ACKNOWLEDGEMENTS………………………………………………….…5
ABSTRACT…………………………………………………………………….6
LIST OF FIGURES…………………………………………………………….9
CHAPTER ONE
INTRODUCTION
1.1Background…………………………………………………………..…10-12
1.2Problem statement ……………………………………………………... …12
1.3Objective of the study………………………………………..……………..13
1.4Research hypothesis…………………………………………….………….13
1.4.1 perceived automation…………………………………………………...13
1.4.2 perceived controllability………………………………………………..13
1.4.3 perceived interconnectedness…………………………………………..14
1.4.4 perceived reliability…………………………………………………….14
1.5scope of the study…………………………………………………..……...14
1.6 Definition of terms…………………………………………………………14
7
CHAPTER TWO
LITERATURE REVIEW
2.1 Conceptual frame work……………………………………...........17-18
2.2 Theoretical framework……………………………………………..19-20
CHAPTER THREE
METHODOLOGY
3.1 Conceptual framework……………………………………....…….21-23
3.2 Main components of home automation system…………………….23-25
3.3 System architecture and implementation …………………………..25-26
CHAPTER FOUR
RESULTS
………………………………….………………………...…………….27-30
CHAPTER FIVE
CONCLUSIONS,LIMITATIONS AND RECOMMENDATIONS
…………………..………………………………………………………….31
REFERENCE
8
9
CHAPTER ONE
INTRODUCTION
system can be choose from. However this smart home can be categorized into
two main categories which is local control and remotely controlled systems.
The different between local control and remotely control systems is the way
for operation. Basically, the remotely control can use internet connection by
using their electronic devices for long distance while the local control using
in-home controller with a stationary or wireless communication technology to
connect to the central hub or gateway.
1.2Objective of study
For these studies, the goal of smart homes is to improve the quality of life of
residents through automated devices, to enable them to live a safe, healthy,
comfortable life independently
Smart city: “Smart city is an ICT-enabled digital environment where all the
major services and establishments are digitalized and connected. They
work/operate together to create a safe, secure, clean & efficient planet for the
residents and guests of that city.
IoT: Stands for the internet of things. It refers to a network of physical devices,
vehicles, appliances and other objects embedded with sensors, software and
connectivity capabilities that enable them to collect and exchange data over
the internet. In simple terms, IoT involves connecting everyday objects to the
internet and enabling them to communicate and interact with each other
15
CHAPTER TWO
LITTERATURE REVIEW
Smart home refers to the integration of various technologies and devices within a
residential setting to create an intelligent and automated living environment .The
goal is to enhance, comfort , convenience ,security ,energy efficiency , and overall
quality of life for the occupants. A research review by OLUWASEYI OLAWALE
BELLO Ekiti State University 2022 summarizes the existing knowledge and
findings in the field
The idea of a smart home A special issue dedicated to ‘bringing users into
building energy performance’ may not seem like the ideal place for commenting
on smart technology. But information and communication technology (ICT) and
energy systems are altering the meaning of ‘user’ and changing the performance
of homes, and not necessarily in ways that address the policy challenge of
responding to climate change while providing or maintaining reliable, affordable
energy services. Hence the argument that follows is very much focused on users
and other actors: it advocates tightening up the language to discuss and evaluate
smart technology in buildings. There are many definitions of the smart home in
research and marketing literature, but they fall into two broad categories. As
examples, this definition focuses on a smart home as a home, and what it can do
for its occupants: [A smart home is] a residence equipped with a communications
network, linking sensors, domestic appliances, and devices, that can be remotely
monitored, accessed or controlled and which provides services that respond to the
needs of its inhabitants.
16
Smart buildings are flexibly connected and interacting with the energy system,
being able to produce, store and/or consume energy efficiently (Building
Performance Institute Europe [BPIE], Citation2017].
While one definition is home- and user-focused and the other is building- and
system-focused, what they share is the significance of communications networks
to link appliances or subsystems with each other and to enable remote access and
control along with the provision of services. That is, the level of connectedness
goes well beyond the use of ICT in smart metering, or remote control of a
television from the sofa. Thus, the BPIE report cited above contains an example
of a dozen Belgian houses, old and new, ‘equipped with a range of technologies
to provide a maximum of load-shifting potential’ with the aim of balancing the
neighbourhood network: solar photovoltaics and thermal capture, heat pumps, and
fuel cells or batteries, along with a monitoring and control system. Another
example includes homes with electric vehicles and their potential as storage
devices, especially for rooftop solar generation.
The concept of a smart home offering new services can be traced back to futuristic
display homes in 1930s’ America, developed at a time when electricity
consumption was unproblematic and presenting:
The concept remained a specialized one for some time, only able to take shape for
a mass market in the final quarter of the 20th century as computing power became
increasingly accessible and automated appliances more commonplace.
One of the last bastions of low tech is the home, and it looks very much as though
this too is about to fall in the face of the onslaught of modern technology to
create … one of the largest consumer markets ever. It is … an application whose
time has come … we shall be choosing, not to fill our houses with optic fibres or
Liquid Crystal Displays, but to acquire a whole series of aids to make domestic
life more comfortable, more efficient and more fun. (RMDP, Citation1988, p. 1)
This infantilizing and deactivating element of the smart home vision can certainly
be traced in the literature, implicitly if not explicitly, in the planned shift from
human to machine sensing and control, and the development of ‘ambient
intelligence’ that is capable of learning. As an example, De Silva, Morikawa, and
Petra (Citation2012) describe a smart home application that can detect and
recognize ‘health conditions’ of home occupants, collecting information to
support their wellbeing. Another well-known example is the ‘learning thermostat’
The growing significance of system issues strengthens the second type of smart
home narrative: not so much the home that is automated for its own sake in order
to provide comfort, convenience and fun, but the home that interacts with
electricity networks in order to provide and receive services. These exchanges can
involve storage and generation facilities in the home, but even households without
microgeneration, batteries, storage heaters or hot water tanks have a potential
resource in their demand, something which can be reduced or shifted when this
will assist network or grid management. (Darby and McKenna (Citation2012) set
out a range of possibilities for this, with and without automated response.) With
this narrative comes a more explicit recognition of the potential importance of
energy management and energy data to householders, as in this account of smart
home developments:
there is an emerging trend of a special type of smart homes which can help
occupants to reduce energy consumption of the house by monitoring and
controlling devices and rescheduling their operating time according to energy
demand and supply. (De Silva et al., Citation2012, p. 1313)
These overlapping priorities and discourses illustrate why there is an urgent need
to clarify what is meant by smart homes and what the spread of ICT into buildings
20
has not been space here to do more than touch on the question of what a home
means to those who live in it, regulate the resources that flow into or out of it, and
otherwise interact with it. But meanings of ‘home’ do connect with the potential
and actual meanings of a smart home, and with how technology is used there.
How the term ‘smart’ is operationalized in homes and how it might figure in
possible energy futures matters greatly, if sensible priorities are to adopted for
living with electricity and ICT. What is currently known about equipping a home
with a high degree of automation and networked appliances indicates that such a
home to be expected to be more, not less, environmentally damaging than a
similar but non-smart one: building performance suffers and the user fades from
view, at least temporarily. In operation, additional standby and in-use
consumption is highly likely, as occupants become distanced from the business of
using their senses and activity to achieve a pleasant living environment. As an
object for research and development, the image (mirage?) of the smart home
arguably diverts attention and resources from activities, skills, materials and
relationships that already show success in addressing ecological and social
dysfunction, well documented in the pages of this journal. The fully
smart/connected home, it seems, has little or nothing to do with end-use
efficiency, let alone demand reduction, and often seems to disappoint when it
comes to convenience and workability. The search for interoperability and for
automated homes on the grand scale, I would argue, distracts attention and
resources from more pressing issues of affordable shelter and basic energy
services. It does not offer a credible response to the wicked problem of
environmental harm arising from modern energy services, but a partial response
to problems (home security and health monitoring, for example) that may well
22
have other solutions, and may be largely illusory (the ‘problem’ of having to
switch on a light or kettle, or lower a blind).
The second part of the commentary discussed the role of smart-home technology
in the context of transition from demand- to supply-led systems, looking at some
specific technologies and at the emerging phenomenon of demand response. Here,
space- and water-heating loads along with electric vehicles are prime candidates
for ‘smarting’ because of their relative size and potential for load shifting. But
perhaps the main significance of demand response for readers of this journal is
that it extends our understanding of what a user is (does the user use the electricity
system, or vice versa? Is an appliance there for the person who bought it or for the
remote operator that switches it on and off in accordance with system
conditions?); and our understanding of what building performance is. It may even
stimulate ideas about appropriately complex but pragmatic responses to the
wicked issues posed by our reliance on electricity. Considering what is involved
in demand response nicely demystifies some aspects of smart technology,
uncovering some very ordinary combinations of people, things and processes that,
together, can enable a system to function. Developing clear, careful language with
which to talk about these combinations and their outcomes will be a necessary
part of designing and carrying out building performance evaluation.
sensors and actuators that share resources and are interconnected to each other, is
the key technology to making intelligent homes. A “smart home” is a part of the
IoT paradigm and aims to integrate home automation. Allowing objects and
devices in a home to be connected to the Internet enables users to remotely
monitor and control them . These include light switches that can be turned on and
off by using a smartphone or by voice command, thermostats that will adjust the
indoor temperatures and generate reports about energy usage, or smart irrigation
systems that will start at a specific time of a day, on a custom monthly schedule,
and thus will control water waste. Smart home solutions have become very
popular in the last years. an example of a smart home that uses different IoT-
connected utilities. One of the greatest advantages of home automation systems is
their easy management and control using different devices, including
smartphones, laptops and desktops, tablets, smart watches, or voice assistants.
Home automation systems offer a series of benefits; they add safety through
appliance and lighting control, secure the home through automated door locks,
increase awareness through security cameras, increase convenience through
temperature adjustment, save precious time, give control, and save money
Figure 1. An IoT-based smart home depicting the use of smart sensing devices
for different purposes.
24
Several home automation systems involved with IoT have been proposed by
academic researchers in the literature in the last decade. In wireless-based home
automation systems, different technologies have been used, each of them with
their pros and cons. For example, Bluetooth-based automation [is low cost, fast,
and easy to be installed, but it is limited to short distances. GSM and ZigBee are
widely used wireless technologies as well. GSM provides long-range
communication at the cost of a mobile plan of the service provider that operates
in the area. Zigbee is a wireless mesh network standard that is designed to be
low-cost and with low power consumption, targeted at battery-powered devices
in wireless control and monitoring applications. However, it has a low data speed,
low transmission, as well as low network stability, and has a high maintenance
cost. Wi-Fi technology is used in . The advantages of Wi-Fi technology over
ZigBee or Z-Wave are related to price, complexity (meaning simplicity), and
accessibility. First, Wi-Fi-enabled smart devices are usually cheap. In addition, it
is easier to find do-it-yourself devices that use Wi-Fi, resulting a less expensive
option. Second, Wi-Fi is already a necessity and it is in most homes, so it is easier
to buy devices that are already Wi-Fi-enabled. Finally, Wi-Fi is characterized by
simplicity, meaning that a user must connect only a minimal number of devices
for a home automation setup. Since it is very common, the investment on extra
hardware is avoided; a user only needs the basic setup for a home automation
system. However, Wi-Fi is not designed to create mesh networks, it consumes ten
times more energy than similar devices using ZigBee, Z-Wave, or Bluetooth for
example, and many Wi-Fi routers can only allow up to thirty devices connected
at once. As compared to Ethernet, Wi-Fi brings several advantages, including the
easy connection and access of multiple devices, the expandability (adding new
devices without the hassle of additional wiring), lower cost, or single access point
requirement. The cons include limited distance to cover (a Wi-Fi network with
25
standard equipment can be limited in range through walls and other obstructions
in a standard home), the number of devices can be limited, there is interference
and complex propagation effects, obstacles can block the Wi-Fi signal and affect
the devices connected to it, and there are connection speed (the fastest speed of
Wi-Fi is much slower than a wired network), Internet security, and privacy issues.
Low-cost, open source hardware components, such as Arduino and Raspberry Pi
microcontroller unit (MCU) boards, and a combination of sensors have been very
used in the home automation domain. Home automations using Arduino boards
are proposed in . Arduino is highly flexible, open source, not expensive, and easy
to program [19]. In addition, the existence of a large and active community of
users is a great plus. However, Arduino is not designed to handle the large
complexity that comes with advanced projects. For more advanced and real-time
projects, Raspberry Pi is a better option. Raspberry Pi is an exciting technological
development that is much cheaper than any desktop computer or mobile device
[24]. Most of the software and projects done on Raspberry Pi are open source and
are maintained by online user communities, which are always excited about new
projects. When developing software on Raspberry Pi, Python is the language of
choice, since it is relatively simple (fewer lines and less complexity) compared to
other programming languages. In addition to its low price, Raspberry Pi is energy
efficient and does not require any cooling systems. Smart home automations with
Raspberry Pi are proposed in . ESP8266 chips are low-price Wi-Fi modules that
are perfectly suited for projects in the IoT field. ESP8266 is a single core
processor that runs at 80 MHz. ESP8266 chips were used for home automations-
related projects in . A features comparison for home automation system published
in scientific papers, in the last ten years, is presented in Table 1.
26
Table 1. Features comparison for home automation system published in the last
10 years
Home
Automation Communication Controller User Interface Applications
System
[4] Bluetooth PIC mobile app control indoor
appliances
control appliances
indoor and outdoor,
[5] Bluetooth Arduino mobile app
within short
range
control appliances
[6] Bluetooth, GSM PIC mobile app indoor and
outdoor
[7] ZigBee, Ethernet Arduino MEGA mobile app control appliances
indoor
X10, Serial, EIB, ZigBee, 32-bit ARM Control panel (touch indoor automation
[8] Bluetooth, microcontroller pad), desktop based solution
controlling
humidity,
Raspberry PI, temperature,
[9] Wi-Fi, ZigBee
NodeMCU luminosity,
movement, and
current
control of indoor
appliances but not
[10] ZigBee Laptop/PC server mobile app
actually
implemented
[11] ZigBee, Wi-Fi Linux board GUI interface control HVAC
appliances
remote control of
web-based, mobile appliances (IP cams,
[12] ZigBee, Wi-Fi, Ethernet Raspberry PI
app smart
plugs)
control indoor
appliances,
[13] Wi-Fi TI-CC3200 MCU mobile app
monitor the soil
moisture
[14] Wi-Fi NodeMCU web-based control indoor
appliances
[15] Bluetooth, Wi-Fi Raspberry PI mobile app control indoor
appliances
web-based, mobile control of indoor
[16] Wi-Fi Arduino mega
app appliances
27
control of indoor
[18] Wi-Fi, IR PC server mobile app
appliances
control indoor
[19] Wi-Fi Arduino mobile app appliances, video
surveillance
control indoor
[20] Bluetooth Arduino mobile app appliances, energy
management
[21] Wi-Fi Arduino, ESP8266 mobile app control indoor
appliances
Home Automation
System Communication Controller User Interface Applications
control home
[25] Ethernet Raspberry PI web-based appliances,
surveillance
light automation and
ZigBee, Z-wave, Wi- physical intrusion
[26] Raspberry PI unspecified
Fi detection
control indoor
web-based, mobile appliances
[27] Wi-Fi NodeMCU
app (luminosity sensor,
LED, buzzer)
testing modules in a
smart home system,
related to
[28] Wi-Fi ESP8266 unspecified indoor appliances
control,
surveillance, energy
management
[29] Wi-Fi Arduino, ESP8266 mobile app control of switches
control of appliances
indoor and outdoor,
web-based, mobile safety, security,
[30] Wi-Fi Node MCU
app energy
management,
monitoring
indoor and outdoor
web-based, mobile control, energy
[31] Ethernet Galileo board
app management,
security
28
safety, monitoring
[32] GSM, Wi-Fi PC server web-based (gas, temperature, fire
sensors)
[33] GSM 8051 MCU web-based indoor and outdoor
control
control of indoor
appliances, safety,
[34] GSM Arduino web-based
energy
management
remote monitoring
ZigBee, Wi-Fi, LabVIEW PDA and control system
[35] PC
GSM/GPR Module for intelligent
buildings
[36] ZigBee PC web app power outlet control
The purpose of this paper is to present qToggle, which is a system designed and
developed for multiple home/building automations, including access control and
security, appliances control (lights, thermostats, AC, and other appliances),
irrigations, and power and energy management. This paper represents an
extension of , we proposed a building automation solution to reduce the exposure
and transmission of COVID-19 during the pandemic situation in workspaces by
avoiding touching certain objects and surfaces and for helping managing
buildings during an emergency. In this paper, we have focused on smart homes
applications, in general, not in a pandemic situation.
network are usually enough for a working qToggle setup. Most low-cost devices
for IoT usually support Wi-Fi, and most households are able to provide enough
wireless coverage with several low-cost devices. The best node and the selection
of the processor (controller) for an IoT-based home automation system are chosen
considering the necessities and the characteristics a user wants for the system.
Even if most automation systems presented in the literature use Arduino boards,
the Raspberry family are frequently used as well, since they are more potent than
the Arduino boards and have powerful computing abilities that allow the
implementation of more demanding software and algorithms. Hence, we chose
the Raspberry Pi board for the proposed system. Our system has not only a
research scope, but we intended to develop a system that can be successfully used
in practice and as well as monetized in the future. The microcontroller used for
the proposed system is the ESP8266 chip, due to its size, ultralow power
consumption, powerful on-board processing, and storage.
Most systems do not have access to the power grid or may only receive power
during a given time period. The use of solar energy reduces the energetic costs,
which is an advantage for home automation systems. Starting this year, the
qToggle system proposed in this paper will be using solar energy thanks to the
photovoltaic panels installed, so the energy consumption will not be an issue.
qToggle is built around a flexible and powerful API (we have defined the API
from the ground up), allowing various types of devices to work together. qToggle
provides a simple language for the IoT by using the JavaScript Object Notation
(JSON) data format, which is defined by RFC 7159. Turning on a light bulb
should be as easy as PATCH-ing a URL, while obtaining the temperature from a
sensor requires a simple GET request. The idea behind qToggle is to control
programmable systems having a Transmission Control Protocol/Internet Protocol
30
(TCP/IP) stack via simple HTTP requests. For example, these systems can be
single-board computers or TCP/IP-enabled microcontrollers. qToggle aims to
propose a standard that allows managing, provisioning, and communicating to
different devices. qToggle does not attempt to reinvent the wheel, but it makes
use of the existing and widely used technologies, such as RESTful APIs on the
top of HTTP, passing over data encoded as JSON.
•The firmware update over the same unique API used by all devices;
•User data do not leave the premises of the local network, a cloud connection
not being needed (for security and privacy reasons);
•The integrated web app works well on all major platforms (both desktop and
mobile):Android, iOS, Windows, Linux, or macOS.
The conceptual framework for a smart house includes several key components:
31
protocols must be secure and reliable to ensure that the systems are
functioning properly and that the homeowner's data is protected.
. Integration with Existing Systems: Smart house systems must be
integrated with existing systems and appliances in the home to ensure that
the homeowner can fully control and optimize all aspects of their home.
Conclusion: The conceptual framework for a smart house includes several key
components, including home automation systems, smart appliances, home energy
management systems, security monitoring systems, data analytics, user interfaces,
communication protocols, and integration with existing systems. By incorporating
these components into a smart house system, homeowners can enjoy a more
comfortable, convenient, and energy-efficient home. As smart house technology
continues to advance, it is likely that we will see an increasing number of homes
become smart homes, providing homeowners with greater control over their
homes and their energy usage.
The theoretical framework for a smart house is based on several key theories and
concepts, including the internet of things, home automation, energy efficiency,
human-computer interaction, cybersecurity, and system integration. By
incorporating these theories and concepts into the design and implementation of
a smart house system, homeowners can enjoy a more comfortable, convenient,
and energy-efficient home. As smart house technology continues to advance, it is
likely that we will see an increasing number of homes become smart homes,
providing homeowners with greater control over their homes and their energy
usage.
35
CHAPTER THREE
METHODOLOGY
This section describes the methodology adopted for this work including the
systematically organized different stages of the research in conjunction with the
detailed implementation features of the proposed system. In addition, it clarifies
the structural components of the proposed system and their integration to achieve
the research aim. The flowchart in Fig. 2 illustrates the research stages followed
in the present study.
The prototype of smart home is built using plywood as presented in Fig. 3. After
that, the wiring and hardware implementation is carried out. Then the
programming phase of Arduino Software is accomplished. For design
enhancement and optimization, any problem that occurs during building the
project, is identified and solved during testing phase. Some improvement is also
done to avoid the same error. Finally, the complete design of the project is
evaluated.
37
1) ARDUINO Mega as shown in Fig. 4 (a) is used as the main controller in this
project because it is inexpensive, cross-platform, simple, clear programming
environment, open source and extensible software. The electrical appliances and
the sensors are connected to the pin of Arduino Mega. The function of Arduino
board is to read the input and turn it to output, receive and transmit serial data,
trigger an interrupt on a low value, provide 8bit PWM output and more.
3 WI-FI module ESP32: Wi-Fi Module ESP32 has 8 pins which is depicted as
in the Fig. 4 (b) is connected to the Arduino Mega. This module is compatible
to 5V logic level only. ESP32 is chosen because it is low cost and high features
and that makes it an ideal module for IoT applications.
38
4 Relay board: In this project, the relay module as illustrated in Fig. 5 is also
used to provide connection between two or more points in response with the
input signal. It is connected to the fan and bulbs that acts as output. Relay are
used in many applications because of their relative simplicity, long life and
proven high reliability. The function is to protect, regulate and control the
power.
39
In addition to these three main components, several sensors and equipments are
used either to monitor or control the Smart Home such as voltage regulator,
temperature sensor, humidity sensor, PIR motion sensor, buzzer and samples for
home appliances like bulbs and fans.
. It has low (ideally zero) resistance in one direction, and high (ideally infinite)
resistance in the other.
A semiconductor diode, the most commonly used type today, is a crystalline piece
of semiconductor material with a p–n junction connected to two electrical
terminals.[4] It has an exponential current–voltage characteristic. Semiconductor
diodes were the first semiconductor electronic devices. The discovery of
41
Fig 8 diodes
Buck converters typically operate with a switching frequency range from 100 kHz
to a few MHz. A higher switching frequency allows for use of smaller inductors
and capacitors, but also increases lost efficiency to more frequent transistor
switching.
3.2.4 Transistor (BJT); A BJT uses both electrons and electron holes as charge
carriers. In contrast, a unipolar transistor such as a field effect transistor (FET),
uses only one kund of charge carrier. A bipolar transistor allows a small current
flowing between the terminals making the device capable of amplification and
switching in this context.
This paper focus on the usage of Arduino Mega microcontroller embedded with
WI-FI module ESP32 in it for controlling the home appliances. A local control
system over Wi-Fi is established based on IoT. The range of the Wi-Fi module is
43
100 meters with a frequency of 2.4 GHz A suitable Wi-Fi-based web application
is programmed and utilized because it has a user-friendly interface and it can work
efficiently with Arduino Mega to control and monitor via smart phone, desktop,
laptop, iPad and any device with a web browser or Wi-Fi compact ability. Arduino
controller is programmed to interact with the web application.. The relay board
receive its input signals from Arduino Mega through a transistor (BJT), while the
bulbs and fan which are only samples for real home appliances are connected to
the relay outputs.
This code sets up a web server that listens on port 80 for incoming HTTP requests.
The root path ("/") displays a web page with buttons to control each LED. Clicking
the buttons sends requests to turn on or off the respective LED via URLs like
/led0/on or /led1/off.
To run this code, you'll need to install the ESP32 board support package in the
Arduino IDE and select the appropriate board from the Tools menu. Then,
compile and upload the code to your ESP32.
Once uploaded, you can access the web app by entering the IP address of the
ESP32 in a web browser on your local network. The web app will allow you to
control the LEDs by clicking the buttons. The SSID is “HANS HOME
AUTOMATION” and password is “87654321”.
45
The detailed connection of the devices is displayed in Fig.8. The steps on how to
control the electrical appliances using web app are depicted in Fig. 9. Through
this procedure, the considered electrical appliances and home conditions can be
controlled and monitored via mobile phone.
start
Go to
end. your
browser
CHAPTER FOUR
RESULTS
This section presents an example to verify and validate the implementation of the
proposed HAS. The preliminary results that we obtained in this paper will be used
for further extension and enhancement this paper was managing to successfully
develop a Wi-Fi-Based Automation System for Smart Home Using Android
Mobile Phone.
Firstly, we need to connect our Android-Based smart phone with the available
Wi-Fi. Then open a web browser fill in the IP address before connect. The IP
address can be found in commend prompt in PC. Connect Web application to Wi-
Fi. Now we can control all the electrical appliances and able to monitor the
motion, temperature and humidity of the house.
The electrical appliances such as bulb and fan can be controlled and monitored
using web app which is demonstrated in Fig. 10. . The motion sensor also can
detect if there is any motion in a certain area and give alarm via buzzer, which
can be used later on in the security system or in automated the operation of lights.
Fig. 13. House prototype with electrical appliances controlled via Android
48
At the end of this stage of our project, all the electrical appliances can be
controlled by using web app as shown in Fig. 10.
This research project has proposed, designed and fabricated a low cost Wi-Fi
based Automation System for Smart Home prototype using Arduino and Android
smartphone. It enables the control all the electrical appliances such as the bulb
and fan at home easily and efficiently via WiFi. The sensor can monitor the
motion, humidity and temperature of the house. Buzzer will be ON when there is
a motion detected in the house. The Smart Home Automation System provide a
comfortable, intelligence, good security and improve the quality of life. By using
this smart home system, electric bill can be reduced because the user can control
the electrical appliances anytime without using human energy.
49
The next step of our research will be enabling the remote control of the developed
system based on IoT concept so that the user can control it using webserver even
when they are not around their house. We are going to increase the number and
variety of sensors for more safety and security in addition to provide option for
the fully-automated of home appliances. We will implement a gateway to connect
all sensors to an IoT platform and we may replace some sensors with a wireless
sensor to overcome some wiring problems. Our final product should be a compact
box which is easy to be integrated to an existing switching board of real houses
appliances via relay board and provide safer control.
50
CHAPTER FIVE
5.1 Conclusion
This research project has proposed, designed and fabricated a low cost Wi-Fi
based Automation System for Smart Home prototype using Arduino and Android
smartphone. It enables the control all the electrical appliances such as the bulb
and fan at home easily and efficiently via WiFi. The Smart Home Automation
System provide a comfortable, intelligence, good security and improve the quality
of life. By using this smart home system, electric bill can be reduced because the
user can control the electrical appliances anytime without using human energy.
The next step of our research will be enabling the remote control of the developed
system based on IoT concept so that the user can control it using webserver even
when they are not around their house. We are going to increase the number and
variety of sensors for more safety and security in addition to provide option for
the fully-automated of home appliances. We will implement a gateway to connect
all sensors to an IoT platform and we may replace some sensors with a wireless
sensor to overcome some wiring problems. Our final product should be a compact
box which is easy to be integrated to an existing switching board of real houses
appliances via relay board and provide safer control.
51
5.2 Limitations
Based on the researches that have been done, one of the main issues in most
existing HAS is their implementation and maintenance cost which is not
affordable for most users. Furthermore, some current systems provide a view of
the house from a web application( online) which is inconvenience for users, who
must access the Web each time they wish to control or view the status of their
houses [10]. In addition, some HAS lack of user friendly interfaces for monitoring
and controlling appliances. Besides, there are some limitations in the
communication technologies that have been used in the existing automation
systems. For example, the communication range of Bluetooth is limited to 10
meters. If more than 10 meters, the connection will be lost and the user not able
to control home’s appliances. Furthermore, ZigBee is designed for low rate
wireless personal area networks with data rate 250Kb/s which is insufficient data
rate. Another communication technology is GSM which can be access anywhere
in the world but it is costly and it has low data rate of transmission and limitations
in coverage for rural areas .
References
[1] Shah SK, Mahmood W. Smart home automation using IOT and its low cost
implementation. IJEM 2020;10:28-36
[2] Yar H, Imran AS, Khan ZA, Sajjad M, Kastrati Z. Towards smart home
automation using IoT-enabled edge-computing paradigm. Sensors 2021;21:4932.
[6] Patchava V, Kandala HB, Babu PR. Asmart home automation technique with
raspberry Pi using IoT. In: Proceedings of the 2015 International Conference on
Smart Sensors and Systems (IC-SSS). Bangalore, India: IEEE; 2015. p. 1-4.
[8] Jajodia AV, Das S. IoT based Simple Home Automation using Raspberry Pi.
Int J Eng Trends Technol 2017;53:124-5.
[9] Chinchansure PS, Kulkarni CV. Home automation system based on FPGA and
GSM. In: 2014 International Conference on Computer Communication and
Informatics. Coimbatore, India: IEEE; 2014 [Last accessed on 2022 Jul 05].