IoT Voice Activated Home Automation Project by using Arduino For Smart Home

In recent years there has been an increase in smart home technology. Home automation has become the new trend. It allows us to control all our home appliances (lights, fans, thermostat, TV, security cameras) by connecting them to a common remotely controllable network making it much more accessible and convenient. And, while it brings home management to a whole new level, it also helps to maximize home security.

There are many types of Home Automation Systems. Power Line Home Automation Systems (using existing power lines in home automation), Wired Home Automation Systems (installing a wired system that connects into a control center), and Wireless Home Automation Systems (the most popular choice, home automation using wireless technology like Wi-Fi, Bluetooth, and internet).

Here we will discuss a Voice Activated Home Automation System, how to design a voice activated home automation system that uses voice command to control your appliances. This project is designed by incorporating Arduino UNO, Bluetooth, and a smartphone device, along with other components.

Components Required

Arduino UNO x 1

HC – 05 Bluetooth Module x 1

Smart Phone or Tablet x 1

2N2222 NPN Transistor x 4

12V Relay x 4

1 KΩ Resistor x 4

1N4007 PN Junction Diode x 4

Power Supply

Connecting Wires

Breadboard (Prototyping Board)

App for transmitting voice to Bluetooth

Components Description

1: Bluetooth HC-05:

For this wireless home automation, we will use Bluetooth module HC-05. HC-05 is an easy to use Bluetooth SPP module (Serial Port Protocol) for wireless connection setup. It can be used as either Master or Slave configuration. The default settings are SLAVE. The slave module can only accept connections from another device but cannot connect to another Bluetooth device. On the other hand, a MASTER module can connect to other devices. The module uses UART interface to communicate and uses a baud rate of 9600 bps when at default mode. In the Bluetooth HC-05 module, there are pins for VCC (5V), GND, TX, and RX.

2: Bluetooth Voice Control for Arduino:

This app uses voice recognition in android mobiles to pass voice commands to central control. It pairs with Bluetooth modules and sends the voice commands in the form of a string. You can also use similar apps, for example, Bluetooth Controller 8 Lamp, RemoteXY: Arduino Control, Virtual etc.

3: Relay Board:

A relay is an electrical device used to control high voltages using low input. It is used to connect small current transistor circuits with large current AC circuits. The relay boards used in this project has four channels.

Circuit Design:

For the circuit design follow the following procedure.

1: Connect Bluetooth Module to Arduino:

Connect Arduino to Bluetooth module using the RX and TX pins of Arduino as Bluetooth is based on UART Protocol. By using the Software Serial library of Arduino for digital pins we will define our pins as Pin 2 and Pin 3 (Pin 2 for RX and Pin 3 for TX)

2: Connect Relay Board to Arduino:

Simply connect the inputs of the individual relays to the Arduino. Detailed connections of the resistor, transistor, diode, and relay are shown in circuit diagram.

Working on Home Automation System:

After making circuit design and connecting Bluetooth, Arduino and relay, turn on power supply to the circuit. Next, you are required to install the “Bluetooth Voice Control for Arduino” app mentioned before. Now, connect your phone to the Bluetooth HC-05 module. For this open, the app on your phone, choose option “Connect Robot” and select the Bluetooth device. You will have to pair these devices by using the pin of the Bluetooth HC-05 module.

After you have successfully completed all these steps, your device is ready to transmit voice messages. Press the microphone icon on your app and give your voice command. (In case you are using google app make sure the voice recognition feature is enabled)

For example: Press the microphone icon and say “turn on light”, the app will transfer your command after recognition to the Bluetooth module. The command is then displayed on the app screen for confirmation. When the app detects the voice command “turn on light”, it transmits this command as “*turn on light#”. The symbols ‘*’ and ‘#’ at the start and end of the command help to identify the start and end of a message.

We have used the following simple voice commands in this home automation : “turn on light”, “turn off light”, “turn on fan”, “turn off fan”, “turn on AC”, “turn off AC”, “turn on TV”, “turn off TV”, “turn on all”, “turn off all”.

Construction and Output Video

Applications of Home Automation System:

It helps is to control a number of appliances through a common network easily by simple voice commands. You can manage all your devices from one place. This system will prove to be highly useful for people with are old or disabled. With voice-activated home automation system, you can make your space more energy efficient and can improve your home management.

Services by JLCPCB ✅

About ElectronicsLovers

Electronics lovers provide information by publishing tutorials, electronic circuit, Technology news, Final year project ideas and DIY stuff. Electronics lovers is a true place for the student and engineer or hobbyist to surpass within the field of electronics design.

Visit Our Official Online Store

Our aim is to provide cool & unique stuff and gadgets that you are unable to get it in a retail store or other online stores (or due to high prices) at unbeatable prices & Quality as well.
No offer can beat the exclusive offer provided by ElectronicsLovers.

Download Our Android App

Today when information technology is very much important, there should be a source where you can access freely and get whatever you are looking for. Download our app today and get the latest and updated content on your smartphone! Available on Google Play store.