Controlling Home Appliances Using  Voice via Bluetooth

 

INTRODUCTION:

The above-mentioned system is aimed on controlling appliances via a Bluetooth module HC-05. The Bluetooth can be accessed via an android device or a computer.

COMPONENTS:

  • ARDUINO UNO
  • HC-05
  • RELAY

 

HC-05 BLUETOOTH MODULE:

HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed fortransparent wireless serial connection setup.Serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3MbpsModulation with complete 2.4GHz radio transceiver and baseband.

 

RELAY:

A relay is an electrically operated switch. Many relays use an electromagnet to mechanically operate a switch, but other operating principles are also used, such as solid-state relays. Relays are used where it is necessary to control a circuit by a separate low-power signal, or where several circuits must be controlled by one signal. The first relays were used in long distance telegraph circuits as amplifiers: they repeated the signal coming in from one circuit and re-transmitted it on another circuit. Relays were used extensively in telephone exchanges and early computers to perform logical operations.

SCHEMATIC DIAGRAM:

CODE:

#include<SoftwareSerial.h>

SoftwareSerial.blue(6,7);

void setup()

{

blue.begin(9600);

pinMode(2,OUTPUT);

}

void loop()

{

if(blue.available())

{String  x =blue.readString();

if(x==”*on#”)

digitalWrite(2,1);

if(x==”*of#”)

digitalWrite(2,0);} }

WORKING:

The working of the system goes as follows, the bluetooth module HC-05 is paired with an android device or a computer. An APP such as Arduino blue control is used to control the bluetooth module via voice recognition. The relay triggers ON when the ON command is given and is turned OFF when the OFF command is given.

 

for video

Done by

Vinay https://www.facebook.com/vinay9445

Jayanth S P https://www.facebook.com/1998teenjay