Skip to main content

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.



Types of Home Automation:

Contents:

1 Types of Home Automation:
2 Components Required
3 Components Description
4 Circuit Design:
5 Working on Home Automation System:
6 Source Code: 
7 Construction and Output Video
8 Applications of Home Automation System:

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”.





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.


Comments

Popular posts from this blog

Building a Complete Website with Groq API: A Step-by-Step Guide

Building a Complete Website using Groq API: A Step-by-Step Guide Introduction: In today's digital age, having a website is no longer a luxury, but a necessity for businesses, individuals, and organizations. With the rise of API-first development, it's now possible to build a complete website using APIs like Groq. In this blog post, we'll explore how to use Groq API to build a complete website from scratch. What is Groq API? Groq API is a powerful API that allows developers to build, manage, and deploy websites, applications, and services with ease. It provides a wide range of features, including data storage, authentication, and integration with third-party services. Getting Started with Groq API To get started with Groq API, you'll need to create an account on the Groq website. Once you've signed up, you'll receive an API key that you can use to make requests to the API. Step 1: Setting up the Project Structure Before we start building our website, we need to s...

Build your own Wi-Fi Repeater or Range extender using NodeMCU

We are in the Internet of Things (IoT) generation! These days, you can control your home gadgets/devices like air-conditioner, room heater, water heater, etc. remotely from anywhere and the device to do this can easily be built or purchased off the shelf. Over the course, we have also built a few IoT based home automation projects  using  Arduino ,  ESP , and  Raspberry Pi .

DIY GPS Speedometer using Arduino and OLED

  Speedometers are used to measure the travelling speed of a vehicle.  Today we will use GPS to measure the speed of a moving vehicle. GPS speedometers are more accurate than standard  speedometers  because it can continuously locate the vehicle and can calculate the speed.  GPS technology  is widely used in smartphones and vehicles for navigation and traffic alerts.