GOVTOFKARNATAKA
PROJECT REPORT ON “VOICECONTROLLED HOME AUTOMATION SYSTEM”
Submitted in the partial fulfilment of requirements for the award of “Diploma in ELECTRONICS AND
COMMUNICATION ENGINEERING “
Submitted By:
S.NO REGISTER NUMBER STUDENTNAME ROLE
1 498EC22054 PATNAM.LAKSHMI NARASIMHA DESIGN, DEVELOPMENT
&DOCUMENTATION
COHORTOWNER
Mr.ShivaKumar.M, BE, M.tech
Lecturer, Dept of ECE.
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
BGS POLYTECHNIC [498]
BGS (SJCIT) Campus, Chikkballapura-5621012024-2025
||JAISRIGURUDEV||
SRIADICHUNCHANAGIRISHIKSHANTRUST®
BGS POLYTECHNIC [498]
BGS (SJCIT) Campus, Chikkballapura-5621012024-2025
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
CERTIFICATE
This is certified that this project report entitled “VOICECONTROLLED HOME AUTOMATION SYSTEM” is
submitted by "PATNAM.LAKSHMI NARASIMHA (498EC22054),”
In partial fulfillment for the award of “Diploma in Electronics and communication Engineering “of the
Department of Technical Education, Bangalore, Karnataka during the year 2024-2025. The project has been
approved as it satisfied academic requirement in respect of the project work on current topic prescribed
for the Diploma in Electronics and Communication Engineering.
……………….............. ………………………… ---------------------------
Signature of Cohort Owner Signature of HOD Signature of Principal
Mr. .Shiva Kumar, BE, M.tech Mr. NAGABHUSHAN A.M B.E, Y.R MANJUNATH BE, M.tech
Lecturer , Dept of ECE, HOD Dept of ECE, Principal
BGSP Chikkaballapur, BGSP, Chikkaballapur BGSP, Chikkaballapur
Name of the Examiner Signature with date:
…………………………….. 1)……………………………
…………………………….. 2)……………………………
STUDENTDECLARATION
We are here by declaring that
The project work is our original work; this project work has not been submitted for the award of any degree
or examination at any other university/college/institute.
This project work does not contain other persons ‘data, pictures, graphs or other information, unless
specifically acknowledged as being sourced from other persons.
This project work does not contain other persons’ writing, unless specifically acknowledged being sourced
from other researchers where other written sources have been quoted, then
Their words have been rewritten but the general information attributed to them has been referenced;
Where their exact word shave been used, there writing has been placed inside quotation marks, and
referenced.
This project work does not contain text, graphics or tables copied and pasted from the internet, unless
specifically acknowledged, and the source being detailed in the thesis and in the reference’s sections.
STUDENTNAME REGISTERNUMBER SIGNATURE
PATNAM.LAKSHMI NARASIMHA 498EC22054
ACKNOWLEDGEMENT
Every project begins with an idea and materializes with concrete efforts. In the beginning, we would like to
thank the almighty God and Parents who gave us the strength and capability to work on this project and
complete it successfully. I sincerely thank B.G.S POLYTECHNIC, Chikkaballapur for providing me with this
opportunitytoimprovemyknowledgebygivinganopportunitytogivethisproject.
I thank our principal Prof. Mr. Y.R.MANJUNATH BE, M.tech for providing a congenial working atmosphere.
We extend our sincere gratitude to Mr. NAGABHUSHAN A.M, B.E, Head of the Department, Electronics and
Communication Engineering, for his consistent guidance during the course of the project work.
We are extremely grateful to our project guide Mr. Shiva Kumar. M. B.E, M.tech, Department of Electronics
and Communication Engineering for the guidance and encouragement.
5
Contents
VOICE CONTROLLED-HOME AUTOMATION ................................................................................................................. 7
INTRODUCTION........................................................................................................................................................... 7
HISTORY ............................................................................................................................................................. 7
KEY FEATURES OF: VOICE CONTROLLED HOME AUTOMATION SYSTEM ....................................................................... 7
1. Control of Smart Devices ................................................................................................................................ 8
2. Scene and Routine Customization................................................................................................................... 8
COMPONENTS- OF VOICE CONTROL HOME AUTOMATION .......................................................................................... 9
1. Microcontroller .............................................................................................................................................. 9
2. Voice Recognition Module .............................................................................................................................. 9
3. Relay Modules ................................................................................................................................................ 9
4. Power Supply ................................................................................................................................................. 9
5. Sensors........................................................................................................................................................... 9
6. Smartphone (Optional) ................................................................................................................................... 9
7. Software and Code ......................................................................................................................................... 9
8. Other Components .................................................................................................................................................. 9
Working Principle:..................................................................................................................................................... 10
Voice Command Capture:................................................................................................................................. 10
Processing the Command: ................................................................................................................................ 10
Controlling the Appliances:............................................................................................................................... 10
Feedback or Confirmation (optional): ............................................................................................................... 10
Circuit diagram of voice controlled -home automation System .................................................................................. 10
BLOCK DIAGRAM OF VOICE CONTROLLED HOME AUTOMATION SYSTEM .................................................................. 11
EXPLAINATION of Voice Controlled Home Automation System .................................................................................. 11
Voice Input: ...................................................................................................................................................... 11
Arduino Microcontroller: .................................................................................................................................. 11
Relay Module: .................................................................................................................................................. 11
Home Appliances: ............................................................................................................................................ 12
Home automation project Flow: ................................................................................................................................ 12
CONNECTIONS Diagram: .......................................................................................................................................... 13
CONNNECTION OF HC-05 MODULE TO ARDIUNO ............................................................................................. 13
CONNECTIONS OF LED...................................................................................................................................... 14
SUPPLYING POWER .......................................................................................................................................... 14
ARDUINO CODE:........................................................................................................................................................ 15
6
USAGE OF MOBILE APP ............................................................................................................................................. 19
Applications of Home automation. ........................................................................................................................... 20
CONCLUSION ............................................................................................................................................................ 21
7
VOICE CONTROLLED-HOME AUTOMATION
USING – ARDIUNO
INTRODUCTION
Home / Building automation is a system which will monitor and/or control home attributes such as
“lighting, climate, entertainment systems, and appliances.” It may also include home security such as
access control, CCTV and alarm systems.
The phrase smart home refers to home automation devices that have internet access. Home automation, a
broader category, includes any device that can be monitored or controlled via wireless radio signals / voice
recognition, not just those having internet access. When connected with the Internet, home sensors and
activation devices are an important constituent of the Internet of Things ("IoT").[2]
A home automation system typically connects controlled devices to a central smart home hub (sometimes
called a "gateway").
The user interface for control of the system uses either -wall-mounted (Arudiuno , HC-05 blue-tooth
module) terminals, tablet or desktop computers, a mobile phone application, or a Web interface that may
also be accessible off-site through the Internet.
HISTORY
Early home automation began with lab or-saving machines. Self-contained electric or gas powered home
appliances became viable in the 1900s with the introduction of electric power distribution[3] and led to the
introduction of washing machines (1904), water heaters (1889), refrigerators (1913), sewing
machines, dishwashers, and clothes dryers. In 1975, the first general purpose home automation network
technology, X10, was developed. It is a communication protocol for electronic devices. It primarily
uses electric power transmission wiring for signalling and control, where the signals involve brief radio
frequency bursts of digital data, and remains the most widely available.[4]
8
KEY FEATURES OF: VOICE CONTROLLED HOME AUTOMATION SYSTEM
1. Control of Smart Devices
Lighting Control: Turn lights on/off, dim, or change colors with voice commands.
Thermostat Adjustment: Set and adjust the temperature for heating and cooling.
Appliance Control: Manage smart appliances like ovens, coffee makers, or washing machines.
Security Systems: Arm or disarm alarms, lock/unlock doors, and check security camera feeds.
2. Scene and Routine Customization
Routines: Set up routines where multiple devices respond to a single command (e.g., “Good night” turns
off the lights, locks the doors, and adjusts the thermostat).
Scenes: Create customized settings for specific situations, like “Movie time” to dim the lights, close the
blinds, and turn on the TV.
3. Remote Access and Control
We can Control devices remotely via Smartphone apps or web interfaces, even when you’re not at home.
Check the status of connected devices and make adjustments using voice assistants like Alexa, Google
Assistant, or Siri.
4. Integration with Smart Assistants
Multi-Platform Support: Works with popular smart assistants like Amazon Alexa, Google Assistant, or Apple
Siri.
Multi-Room Audio: Control music and media playback in different rooms using voice commands.
Calendar and Reminders: Set reminders, timers, and access calendar events through voice interaction.
5. Energy Management
Smart Thermostats: Adjust temperatures based on schedules or voice commands to save energy.
Lighting Automation: Schedule lights to turn on/off or dim based on occupancy to reduce energy usage.
9
COMPONENTS- OF VOICE CONTROL HOME AUTOMATION
1. Microcontroller
Arduino Board: Arduino Uno, Nano, or Mega depending on the number of devices you want to control.
2. Voice Recognition Module
Voice Recognition Module (e.g., Elechouse V3): This module captures and processes voice commands.
Alternatively, you can use Bluetooth Module (e.g., HC-05) paired with a smart phone app for voice
commands.
3. Relay Modules
Relay Module (1, 2, 4, or 8 channels): To control high-voltage appliances like lights, fans, and other
electronic devices.
4. Power Supply
Power Adapter: A suitable adapter (e.g., 5V, 2A) to power the Arduino and connected modules.
5. Sensors
Temperature Sensor (e.g., DHT11): For monitoring room temperature.
Motion Sensor (e.g., PIR sensor): For detecting motion in the room and automating lights or alarms.
6. Smartphone (Optional)
We used to send voice commands via Bluetooth if using a Bluetooth module instead of a dedicated voice
recognition module.
7. Software and Code
Arduino IDE: To write and upload code to the Arduino.
Voice Command App (if using Bluetooth): Apps like Bluetooth Voice Controller or custom apps developed
with platforms like MIT App Inventor
8. Other Components
Jumper Wires: For connections.
Breadboard: For prototyping.
Transistors,
Resistors, LEDs are Depending on your setup for status indicators and circuitry.
10
Working Principle:
Voice Command Capture:
If using a voice recognition module, it listens for voice commands directly.
If using a Smartphone app, it records the command and sends it to the Arduino via Bluetooth.
Processing the Command:
The Arduino receives the command, interprets it based on predefined instructions (like “Turn on the light,”
“Turn off the fan”), and decides what action to take.
Controlling the Appliances:
Once the command is recognized, the Arduino sends a signal to the corresponding relay module.
The relay acts as a switch, allowing or cutting off power to the appliance, turning it on or off.
Feedback or Confirmation (optional):
The system may send a confirmation message back to the smart phone (if using an app) to notify the user
that the command was executed successfully.
Some systems also include an LCD display or LEDs to show the status of devices.
Circuit diagram of voice controlled -home automation System
11
BLOCK DIAGRAM OF VOICE CONTROLLED HOME AUTOMATION SYSTEM
EXPLAINATION of Voice Controlled Home Automation System
Voice Input:
It captures the user's voice command (e.g., "Turn on the light").
It can be done using a voice recognition module or a smart phone app with Bluetooth.
Arduino Microcontroller:
It receives the voice command.
Processes and interprets the command to determine the appropriate action (e.g., which appliance to
control).
Relay Module:
It acts as an electronic switch.
Receives signals from the Arduino to turn devices (like lights, fans) ON or OFF based on the command.
12
Home Appliances:
Lights, fans, Motors, washing machines, home theatre are the actual appliances that can be controlled by
this relay.
Home automation project Flow:
Voice Input → Arduino → Relay Module → Home Appliance
13
CONNECTIONS Diagram:
CONNNECTION OF HC-05 MODULE TO ARDIUNO
The standard HC-05 Bluetooth module has six pins. However, we will only
be using 4 in this project. The pins we will be using are the VCC pin, the
GND pin, the TXD pin, and the RXD pin. The VCC pin of the Bluetooth
module connects to the +3.3V of the Arduino. The GND pin of the module
connects to GND of the Arduino. TX pin of the Bluetooth module connects
to digital pin 0 (RXD), and the RXD pin connects to digital pin 1 (TXD).
14
CONNECTIONS OF LED
The next step in creating our voice controlled LED's is to connect the LED's to the Arduino through the
breadboard. First, connect the short end of the LED to ground. Next, connect the long end of each of the
LED's to a 330 ohm resistor. Finally, connect the resisted current from the LED's to digital pins on the
Arduino. In this project, we will be connecting one LED to digital pin 2, another to digital pin 3, and the last
LED to digital pin 4.
SUPPLYING POWER
For this project, we can supply power to the Arduino
through any +5V power source. You can use a USB port from
your computer to power the Arduino, but in this project I
will be using a 5V portable battery. Before you connect a
power source to your Arduino, make sure that the GND of
the Arduino is connected to ground of the breadboard.
15
ARDUINO CODE:
#include 'SoftwareSerial.h' //Replace (' ') with (< >)
SoftwareSerial BLU(0,1);
String voice;
int Green = 4; //Connect To Pin #4
int Yellow = 2; //Connect To Pin #2
int Red = 3; //Connect To Pin #3
void allon()
{
digitalWrite(Red, HIGH);
digitalWrite(Yellow, HIGH);
digitalWrite(Green, HIGH);
}
void alloff()
{
digitalWrite(Red, LOW);
digitalWrite(Yellow, LOW);
digitalWrite(Green, LOW);
}
void setup()
{
Serial.begin(9600);
BLU.begin(9600);
pinMode(Red, OUTPUT);
pinMode(Yellow, OUTPUT);
pinMode(Green, OUTPUT);
}
16
void loop()
{
while (Serial.available()) //Check if there is an available byte to read
{ delay(10); //Delay added to make thing stable
char c = Serial.read(); //Conduct a serial read
if (c == '#')
{
break; //Exit the loop when the # is detected after the word
}
voice += c;
}
if (voice.length() > 0)
{
if(voice == "*turn on all LED")
{
allon();
}
else if(voice == "*turn off all LED")
{
alloff();
}
else if(voice == "*switch on red")
{
digitalWrite(Red,HIGH);
}
else if(voice == "*switch on yellow")
{
digitalWrite(Yellow,HIGH);
}
else if(voice == "*switch on green")
{
17
digitalWrite(Green,HIGH);
}
else if(voice == "*switch off red")
{
digitalWrite(Red,LOW);
}
else if(voice == "*switch off yellow")
{
digitalWrite(Yellow,LOW);
}
else if(voice == "*switch off green")
{
digitalWrite(Green,LOW);
}
voice=""; //Reset variable
}
}
18
Code Reference:
19
USAGE OF MOBILE APP
You can begin to test your project by downloading the app for Android: BT Voice Control for Arduino;
Created by Simple Labs IN. Next, click on the menu bar in the upper right hand corner and select 'Connect
Robot.' On the new window that appears, select the HC-05 blue-tooth module and connect it. Congrats!
You have completed your voice controlled LED Arduino project. Now, when you speak certain commands
from the code into your device through the app, specific LED's should turn on and off.
20
Applications of Home automation.
1. Lighting Control:
Turn lights on or off in different rooms using voice commands, improving convenience and energy
efficiency.
Control the brightness or colour of smart lights by integrating with RGB LED strips.
2. Fan and Air Conditioning Control:
Voice commands to switch fans or air conditioners on or off.
Adjust the speed of ceiling fans or set specific temperatures for air conditioning units.
3. Security and Surveillance:
Arm or disarm security systems (e.g., door locks, motion detectors) with voice commands.
Activate cameras or send alerts when certain voice commands related to security are detected.
4. Appliance Control:
Control various home appliances like televisions, coffee makers, or heaters.
Automate tasks like starting a coffee maker in the morning or turning off the TV at night using voice.
5. Curtains and Blinds Automation:
Open or close curtains and blinds with simple voice commands.
Schedule or automate curtain control based on specific voice instructions.
6. Smart Home Integration:
Integrate with smart home systems (like Google Home or Amazon Alexa) for seamless control of multiple
devices.
Voice control over smart devices such as thermostats, speakers, or smart plugs.
7. Garden and Outdoor Control:
Control garden lights, water sprinklers, or outdoor appliances using voice commands.
Activate or deactivate the watering system based on the voice command or schedule.
8. Elderly and Accessibility Assistance:
Voice control for lights, fans, and appliances provides convenience for elderly or physically disabled
individuals who may have difficulty reaching switches or remote controls.
Helps create a more accessible and inclusive environment for those with mobility challenges.
21
9. Entertainment Systems:
Control music systems, TV channels, and volume levels with voice commands.
Activate home theatre modes or specific media playback commands (e.g., "Play music," "Pause TV").
10. Smart Kitchen:
Control kitchen appliances like ovens, microwaves, or dishwashers using voice commands.
Activate or schedule cooking appliances to start preparing meals with hands-free operation.
CONCLUSION
The voice-controlled home automation system using Arduino is a simple and effective way to control
household appliances through voice commands. By integrating an Arduino microcontroller, a Bluetooth
module, and a relay module, users can easily automate the operation of devices like lights and fans.
This system demonstrates the potential of combining microcontroller technology with wireless
communication to create a user-friendly, cost-effective, and efficient solution for smart homes. The
flexibility of the Arduino platform allows for further expansion and customization, such as adding more
devices, integrating sensors, or incorporating Wi-Fi for remote control capabilities.