You are on page 1of 7

20/02/2018 Voice Activated Home Automation

oice Activated Home Automation


MARCH 7, 2017 BY ANUSHA 21 COMMENTS

The concept of Home Automation is gaining popularity as it helps in reducing human effort and
errors and thus increasing the efficiency. With the help of Home Automation system, we can
control different appliances like lights, fans, TV, AC etc. Additionally, a home automation system
can also provide other features like security, alarms, emergency systems etc. can be integrated.

Select the Next Set of DIY Arduino Projects you want us to try

There are many types of Home Automation Systems like Bluetooth Controlled, Internet Controlled,
RF Controlled, Remote Controlled (IR Remote) etc. Each type has its own advantages and
disadvantages. In this project, we have designed a Voice Activated Home Automation system,
where different appliances are controlled by sending a Voice Command.

The Voice Activated Home Automation project is implemented using Arduino UNO, Bluetooth and
a smart phone. Further sections will explain circuit diagram, components required and working of
the project.

https://www.electronicshub.org/voice-activated-home-automation/ 1/7
20/02/2018 Voice Activated Home Automation

Voice Activated Home Automation 7

Table of Contents
Circuit Diagram
Components Required
Components Description
Circuit Design
Working of the Project
Code
Applications
Construction and Output Video

Circuit Diagram

https://www.electronicshub.org/voice-activated-home-automation/ 2/7
20/02/2018 Voice Activated Home Automation

Components Required
Arduino UNO – 1
HC – 05 Bluetooth Module – 1
Smart Phone or Tablet – 1
2N2222 NPN Transistor – 4
12V Relay – 4
1 KΩ Resistor – 4
1N4007 PN Junction Diode – 4
Power Supply
Connecting Wires
Breadboard (Prototyping Board)
App for transmitting voice to Bluetooth

Components Description
https://www.electronicshub.org/voice-activated-home-automation/ 3/7
20/02/2018 Voice Activated Home Automation

Bluetooth HC – 05: For wireless communication, we used Bluetooth Technology and the module
used for this is HC – 05. This module can be interfaced using UART protocol with a wide range of
programmable baud rates but the default baud rate is 9600 bps. HC – 05 Bluetooth Module can be
configured as either master or slave, whereas another module HC – 06 can work only in slave
mode.

The following image shows the HC – 05 Bluetooth Module used in this project. In this module,
there are pins for VCC (5V), GND, TX and RX.

BT Voice Control for Arduino: This app is developed by SimpleLabsIN for voice based Arduino
projects. This Android App will use the phone’s voice recognition feature and will convert the voice
commands to text and transfer the string via Bluetooth.

The app can be downloaded from here BT Voice Control for Arduino

If you are familiar with any other similar app, you can always use that.

Relay Board (4 – Channel): A Relay is used to connect a small current transistor circuit with a
large current AC circuit. In this project, we have used a pre-built relay board with 4 – channels.

https://www.electronicshub.org/voice-activated-home-automation/ 4/7
20/02/2018 Voice Activated Home Automation

NOTE: Be cautious when using Relay board with AC Mains Supply.

Circuit Design
We will now see the design of the Voice Activated Home Automation circuit. First, we will connect
the Bluetooth Module to the Arduino. Since Bluetooth uses UART protocol, we need to use the RX
and TX pins of the Arduino. We will be using “SoftwareSerial” library to define our own RX and TX
pins (Pin 2 is RX and Pin 3 is TX).

NOTE: We have left out the Bluetooth’s RX and Arduino’s TX connection as it is not used. In case
you face a problem, connect a voltage divider to convert the Arduino TX’s 5V signal to Bluetooth
RX’s 3.3V.

Next, we will connect the relays to the Arduino. Since we used a readymade relay board with 4 –
channels, all we need to do is to connect the inputs of the individual relays to the Arduino. For
detailed connection like the resistor, transistor, diode and relay, refer the circuit diagram.

NOTE: We did not connect any load to the relay but you can always connect some small loads and
check out the functioning. Be extra careful while using AC Mains with relay board.

All the necessary connections are explained in the circuit diagram.

Working of the Project


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.

https://www.electronicshub.org/voice-activated-home-automation/ 5/7
20/02/2018 Voice Activated Home Automation

After making the necessary connections, we have to 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
have to 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.

https://www.electronicshub.org/voice-activated-home-automation/ 6/7
20/02/2018 Voice Activated Home Automation

After successful connection, the devices are ready to transmit data. For that, press the press
microphone icon on the app and start giving voice commands.

NOTE: Make sure that the voice recognition feature is enabled on the phone (this is usually
associated with Google app).

For example, if we press the microphone icon and say “turn on light”, the app will recognise the
command and the transfers it to the Bluetooth Module. Also, the command gets displayed on the
screen for our reference.

https://www.electronicshub.org/voice-activated-home-automation/ 7/7

You might also like