0% found this document useful (0 votes)
11 views43 pages

Write Up 2

The document discusses the evolution and significance of voice-controlled lighting systems, particularly for the elderly and disabled, highlighting the need for accessible home automation. It outlines the technical aspects of implementing such systems using voice recognition technology and Arduino programming, aiming to enhance convenience in home environments. Additionally, it emphasizes the importance of making these technologies affordable and user-friendly for a wider audience.

Uploaded by

Adeyemo Uthman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views43 pages

Write Up 2

The document discusses the evolution and significance of voice-controlled lighting systems, particularly for the elderly and disabled, highlighting the need for accessible home automation. It outlines the technical aspects of implementing such systems using voice recognition technology and Arduino programming, aiming to enhance convenience in home environments. Additionally, it emphasizes the importance of making these technologies affordable and user-friendly for a wider audience.

Uploaded by

Adeyemo Uthman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 43

CHAPTER ONE

INTRODUCTION

1.1 BACKGROUND OF STUDY

In general, electric circuit systems have modernized our world in ways never thought possible

before the discovery of electricity. 20th century inventors such as Thomas Edison and Nikola

Tesla can be thought of as the figureheads that have pushed us to this era and it is easy to see that

their hard work will have a ripple effect for generations to come. Before the invention of

electricity, little could be done after the sun came down and the light sources that were there,

though they sufficed for a time, were unreliable in their safety and such like things. Electricity

did not just bring light to homes; it also powered most machines that lead to the now famous

industrial revolution, thereby revolutionizing the way people lived. A very important facet of the

industrial revolution is the lighting of the houses and various rooms. For purposes of home

wiring, automation has often proved to provide the essential requirement of enabling lighting

prospects for the various working environments. In the various home environments, nowadays,

there is demand for Voice controlled switch systems, through which, one can easily manage the

different electric appliances by the use of the voice. Initially, voice enabled lighting system was

designed for the people seeking luxury and sophisticated home (Rodden & Benford, 2010). But

there was always a need to develop Voice controlled lighting system for the people with special

needs like elderly and disabled. According to the report published by the WHO, around 785

million people of 15 years and older live with disability, of these, the world health survey reports

that 110million people have significant difficulties in function. In order to assist the old people

and the people with disability, automation technologies are adopting voice controlled or voice

recognition systems (Cook & Das, 2011). The main idea is to control and monitor home lighting

1
by using speech recognition. Currently, the Voice controlled products are only limited to the use

sophisticated instruments. As a result, the motivation to build a simple system that can control

the on and off properties of various lights of the room becomes of essence. It is impossible for

any users to understand the instructions or algorithm of programming. What they can do is

control the elements with human languages and signal of body. Therefore, the users require the

system to identify the human languages instead of machine instructions or other 2 programming

languages. The main goal of the project is to bring the right kind of convenience to the living

space of the individuals and in the process, provide the interaction with the home living

environment. In that accord, it is quite clear that the people living with disabilities have a hard

time maneuvering in the house for purposes of lighting the various lighting switches. Thus, the

purpose of the design is to change the lighting conditions of the house in accordance with the

mood of the people in the house who live with disabilities. The project therefore considers the

use of voice in the various homes of residence. For use with computers, analog audio must be

converted into digital signals. This requires analog to digital conversion. For a computer to

decipher the signal, it must have a digital database, or vocabulary, of words or syllables, and a

speedy means of comparing this data with signals. The speech patterns are stored on the hard

drive and loaded into memory when the program is run. A comparator checks these stored

patterns against the output of the A/D converter. In practice, the size of a voice-recognition

program's effective vocabulary is directly related to the random access memory capacity of the

computer in which it is installed. A voice-recognition program runs many times faster if the

entire vocabulary can be loaded into RAM, as compared with searching the hard drive for some

of the matches. Processing speed is critical as well, because it affects how fast the computer can

search the RAM for matches. All voice-recognition systems or programs make errors. Screaming

children, barking dogs, and loud external conversations can produce false input. Much of this can

2
be avoided only by using the system in a quiet room. There is also a problem with words that

sound alike but are spelled differently and have different meanings -- for example, "hear" and

"here." This problem might someday be largely overcome using stored contextual information.

However, this will require more RAM and faster processors than are currently available in

personal computers. Through, the use of the voice therefore, many of the projects related to

automation can be achieved easily to bring about easier life projects. Even though the technology

is developing in our day to day life, there is no help coming into existence for the people who are

physically not good on the basis of technology. As the speech enabled, home automation system

deploys the use of voice to control the devices. It mainly targets the physically disabled and

elderly persons. The home automation will not work if the speech recognition is poor. The

speech given by the user will be given as input to the Microphone. Microphone recognizes the

speech given by the person and sends it to the recognizing module. It searches for the nearest

word even if there are any disturbances in it. If the command (ON/OFF) is given, the action is

done. Similarly, the line following robot functions with respect to the speech commands given to

it. The line following robot moves forward and backward with the help of sensors and a motor

driver board. Home is the place where one desires to be rest after a long tiring day. People come

home exhausted after a long hard-working day. Some are way too tired that they find it hard to

move once they land on their couch, sofa or bed. So, any small device/technology that would

help them switch theirs lights on or off, or play their favorite music etc. on a go with their voice

with the aid of their smart phones would make their home more comfortable. Moreover, it would

be better if everything such as warming bath water and adjusting the room temperature were

already done before they reach their home just by giving a voice command. So, when people

would arrive home, they would find the room temperature, the bath water adjusted to their

suitable preferences, and they could relax right away and feel cozier and rather, feel more

3
homely. Human assistants like housekeepers were a way for millionaires to keep up their homes

in the past. Even now when technology is handy enough only the well to do people of the society

are blessed with their new smart home devices, as these devices costs are a bit high. However,

not everyone is wealthy enough to be able to afford a human assistant, or some smart home kit.

Hence, the need for finding an inexpensive and smart assistant for normal families keeps

growing.

1.2 STATEMENT OF PROBLEM

In the present day, traditional (manual) method of switching is limited to only physically fit

persons. Through a report of the how many Nigerians are faced with different forms of

disabilities, it becomes quite important to come up with a system that can effectively provide for

easier home and work experience. Thus, the objectives of this project. Considerably, a very

important point of disability that has for a long time been confirmed is that of the older people.

This type of disability makes the people affected not to work on their tasks effectively hence the

lack of agility and mobility for the various 3 working experiences. Moreover, with the rising

levels of lifestyle diseases, it is quite significant to note that most of the people above the age of

twenty are constantly reporting mobility related issues. Out of all these adults, others are born

with the inability to effectively walk or coordinate within various room environments. Of all

these, others do not really get the chance to get the most effective gain out of the available

technology. There is, therefore, need to have a Voice controlled lighting system for the elderly

and persons with special needs.

Example

At the point when Steve O'Hear moved into his new home in London fifteen years back, he

couldn't kill the lights on and: The switches were past his span. O'Hear utilizes an electrical

4
wheelchair, and despite the fact that the switches were fabricated lower than common to suit

him, they were still too high. For a considerable length of time, he needed to depend on another

person to turn the lights on - that is until he introduced Internet-associated lights that he could

turn on with his cell phone.

Brilliant homes, loaded down with cutting edge apparatuses that can be controlled remotely, are

being proclaimed as the influx without bounds. They're additionally a potential distinct

advantage for the impaired.

PROPOSED SOLUTION

The Voice controlled lighting system uses voice recognition python programming language to

articulate the voice of the person speaking and effectively come up with the command to enable

the person control the lighting system effectively. Throughout the project design and

implementation, it would be crucial to make use of the Arduino programming language of C

programming language while at the same time integrating the python program and libraries in the

ultimate design of the required software. Of essence is the use of the various vocabulary

templates that would include specific words and phonemes. In the end, there would be a user

aspect of the voice recognition system that would control the lighting of the house by the

manipulating of the relay board. Through the use of the relay board, the control of the various

lights of the house would be easier. Through the web server we can instruct the microcontroller

to switch on/off the lighting system. After getting the instruction through the Wifi module the

microcontroller gives the signal to the relay board. The relay then turns the lights on/off

depending on the voice commands from the user. When a low voltage signal is given to the

relay, the lights are turned off and when a high voltage signal is given it is turned on.

5
1.3 AIMS AND OBJECTIVEs

Aim:

The complete Voice controlled lighting system should be able to turn the lights ON/OFF in a

room according to the voice commands from the user.

Objectives

The complete system should be able;

 To implement the voice user as an input to microcontroller to control the lighting

system at all times.

 To use Wifi connection to control the lights via a web server from anywhere in a room.

 To use a relay board to control the switching on and off of specific bulbs and fan.

 To improve ones native language.

 To make it accessible for everyone either you are educated or not.

1.4 SIGNIFICANCE OF STUDY

This study aims controlling of lighting system in a home by the use of our voice. The user need

not to have an immense knowledge over the language of English. Just by saying the lighting

point name and the corresponding command assigned to that particular point, and telling it to

turn on or off will enable the user to have complete control over the lighting system without any

effort. This system, though primarily aimed to reduce human effort, will be of much importance

to the elderly and persons with disabilities. It will enable them to control their lighting system

6
with ease, without going through much pressure or stress of moving about. Moreover, the entire

system is very flexible and scalable. Any number of lighting points can be added as and when

required. Henceforward, 46 the systems find use not only in houses but also in many offices

where appliances such as fans or lights on multiple floors can be controlled by a person on any of

the floors, saving manual labour and human effort to switch on or off the electronic appliances,

thereby saving time. Due to the inexpensive materials used in the construction and further cost

optimization if the device is taken to the market, it finds application in a wide area. Scalability of

the project would be considerably easier as the device can be used in every building using

electrical appliances and devices.

1.5 SCOPE OF STUDY

This field of home automation is Fastly emerging in technology making homes safer and better

places to live. These features help users to virtually monitor and control home attributes like

lights, entertainment systems, security, climate control, etc.

1.6 DEFINITION OF TERMS

VOICE CONTROL: also called voice assistance, is a user interface that allows hands-free

operation of a digital device. Voice control does not require an internet connection to work.

Communication is one way (person to device) and all processing is done locally.

SMART HOME TECHNOLOGY: refers to a suite of devices, appliances or systems that tap

into a common network and that you can control independently via a remote control or voice

control. For example, you can have your home’s thermostat, audio speakers, TVs, lights,

security, locks and appliances all connected to the smart home network.

7
YORUBA LANGUAGE: is probably the most scholastically studied indigenous west African

language, which makes it one of the easiest African Language to learn. Yoruba is one of the

three main Language spoken in Nigeria; the most populous country in Africa.

RELAY: A network of actuators that switches the lights connected to it on or off. It performs the

switching of the lighting system depending on the voice command.

ESP: It wirelessly receives speech commands as the input from the Android device’s speech

recognition application and activates the relay according to the command. It is the brain of the

lighting control system.

ARDUINO UNO: The Arduino UNO is categorized as a microcontroller that uses the

ATmega328 as a controller in it. The Arduino UNO board is used for an electronics project and

mostly preferred by the beginners.

PYTHON PROGRAM: Python is a computer programming language often used to build

websites and software, automate tasks, and conduct data analysis. Python is a general-purpose

language, meaning it can be used to create a variety of different programs and isn't specialized

for any specific problems.

8
CHAPTER TWO

LITERATURE REVIEW

2.1 Smart Home

A smart home refers to a convenient home setup where appliances and devices can be

automatically controlled remotely from anywhere with an internet connection using a mobile or

other networked device. Devices in a smart home are interconnected through the internet,

allowing the user to control functions such as security access to the home, temperature, lighting,

and a home theater remotely. Smart homes can feature either wireless or hardwired systems or

both wireless systems are easier to install. Putting in a wireless home automation system with

features such as smart lighting, climate control, and security can cost several thousand dollars,

making it very cost-friendly. The downside to wireless systems is you likely need strong Wi-Fi

coverage and broadband service throughout your entire house. This may require you to invest in

range extenders or hardwired wireless access points. Wireless smart home systems are generally

more appropriate for smaller existing homes or rental properties due to their smaller size.

Hardwired systems, on the other hand, are considered more reliable and are typically more

difficult to hack. A hardwired system can increase the resale value of a home. In addition,

hardwired smart home systems can easily be scaled; therefore, it is often the default method

when designing a new build or performing a major renovation. There is a drawback—it's fairly

expensive. Installing a luxury and hardwired smart system can cost homeowners tens of

thousands of dollars. In addition, you must have space for network hardware equipment

including ethernet cables. Smart homes can choose to have smart speakers, lights, thermostats,

9
doorbells, or home hubs. Smart technology can also extend to kitchen appliances or outdoor or

landscaping equipment. New innovations are continually evolving what is in a smart home.

2.2 History of Smart Home

Smart home technology has long been the subject for futurists predicting robot butlers and the

like. While we may not have “The Jetsons” style tech available to us just yet, smart home

technology has come a long way in recent years. Let’s take a look back at the journey of smart

home technology, uncover some of the trends in this industry’s development, and take stock of

where we are now.

1970s, the X10 revolution

Smart home technology, as we know it today, began in 1975 with the invention of X10. X10 is a

communication protocol that uses a home’s AC wiring to enable communication between

devices and control modules installed in the home. While advanced for their time, these systems

tended to be expensive and often required professional installation. X10 opened up the

possibility of remote control for hundreds of devices. But it had many problems. It was slow,

completely unencrypted, and unreliable due to signal loss and interference. If your neighbour had

an X10 system, it’s possible they could end up turning your lights on and off as well as their

own!

2000s, the beginning of wireless

In the early 2000s, wireless technologies such as Z-wave and Zigbee unlocked previously

impossible smart home capabilities. With no cables to route through walls, smart homes were

now for the DIY crowd. This era saw a proliferation of competing standards and even more

proprietary, incompatible systems, but it also marked the first steps towards security in the smart

10
home. Both Zigbee and Z-wave have supported encrypted communication since the

beginning.Despite the competing standards of this era, the Z-Wave alliance remains a great

example of companies working together to promote interoperability. There are now thousands of

certified Z-wave devices on the market, which all work together by design.

Smart home today, going open source

Smart home systems today are more open to the end user than ever before. While the smart

homes of yesterday were expensive, rigid systems, smart home systems today can be quite

budget friendly and extendable by the end user. The DIY community of smart home enthusiasts

has grown rapidly in this current era, with open source projects, such as openHAB and Home

Assistant showing how open source software can be a perfect match with the smart home.

Despite all of these advances, smart home technology is still criticized for its lack of universal

standards, its unreliability, and the spotty security of devices and hubs that are all too often

released only to be left unmaintained and unsupported. In a business where margins can be low,

the cost of supporting devices in the field can be too high. Devoting software engineers to

maintaining and patching existing software is expensive. Using a secure, reliable OS like Ubuntu

Core can reduce those maintenance costs, and free engineers up to focus on R&D instead of

maintenance.

TYPE OF SMART HOME

1. Smart Lighting Solutions You might not realize it, but smart technology has integrated nearly

every aspect of home life, including lighting.

2. Smart Entertainment Devices for the Home.

11
3. Smart Home Appliances.

4. Smart Home Utilities.

5. Smart Blinds Solutions.

FEATURES OF SMART HOME

1. Smart Energy Consumption.

2. Intelligent Detection and Water Management.

3. Security System.

4. Smoke Detection and Alerts.

ADVANTAGES OF SMART HOME

i. Easier to Lock and Unlock the Doors.

ii. Save Energy with Smart Energy Consumption.

iii. Know About Maintenance and Service.

iv. Customize as Per Your Convenience.

DISADVANTAGES OF SMART HOME

i. Costs

ii. Dependency on Internet.

iii. Dependency on Professionals.

12
CHAPTER THREE

METHODOLOGY

3.1 PREAMBLE

This chapter presents full explanation and description of how the project will be carried out and

the procedures and techniques involved in the system design. In order to achieve this, System

Development Life Cycle (SDLC) model will be adopted and this involves the following stages.

i. System Investigation

ii. System Analysis

iii. System Design

iv. System Coding

v. System Testing

3.1.1 System Investigation

Before the commencement of this project, the existing system was carefully investigated. It was

observed that most processes of the department are done manually and some information is not

13
readily accessible to the students or website visitors. So, an automated is needed to make the

department processes easier and faster.

3.1.2 System Analysis

This is another stage of the development where extensive work was carried out on the problem of

the existing system, and the proposed alternative system.

3.1.2.1 The existing system

The existing system was a manual one. Whatever be the process involved in the system were

done manually. There were lot of complexities involved in the system. Its not easy to use for

people of old age and people with special needs.

3.1.2.2 Problem of the Existing System

When controlling electronics manually, there are several common problems that can arise:

1. Human Error: Human error is one of the most common problems faced when controlling

electronics manually. An individual operating the electronics may accidentally press the wrong

button or enter the wrong command, which can result in incorrect or unintended actions.

2. Limited Precision: Controlling electronics manually can be imprecise, particularly when trying

to make very fine adjustments. This can be problematic in situations where precision is critical,

such as in scientific experiments or in complex manufacturing processes.

3. Limited Speed: Manual control of electronics can also be slower than automated control. This

can be a problem in situations where quick and precise actions are necessary.

14
4. Limited Range: Depending on the complexity of the electronics being controlled, manual

control may not be able to access the full range of functions available. This can limit the

usefulness of the electronics and prevent them from being used to their full potential.

5. Safety Concerns: Depending on the type of electronics being controlled, manual operation can

pose safety risks. For example, operating high-voltage electrical equipment or handling

hazardous chemicals without proper training and precautions can be dangerous.

6. Fatigue: Manual control can also lead to operator fatigue when the task is repetitive and

requires sustained attention over time. This can increase the likelihood of human error and

reduce productivity.

Overall, automated control systems can help to overcome these problems by providing more

precise, reliable, and efficient control of electronics.

3.1.2.3 Proposed System

The new system titled “VOICE CONTROL HOME AUTHOMATION SYSTEM IN YORUBA

LANGUAGE” was hence proposed to remove all the drawbacks discussed above. Information is

a vital ingredient for the operation and management of any organization. Thus any system should

have the ability to provide error free filtered information after processing the required data. This

system as been taken up with a view for developing a more sophisticated system that can be

easily handled by any kind of users. The proposed system aims at efficient and timely

information for decision-making, integrate with other functions and reduce redundant work.

3.1.3 System Design

Planning: This is the initial stage where the approach to the project was determine which was a

backward design approach that places more focus on the student that the lecturer’s.

15
Software Design: This stage require the use of prototyping tool in other for the project to be a

product of creativity and to be affirmative. This process involved the use of a design tool called

visual code to design the layout of the project and Arduino uno to give instruction to the system.

Development: The purpose of this stage is to convert the system design prototype into working

information system that addresses all documented system requirements. At this stage the project

was developed with the use of web technologies like HTML, CSS, PYTHON AND C++.

Testing: At this stage the developed system was tested to ensure that it meets the design

requirements. Two levels of testing were carried out program testing. The program test was

carried out to test the performance of the code written for each of the module of the system while

the system testing was carried out to test how the modules of the system where working together.

3.1.4 System Coding

 Landing page

 Voice control the system

3.1.5 System Testing

This is the phase where each code written for each function in the system was tested in order to

check for bugs and to ascertain that it gives the desired result. The software will be tested with in

order to evaluate its compliance with the specified requirement. This will be done through the

use of properly selected input data to ensure reliability and accuracy of output. All varying data

which will be used in testing the system’s performance gives the assurance that the new system

will achieve its purpose and objectives

3.2 SYSTEM HARDWARE AND SOFTWARE SPECIFICATION

16
These are tools that are necessary for the workability of the proposed system: these tools are

divided into two: Hardware and Software Requirement.

3.2.1 Hardware Requirement

i. Laptop or Smartphone

ii. Relay Module

iii. Microcontroller (ESP)

iv. Jumper Wire

v. Wooden Box

vi. MODEM

vii. BOLB

viii. Lamp Holder

ix. Standing Fan

x. Battery

xi. Minimum of I GHz processor Clock Speed.

xii. Minimum of 500MB HDD (Hard Disk Drive) or Storage space.

xiii. Minimum of 512MB RAM (Random Access Memory).

3.2.2 Software Requirement

i. C++

ii. PYTHON

iii. HTML

iv. CSS

17
3.3 Flowchart for the developed system

18
START

Voice
detection

Detected?

Signal to
microcontroller

Lamp Bolb Fan

Lamp light Bolb light Fan light

End

Fig 3.1 System Flowchart

19
Start equipment

<<include>>

Connecting equipment

User
<<include>> Arduino

Control equipment

Fig 3.2 USE CASE DIAGRAM OF SYSTEM

20
CHAPTER FOUR

SYSTEM IMPLEMENTATION AND ANALYSIS

4.1 DESCRIPTION OF NEW SYSTEM

A voice-controlled home automation system is a smart home solution that allows you to control

various devices and appliances in your home using voice commands. The system typically

consists of a central hub or controller that connects to your home's Wi-Fi network and

communicates with various smart devices such as lights, thermostats, security cameras, and

entertainment systems. You can control the system using your voice through a smart speaker or

other compatible device that is integrated with the system. You can issue commands to turn on or

of flights, play music or videos, and perform other tasks by simply speaking out loud. The

system can also be programmed to perform certain actions automatically, based on specific

triggers or schedules. For example, you could set the system to turn off all the lights in your

home when you leave for work in the morning, or to adjust the thermostat to a certain

temperature at a specific time of day. Voice-controlled home automation systems are designed to

be user-friendly and intuitive, making it easy for anyone to control their home's smart devices

and appliances with minimal effort and with their native language.

4.2 Hardware and Software Requirement

4.2.1 Hardware Requirement

Laptop

1. 60GB ROM ABOVE

2. 2GB RAM ABOVE

21
ANDRIOD

1. Android version 4.4 above

2. 1gb ram above

3. 4gb rom above

4.2.2 Software Requirement

1. HTML

2. CSS

3. PYTHON

4. C++

22
4.3 Output

Every routine and sub-routine used in the system will be display in the appendix

Fig 4.1: Rear View of the System

23
Fig 4.2: Front View of the System

24
CHAPTER FIVE

SUMMARY, CONCLUTION AND RECOMMENDATIONS

5.1 SUMMARY

The project is to build a Voice Control Home Automation System Using Microcontroller ESP

and Relay module. This project utilizes a microcontroller and Relay module. A microcontroller

is a compact integrated circuit designed to govern a specific operation in an embedded system.

So in this system the microcontroller controls the function of the lights. Relay module is an easy

to use Wireless Fidelity (WIFI), designed for transparent wireless serial connection setup. This

way the lights can be controlled wirelessly with WIFI.

5.2 Conclusion

The Voice Controlled Lighting System was built and implemented successfully. The system is

specially designed for the persons with special needs and the elderly. The use of voice

commands eliminates the need to use remote controllers and other electronic device, such as the

manual switch, and makes it easy to interact with the system to perform automation and control

of the lighting system. The system is highly flexible and scalable since it can use other means of

wireless transfer to the microcontroller other than Bluetooth and can be designed to switch as

many lighting points and appliances as desired.

5.3 Recommendation

Expanding the project with security sensitive functionality on the voice application would

introduce the need for some type of user authentication. Only a specific user should be able to

issue voice commands. One way to implement this security would be to use speaker
25
identification which is the process of determining the identity of a speaker. This process would

give the system the capability of blocking access to the voice commands from unauthorized

users.

26
REFERENCES

A. Ghosh, R. Mitra, S. Mohalanobish, S. De, S. Bhattacharjee, S. Bardhan, "Wireless Irrigation

System", Proc. 2018 IEEE International Conference on Recent Innovation In Electrical

Electronics & Communication Engineering ICRIEECE-2018, 2018

A. H. a. C. I., “A remote controller for home and office appliances by telephone,” IEEE

Transactions on Consumer Electronics, vol. 44, no. 4, pp. 1291-1297, 2009.

A. M. K. Rupam Kumar Sharma, “Android interface based GSM home security system,” in

IEEE, Ghaziabad, India, 7-8 Feb. 2014.

A. Paul, M. Panja, M. Bagchi, N. Das, R. M. Mazumder, and S. Ghosh, “Voice recognition

based wireless room automation system,” in 2016 International Conference on

Intelligent Control, Power and Instrumentation, ICICPI 2016, 2017

B.-R. L. J.-L. P. a. C. J. L. Shih-Pang Tseng, “An Application of Internet of Things with Motion

Sensing on Smart House,” in IEEE, 2014.

Balasubramanian, J., & Morton, J. (2018). U.S. Patent No. 9,930,753. Washington, DC: U.S.

Patent and Trademark Office.

Bellia, L., Fragliasso, F., & Riccio, G. (2018). Daylight fluctuations effect on the functioning of

different daylight-linked control systems. Building and Environment, 135, 162-193.

Cook, D., & Das, S. K. (2011). Smart environments: Technology, protocols and applications

(Vol. 43). John Wiley & Sons.

27
Furui, S. (2010). Digital speech processing: synthesis, and recognition. CRC Press. GTM, 01

2014.

H. A. Shu’eili, G. Sen Gupta, S. Mukhopadhyay, "Voice Recognition based Wireless Home

Automation System", Proc. 4th IEEE International Conference on Mechatronics

(ICOM), May 2011

Harada, Y., Brother Industries Ltd. (2016). Power supply system. U.S. Patent 9,473,015.

Hinton, G., Deng, L., Yu, D., Dahl, G. E., Mohamed, A. R., Jaitly, N., ... & Kingsbury, B.

(2012). Deep neural networks for acoustic modeling in speech recognition: The shared

views of four research groups. IEEE Signal processing magazine, 29(6), 82-97.

Jinsoo Han, Haeryong Lee and Kwang-Roh Park, " Remote-controllable and energy-saving room

architecture based on ZigBee communication", IEEE Transactions on Consumer

Electronics, Vol.55, No.1, Feb. 2009, pp.264-268.

K. A. H. Ahmed El Shafee, “Design and Implementation of a WiFi Based Home Automation

System,” International Journal of Computer, Electrical, Automation, Control and

Information Engineering, vol. Vol: 6, no. No: 8, 2012.

K. TWEED, “Efficiency Along for the Ride at the 2014 Consumer Electronics Show,”

M. G. S. M. R. K. A. K. Kim Baraka, “Low cost Arduino/Android-based Energy-Efficient Home

Automation System with Smart Task Scheduling,” in Fifth International Conference on

Computational Intelligence, Communication Systems and Networks., London, 2013.

M. G. S. M. R. K. A. K. Kim Baraka, “Smart Power Management System For Home Appliances

And Wellness Based On Wireless Sensors Network And Mobile Technology,” in XVIII

AISEM Annual Conference, 2015.


28
M. G. S. M. R. K. A. K. Kim Baraka, “Smart Power Management System For Home Appliances

And Wellness Based On Wireless Sensors Network And Mobile Technology,” in XVIII

AISEM Annual Conference, 2015.

M. M. S. W. a. T. W. Jan Gebhardt, “Ubiquitous Smart Home Controlling Raspberry Embedded

System,” in UBICOMM: The Eighth International Conference on Mobile Ubiquitous

Computing, Systems, Services and Technologies, Excel, 2014.

M. Spencer et al., “Demonstration of integrated micro-electromechanical relay circuits for VLSI

applications,” in IEEE Journal of Solid-State Circuits, 2011

Mahesh.N.Jivani, “GSM Based Home Automation System Using App-Inventor for Android

Mobile Phone,” International Journal of Advanced Research in Electrical, Electronics

and Instrumentation Engineering,, vol. 3, no. 9, pp. 12121-12128, 2014.

Morton, T.D. (2010). Embedded microcontrollers. Upper Saddle River, NJ: Prentice Hall.

R. H. R. Bikash Agrawal, “SD-HDFS: Secure Deletion in Hadoop Distributed File System,” in

IEEE, San Francisco, CA, USA, 06 October 2016.

Roberts, K. D., & Stodden, R. A. (2015). The use of voice recognition software as a

compensatory strategy for postsecondary education students receiving services under

the category of learning disabled. Journal of Vocational Rehabilitation, 22(1), 49-64.

Rodden, T., & Benford, S. (2010). The evolution of buildings and implications for the design of

ubiquitous domestic environments. In Proceedings of the SIGCHI conference on

Human factors in computing systems (pp. 9-16). ACM.

29
S. A. A. W. C. a. n. M. V. H. Rozita Teymourzadeh, “Smart GSM Based Home Automation

System,” in IEEE Conference on Systems, Process & Control, Kuala Lumpur, Malaysia,

2013.

V. A. a. G. L. Jain Sarthak, “Raspberry Pi based Interactive Home Automation System through

E-mail.,” in Optimization and Information Technology ICROIT 2014, India, 2014.

Wan-Ki Park, Chang-Sic Choi, Jinsoo Han and Intark Han, "Design and Implementation of

ZigBee based URC Applicable to Legacy Home Appliances", IEEE International

Symposium on Consumer Electronics (ISCE 2007), Irving, TX , June 20-23, 2007,

pp.1-6.

Wei, H., Yonghui, D.E.N.G., Ni, Q. and Longyu, C.H.E.N., GE Lighting Solutions LLC(2018).

Dimming device and lighting device. U.S. Patent Application 15/729,936.

Yan, M.and Shi,H. (2013). Smart living using Bluetooth-based Android smartphone.

International Journal of Wireless & Mobile Networks, 5(1), p.65.

30
APPENDIX A

PYTHON CODE

#include <ESP8266WebServer.h>

#include <ESP8266WiFi.h>

#include <ESPAsyncTCP.h>

//Declaring the pins for controlling the bulb, fan, and lamp

const int bulb = 14;

const int fan = 4;

const int lamp = 5;

//Declaring the state's of the devices

int fanState = LOW;

int bulbState = LOW;

int lampState = LOW;

//Declaring the wifi credentials

31
const char *ssid = "VOICE_CONTROL";

const char *password = "password";

ESP8266WebServer server(80);

void setup() {

// put your setup code here, to run once:

pinMode(bulb, OUTPUT);

pinMode(fan, OUTPUT);

pinMode(lamp, OUTPUT);

Serial.begin(115200);

WiFi.mode(WIFI_AP);

WiFi.softAP(ssid, password);

IPAddress IP = WiFi.softAPIP();

Serial.print("IP ADDRESS");

Serial.println(IP);

server.on("/", baseUrl);

server.on("/bulb_on", bulb_on);

server.on("/bulb_off", bulb_off);

server.on("/fan_on", fan_on);

server.on("/fan_off", fan_off);

32
server.on("/lamp_on", lamp_on);

server.on("/lamp_off", lamp_off);

server.begin();

void loop() {

// put your main code here, to run repeatedly:

server.handleClient();

void baseUrl() {

String html = "<h2> Voice control Automation Project </h2>";

void fan_on() {

fanState = HIGH;

digitalWrite(fan, fanState);

server.send(302, "text/plain", "");

33
void fan_off() {

fanState = LOW;

digitalWrite(fan, fanState);

server.send(302, "text/plain", "");

void bulb_on() {

bulbState = HIGH;

digitalWrite(bulb, bulbState);

server.send(302, "text/plain", "");

void bulb_off() {

bulbState = LOW;

digitalWrite(bulb, bulbState);

server.send(302, "text/plain", "");

34
void lamp_on() {

lampState = HIGH;

digitalWrite(lamp, lampState);

server.send(302, "text/plain", "");

void lamp_off() {

lampState = LOW;

digitalWrite(lamp, lampState);

server.send(302, "text/plain", "");

ARDUINO CODE

#include <ESP8266WebServer.h>

#include <ESP8266WiFi.h>

//Declaring the pins for controlling the bulb, fan, and lamp

const int bulb = 14;

const int fan = 4;

const int lamp = 5;

35
//Declaring the state's of the devices

int fanState = HIGH;

int bulbState = HIGH;

int lampState = HIGH;

//Declaring the wifi credentials

const char *ssid = "VOICE_CONTROL";

const char *password = "adewaleee";

ESP8266WebServer server(80);

void setup() {

// put your setup code here, to run once:

pinMode(bulb, OUTPUT);

pinMode(fan, OUTPUT);

pinMode(lamp, OUTPUT);

// switch off the fan

digitalWrite(bulb, HIGH);

digitalWrite(fan, HIGH);

digitalWrite(lamp, HIGH);

Serial.begin(115200);

36
WiFi.mode(WIFI_AP);

WiFi.softAP(ssid, password);

IPAddress IP = WiFi.softAPIP();

Serial.print("IP ADDRESS");

Serial.println(IP);

server.on("/", baseUrl);

server.on("/bulb_on", bulb_on);

server.on("/bulb_off", bulb_off);

server.on("/fan_on", fan_on);

server.on("/fan_off", fan_off);

server.on("/lamp_on", lamp_on);

server.on("/lamp_off", lamp_off);

server.begin();

void loop() {

// put your main code here, to run repeatedly:

server.handleClient();

37
void baseUrl() {

String html = " <html><body style = \"text-align:center\"><h1 > VOICE CONTROLLED

SMART HOME </h1>";

// FAN DISPLAY

html += "<p>Current FAN State:";

if (fanState == HIGH) {

html += "OFF";

} else {

html += "ON";

html += "</p>";

html += "<p style=\" text-align: center\"><a href=\"/fan_on\" ><button style =\"font-size:24px;

color: green;\">ON</button></a></p>";

html += "<p style=\" text-align: center\"><a href=\"/fan_off\"><button style =\"font-size:24px;

color: red; \">OFF</button></a></p>";

38
// LAMP DISPLAY

html += "<p>Current LAMP State:";

if (lampState == HIGH) {

html += "OFF";

} else {

html += "ON";

html += "</p>";

html += "<p style=\" text-align: center\"><a href=\"/lamp_on\" ><button style =\"font-

size:24px; color: green;\">ON</button></a></p>";

html += "<p style=\" text-align: center\"><a href=\"/lamp_off\"><button style =\"font-

size:24px; color: red; \">OFF</button></a></p>";

// BULB DISPLAY

html += "<p>Current BULB State:";

if (bulbState == HIGH) {

html += "OFF";

} else {

39
html += "ON";

html += "</p>";

html += "<p style=\" text-align: center\"><a href=\"/bulb_on\" ><button style =\"font-

size:24px; color: green;\">ON</button></a></p>";

html += "<p style=\" text-align: center\"><a href=\"/bulb_off\"><button style =\"font-

size:24px; color: red; \">OFF</button></a></p>";

html += "</body></html>";

server.send(200, "text/html", html);

`void fan_on() {

fanState = LOW;

digitalWrite(fan, fanState);

server.sendHeader("Location", "/");

server.send(302, "text/plain", "");

40
}

void fan_off() {

fanState = HIGH;

digitalWrite(fan, fanState);

server.sendHeader("Location", "/");

server.send(302, "text/plain", "");

void bulb_on() {

bulbState = LOW;

digitalWrite(bulb, bulbState);

server.sendHeader("Location", "/");

server.send(302, "text/plain", "");

void bulb_off() {

bulbState = HIGH;

digitalWrite(bulb, bulbState);

41
server.sendHeader("Location", "/");

server.send(302, "text/plain", "");

void lamp_on() {

lampState = LOW;

digitalWrite(lamp, lampState);

server.sendHeader("Location", "/");

server.send(302, "text/plain", "");

void lamp_off() {

lampState = HIGH;

digitalWrite(lamp, lampState);

server.sendHeader("Location", "/");

server.send(302, "text/plain", "");

42
APPENDIX B

Step 1: The User will be able to put on an individual bulb/light

Step 2: The User will be able put on the bulb/light with their voice (Yoruba Language)

Step 3: The User will be able to put on the bulb/light from a certain distance

43

You might also like