Professional Documents
Culture Documents
net/publication/354702328
CITATION READS
1 104
8 authors, including:
Afolabi Idris
Federal University Ndufu Alike Ikwo
3 PUBLICATIONS 2 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Henry Okemiri on 20 September 2021.
H.A. Okemiri1*, S.C. Chukwu2, E. Uche-Nwachi3, K.C. Oketa,4 S.C. Eze5, V.I. Aniji6, A.Y. Idris7
1,2,3,4,5,6,7
Dept. Name, Name of Computer Science/Informatics, Alex Ekwueme Federal University Ndufu-Alike, Ebonyi
State, Nigeria
*
Corresponding Author: henry.okemiri@funai.edu.ng, Tel.: +234-8066-708308
has experienced casual research and plan by innovation provides like climate controls, door and windows controls,
lovers who need a superior method for completing things and in addition, control of multimedia home theatres, pet
at home absent much exertion on their part. The framework feeding, plant watering and so on. But there exist a
advanced from one that can naturally do routine errands difference in that home automation emphasizes more on
like switch on/off lights, to progressively refined ones that comfort through ergonomics and ease of operation.
can modify lighting, put the TV slot to most loved station
and control door. Home automation systems may designate electronic
systems in homes and residential buildings that make
2.1.1 Conceptual Review possible the automation of household appliances. The new
Automation/Control is the use of information technology stream of home automation system has developed into a
to control equipment, industrial machineries, tasks and vast one and the current market is flooded with a furry of
processes, reducing the need for human intervention. It home automation system and device manufacturers [4].
involves the use of advanced technology which includes
the use of computer hardware and software(s) to control 2.1.3 Types of Home Automation System
devices, objects or things. Types of home automation system based on their control
systems are:
Automation is very significant in the world today which A. Individual Control System
includes the global economy and daily user experience. These types of devices were the first to hit the market in
Technology enthusiasts strive to combine automated the early years, here each device like air conditioner will
devices with mathematical and organizational tools to have an independent control system dedicated to it.
create complex systems for a rapidly expanding range of
application and human activities. xHuman-level, pattern B. Distributed Control System
recognition, and language production ability are well The main feature of these types of system is emergency
beyond the capabilities of modern mechanical and shut-down. With this system you can present or change the
computer systems[5]. control parameters or several similar devices, for example,
the thermostat of several air conditioners and their
2.1.2 Types of Automation ON/OFF timings.
A. Building Automation
Building automation describes the functionality provided C. Central Control System
by the control of a building. The control system is These are computerized systems programmed to handle all
computerized, intelligent network of electronic devices, functions of multiple utilities like air conditioning, home
designed to monitor and control the mechanical and entertainments, doors, windows, refrigerators, bulbs and
lighting system of a building. A building automation cooking systems, all at the same time regardless of whether
system is an example of a distributed control system. The you are at home or away. You can connect to the control
building automation system (BAS) core functionality system through telephone or internet from anywhere in the
keeps the building climate within a specific range, provides world.
lighting based on an occupancy schedule and monitor
2.1.4.1 Home Automation Channels
system performances and device failures and provide email
The types of home automation system based on the carrier
and/or text notification to building engineering staff. The
mode are:
building automated system functionality reduces building
I. Wireless System
energy and maintenance costs when compared to a non-
Also available are wireless home automation systems that
controlled building [6].
utilize radio-frequency technology. They are often used to
operate lights, sometimes in conjunction with a hardwired
B. Office Automation
lighting control system.
Office automation refers to the varied computer machinery
and software used to digitally create, collect, store, II. Hardwired Systems
manipulate, and relay office information needed for Wired, or “hardwired” home control systems are the most
accomplishing basic tasks and goals. Raw data storage, reliable and expensive. These systems can operate over a
electronic transfer and the management of electronic high-grade communication cables such as Category 5 or
business information comprise the basic activities of an 5e, or their proprietary “bus” cable. That is why it is best to
office automation system, office automation helps in plan for them when a house is being constructed.
automating existing office procedures. Hardwired systems can perform more tasks at a time and
do them quickly and reliably, making them ideal for larger
C. Home Automation homes. They can also integrate more systems in the home,
Home automation may designate an emerging practice of effectively trying together indoor and outdoor lighting,
increased automation of household appliances and features audio and video equipment, system security, even the
in residential dwellings, particularly through electronic heating and cooling system into one control package that
means that allow for things impracticable, overly will be easy and intuitive to operate.
expensive or simply not possible in recent decades [7]. 2.1.5 Home Automation Implementation Platforms
Home automation includes all that building automation
Home automation can be implemented over a number of and run unique programs makes it extremely versatile, and
platforms namely: Arduino Microcontroller, RS232 serial its ability to perform maths and logic functions allows it to
communication, Ethernet, Bluetooth, Infrared and GSM. mimic sophisticated logic and electronic circuits.
Each platform has its own peculiarity and area of Microcontrollers are used in automatically controlled
application. products and devices, such as automobile engine control
system, remote controls, office machines, appliances,
1) 2.1.5.1 Ethernet power tools and toys. Hence, microcontrollers do not
Ethernet defines a number of wiring and signaling function in isolation, they accept input from one or more
standards for the physical connection of two or more devices and provide output to other devices within a given
devices together. Ethernet was originally based on the idea system, in fact, they are responsible for the intelligence in
of computers communicating over a shared coaxial cable most smart devices in the consumer market.
acting as a broadcast transmission medium. The method
used show some similarities to radio systems, although a) 2.1.5.3.1 Arduino Uno Microcontroller
there are fundamental differences, such as the fact that it is The Arduino Uno is an open-source microcontroller
much easier to detect collisions in a cable broadcast system board based on
than a radio broadcast. The common cable providing the the Microchip ATmega328P microcontroller and
communication channel was likened to the ether and it was developed by Arduino. The board is equipped with sets of
from this reference that the name “Ethernet” was derived digital and analog input/output (I/O) pins that may be
[7][8]. From this early and comparatively simple concept, interfaced to various expansion boards (shields) and other
Ethernet evolved into the complex networking technology circuits. The board has 14 Digital pins, 6 Analog pins, and
that today underlies most local area networks. The coaxial programmable with the Arduino IDE (Integrated
cable was replaced with point-to-point links connected by Development Environment) via a type B USB cable. It can
Ethernet hubs and/or switches to reduce installation costs, be powered by the USB cable or by an external 9-volt
increase reliability and enable point to point management battery, though it accepts voltages between 7 and 20 volts
and troubleshooting. StarLAN was the first step the [8].
evolution of Ethernet from a coaxial cable hub to a hub-
managed, twisted-pair network. The advent of twisted-pair
wiring dramatically lowered installation costs relative to
competing technologies, through the physical connections,
Ethernet stations communicate by sending each other data
packets, blocks of data that are individually sent and
delivered.
Figure 2 is a diagrammatic depiction of structured to obtain the challenges they faces with the old
engineering methodology with Waterfall Model system.
B. Secondary Source
This class of data collection was based on data collected
from the following:
i. Online Journals
ii. Websites
iii. Past Home Control Projects
Smart Phones
PC
(Mobile Application) (Web Application) Tablets
WiFi /Ethernet
Router
NODEMCU
ESP8266-12F
WiFi Module
Micro Controller
Figure 5: NodeMCU (GPIO Pins) (Arduino Uno)
Authentication
Figure 6: Electromagnetic Relay
Home
B. 3.3 System Design
System design is an approach systematically taken in the
design of a system. This approach takes into consideration
all variables surrounding it, which includes the Room Control
Kitchen Settin
architecture, required hardware and software and as well as Control gs
the data flow, how it changes from one point of the system
to the other. Light Light
Modify
Authenticat
Control ion
1) 3.3.1 Objectives of the Design Details
Contr
This design is basically centered on the development of a Fan
System that will control electrical home appliances by any ol Exit
Control
Smart Device with WIFI capability. Also, to provide an
easy, affordable and convenient way to control home
appliances both locally and over the internet. Exit
3.3.4 Sub Menu Design iii. NodeMCU Wi-Fi Module processes request
The Sub Menu design is the design of the various sub and sends command to the Arduino
menus or sub Systems that make up the entire Home Microcontroller.
Control System. These Sub Menus include: iv. Arduino Microcontroller receives and
i. Room Control Sub Menu processes command from the NodeMCU Wi-Fi
ii. Kitchen Control Sub Menu Module and then controls the relays which is
iii. Settings Sub Menu connected to the home appliances.
Step 8: NodeMCU waits for next HTTP request from iv. Implementation phase
client This is the phase where the designed system is
Step 9: Go back to Step 4 implemented by coding the design and deploying
the new/proposed system after which maintenance
4.1 System Implementation is carried out.
In SDLC, implementation stage is the next stage after the
system design stage. Kitchen
Control
It is the part of software development process where
system coding is actually done.
For effective implementation of the system, system
requirements are to be met. These requirements include:
i. Hardware requirements
Light Exit
ii. Software requirements Control
Figure 10: Screen shot of the main menu of the system C. 4.2 System Testing
System testing is the testing of a complete and fully
4.1.5 Sub Menu Implementation integrated software product[7]. System testing is split into
two categories, they include:
i. White Box testing
ii. Black Box testing
4.3. Results
Result is output realized from the development of a
project. They are the changes or effects expected to take
place after implementing the project. The results are
generally positive improvements to the lives of the
beneficiaries[8].
Figure 11: Screen shot of the Sub Menu of the system 4.3.1 Actual Test Result versus Expected Test Result
Table 4.1 Test Results ii. To determine if there was help and support in the
S/N Data Tested Expected Actual Result use and control of home appliances
Result iii. To determine if there was introduction of
1 Powering the HTTP request The NodeMCU advanced technology in the use and control of
Room Light (power ON or receives the request home appliances
Bulb ON/OFF OFF room and instructs the
light) would Arduino 4.4 System Security
be sent Microcontroller to In the development of this system, various steps taken for
wirelessly trigger the relay the protection of information and property from theft,
from the controlling the room corruption and other types of damage, while allowing the
Client device light. The information and property to remain accessible and
to the Microcontroller
NodeMCU performs the task
productive. System security includes the development and
Wi-Fi Module (triggered the relay implementation of security countermeasures.
through the controlling the Light System Password is the security used for this system to
web server Bulb) prevent control and use of home appliances by unwanted
over the Wi-Fi users.
network.
2 Powering the HTTP request The NodeMCU 4.5 System Integration
room Fan (power ON or receives the request This is the combination of all the components or
ON/OFF OFF room and instructs the subsystems into one functional system and ensuring that
Fan) would be Arduino the subsystems function as required.
sent wirelessly Microcontroller to
from the trigger the relay
Client device controlling the room It involves the combining the various sub modules
to the fan. The involved in the system to make up a functional system.
NodeMCU Microcontroller 5.1 Summary
Wi-Fi Module performs the task In the past, the manual use and control system of home
through the (triggered the relay appliances brought displeasing stress and discomfort to
web server controlling the Room home appliance users. As a result of this displeasing stress
over the Wi-Fi Fan) and discomfort, the design and implementation of a smart
network. home control system came into place.
4.3.2 Performance Evaluation The Smart Home Control System, is a scalable, flexible
During performance evaluation, the following data were and user friendly system designed with a structured
used to determine the efficiency and effectiveness of the Software Engineering Methodology to solve problems
system, they include: involving the lack of ease and comfort in the use and
i. Was the time used in controlling the appliances control of home appliances, provide help and support for
reduced? home appliance users and generally bring technology and
ii. Was the controlling of those appliances efficient? automation into various home appliances and devices.
iii. Did you experience ease and comfort in the
control of those appliances? The design of the system was done using tools such as the
The table below shows a record of the response gotten Arduino Uno microcontroller, NodeMCU WIFI Module,
Ethernet + WIFI Router, Smartphone running on Android
Table 4.2 Performance Evaluation Results 2.3+ and Arduino IDE platform with C++ programming
S/N Evaluation criteria Yes No language. The result of this research has proven that the
1 Was the time used in controlling the 8 2 control of home appliances can be done wirelessly.
appliances reduced?
The system when implemented, was able to control
2 Was the controlling of those appliances 9 1 electrical appliances and devices in the home with a
efficient? relatively low cost design, user-friendly interface and ease
3 Did you experience ease and comfort in the 7 3 in installation.
control of those appliances?
5.2 Conclusion
It is clear from this project that the easy and convenient use
4.3.3 Limitation of the Result and control of home appliances such as lights and fan can
The Result of the SHC system was limited to the following be done wirelessly using a smart phone and with a low cost
functions: design and a user-friendly interface.
i. To determine if the use and control electrical
home appliances wirelessly was easy and The designed SHC system was also tested on other home
more convenient than the old system appliances such as Television, Amplifier/Sound Systems,
Heating Systems and many more (as long as the maximum
power rating of the system has not exceeded the power 4.2 System Testing
rating of the relay). System testing is the testing of a complete and fully
integrated software product (guru99, 2019). System testing
5.3 Recommendations is split into two categories, they include:
Following the complete design and implementation of this iii. White Box testing
SHC system, it is recommended that all homes adopt the iv. Black Box testing
use of the new system as it enhances the use of technology
in the home and also: 2) 4.2.1 Test Plan
i. Brings Ease and Comfort in the use and control of The testing of the SHCS is done in two forms, White Box
home appliances testing and Black Box testing.
ii. Provides Help and support to home appliances 4.2.1.1 White Box Testing
users in the use and control of electrical home This has to do with testing the inner workings of the
appliances. system to determine if there is an accurate and lossless
transfer of data
iv. From the Web Client to the NodeMCU module
v. From the NodeMCU module to the Arduino
microcontroller
vi. Finally, from the Microcontroller to the relays.
information and property to remain accessible and Brings Ease and Comfort in the use and control of home
productive. System security includes the development and appliances Provides Help and support to home appliances
implementation of security countermeasures. users in the use and control of electrical home appliances.
It is clear from this project that the easy and convenient use AUTHORS PROFILE
and control of home appliances such as lights and fan can
Mr. H. A. Okemiri pursed Bachelor of Science from
be done wirelessly using a smart phone and with a low cost
Ebonyi state university, Abakaliki, Nigeria, in 2012 and
design and a user-friendly interface.
Master of Science from the same university in year 2018.
He is currently pursuing Ph.D. and currently working as
The designed SHC system was also tested on other home
Assistant Lecurer in Department of Computer
appliances such as Television, Amplifier/Sound Systems,
Science/Informatics, Alex Ekwueme Federal University
Heating Systems and many more (as long as the maximum
Ndufu Alike Ebonyi State, Nigeria since 2019. He is a
power rating of the system has not exceeded the power
member Nigeria Computer Society since 2018, He has
rating of the relay).
published more than 15 research papers in reputed
international journals and it’s also available online. His
5.3 Recommendations
main research work focuses on Machine Learning, Internet
Following the complete design and implementation of this
of Things, Cloud Security and Privacy, Big Data Analytics,
SHC system, it is recommended that all homes adopt the
Data Mining. He has 6 years of teaching experience and 3
use of the new system as it enhances the use of technology
years of Research Experience.
in the home and also: