Voice Control Home Automation

VOICE CONTROLLED HOME AUTOMATION

INTRODUCTION

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.

In this project, a simple Voice Activated Home Automation system isdesigned. Voice commands are used to control different appliances.

DESCRIPTION

Arduino based home automation using Bluetooth project helps the user to control any electronic device using Device Control app on their Android Smartphone. The android app sends commands to the Arduino, through wireless communication, namely, Bluetooth. The Arduino is connected to the main PCB which has relays. These relays can be connected to different electronic devices.
Device 1 – AC, Device 2- Light, Device 3 – fan, Device 4- TV.

When the user presses on the ‘On’ button displayed on the app for the device 1, the AC is switched on. This AC can be switched off, by pressing the same button again. Or it can be controlled by voice command.

And, when the user presses on the ‘On’ button displayed on the app for the device 2, the light is switched on. The light can be switched off, by pressing button or voice commands.

Similarly, device 3 and 4 works

HARDWARE REQUIRES

The list of components mentioned here are specifically for controlling 4 different loads.

  •  Arduino Uno
  • HC – 05 Bluetooth Module
  • 5 V Relay X 4
  • Breadboard
  • Connecting wires
  • Smartphone with Bluetooth enabled

SOFTWARE REQUIRES

The list of software using in this project

  • Arduino 1.6.9 compiler
  • Arduino blutooth controller

ARDUINO BOARD DIAGRAM

arduino board

HC 05 BLUETOOTH MODULE DIAGRAM

HC 05 bluetooth module

CONNECTION OF ARDUINO AND BLUETOOTH MODULE

connection of arduino and bluetooth module

CONNECTION OF ARDUINO AND RELAY BOARD

arduino board and relay board

 

TECHNICAL SPECIFICATION

  1. A smartphone or an Android mobile which should have the android app installed in it.
     
  2. Bluetooth receiver module – Our project will be connected to the smartphone using Bluetooth technology.
     
  3. Controller or the main processing circuit- In this project, Arduino Uno is the main controlling / processing unit. Also, this project can be developed using PIC18F4550, AVR ATmega32 and 8051 series like: 89s51, 89c51, 89s52, 89v51RD2.
     
  4. Relays to control devices – We have used 12volt Single push single throw relays.
     
  5. Output devices – For the demo purpose, we connected a DC devices to a relay (12 volt DC bulb). You can connect any AC/DC devices to the remaining 3 relays.
     

PROGRAM CODE

//using ports 10, 11, 12, 13
int ac = 10;
int tv = 11;
int fan = 12;
int light = 13;
int val;

void setup() {

  Serial.begin(9600);

  pinMode(ac,OUTPUT);

  pinMode(tv,OUTPUT);

  pinMode(fan,OUTPUT);

  pinMode(light,OUTPUT);

  digitalWrite(ac,HIGH);

  digitalWrite(tv,HIGH);

  digitalWrite(fan,HIGH);

  digitalWrite(light,HIGH);
}

void loop() {

  //check data serial from bluetooth android App

  while (Serial.available() > 0){

    val = Serial.read();

    Serial.println(val);

  }

 

  //Relay is on

  if( val == 1 ) {

    digitalWrite(ac,HIGH); }

  else if( val == 2 ) {

    digitalWrite(tv,HIGH); }  else if( val == 3 ) {

    digitalWrite(fan,HIGH); }

  else if( val == 4 ) {

    digitalWrite(light,HIGH); }

 

  //relay all on

  else if( val == 0 ) {

    digitalWrite(ac,HIGH);

    digitalWrite(tv,HIGH);

    digitalWrite(fan,HIGH);

    digitalWrite(light,HIGH);

  }

  //relay is off

  else if( val == 5 ) {

    digitalWrite(ac,LOW); }

  else if( val == 6 ) {

    digitalWrite(tv,LOW); }

  else if( val == 7 ) {

    digitalWrite(fan,LOW); }

  else if( val == 8 ) {

    digitalWrite(light,LOW); }

 

  //relay all off

  else if( val == 10 ) {

    digitalWrite(ac,LOW);

    digitalWrite(tv,LOW);

    digitalWrite(fan,LOW);

    digitalWrite(light,LOW);

  }

}

PROS

1. Security: Tap your finger to turn on the lights when you get home so you worried about what’s hiding in the shadows, or in your pathways. Or automate to turn on when you aren’t home to look like you are to ward off potential robbers. Door locks are another automated home product that can increase your home security.

2. Energy Efficiency: Increase your home’s energy efficiency by remotely powering off systems and appliances when they aren’t in use. In addition to the standard home automation products that give you active control, some products actively monitor systems and arm the homeowner with knowledge, insight and guidance to achieve greater control and energy efficiency.

3. Savings: Home automation literally pays off. When you are able to use home systems and appliances only when needed, the savings will be apparent in the first utility bill. No more wasting money on lights left on when you aren’t home, or spending money on gas to drive home because you forgot to lock the door. Monetary savings are apparent, but you’ll also be saving time. No wasted trips home, no running through the house turning everything off, no time spent worrying about what was or wasn’t turned off.

4. Convenience: Don’t you hate having to rely on neighbors to watch your house when you’re gone? With home automation, convenient control of your home is at your fingertips. You don’t have to trust someone else with your most valued possessions.

5. Comfort: Ever leave for work in the morning when it was a comfortable 68° outside only to come home to a sweltering house because the temperature shot up to 90°? Connected home products like the Sensi™ Wi-Fi Thermostats let you conveniently adjust your home temperature from the mobile app so your family is always comfortable.

CONS

1. Cost of Intelligence: Installing state-of-the-art features inside a home results in a higher price tag for the property. The cost of an intelligent home that makes our lives convenient is high because some of the technology is relatively new. The cost of living expenses such as utilities, maintenance and repair of the technology can be expensive as well.

2. Technology Learning Curve: Owning a smart home means having to learn how to use your home. Unlike traditional homes, smart home technology requires you to adapt to the innovations within your living area such as security systems, air units and a remote that controls your entire .
 

 

Category: 

Share

Who's new

  • ravirajpatil871...
  • shubhambajoria
  • yassir
  • demiholyman890954
  • scottgillum51169040

Get Notified

 

Share

We are Social

Syndicate

Subscribe to Syndicate