Voice-Controlled Smart Home Automation Project
Voice-Controlled Smart Home Automation Project
AUTHOR:
2024
PROJECT PROPOSAL: SMART HOME AUTOMATION SYSTEM
i
DECLARATION OF AUTHORSHIP
I the undersigned solemnly declare that the project report is based on our work
carried out during the course of our study under the supervision of Dr. Antony Onim. I
assert that all the sources that I have used have been acknowledged by means of complete
references and that the work has not been submitted before for degree award in any other
institution in Kenya or abroad.
0297/2016
SUPERVISOR CONFIRMATION
This is to certify that this project documentation has been submitted to the
Lecturer
Date: 08/08/2024
ii
ABSTRACT
conventional wall switches located in one-of-a-type factors of the house makes it difficult
for the client to go near them to perform. Even greater it becomes greater difficult for the
system gives a most contemporary-day solution with smart phones. In order to benefit
this, a Bluetooth module is interfaced to the Arduino board at the receiver surrender
while on the transmitter surrender, a GUI software program on the mobility telecast
smartphone sends ON/OFF commands to the receiver in which hundreds are associated
Home Automation System that enhances the convenience and security of home
based hardware to automate household devices, enabling users to control lights, fans, and
other appliances through voice commands. The project aims to reduce the complexity of
traditional home automation systems, making smart home technology more accessible to
a broader audience. The expected outcome is a functional prototype that demonstrates the
iii
TABLE OF CONTENTS
DECLARATION OF AUTHORSHIP.............................................................................ii
ABSTRACT......................................................................................................................iii
List of Figures....................................................................................................................v
Acronyms...........................................................................................................................vi
1.0 INTRODUCTION.......................................................................................................1
1.2 Problem Statement...................................................................................................2
1.3 Justification...............................................................................................................2
1.4 General Objective....................................................................................................2
1.5 Specific Objectives...................................................................................................2
2.0 LITERATURE REVIEW...........................................................................................4
2.1 Previous Automated Home Security Projects.......................................................4
2.1.1 Voice-Controlled Systems...................................................................................4
2.1.2 Home Automation Using the Internet of Things.................................................4
2.1.3 Home Automation for Visiually Impaired Using Hand Gestures.......................5
2.1.4 Bluetooth-based wireless home automation system built on FPGA technology 5
2.1.5 GSM and Android Integration for Elderly Care..................................................5
3.0 MATERIALS AND METHODS................................................................................6
3.1 System components....................................................................................................7
3.1.1 Relay Board.........................................................................................................7
3.1.2 Bluetooth Module................................................................................................8
3.1.3 Microcontroller....................................................................................................9
3.1.4 Android Application..........................................................................................10
3.2 Proposed methodology.............................................................................................11
4.0 EXPECTED RESULTS............................................................................................13
REFERENCES................................................................................................................14
Bibliography.....................................................................................................................14
iv
List of Figures
v
Acronyms
OS…...………………………………..…Operating System
IoT…...………………………...…………Internet of Things
Wi-Fi…...……………………..…………Wireless Fidelity
vi
1.0 INTRODUCTION
1.1 Background Information
With the increasing demand for smart home solutions, automation systems have
often require complex setups and multiple control interfaces, which can be cumbersome
for users. Voice-controlled systems offer a more intuitive and user-friendly alternative by
increased in popularity. The idea of controlling appliances with voice commands is also
intriguing and many researchers have explored this area. Various technologies like
internet, wireless and remote control have been used for this purpose. The major
objective of this system is to offer a wireless control unit that can receive and execute
voice instructions. The system will integrate as a single unit and enables wireless control
of home electrical appliances, such as turning them on and off with voice commands. The
microcontroller unit converts the voice commands to binary sequence and switches the
that integrates seamlessly with existing household devices and provides an efficient and
automation.
vii
1.2 Problem Statement
controls that can be inconvenient and inaccessible to users with limited mobility or
technical skills. Moreover, many existing systems require manual operation, which may
home automation system that provides an intuitive, accessible, and user-friendly solution
1.3 Justification
Traditional home automation systems often rely on complex interfaces or physical
controls that can be inconvenient and inaccessible to users with limited mobility or
technical skills. Moreover, many existing systems require manual operation, which may
home automation system that provides an intuitive, accessible, and user-friendly solution
viii
1.4 General Objective
To design and implement a voice-controlled smart home automation system that enables
users to control various household devices using natural language voice commands.
1.5 Specific Objectives
To develop a system that integrates voice recognition technology for
ix
2.0 LITERATURE REVIEW
To develop this project, we will build upon previous literature on the subject.
proliferation of virtual assistants like Amazon Alexa, Google Assistant, and Apple Siri.
These systems utilize natural language processing (NLP) and machine learning to
x
2.0.2 Home Automation Using the Internet of Things
The deployment of the Internet of Things (IoT) for home-controlled automation
was the subject of this research by the authors of [2]. Their study focused on the
extensive usage of IoT to link distinct items, including as smartphones, tablets, sensors,
and digital cameras, and enable the transfer of a lot of data and information. To improve
connections and access to other items at a certain time and location, they also
investigated cloud computing. By providing a prototype model, the authors are illustrated
how cloud-based services for sensing may be used for a variety of applications, including
augmented reality, farming, and environmental monitoring. The study focuses on Wi-Fi
Wireless safety and security measures and the necessity for creative IoT management
solutions.
2.0.3 Home Automation for Visually Impaired People Using Hand Gestures
In their paper, M. Smitha et al. [3] presented a system designed for visually
impaired individuals to easily operate home appliances using hand gestures. The system
utilizes MEMS accelerometer to detect hand movements and radio frequency to transmit
signals wirelessly. The microcontroller 61 compares the received gesture with the stored
templates and accordingly controls the home appliances. The system is also suitable for
the elderly. However, the need to store gestures in the microcontroller is becoming less
automated system that does not require gestures would be more appropriate.
xi
2.0.4 Bluetooth-based wireless home automation system built on FPGA technology
In their study, B. M. Krishna, et al. [4] discussed a Bluetooth-based FPGA-based
wireless home automation system. They emphasized the usage of Bluetooth and how they
used an Android smartphone and the HC-05 Bluetooth module to operate various
household appliances. This system is particularly beneficial for the elderly and physically
challenged individuals as it reduces their physical effort, saves time, and conserves
energy. Future research, according to the authors, should focus on creating a more
Rodriguez et al. [5] extended the application of GSM and Android integration to
elderly care scenarios. Their study illuminated how GSM-enabled security systems
equipped with Android interfaces could be harnessed to monitor the well-being of elderly
individuals. The research spotlighted the potential of technology for improving quality of
life.
xii
3.0 MATERIALS AND METHODS
The block diagram of the proposed System is shown in Figure 1. The voice-
operated android and Arduino home automation system uses an android-based Bluetooth
enabled phone for its application and the Arduino Uno as the microcontroller.
xiii
Figure 1: Block diagram of the proposed system
1. A microcontroller
2. A HC 05 Bluetooth module
3. Relay board
mechanically operate a switch, but other operating principles are also used, such as solid-
state relays. Relays are used where it is necessary to control a circuit by a separate low-
power signal, or where several circuits must be controlled by one signal. The first relays
were used in long distance telegraph circuits as amplifiers: they repeated the signal
coming in from one circuit and retransmitted it on another circuit. Relays were used
type of relay that can handle the high power required to directly control an electric motor
or other loads is called a contactor. Solid-state relays control power circuits with no
moving parts, instead using a semiconductor device to perform switching. Relays with
xiv
calibrated operating characteristics and sometimes multiple operating coils are used to
protect electrical circuits from overload or faults; in modern electric power systems these
functions are performed by digital instruments still called "protective relays”. Magnetic
latching relays require one pulse of coil 19 power to move their contacts in one direction,
and another, redirected pulse to move them back. Repeated pulses from the same input
have no effect. Magnetic latching relays are useful in applications where interrupted
distances (using short-wavelength UHF radio waves in the ISM band from 2.4 to 2.485
GHz) from fixed and mobile devices and building personal area networks (PANs) [11].
The Bluetooth module allows us to transmit and receive signals. It receives the text from
the Android phone and transmits it to the serial port of the Arduino Uno. The Bluetooth
xv
module being used here is the HC‐05 module. It is an easy-to-use Bluetooth SPP (Serial
Port Protocol) module, designed for transparent wireless serial connection setup. 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 Hopping Feature). It has a slave default Baud rate of 9600. It
auto connects to the last device on power as default. The connection can be point-to-point
or multi-point where the maximum range is 10 meters. The transfer rate of the data is
1Mbps.
3.1.3 Microcontroller
The Arduino UNO is a state-of-the-art board of Arduino. Here UNO way 'one' in Italian.
It modified into named as UNO to label the number one release of Arduino Software. It
modified into moreover the number one USB board released through manner of way of
xvi
Arduino. It is considered due to the fact the powerful board applied in various projects.
Arduino.cc developed the Arduino UNO board. Arduino UNO is based mostly on an
along with the Arduino Mega board, etc. The board consists of digital and analog
Input/Output pins (I/O), shields, and extraordinary circuits. The Arduino UNO includes 6
analog pin inputs, 14 digital pins, a USB connector, an energy jack, and an ICSP (In-
xvii
3.1.4 Android Application
Android is a mobile operating system (OS) based on the Linux kernel and currently
developed by Google. With a user interface based on direct manipulation, the OS uses
touch inputs that loosely correspond to real-world actions, like swiping, tapping,
pinching, and reverse pinching to manipulate onscreen objects, and a virtual keyboard.
Android platform is widely used because of its huge market globally and it’s easy to use
user interface [11]. Applications on the Android phones extend the functionality of
devices and are written primarily in the Java programming language using the Android
software development kit (SDK). The voice recognizer which is an in-built feature of
Android phones is used to build an application which the user can operate to automate the
relay circuits utilized as switches for loads make up the system's many parts. The 'voice
an appliance. The Android device and the control unit communicate wirelessly thanks to
a Bluetooth module (HC-05). Relay circuit and Bluetooth module are both connected to
the microcontroller, which is also receiving signals from the Android application to
regulate the loads. The Android app searches for and establishes a wireless connection
with the Bluetooth device, then reads the user's voice commands and sends the
xviii
appropriate signals to the microcontroller to activate the relays and switch the loads
on/off.
xix
Figure 5: System Flow chart
xx
4.0 EXPECTED RESULTS
Several words have been used to teach this gadget. The Arduino Micro controller
can interact with the relay to either switch any connected appliance ON or OFF since
each word is saved through programming. The appliances will respond according to the
commands that has been given, for example if the user says turn on lights, the lights will
go on.
Hardware setup: It is expected that all the required sensors, Bluetooth module and the
the system should demonstrate high accuracy in voice recognition, seamless integration
with smart home devices, and positive user feedback in terms of ease of use and
accessibility.
xxi
REFERENCES
References
xxii
[2] Baris Yuksekkaya, A. Alper Kayalar, M. Bilgehan Tosun, M. Kaan
Ozcan, and Ali Ziya Alkar, (2006) “A GSM, Internet and Speech Controlled
[3] Chandra Shakher Tyagi, Mega Agarwal, Renu Gola (2016) “Home
7, ISSN: 2455.1457.
[6] Y. Ming and S. Hao “Smart Living Using Bluetooth Based Android
xxiii
of Engineering Trends and Technology (IJETT), Vol. 4 Issue 9, 2013, Pp.
4053-4058.
Jones, 2021.
[11] Harada, Y., Brother Industries Ltd. (2016). Power supply system. U.S. Patent
9,473,015.
xxiv