Voice Control Home Automation - 5 Steps - Instructables
Voice Control Home Automation - 5 Steps - Instructables
This project put forwards the implementation of home automation and security system using Arduino
microprocessor and Android smartphone. Home appliances are connected to the microprocessor and
communication is established between the Arduino and Android mobile device or tablet via Bluetooth
module. We would develop an authentication to the system for authorized person to access home appl
iances. The device with low cost and scalable to less modification to the core is much important. It pre
sents the design and implementation of automation system that can monitor and control home applian
ces via android phone or tablet
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 co
mponents, they are
(a) voice recognition system, and (b) wireless system. This system to control home appliances uses a
voice controlled android application. By the increasing use of PC (personal computers), internet, mobil
e phone and wireless technology, it makes it easy for a user to remotely access and control the applia
nces.
A lot of research has been done and many solutions have been proposed to remotely access the hom
e appliances. Some of them used internet, wireless technology to communicate and control home appl
iances, 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. Generally, ho
me automation research targeted many needs like applications that provide the luxury and smart requi
rements while some threw light on the special needs for elderly and disabled etc. our system is a com
puter based system that can accept voice to direct commands and process them. The system provide
s us switching any device ON/OFF.
https://www.instructables.com/Voice-Control-Home-Automation/ 1/6
8/8/24, 1:57 PM Voice Control Home Automation : 5 Steps - Instructables
Guys, here is a list of materials you would require for making this simple project.
So guys, get all these items so that we can go to the next step to start building it.
SOFTWARE
1 .ArduinoIDE : Arduino
https://www.instructables.com/Voice-Control-Home-Automation/ 2/6
8/8/24, 1:57 PM Voice Control Home Automation : 5 Steps - Instructables
ARDUINO
The Arduino Uno is a microcontroller board based on the ATmega328P. It has 14 digital input/output pi
ns (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connec
tion, a power jack, an ICSP header and a reset button. Simply connect it to a computer with a USB ca
ble or power it with a AC-to-DC adapter or battery to get started.
BLUETOOTH
For the communication between mobile phone and microcontroller Bluetooth module(HC-05) is used.
HC-05 is low power 1.8V operation and is easy to use with Bluetooth SPP (serial port protocol). Serial
port Bluetooth module have a Bluetooth 2.0+EDR (enhanced data rate), 3Mbps modulation with compl
ete 2.4GHZ radio transceiver and baseband. Using Bluetooth profile and android platform architecture
different type of Bluetooth applications can be developed.
RELAY
Relay is basically an electromagnetic switchwhich can be turn on and off by an applying the voltage ac
ross its contacts.
ANDROID
. Android is an open-source operating system which means that any manufacturer can use it in their p
hones free of charge.
• Android is built on the open Linux Kernel. Furthermore, it utilizes a custom JAVA virtual machine that
was designed to optimize memory and hardware resources in a mobile environment.
.The Android platform includes support for the Bluetooth network stack, which allows a device to wirele
ssly exchange data with other Bluetooth devices.
• The application framework provides access to the Bluetooth functionality through the Android Bluetoo
th APIs.
SOFTWARE USED
1. Arduino IDE
An adapter of 12V output power supply is used as an input to the voice controlled arduino system. Rel
ays 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 p
refer android platform because of its huge market globally and it is easy to use user interface. The voic
e recognizer which is an inbuilt feature of android phones is used to build an application which the use
r can operate to automate the appliances at his house. For wireless communication system a Bluetoot
h module HC-05 is used as a remote which is connected to the control unit for sensing the signals sen
t by the android voice application.
The microcontroller device with the Bluetooth module and relay circuit needs to be connected to the s
witch board. Then we need to launch the android based application – “ANDROID MEETS ROBOT” on
our smart phone. Through the application we can instruct the microcontroller to switch ON/OFF an app
liance. After getting the instruction through the Bluetooth module, the microcontroller gives the signal t
o the relay board.
The application first searches for the Bluetooth device. If it is available then it launches the voice recog
nizer. 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 r
eading the data it decodes the input value and sends a signal to the parallel port through which the rel
ay circuit will be activated.
https://www.instructables.com/Voice-Control-Home-Automation/ 4/6
8/8/24, 1:57 PM Voice Control Home Automation : 5 Steps - Instructables
Step 4: PROGRAM
String voice;
int
//--------------------------Call A Function-------------------------------//
void allon() {
digitalWrite(led1, HIGH);
digitalWrite(led2, HIGH);
void alloff() {
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
//-----------------------------------------------------------------------//
void setup() {
Serial.begin(9600);
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
//-----------------------------------------------------------------------//
void loop() {
if (c == '#') {break;} //Exit the loop when the # is detected after the word
if (voice.length() > 0) {
Serial.println(voice);
https://www.instructables.com/Voice-Control-Home-Automation/ 5/6
8/8/24, 1:57 PM Voice Control Home Automation : 5 Steps - Instructables
//-----------------------------------------------------------------------//
//----------Control Multiple Pins/ LEDs----------//
if(voice == "*everything on") {allon();} //Turn Off All Pins (Call Function)
//----------Turn On One-By-One----------//
//-----------------------------------------------------------------------//
Step 5: CONCLUSION
In this project we have successfully implemented voice controlled home automation system controlling
relays using arduino with Bluetooth module HC-05. This project can be used for controlling ‘n’ number
of input controls i.e by extending number of relays.
Our implemented module is more reliable and flexible in order to control any loads and the coverage a
rea for ireless control is 10 meters. Hence this project can be useful for a real time voice controlled ho
me automation. Thus arduino based voice controlled home appliances proves to be a better remote co
ntrolled operation on home appliances using Bluetooth module HC-05.
This project can be extended for many automation applications such as industrial automation, automot
ive, military, healthcare, transportation and so on. Further the coverage area can also be increased by
the use of GSM modules.
https://www.instructables.com/Voice-Control-Home-Automation/ 6/6