b.e-ece-19-23-batchno-69
b.e-ece-19-23-batchno-69
DISABLED PEOPLE
By
SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(DEEMED TO BE UNIVERSITY)
APRIL - 2023
SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(DEEMED TO BE UNIVERSITY)
Accredited with "A" grade by NAAC
Jeppiaar Nagar, Rajiv Gandhi Salai, Chennai - 600 119
www.sathyabama.ac.in
BONAFIDE CERTIFICATE
This is to certify that this Project Report is the bonafide work of Nisha R (39130326) and Iris
Sherline Gladis (39130171) who carried out the project entitled "VOICE ACTIVATED
AUTOMATION SYSTEM FOR ELDERLY AND DISABLED PEOPLE " under my supervision from
November 2022 to April 2023.
Internal Guide
Dr. M. SUBRAMONIAM, M.E., Ph.D.,
i
DECLARATION
We, Nisha R (39130326) and Iris Sherline Gladis (39130171) here by declare that the Project Report
entitled " VOICE ACTIVATED AUTOMATION SYSTEM FOR ELDERLY AND DISABLED PEOPLE "
done by us under the guidance of Dr. M . SUBRAMONIAM, M.E., Ph. D., Associate Professor,
Dept. of Electronics and Communication Engineering, Sathyabama institute of science and
technology , Chennai, submitted partial fulfillment of the requirements for the award of Bachelor
of Engineering degree in Electronics and Communication Engineering.
PLACE :Chennai 1.
2.
ii
ACKNOWLEDGEMENT
We would like to express our sincere and deep sense of gratitude to our Project
Guide Dr. M. SUBRAMONIAM, M.E ,Ph.D., for his valuable guidance,
suggestions, and constant encouragement paved way for the successful
completion of my project work.
We wish to express our thanks to all Teaching and Non-teaching staff members
of the Department of Electronics and Communication Engineering who
were helpful in many ways for the completion of the project.
iv
ABSTRACT
As we know that the problem lies with the situation of the elderly or disabled people,
who cannot usually help themselves to move around, and might require external
assistance. People who live alone might also need a helping hand at home. As in
our busy schedule we cannot be able to help them at all. And there is a chance that
the elderly or disabled people may fall when they tend to operate something at
home. These can lead to injure to person which may lead to dead. Overcome this
scenario automating the home is the easiest method to reduce the time and effort
of the peoples.
Therefore, a voice controlled home automation system is designed, so that the users
can perform certain tasks by just the use of their voices, moreover, the system is
designed to have a handheld device(remote) so that the user can easily speak their
commands, otherwise they would have to walk over to the microphone to speak.
Having a remote will make the system more user-friendly and portable. The smart
automation system is most beneficial for disabled or aged people. The purpose of
this system is to control some of the major devices by voice. It is not only aimed at
providing a healthy and comfortable lifestyle to the users, but also at aiding the sick
or handicapped and people living alone. So that they can easily manage all their
tasks at a convenience.
v
TABLE OF CONTENTS
ABSTRACT v
LIST OF FIGURES vi
1 INTRODUCTION 1
2 LITERATURE SURVEY
3 REQUIREMENT ANALYSIS
vi
5 IMPLEMENTATION DETAILS
5.2 Algorithms 40
5.3 Testing 43
6.1 Results 45
6.2 Discussion 45
6.3 Benefits 46
6.4 Challenges 46
7 CONCLUSION
7.1 Conclusion 47
REFERENCES 51
APPENDIX
A. SOURCE CODE 52
B. SCREENSHOTS 58
C. RESEARCH PAPER 60
vii
LIST OF FIGURES
viii
LIST OF TABLES
ix
CHAPTER 1
INTRODUCTION
1
as services for the elderly, and improves the usability and functionality of any home.
Home automation systems allow one to control household appliances from a
centralized control unit, which is wireless. These systems can target luxury and
sophisticated home automation platforms or those with special needs like the elderly
and disabled.
Voice-controlled home automation systems are becoming popular for the elderly
and disabled, allowing them to perform tasks using their voices or a handheld
device. Home automation for the elderly and disabled focuses on making it possible
for them to remain at home, safe and comfortable, using similar technology and
equipment as home automation for security, entertainment, and energy
conservation.
There are many types of home automation systems like Bluetooth controlled,
Intemet Controlled, Remote Controlled (IR Remote) etc. Each type has its own
advantages and disadvantages.
2
appliances manually. By using voice commands, these individuals can easily and
conveniently control various aspects of their home environment without the need for
physical exertion or assistance from others. This technology has the potential to
improve the quality of life for elderly and disabled individuals, allowing them to live
more independently and comfortably in their own homes. With the increasing
prevalence of smart home technology, the voice-controlled home automation
system is becoming more accessible and affordable, making it a viable option for a
wide range of individuals.
It can be used to turn lights on and off, adjust the temperature, control the TV and
entertainment system, lock and unlock doors, and even make phone calls. This
system can provide a convenient and easy-to-use solution for those who may have
difficulty with physical mobility or have limited dexterity, allowing them to maintain
independence and control in their daily lives.
The main aim of our system is to build a perfect companion for someone to be at
home or in his/her office and control electronic appliances using voice. It’s a
Bluetooth and GSM technology system based that can accept voice as direct
commands and process them. The system is cheap, easy to configure and easy to
use. The users should be able to control all the appliances from any point in their
home or office by establishing a wireless control via Bluetooth.
The proposed scheme can produce an integrated portable system that can
wirelessly control two or more appliances. We demonstrate a system that can be
integrated as a single portable unit and allows the user to wirelessly control home
electrical appliance by turning them ON and OFF accordingly. The voice command
conveyed to the control unit has been converted to binary sequence by the
microcontroller which switches the load ON/OFF as desired. The microcontroller
unit takes command and performs the required decision.
Thus, the objectives of this project. An especially critical 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.
3
Automation is a trending topic in the 21st century making it play a key role in our
daily lives. The main attraction of any automated system is reducing human labour,
effort, time, and errors due to human negligence. With the development of modem
technology ,smart phones have become a necessity for every person on this planet.
Applications are being developed on android systems that are useful to us in many
ways. Another upcoming technology is natural language processing which enables
us to command and control things with our voice. Combining all of these, our paper
presents a micro controller based voice controlled home automation system using
smart phones. Such a system will enable users to have control over every appliance
in his/her home with their voice. All that the user needs are an android smartphone
,which is present in everybody’s hand nowadays, and a control circuit. When the
first computers came around, achieving the level of sophistication to narrate
commands using voice to a machine was only realised in science fiction. However,
with tremendous breakthrough in the field, we are at the precipice of truly using voice
to interface with devices.
Voice controlled wireless smart home system has been presented for elderly and
disabled people. The concept of controlling home appliances using human voice is
interesting. The proposed system has two main components, they are voice
recognition system, and wireless system. This system to control home appliances
uses a voice controlled android application. By the increasing use of PC (personal
computers), internet, mobile phone, and wireless technology, it makes it easy for a
user to remotely access and control the appliances.
A lot of research has been done and many solutions have been proposed to
remotely access the appliances. Some of them used internet, wireless technology
to communicate and control home appliances, others used Bluetooth and GSM
technology for controlling the home appliances. The main aim of our system is to
build a perfect companion for someone to be at home. Home automation research
targeted many needs like applications that provide the luxury smart requirements
while some threw light on the special needs for elderly and disabled etc. our system
is a computer based system that can accept voice to direct commands and process
them. The system provides us switching any device ON/OFF
4
CHAPTER 2
LITERATURE SURVEY
This survey was proposed by Sitaram Pal, Ashish Chauhan, Sanjeev Kumar Gupta
on September 2019 at International Journal of Recent Technology and Engineering
(IJRTE) ISSN: 2277-3878, Volume-8 Issue-3, September 2019. This paper aims
utilizing present day innovation for example Voice controlled smart home
automation system. The home automation is the future and important part of a
house. The home automation is highly dependable in system for controlling house
electrical appliances. As technologies improves the home automation system are
becoming smarter and can regulate certain tasks automatically and autonomously.
In this paper a home automation system is discussed, the system controls the
electrical appliance of house by using user interface device and speech recognition
technology by using microcontroller device via a Bluetooth module and a
mechanical relay acting as a switch for controlling electrical appliances.
This survey was proposed by Mok Wai Shan, Final Year Student Faculty of
Integrative Sciences and Technology Quest International University Perak Perak,
Malaysia. Today, voice recognition system is a popular trend for home automation
since the technologies are improved day by day. Voice recognition system for home
automation able to provide an affordable and simple to implement. Voice recognition
system is the process that a physical device able to control by recognize voice of
the speaker. The main purpose of this system design is to provide a straightforward
way for normal, handicapped, and old aged person to control and opera eking for
luxury and sophisticated home automation. This project is proposed voice
recognition module which used to record and import the instructions or commands
that used to control the basic function of the physical devices. With the help of
Arduino Uno, the physical devices able to control through speaker’s voice. Besides,
this project also implemented as a wireless control system.
The project is to build a Voice Control Home Automation System Using Arduino and
HC-05. This project utilizes a microcontroller and Bluetooth module. A
microcontroller is a compact integrated circuit designed to govern a specific
5
operation in an embedded system. So, in this system the microcontroller controls
the function of the lights. HC-05 module is an easy-to-use Bluetooth SPP (Serial
Port Protocol) module, designed for transparent wireless serial connection setup.
This way the lights can be controlled wirelessly with Bluetooth. 6 The project is to
build a Voice Control Home Automation System Using Arduino and HC-05. This
project utilizes a microcontroller and Bluetooth 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. HC-
05 module is an easy-to-use Bluetooth SPP (Serial Port Protocol) module, designed
for transparent wireless serial connection setup. This way the lights can be
controlled wirelessly with Bluetooth.
This survey was proposed by Babit Geo, Baby Adarsh Sunny, U.Saraswathi ,UG
Scholar ,Assistant Professor ,Department of Electronic and Communication
Engineering ,Christ the King Engineering College, Coimbatore . “Voice Controlled
Home Automation for People with Disabilities” is designed to assist the people with
physical disabilities, bedridden or elderly to control the electrical home appliances
using android application. Mostly the bedridden and elderly people find it difficult to
operate the home appliances. This system uses voice commands as well as the
switches to operate the electrical appliances in home. An android application is used
to get the voice commands from user. A Wi-Fi enabled WEMOS D1 Mini board is
used, and the home appliances are connected to this board using relays. The cloud
service is used to link the android application and the WEMOS board. A small Wi-
Fi enabled WEMOS board relates to the home appliances by using relay. Firebase
which is mobile and web application development platform which provides a link
between the android application and the WEMOS. The users of this product can
remotely access their home appliances from anywhere in the world.
6
system that helps users to operate the electrical appliances at home via utilizing
android mobile phones. Using android mobile phone in controlling the electrical
appliances could provide several benefits to diver’s users such as system security
where the system can validate specific voice that belongs to the system owner,
accessibility where the system can be used by people that have disabilities as
(blinded, deaf, dumb).
7
allow home residents to wirelessly control any electrical appliances that can be
configured to operate virtually. As real example, the home light system can be
controlled by using voice command recognition where then can be translated to turn
on, turn off, or set the levels of different rooms lights. In our project, it will be possible
to run any system from any place using a single voice command. The use of voice
recognition provides a significant increase in security, emulating an individual's
voice is much more challenging, and need the use of modern communication
technology. Android is a software stack for mobile devices that includes an operating
system, middleware, and key applications. Android boasts a healthy array of
connectivity ten options, including Wi-Fi, Bluetooth, and wireless data over a cellular
connection (for example, GPRS, EDGE (Enhanced Data rates for GSM Evolution),
and3G). Home automation is one of the major growing industries that can change
the way people live. Some of these home automation systems target those seeking
luxury and sophisticated home automation platforms; others target those with
special needs like the elderly and the disabled. The system is portable and
constructed in a way that is easy to install, configure, run, and maintain. The perfect
user interface still does not exist at present and to build a good interface requires
knowledge of both sociology and technology fields.
One of the most significant problems is the lack of interoperability between different
voice assistants. For example, if a homeowner has a Google Home and an Amazon
Echo in their home, they may not be able to use both devices to control their home
automation system. This is because each device uses a different voice assistant,
and they are not always compatible with each other.
Another problem is the lack of standardization in the way that voice commands are
interpreted. Different devices may interpret the same command in diverse ways,
which can be confusing for users. For example, one device may interpret the
command "turn on the lights" to mean that all the lights in the room should be turned
8
on, while another device may interpret the command to mean only the lights in that
room.
The accuracy of voice recognition is another open problem in the existing system of
voice-controlled home automation. While voice recognition technology has come a
long way in recent years, it is still not perfect. Accents, background noise, and other
factors can all impact the accuracy of voice recognition, which can lead to frustration
for users.
9
CHAPTER 3
REQUIREMENTS ANALYSIS
Feasibility studies are conducted to evaluate the practicality and potential success
of a proposed project. In the case of a voice-controlled home automation project,
several feasibility studies can be conducted to ensure that the project is feasible and
can be completed within budget and time constraints.
10
economic feasibility study will help to determine if the project can be
completed within budget and if it will provide a positive return on investment.
4. Legal Feasibility: The legal feasibility study is conducted to identify any legal
and regulatory issues that may arise during the implementation of the project.
This study will determine if the voice-controlled home automation system
complies with local laws and regulations, including privacy and data
protection laws.
In conclusion, the feasibility studies for the voice-controlled home automation project
are essential to ensure that the project is feasible, viable, and can be completed
within the established budget, time, and operational constraints. By conducting
these studies, project managers can identify potential challenges and risks, develop
contingency plans, and make informed decisions to ensure the successful
completion of the project.
11
the Arduino website. Layout and production files for some versions of the hardware
are also available. Although the hardware and software designs are freely available
under copyleft licenses, the developers have requested the name Arduino to be
exclusive to the official product and not be used for derived works without
permission. Most Arduino boards consist of an Atmel 8-bit AVR microcontroller
(ATmega8, ATmega168, ATmega328, ATmega1280, ATmega2560) with varying
amounts of flash memory, pins, and features. The 32-bit Arduino Due, based on the
Atmel SAM3X8E was introduced in 2012.
The boards use single or double-row pins or female headers that facilitate
connections for programming and incorporation into other circuits. These may
connect with add-on modules termed shields. Multiple and stacked shields may be
individually addressable via an I²C serial bus. Arduino microcontrollers are
preprogramed with a boot loader that simplifies uploading of programs to the on-
chip flash memory.
The default bootloader of the Arduino UNO is the Opti boot bootloader. Boards are
loaded with program code via a serial connection to another computer. Some serial
Arduino boards contain a level shifter circuit to convert between RS232 logic levels
and transistor–transistor logic (TTL) level signals. Current Arduino boards are
programmed via Universal Serial Bus (USB), implemented using USB-to-serial
adapter chips such as the FTDI FT232.
Other variants, such as the Arduino Mini and the unofficial Boarduino, use a
detachable USB-to serial adapter board or cable, Bluetooth, or other methods.
When used with traditional microcontroller tools, instead of the Arduino IDE,
standard AVR in-system programming (ISP) programming is used. Many enhance
12
the basic Arduino by adding output drivers, often for use in school-level education,
to simplify making buggies and small robots. Others are electrically equivalent but
change the form factor, sometimes retaining compatibility with shields, sometimes
not. Some variants use different processors, of varying compatibility.
The source code for the IDE is released under the GNU General Public License,
version 2. The Arduino IDE supports the languages C and C++ using special rules
of code structuring. The Arduino IDE supplies a software library from the Wiring
project, which provides many common input and output procedures. User-written
code only requires two basic functions, for starting the sketch and the main program
loop, which are compiled and linked with a program stub main () into an executable
cyclic executive program with the GNU toolchain, also included with the IDE
distribution. A program written with the Arduino IDE is called a sketch. [58] Sketches
are saved on the development computer as text files with the file extension. ino.
Arduino Software (IDE) pre-1.0 saved sketches with the extension. pde.
A minimal Arduino C/C++ program consist of only two functions: setup (): This
function is called once when a sketch starts after power-up or reset. It is used to
initialize variables, input and output pin modes, and other libraries needed in the
sketch. loop (): After setup() has been called, function loop() is executed repeatedly
in the main program. It controls the board until the board is powered off or is reset.
Blink example Most Arduino boards contain a light-emitting diode (LED) and a load
resistor connected between pin thirteen and ground, which is a convenient feature
for many tests and program functions. A typical program for a beginning Arduino
programmer blinks a LED repeatedly. This program uses the functions pinMode (),
13
digitalWrite(), and delay(), which are provided by the internal libraries included in the
IDE environment. This program is usually loaded into a new Arduino board by the
manufacturer.
3.2.3 Relay
The Arduino Relay module allows a wide range of microcontroller such as Arduino,
AVR, PIC, ARM with digital outputs to control larger loads and devices like AC or
DC Motors, electromagnets, solenoids, and incandescent light bulbs. This module
is designed to be integrated with 2 relays that it is capable of control 2 relays. The
relay shield uses one QIANJI JQC-3F high-quality relay with rated load
7A/240VAC,10A/125VAC,10A/28VDC.The relay output state is individually
indicated by a light-emitting diode.
Relays are used wherever it is necessary to control a high power or high voltage
circuit with a low power circuit, especially when galvanic isolation is desirable. The
first application of relays was in long telegraph lines, where the weak signal received
at an intermediate station could control a contact, regenerating the signal for further
transmission. High-voltage or high-current devices can be controlled with small, low
voltage wiring and pilots’ switches. Operators can be isolated from the high voltage
circuit. Low power devices such as microprocessors can drive relays to control
electrical loads beyond their direct drive capability. In an automobile, a starter relay
14
allows the high current of the cranking motor to be controlled with small wiring and
contacts in the ignition key. Electromechanical switching systems including
Strowger, and Crossbar telephone exchanges made extensive use of relays in
ancillary control circuits. The Relay Automatic Telephone Company also
manufactured telephone exchanges based solely on relay switching techniques
designed by Gotthilf Ansgarius Betulander. The first public relay based telephone
exchange in the UK was installed in Fleetwood on 15 July 1922 and remained in
service until 1959. The use of relays for the logical control of complex switching
systems like telephone exchanges was studied by Claude Shannon, who formalized
the application of Boolean algebra to relay circuit design in A Symbolic Analysis of
Relay and Switching Circuits.
Relays can perform the basic operations of Boolean combinatorial logic. For
example, the boolean AND function is realised by connecting normally open relay
contacts in series, the OR function by connecting normally open contacts in parallel.
Inversion of a logical input can be done with a normally closed contact. Relays were
used for control of automated systems for machine tools and production lines.
The Ladder programming language is often used for designing relay logic networks.
Early electro-mechanical computers such as the ARRA, Harvard Mark II, Zuse Z2,
and Zuse Z3 used relays for logic and working registers. However, electronic
devices proved faster and easier to use. Because relays are much more resistant
than semiconductors to nuclear radiation, they are widely used in safety-critical
logic, such as the control panels of radioactive waste-handling machinery.
Electromechanical protective relays are used to detect overload and other faults on
electrical lines by opening and closing circuit breakers.
HC‐05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module,
designed for transparent wireless serial connection setup. The HC-05 Bluetooth
Module can be used in a Master or Slave configuration, making it a great solution
for wireless communication. This serial port Bluetooth module is fully qualified
Bluetooth V2.0+EDR (Enhanced Data Rate)3Mbps Modulation with complete
2.4GHz radio transceiver and baseband. It uses CSR Blue core 04‐ External single
chip Bluetooth system with CMOS technology and with AFH (Adaptive Frequency
15
Hopping Feature). Bluetooth Module HC-05 The Bluetooth module HC-05 is a
MASTER/SLAVE module.
When the module is not connected to paired with any other Bluetooth device, signal
goes Low. At this low state, the led flashes continuously which denotes that the
module is not paired with another device. When this module is connected to/paired
with any other Bluetooth device, the signal goes High. At this high state, the led
blinks with a constant delay say for example 2s delay which indicates that the
module is paired.
A Bluetooth module is interfaced to the Arduino board at the receiver end while on
the transmitter end, a GUI application on the cell phone sends ON/OFF commands
to the receiver where loads are connected. By touching the specified location on the
GUI, the loads can be turned ON/OFF remotely through this technology.
The microcontroller then sends a signal to the relay board, which turns the lights
on/off based on the voice commands received 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, they are turned on.
In voice-controlled home automation projects, gear motors are often used to control
the movement of physical objects such as doors, windows, curtains, and blinds.
Gear motors are electric motors with gears attached to their shafts. The gears
provide additional torque to the motor, which makes it possible for the motor to turn
heavy objects.
In the context of home automation, gear motors are commonly used in conjunction
with sensors and microcontrollers. For example, a gear motor might be connected
to a sensor that detects when a window has been opened. The microcontroller
17
would then activate the gear motor to close the window when the sensor detects
that it is open.
There are several types of gear motors that can be used in home automation
projects. One of the most common types is the DC gear motor, which is a small,
low-cost motor that is suitable for many applications. DC gear motors are available
in a range of sizes and torque ratings and can be controlled using PWM signals from
a microcontroller.
When selecting a gear motor for a home automation project, there are several
factors that should be considered. One crucial factor is the torque rating of the motor,
which should be sufficient to move the object being controlled. Another factor to
consider is the speed of the motor, which should be appropriate for the application.
For example, a gear motor used to open and close a door should be slow enough
to prevent the door from slamming shut.
A voice-controlled home automation project for motion of bed requires the use of
servo motors. Servo motors are small, efficient motors that can be controlled
precisely to achieve specific movements. In a voice-controlled bed motion system,
servo motors can be used to control the movement of the bed, allowing the user to
adjust the position of the bed using voice commands.
18
Servo motors work on the principle of feedback control, where a control signal is
sent to the motor, and the motor adjusts its position until it reaches the desired
position. Servo motors have three main components, which include a motor, a
position sensor, and a control circuit. The position sensor continuously monitors the
position of the motor shaft, and the control circuit uses this information to adjust the
motor's position until it reaches the desired position.
In a servo motor, the motor shaft is connected to a control system, which consists
of a potentiometer, gears, and a control circuit. The potentiometer is connected to
the motor shaft and produces a voltage proportional to the motor's position. The
gears amplify the motor's movement and provide the necessary torque to move the
load. The control circuit compares the feedback voltage from the potentiometer with
the desired position and sends a control signal to the motor to adjust its position
accordingly.
In a voice-controlled bed motion system, servo motors can be used to control the
movement of the bed. The system can be designed to respond to voice commands
such as "Raise the head of the bed" or "Lower the foot of the bed." The servo motors
can be used to adjust the position of the bed, accordingly, allowing the user to
achieve the desired position without the need for manual adjustment.
To implement the voice-controlled bed motion system, the servo motors can be
connected to the bed's frame and controlled using a microcontroller. The
microcontroller can be programmed to receive voice commands through a voice
recognition module and adjust the position of the servo motors accordingly. The
system can be designed to respond to specific voice commands and adjust the bed's
position to specific angles or positions.
The solenoid switch can be used as an actuator to control the lock mechanism,
either by engaging or disengaging the lock. The switch is usually made up of a coil
19
of wire wrapped around a metal core, which generates a magnetic field when a
current flows through the wire. This magnetic field then attracts an iron or steel
plunger, which is used to push or pull the lock mechanism.
In a voice-controlled home automation project for a door lock, the solenoid switch
can be controlled by a microcontroller, such as an Arduino or a Raspberry Pi, using
a relay module or a transistor circuit. The microcontroller can receive voice
commands from a user and then send a signal to the solenoid switch to activate the
lock mechanism.
Once the appropriate solenoid switch has been selected, the next step is to design
the circuit for the switch. This can involve using a relay module or a transistor circuit
to control the switch. The circuit should be designed to protect the switch from
voltage spikes and other electrical hazards that can damage the switch.
After the circuit has been designed and programmed, it must be evaluated to ensure
that it is functioning correctly. This can involve evaluating the switch with several
types of voice commands and checking if the lock mechanism is being engaged or
disengaged correctly. The system should also be evaluated for reliability and
security, to ensure that the lock mechanism is not being compromised by
unauthorized access.
20
In conclusion, a solenoid switch can be an effective component of a voice-controlled
home automation system for a door lock. It can be used to control the lock
mechanism based on voice commands from the user and can be implemented using
a microcontroller and suitable circuit design.
Relay is an electromagnetic switch which can be turn on and off by an applying the
voltage across its contacts. In this project used a 5V 4-channel relay.
The Android platform includes support for the Bluetooth network stack, which allows
a device to wirelessly exchange data with other Bluetooth devices. The application
framework provides access to the Bluetooth functionality through the Android
Bluetooth APIs.
System use cases refer to the different scenarios and interactions between users
and the proposed system. In the case of the voice-controlled home automation
project, the following use cases can be identified:
21
1. Turning on/off lights: The user can speak a command to turn on or off the
lights in a particular room or area of the house.
3. Controlling appliances: The user can control various home appliances such
as TV, music system, or other smart devices through voice commands.
4. Opening/closing doors: The user can use voice commands to open or close
doors in the house, such as the front door or garage door.
5. Security system: The user can arm or disarm the security system of the house
through voice commands.
6. Setting reminders: The user can set reminders or alarms for various tasks,
such as waking up in the morning or taking medication.
7. Checking the weather: The user can ask the system to provide weather
updates for the current or future days.
8. Providing information: The user can ask for information on several topics
such as news, sports, or current events.
9. Ordering groceries: The user can use the system to order groceries or other
household supplies through online retailers.
Overall, the voice-controlled home automation system can provide users with
increased convenience, efficiency, and accessibility in managing various aspects of
their home environment through simple voice commands.
22
Bluetooth Module. Before that, we must install the App mentioned above in the
phone. The home screen of the app looks something like this.
Next step is to connect the phone with the Bluetooth module. For this, choose the
option “Connect Robot” and select the appropriate Bluetooth Device. If the devices
are not paired earlier, we need to pair them now using the Pin of the HC – 05
Bluetooth Module. Next step is to connect the phone with the Bluetooth module.
For this, choose the option “Connect Robot” and select the appropriate Bluetooth
Device. If the devices are not paired earlier, we need to pair them now using the Pin
of the HC – 05 Bluetooth Module. When the string “turn on light” is detected by the
app, it will send the string as “*turn on light#.” So, the actual message received by
the Bluetooth Module is in the format of “*Message#.” The reason for padding the
‘*’ and ‘#’ at the begging and end of the string is to identify the starting and ending
of the message.
We can delete the ‘#’ from the string but left out the ‘*’ to identify the starting of the
string. The received message is compared with some predefined strings and if the
message matches with any of them, then corresponding action like turning on or
turning off the load happens.
We have used the following commands: “turn on AC,” “turn off AC,” “turn on light,”
“turn off light,” “turn on TV,” “turn off TV,” “turn on fan,” “turn off fan,” “turn on all” and
“turn off all.”
23
thermostats to their desired temperature, ensuring maximum comfort while
minimizing energy usage. This feature is particularly useful for people who want to
save energy and money by optimizing their HVAC usage.
ii. to use Bluetooth connection to control the lights via a phone from anywhere
in a room.
iii. to use a relay board to control the switching on and off specific bulbs
The voice controlled lighting system uses voice recognition APIs based on google
to articulate the voice of the person speaking and effectively come up with the
command to enable the person to 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 google APIs 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. Using the relay board, the control of the various
lights of the house would be easier.
Through the android application we can instruct the microcontroller to switch on/off
the lighting system. After getting the instruction through the Bluetooth 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.
24
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.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.
25
CHAPTER 4
One of the constraints of speech recognition systems is the style of speech they can
recognize. There are three distinctive styles of speech that are isolated, connected,
and continuous. Isolated speech recognition systems – It can only manage words
that are spoken separately. This is the most common speech recognition systems.
The user must pause between each word and command spoken. Connected – It is
a half-way point between isolated word and continuous speech recognition. It allows
26
users to speak multiple words. Continuous – It is the natural conversational speech
people are accustomed to in everyday life. It is extremely difficult for a recognizer to
shift through the text as the words tend to merge. Isolated speech recognition
system is another feature, of IC HM2007, and a characteristic of the system.
The system architecture can be divided into four main components, as follows:
27
2. Control Module: The control module is responsible for processing the digital
signals generated by the speech recognition module and performing the
desired action. The control module is implemented using a microcontroller or
a digital signal processor (DSP). The microcontroller or DSP reads the digital
signals generated by the speech recognition module, interprets them, and
generates the appropriate control signals to operate the device interface
module.
4. User Interface Module: The user interface module is responsible for providing
feedback to the user about the status of the system and the devices being
controlled. The user interface module can be implemented using a display,
LEDs, or a speaker. For example, if the speech command is "turn on the
lights," the user interface module can display a message saying "lights on"
or play a beep sound to indicate that the command has been executed
successfully.
28
technology is to provide the desired range and feasibility. The microcontroller device
with the Bluetooth module and relay circuit needs to be attached to the bread board.
The proposed system described earlier involves the use of hardware components
such as microcontrollers, sensors, and speech recognition integrated circuits.
However, software plays a crucial role in integrating all these components and
providing a user-friendly interface for the end-user.
The software for implementing the proposed system can be divided into two main
components: the firmware for the microcontroller and the software for the user
interface.
Firmware: The firmware is the software that runs on the microcontroller and controls
all the hardware components. The firmware is responsible for reading sensor data,
processing speech input from the user, and controlling output devices. In the case
of the proposed system, the firmware would be responsible for reading sensor data
from the environment and processing the speech input from the user using the
speech recognition integrated circuit. Once the input is processed, the firmware
would control the output devices such as lights, fans, and motors accordingly. The
firmware would also include error handling and feedback mechanisms to ensure the
system functions correctly and provides a user-friendly experience.
User Interface Software: The user interface software is responsible for providing an
interface for the end-user to interact with the system. The user interface software could
be implemented as a desktop or mobile application or a web application. The user interface
29
would allow the user to interact with the system by providing voice commands, selecting
options, and viewing feedback from the system. The software would also include features
such as user management, scheduling, and customization of the system.
The user interface software would communicate with the firmware through a
communication protocol such as UART or Bluetooth. The user interface would send
commands to the firmware based on user input, and the firmware would respond
with feedback and status updates.
Implement the software for the proposed system, various programming languages
and frameworks can be used. The firmware could be written in C or C++, and the
user interface could be implemented using languages such as Python, JavaScript,
or Java. The user interface could be implemented as a web application using
frameworks such as React or Angular, or as a desktop application using frameworks
such as Qt or Electron.
In conclusion, the software for implementing the proposed system would involve
developing firmware for the microcontroller and software for the user interface. The
firmware would be responsible for controlling all the hardware components, and the
user interface would provide an interface for the end-user to interact with the system.
The software would need to be scalable, maintainable, and secure, with provisions
for updates and bug fixes. Various programming languages and frameworks can be
used to implement the software, depending on the specific requirements of the
system.
The project management plan for the proposed system includes the processes,
tools, and techniques used to manage the project from start to finish. The plan
outlines the project scope, objectives, timelines, resource requirements, and risk
management strategies. Here is a brief overview of each element of the project
management plan:
30
1. Project Scope: The project scope outlines the boundaries of the project,
including what will be delivered, the timeline, and the resources required. The
project scope is defined by the project manager in collaboration with the
stakeholders.
2. Objectives: The objectives of the project are the goals that the project is
intended to achieve. These objectives are defined in collaboration with the
stakeholders, and are used to measure the success of the project.
3. Timelines: The timeline for the project includes the start and end dates, as
well as any intermediate milestones. The timeline is developed based on the
scope of the project and the resources available.
6. Budget: The project budget includes all the costs associated with the project,
including personnel, equipment, materials, and other expenses. The project
manager must ensure that the project stays within the approved budget.
31
9. Change Management: Change management involves managing changes to
the project scope, objectives, timelines, or resources. The project manager
must ensure that any changes are carefully considered and approved by all
stakeholders.
10. Project Closure: The project closure plan outlines the process for closing out
the project, including finalizing all deliverables, conducting a project review,
and transitioning any ongoing operations to the appropriate stakeholders.
Overall, the project management plan for the proposed system is critical to ensuring
that the project is completed on time, within budget, and to the expected level of
quality. The plan should be developed early in the project planning process, and
should be reviewed and updated regularly throughout the project. Effective project
management requires a strong focus on communication, risk management, and
stakeholder engagement, as well as the ability to adapt to changing circumstances
and priorities.
Estimate the cost of the proposed system for voice activated automation, several
factors need to be considered, such as hardware, software, personnel, training, and
maintenance costs.
Hardware Costs: The hardware cost includes the cost of the microcontroller, speech
recognition integrated circuit (IC HM2007), sensors, actuators, and other electronic
components. The estimated cost of these hardware components depends on the
quality of components and the number of devices to be automated.
Software Costs: The software cost includes the cost of the development of the
software required to operate the system. This includes the cost of the speech
recognition software, control software for the automation devices, and software
required for data storage and analysis.
Personnel Costs: Personnel costs include the salary of the team members involved
in the development of the system, including project managers, software developers,
hardware engineers, and quality assurance engineers.
The cost may vary depending on the quality of components used, the complexity of
the software, the experience of the personnel involved, and the number of devices
to be automated.
The technology behind this phenomenon is quite complex, but the concept is simple:
the use of voice commands to control various devices in a home or office
environment. This technology is based on the use of several components, including
Arduino, relay, solenoid switch, gear motor, servo motor, and Bluetooth module,
among others. In this financial report, we will discuss the cost implications of
implementing voice-controlled home automation technology using these
components.
Relays are electrical switches that allow you to control a high-powered device with
a low-powered signal. They are commonly used in home automation systems to
control appliances such as lights and fans. The cost of a relay depends on its
specifications, including the voltage, current rating, and switching speed.
Solenoid switches are electromagnetic switches that are used to control the
movement of a mechanical device. They are commonly used in automated door
locks and other security systems. The cost of a solenoid switch depends on its
specifications, including the voltage, current rating, and actuation speed.
Gear motors are motors that are specifically designed to provide high torque output.
They are commonly used in home automation systems to control devices such as
curtains and blinds. The cost of a gear motor depends on its specifications, including
the torque output, voltage rating, and speed.
Servo motors are motors that are specifically designed to provide precise control
over the position of a mechanical device. They are commonly used in home
33
automation systems to control devices such as robotic arms and cameras. The cost
of a servo motor depends on its specifications, including the torque output, voltage
rating, and speed. On average, a servo motor costs around $5 to $15, depending
on its specifications.
Bluetooth modules are electronic devices that allow you to communicate wirelessly
with other devices. They are commonly used in home automation systems to control
devices such as lights and speakers. The cost of a Bluetooth module depends on
its specifications, including the range, data transfer rate, and compatibility with other
devices.
The cost of the voice-controlled home automation system will depend on the number
of devices that you want to control. The more devices you want to control, the higher
the cost will be. For example, if you want to control only the lights in your home, the
cost will be low. However, if you want to control the lights, fans, blinds, and other
devices, the cost will be higher. The complexity of the control system will also affect
the cost of the voice-controlled home automation system.
Manage the cost effectively, the project manager needs to ensure that the project is
completed within the estimated budget and timeline. The project manager should
also ensure that the resources are utilized effectively and efficiently, and the risk
factors are identified and mitigated in time. Additionally, the project manager should
conduct regular reviews and audits to ensure that the project is on track and identify
any deviations from the planned budget and timeline. By managing the project
effectively, the cost can be optimized, and the project can be delivered within the
budget and timeline constraints.
34
and what functions do you need to automate? Identifying your needs will help you
choose the right software and ensure that you get the most out of your system.
There are several voice assistants available, including Amazon Alexa, Google
Assistant, and Apple's Siri. Each of these assistants has its unique features, so you
need to choose the one that best suits your needs. Consider factors such as the
devices you already own and your preferred ecosystem.
The software is compatible with a wide range of smart home devices, including
smart bulbs, thermostats, locks, and cameras. It provides homeowners with an easy
and convenient way to control their homes without having to use their hands or a
remote control.
One of the key benefits of using voice-controlled home automation software is that
it enables homeowners to control their homes hands-free. This is particularly useful
for individuals with mobility issues or disabilities. The software allows them to control
their homes using their voice, which is more accessible and convenient than
traditional control methods.
The software to operations plans for the voice-controlled home automation system
involves the steps required to ensure that the system runs smoothly and efficiently.
It covers the process of implementing the software, testing, maintenance, and
monitoring of the system to ensure it meets the requirements and specifications of
the project.
35
1. Implementation: The first step is to implement the software into the hardware
components of the system. The software should be installed in the control
unit of the automation system and evaluated to ensure that it works correctly.
The installation process should follow the guidelines provided in the software
manual, and any issues should be addressed immediately.
2. Testing: After the software has been installed, the system should be
evaluated to ensure that it meets the requirements and specifications of the
project. This should include evaluating the speech recognition capabilities of
the system, the accuracy of the system in recognizing voice commands, and
the response time of the system. The testing should be conducted in different
environments to ensure that the system works correctly in all scenarios.
36
CHAPTER 5
IMPLEMENTATION DETAILS
The development and deployment setup for the voice-controlled home automation
project involves several steps to ensure the smooth functioning of the system.
Voice-controlled home automation systems have been gaining popularity over the
past few years, enabling users to control various home appliances and devices
through voice commands. This technology is rapidly evolving and becoming more
sophisticated, allowing for more complex interactions and a greater level of control
over smart homes. In this article, we will discuss the development and deployment
of voice-controlled home automation systems.
In the testing stage, the team conducts a series of tests to evaluate the functionality,
reliability, and user-friendliness of the system. This involves both automated and
manual testing, including simulated user interactions and real-world testing in a
controlled environment. Based on the results of the testing, the team may need to
adjust the system before proceeding to the final deployment stage.
37
compatible with a wide range of devices and appliances. Once the system has been
deployed, the team continues to monitor its performance and make improvements
as needed.
1. Hardware Setup: The first step involves setting up the hardware components
required for the voice-controlled automation system, which includes
microphones, speakers, the HM2007 speech recognition integrated circuit,
and other related electronic components. The hardware setup should be
carefully done to ensure that all the components work together seamlessly.
2. Software Development: The next step is to develop the software required for
the voice-controlled automation system. The software should include the
speech recognition algorithm, the user interface, and the control system that
38
connects to the different appliances in the home. The software should be
developed in a way that is user-friendly, efficient, and robust.
4. Deployment: After the testing phase is complete, the next step is to deploy
the system. The deployment process involves setting up the system in the
user's home and connecting it to the different appliances that the user wants
to control using voice commands. The deployment process should be done
with care, and the user should be given appropriate training on how to use
the system.
In summary, the development and deployment setup for the voice-controlled home
automation project involves hardware setup, software development, testing,
deployment, maintenance and support, and upgrades and enhancements. These
stages should be carefully planned and implemented, ensuring that the system
works seamlessly, and meets the user's needs effectively. With proper planning and
execution, the voice-controlled home automation system can provide a convenient
and efficient way for users to control their appliances using voice commands.
39
5.2 Algorithms
40
Fig: 5.1 : Flow chart
Using the above components, we implement our system. The core component of
this system is the Arduino Uno which has a microcontroller i.e Atmega 328. Atmega
328 has a32KB flash, it is needed to burn a boot loader and download arduino
sketches. The boot loader is programmed under ISP program controller. An adapter
of 12V output power supply is used as an input to the voice controlled Arduino
system. Relays are connected to the output pins of Arduino Uno; these are used as
switches to the loads. Android is a mobile operating system based on Linux kernel
and currently developed by Google. We prefer android platform because of its huge
market globally and it is easy to use user interface. The voice recognizer which is
an inbuilt feature of android phones is used to build an application which the user
can operate to automate the appliances at his house.
41
Through the application we can instruct the microcontroller to switch ON/OFF an
appliance. After getting the instruction through the Bluetooth module, the
microcontroller gives the signal to the relay board. The application first searches for
the Bluetooth device. If it is available, then it launches the voice recognizer. It reads
the voice and converts the audio signal into string. It provides a value for each
appliance which will be fed to the microcontroller device.
The microcontroller uses the port in serial mode. After reading the data it decodes
the input value and sends a signal to the parallel port through which the relay circuit
will be activated. 32 In this project, a simple Voice Activated Home Automation
system is designed. Voice commands are used to control different appliances. We
will now see the working of the project. All the connections are made as per the
circuit diagram above.
After making the necessary connections, we must switch on the power supply to the
circuit. Now, we need to pair the Phone’s Bluetooth to the HC – 05 Bluetooth
Module. Before that, we must install the App mentioned above in the phone.
The home screen of the app looks something like this. Next step is to connect the
phone with the Bluetooth module. For this, choose the option “Connect Robot” and
select the appropriate Bluetooth Device. If the devices aren’t paired earlier, we need
to pair them now using the Pin of the HC – 05 Bluetooth Module.
Next step is to connect the phone with the Bluetooth module. For this, choose the
option “Connect Robot” and select the appropriate Bluetooth Device.
If the devices aren’t paired earlier, we need to pair them now using the Pin of the
HC – 05 Bluetooth Module. When the string “turn on light” is detected by the app, it
will send the string as “*turn on light#.” So, the actual message received by the
Bluetooth Module is in the format of “*Message#.”
The reason for padding the ‘*’ and ‘#’ at the begging and end of the string is to
identify the starting and ending of the message. We can delete the ‘#’ from the string
but left out the ‘*’ to identify the starting of the string.
The received message is compared with some predefined strings and if the
message matches with any of them, then corresponding action like turning on or
turning off the load happens.
42
We have used the following commands: “turn on AC,” “turn off AC,” “turn on light,”
“turn off light,” “turn on TV,” “turn off TV,” “turn on fan,” “turn off fan,” “turn on all” and
“turn off all.”
5.3 Testing
Testing is a critical part of any software development project, and the voice-
controlled home automation project is no exception. In this project, testing will
involve several stages, including unit testing, integration testing, system testing, and
user acceptance testing.
User acceptance testing is the final stage of testing and involves evaluating the
system with real users in a real-world environment. This testing will be done using
test cases that simulate different usage scenarios and user interactions. The
purpose of user acceptance testing is to ensure that the system meets the needs
and expectations of its users and is easy to use and understand.
43
To ensure that testing is conducted effectively, a comprehensive testing plan will be
developed that outlines the testing approach, test cases, and expected outcomes.
The testing plan will also specify the testing tools and techniques that will be used,
as well as the roles and responsibilities of the testing team.
Every step of the system's creation included a performance test and measurement
on a breadboard. This process involved mounting all the components onto their
respective circuit positions on the breadboard. The microcontroller's configured
output to input was also considered when mounting it. The microcontroller was
examined after programming, and it was discovered to be functioning properly. After
completing the component mounting, the entire system was evaluated, and the
outcomes were measured. A digital multimeter was used to verify that the battery
power source of 9V was adequate to power the Arduino Uno. The complete system
was built in this manner during the laboratory installation.
In addition to testing, the project team will also conduct regular quality assurance
reviews to ensure that the project is meeting its quality standards. These reviews
will be conducted at key milestones throughout the project and will involve a review
of all project deliverables to ensure that they meet the required quality standards.
Overall, testing is a critical part of the voice-controlled home automation project, and
the project team will take a rigorous and comprehensive approach to testing to
ensure that the system meets all its requirements and performs as expected in a
real-world environment.
44
CHAPTER 6
6.1 Results
This chapter provides the results of the Voice Controlled Lighting System tests
which was evaluated using different methods. The discussion attempts to highlight
the results, the benefits and shortcomings of the results obtained, and the
implications of those results towards performance of the system. Four persons with
different accents and from different age groups were used to evaluate the
effectiveness of the voice (speech) recognition application and the switching
mechanism. Each person said the controlling command for switching the specific
lighting point four times (twice ON, twice OFF).
The commands correspond to the various lighting points that can be turned on or
off by using voice. Give the command that switches on or off any lighting point, the
point’s name is called and the word “On” or “Off” is spoken immediately after. This
can be seen from the way the items (speech commands) are written under the
‘command’ column. The other columns, namely, A, B, C, D, tracks the number of
times out of four (4), that the corresponding lighting being controlled responded (by
switching on or off).
6.2 Discussion
The study was successfully designed and evaluated. Four people with four different
accents participated in the tests (A, B, C, D). The purpose of having these people
to evaluate the software was to see how well the system performs or responds to
differences in accents and pitches when voice commands are issued to it. The
optimum distance of the user should stay from the microphone (phone) when issuing
speech commands is eighteen inches. When the voice commands were issued for
the first time, it was discovered that it was very vital for users to speak slowly. In all,
the success rate was 95%. This was gotten from expressing the successful
commands as a ratio of the total number of commands issued across all persons
who conducted the tests.
This ratio was then expressed as a percentage. During system testing, when it
comes to processing time, the Google Speech Recognition Engine took a while to
45
deal with the voice requests. In addition, there were a few instances that the user
voice could not be recognized. Under the noisy condition out of five trials only four
were correctly recognized thus the accuracy of the voice recognition module under
noisy condition is 80%. Nevertheless, the system reached the expectations, by
demonstrating a relevant flexibility in adapting to different scenarios and ascents
while properly responding to the user voice requests.
6.3 Benefits
From the results obtained above, it is evident that the system can simplify controlling
of lighting system in aa home using 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 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 with ease, without going through much pressure or
stress of moving about.
Android applications are quite simple and user friendly allowing the user to
understand its functionalities in truly little time. Hence, the use of android application
in this system allows a user to easily learn the process and get accustomed to the
functions. Moreover, the entire system is very flexible and scalable. Any number of
lighting points can be added as and when required. 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 easier
as the device can be used in every building using electrical appliances and devices.
6.4 Challenges
There were a few challenges that we faced during this project’s implementation.
While speaking to the voice application, it produced wrong voice commands in
response to environmental noise, and it was noted that absolute silence and solitude
could enable it work properly. Also, there was a delay between the transmission and
reception of the voice command
46
CHAPTER 7
CONCLUSION
7.1 Conclusion
Conclusion 1: The first objective of the study was to implement the voice user as an
input to microcontroller to always control the lighting system. From the results, the
AMR voice application was used successfully to capture the voice commands. The
voice recognition APIs in the application could identify the specific commands used
except for a few instances. The commands were used to activate the respective
relays thereby controlling the lighting system.
Conclusion 2: The second objective was to use Bluetooth connection to control the
lights via a phone from anywhere in a room. Bluetooth technology was effectively
used to send the voice commands to the microcontroller. Based on the results, it is
evident that the Bluetooth module was able to connect to the phone and transmit
the voice input to the microcontroller successfully.
Conclusion 3: The third objective of the study was to use a relay board to control the
switching on and off specific bulbs. The 4-channel relay used in the project
controlled the four lighting points according to the voice commands efficiently. From
the results, the lighting points, that is, room, table, bedroom, and security, was
turned on and off respectively as per the user input hence this objective was
achieved. The Voice Controlled Lighting System was built and implemented
successfully.
47
for many automation applications such as industrial automation, automotive,
military, healthcare, transportation and so on. Further the coverage area can also
be increased using GSM modules.
The future work for the voice controlled home automation project could involve
various areas of improvement and expansion. Here are some directions for future
work:
Overall, the future work for the voice-controlled home automation system would
focus on expanding its capabilities and improving its functionality, usability, and
security. The advancements in technology and increasing demand for smart homes
and IoT devices will continue to drive innovation and development in this area.
One potential research issue for a voice-controlled home automation project is the
accuracy and reliability of the speech recognition system. While speech recognition
technology has come a long way in recent years, it is not yet perfect and can struggle
with accents, background noise, and other factors that can affect speech clarity.
This can lead to frustration for users if their commands are not accurately
recognized or the system does not respond as expected.
Another research issue is the security and privacy of the system. Voice commands
can potentially be overheard by others, so it is important to ensure that the system
is secure and only responds to authorized users. Additionally, the system may
collect personal information or data about users, so it is important to have
appropriate privacy measures in place to protect this information.
50
REFERENCES
51
APPENDIX
A. SOURCE CODE
#include <Servo.h>
// Define LCD display pins
const int rs = 12, en = 11, d4 = 10, d5 = 9, d6 = 8, d7 = 7;
int servoPin = 3;
Servo servo;
int angle = 0;
void setup()
{
Serial.begin(9600); //Sets the baud for serial data transmission
// Set Relay pins as OUTPUT
pinMode(Light, OUTPUT);
pinMode(Fan, OUTPUT);
pinMode(Door, OUTPUT);
52
//pinMode(Pump, OUTPUT);
// Print massage on LCD Display
lcd.begin(16, 2);
lcd.setCursor(0,0);
lcd.print("Voice Controlled");
lcd.setCursor(0,1);
lcd.print("Home Automation");
delay(2000);
// All devices are Off when system is on
digitalWrite(Light, LOW);
digitalWrite(Fan, LOW);
digitalWrite(Door, LOW);
//digitalWrite(Pump, LOW);
servo.attach(servoPin);
// Print Device status (all Off) on LCD Display
lcd.clear();
lcd.setCursor(0,0);
lcd.print("LIT FAN DOR BED");
lcd.setCursor(0,1);
lcd.print("OFF OFF LOC DWN");
void loop()
{
// Read data from Bluetooth Module
char ch=0;
data="";
while(1)
53
{
while(Serial.available()<=0);
if(ch=='#')
break;
data+=ch;
}
54
digitalWrite(Fan, HIGH);
lcd.setCursor(4,1);
lcd.print(" ON");
delay(200);
}
55
for(angle = 0; angle < 180; angle++) {
servo.write(angle);
delay(15);
}
lcd.setCursor(12,1);
lcd.print(" UP");
delay(200);
}
else if (data== "*turn off bed" ) // turn off Device4
{
//digitalWrite(Pump, HIGH);
for(angle = 180; angle > 0; angle--) {
servo.write(angle);
delay(15);
}
lcd.setCursor(12,1);
lcd.print("DWN");
delay(200);
}
56
lcd.print(" ON ON OPN UP");
delay(200);
}
else if (data== "*turn off all" ) // turn off all Device
{
digitalWrite(Light, LOW);
digitalWrite(Fan, LOW);
digitalWrite(Door, LOW);
//digitalWrite(Pump, HIGH);
for(angle = 180; angle > 0; angle--) {
delay(15);
}
lcd.setCursor(0,1);
lcd.print("OFF OFF OPN DWN");
delay(200);
}
}
57
B. SCREENSHOTS
58
Fig: Model view of project
59
C. RESEARCH PAPER
ABSTRACT control have been used for this purpose. The major
objective of this system
60
compares the received gesture with the stored which makes it difficult to fully understand these
templates and accordingly controls the home systems.
appliances. The system is also suitable for the
elderly. However, the need to store gestures in the 3.2 Aims and Objectives
microcontroller is becoming less relevant as similar The objective of this research is to create a robust
applications are now available in Android-based and adaptable voice-controlled automation system
systems. An automated system that does not prototype that can remotely turn on or off
require gestures would be more appropriate. electronic equipment in a house or company. The
2.3 Bluetooth-based wireless home automation system will use a microcontroller, and voice
system built on FPGA technology: commands transmitted through a Bluetooth-based
Android application. The system will be capable of
In their study, B. M. Krishna, et al. [3] discussed a controlling appliances such as bulbs, fans, and
Bluetooth-based FPGA-based wireless home televisions.
automation system. They emphasized the usage of
Bluetooth and how they used an Android 3.3 Significance of Study
smartphone and the HC-05 Bluetooth module to
The development of software tools that offer
operate various household appliances. This system
protection and comfort to the elderly and disabled
is particularly beneficial for the elderly and
has been the focus of recent home automation
physically challenged individuals as it reduces their
research. Such research has a high degree of
physical effort, saves time, and conserves energy.
scalability because every structure with electrical
Future research, according to the authors, should
appliances and equipment can use the created
focus on creating a more sophisticated home
gadget.
automation control system.
4. THEORY FRAMEWORK
3. BACKGROUND OF STUDY
Bluetooth wireless technology is used in this paper
The advancement of technology has led to the
as a method of wireless communication. The
development of modern electronic devices that can
smartphone's Android software can be used to
be remotely controlled. The "Voice Control
remotely operate various electrical appliances. The
Automation System" is a home automation system
Arduino then delivers the signal to the relay circuit
that is presented in this article. It allows users to
after receiving the order from the smartphone
operate appliances by speaking commands into an
through the Bluetooth module. Wireless Bluetooth
Android app that communicates wirelessly with an
technology is used for delivering the appropriate
Arduino microcontroller via Bluetooth. The Arduino
scope and viability. The relay circuit, Bluetooth
is interfaced with the main circuit that includes two
module, and microcontroller device are all linked to
relays which can be connected to various electronic
the breadboard. The microcontroller is told to turn
appliances. This system replaces conventional wall
an appliance ON or OFF when the Android-based
switches with a central control system that can be
software "Smart Voice" is activated. The speech
accessed using smartphones, especially for elderly
recognizer is made available once the android
or physically challenged individuals who may have
application looks for relevant Bluetooth device that
difficulty accessing switches which were in various
is currently available. The application transforms
parts of the office or house.
the audio signal into a string. For each appliance, a
3.1Statement of problem value is generated and delivered to the
microcontroller, which after reading and decoding
Nowadays, automation through robots is becoming the input data, activates the relay circuit by sending
increasingly important for improving our living a signal to the parallel port.
standards. The use of voice control in automation
offers a modern way of controlling all appliances in 4.1 Android Based Smart Phone
a home or office. Several research studies have
The Google-developed Android operating system,
been conducted in this area, but there is a lack of
which is based on the Linux Kernel, offers a user-
clear information about the circuit diagrams,
friendly interface that enables direct manipulation
schematics, and microcontroller (Arduino) coding,
using touch commands. This operating system has
61
a wide range of global applications and is suitable
for the development of mobile applications using
the programming in embedded C using a software
development kit (SDK). One of the inherent
capabilities of Android phones is the voice
recognizer, which can be utilized to create an
application for automating the control of household Fig: 2 Bluetooth module
or office appliances.
4.3 Arduino Uno
The Arduino micro controller board is a popular
option for engineering and physical computing
applications. Beginners will find it simple to use,
while expert users will find it versatile enough. The
Arduino Uno is the model of Arduino
microcontroller utilized in this study owing of its
affordability and capability. There are several
varieties of Arduino microcontrollers available. It
contains several input/output pins, a USB
connection connector, and may be powered by
Fig 1: Voice Application Interface either an AC-to-DC converter or a USB cable. In this
project, the Arduino Uno is utilized to supply the
relays with signal power and receive signals from
In this research, an Android-based application the HC-05 Bluetooth module. The Bluetooth
called "AMR Voice" was used to control the voice- module sends text to the Arduino Uno serial port,
activated home automation system. For speech where it is matched against different combinations
recognition, the application makes use of the of texts to turn the appliances ON and OFF. The
Google voice recognition technology, making it two-channel relay device is employed for this
easier for users to control their appliances using project, and the appliances are connected to pins 4
voice commands. This approach offers a more user- and 7 of the Arduino Uno through relay boards. The
friendly experience and adds to the convenience of relevant pin receives a high or low output signal to
the voice-controlled automation system. turn on or off the associated appliance if the
matching text is found.
4.2 Bluetooth Module
A wireless approach for sending data over short
distances is Bluetooth technology. Personal area
networks (PANs) and mobile devices frequently
use this UHF radio frequency, which operates
between 2.4 and 2.485 GHz. In this project, a user-
friendly serial port protocol module with a 9-meter
range called the HC-05 Bluetooth module is
Fig 3 Arduino Uno Microcontroller
employed. It is a fully qualified Bluetooth
V2.0+EDR single chip system with an adaptive
frequency hopping function. The pairing pin code
is "1234", and the slave default band rate is 9600. 4.4 2-Channel Relay Module
It automatically connects to the last device on Relays are electromechanical switches that have
power. Using an Android smartphone, the text
traditionally been employed in early computers and
that the Arduino microcontroller's serial port long-distance telegraph networks to conduct logical
receives is sent via Bluetooth. processes. While constructing circuits, it is
important to take the trigger voltage into account
since several types of relays function at various
voltages. The high and low voltage signals required
by the relay to turn appliances ON and OFF are
62
provided by the Arduino Uno microcontroller in this the Android application to regulate the loads. The
experiment. Whether an appliance is turned ON or Android app searches for and establishes a wireless
OFF depends on the signal that the relay receives. connection with the Bluetooth device, then reads
The voice-controlled automation system's relay the user's voice commands and sends the
circuit powers two appliances, but the designer can appropriate signals to the microcontroller to
change the number of loads that are coupled to the activate the relays and switch the loads on/off.
relays. A visual illustration of the relay circuit is
shown in Figure.
63
6.2 Results [6] Chakradhar, S. KrishnaveniI, and D. Naresh, D.
“Bluetooth Based Home Automation and
Several words have been used to teach this gadget. Security System Using ARM9”, International
The Arduino Micro controller can interact with the Journal of Engineering Trends and Technology
relay to either switch any connected appliance ON (IJETT), Vol. 4 Issue 9, 2013, Pp. 4053-4058.
or OFF since each word is saved through
[7] A. Nyiekaa1, P. I. Udenze2, M. M. Yilwatda3
programming. List of Comments used for “Design and Construction of a Voice Control
controlling appliances is shown in Table 1. Automation system” (2020).
7. CONCLUSION [8] Abd, Mohamad, E. Mowad, A. Fathy, A. Hafez
“Smart Home Automated Control System
The HC-05 Bluetooth module, Microcontroller Using Android Application and
Arduino Uno, and 2-Channel Relay Circuits were Microcontroller” International Journal of
used by the authors to successfully build a voice- Scientific & Engineering Research, Volume 5,
controlled automation system. By increasing Issue 5, ISSN, pp. 2229-5518, 2013
number of 2-Channel relays, system can control any
number of input controls. This system is low-cost,
secure, flexible, and dependable, and can even be
used to remotely control the home appliances. The
project uses Bluetooth technology to connect the
system parts and meet the user's needs. The
paper's approach is innovative and achieves the
target of remote-control automation. The study is
relevant to many automating applications in
industries such as transportations, health care,
process of control, and industrial automation.
8. REFERENCES
[1] K. Mamata, N. Kaimal, P. Jadhav, and S. Adnan
Rizvi. “Implementation of Internet of Things
for Home Automation.” (2015).
[2] Baris Yuksekkaya, A. Alper Kayalar, M.
Bilgehan Tosun, M. Kaan Ozcan, and Ali Ziya
Alkar, (2006) “A GSM, Internet and Speech
Controlled Wireless Interctive Home
Automation System”, IEEE Transactions on
Consumer Electronics, Vol. 52, Issue 3, pp.
837-843.
[3] Chandra Shakher Tyagi, Mega Agarwal, Renu
Gola (2016) “Home Automation Using Voice
Recognition and Arduino” IJRTER, Vo. l 2,
Issue 7, ISSN: 2455.1457.
[4] Sandeep Kumar and Mohammed, A Qadeer,
(2009) “Universal Digital Device Automation
and Control (Home and Industrial Appliance
Automation)”, IEEE International Conference
on Computer Science and In-formation
Technology, pp.490-494.
[5] Y. Ming and S. Hao “Smart Living Using
Bluetooth Based Android Smartphone”
International Journal of Wireless & Mobile
Networks (IJWMN) Volume 5, No. 1, 2013,
doi: 10.5121/ijwmn.5105 65.
64
65