SlideShare a Scribd company logo
VOICE BASED HOME AUTOMATION
Department of Electronics and Communication
5th
Semester
‘A’ Section
By
BHARATR. HEGDE - 1DS13EC037
BASAVRAJMOOLI - 1DS13EC036
SUMUKHATHREY - 1DS13EC035
INTRODUCTION :
The Internet of Things (IoT) is the network of physical
objects or "things" embedded with electronics, software, sensors,
and network connectivity, which enables these objects to collect and
exchange data. IoT allows objects to be sensed and controlled remotely
across existing network infrastructure, creating opportunities for more
direct integration between the physical world and computer-based
systems, and resulting in improved efficiency, accuracy and economic
benefit. Home automation is one of the major areas where IoT can have a
stronghold.
In the recent years, the Home automation system has
seen a rapid change due to introduction of various wireless technologies.
The wireless home automation system is an integrated system to
facilitate elderly and disabled people with an easy-to-use home
automation system that can be fully operated based on speech commands.
The system is portable and constructed in a way that is easy to install,
configure, run, and maintain.
A typical wireless home automation system allows one to
control house hold appliances from a centralized control unit which is
wireless. These appliances usually have to be specially designed to be
compatible with each other and with the control unit for most
commercially available home automation systems. The project
demonstrates a system that can be integrated as a single portable unit
and allows one to wirelessly control lights, fans, air conditioners,
television sets, security cameras, electronic doors, computer systems,
audio/visual equipment’s etc. and turn on or off any appliance that is
plugged into a wall outlet, get the status of different sensors and take
decision accordingly.
AIM : To makea prototypeof a voice based home automation system.
BLOCK DIAGRAM :
COMPONENTS USED:
1. Arduino
2. HC-05 Serial Bluetooth Module
3. LCD Display
4. LED Indicators
5. Jumper Cables
6. Android App
Android App :
The microphone button is tapped and the voice command is given to
switch the corresponding device on/off. The voice recognizer listens and
converts what is said to the nearest matching words or text. The Bluetooth
adapter present in the phone is configured to send this text to the Bluetooth
module on the Arduino Uno board that would in turn control the electrical
appliancesthrough the relay boards.
PROCEDURE:
1. Connectthe HC-05 bluetooth moduleto Arduino board asshown.
2. Connectthe LCD display.The connections for LCD display are as follows:
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
3. ConnectLEDs to show the status of the devices.
4. Load the codeto Arduino board and run it.
PROGRAM:
// includethe library code:
#include<LiquidCrystal.h>
// initialize the library with the numbersof the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
String voice;
int light1=6;
int light2=7;
int fan1=8;
int fan2=9;
void setup(){
// set up the LCD'snumber of columnsand rows:
lcd.begin(16, 2);
// initialize the serial communications:
Serial.begin(9600);
pinMode(light1,OUTPUT);
pinMode(light2,OUTPUT);
pinMode(fan1,OUTPUT);
pinMode(fan2,OUTPUT);
}
void loop()
{
while(Serial.available())
{
delay(10);
char c=Serial.read();
if(c=='#')
{
break;
}
voice+=c;
}
if(voice.length()>0)
{
Serial.println(voice);
//String one=voice.substring(0,16);
if(voice=="on light 1"){digitalWrite(light1,HIGH);}
else if(voice=="off light 1"){digitalWrite(light1,LOW);}
else if(voice=="on light 2"){digitalWrite(light2,HIGH);}
else if(voice=="off light 2"){digitalWrite(light2,LOW);}
else if(voice=="on fan 1"){digitalWrite(fan1,HIGH);}
else if(voice=="on fan 1"){digitalWrite(fan1,LOW);}
else if(voice=="on fan 2"){digitalWrite(fan2,HIGH);}
else if(voice=="on fan 2"){digitalWrite(fan2,LOW);}
else if(voice=="all
on"){digitalWrite(light1,HIGH);digitalWrite(light2,HIGH);digitalWrite(fan1,H
IGH);digitalWrite(fan2,HIGH);}
else if(voice=="all
of"){digitalWrite(light1,LOW);digitalWrite(light2,LOW);digitalWrite(fan1,LO
W);digitalWrite(fan2,LOW);}
voice="";
// when characters arriveover the serial port.
if (Serial.available())
{
// wait a bit for the entire message to arrive
delay(100);
// clear the screen
lcd.clear();
// read all the available characters
while (Serial.available() > 0) {
// display each character to the LCD
lcd.write(Serial.read());
}
}
}
FUTUREDEVELOPMENT :
Further development can be implemented in the system by using a ZigBee
wireless communication module instead of a Bluetooth module. ZigBee is an
IEEE 802.15.4 standard for data communications with business and consumer
devices. Zigbee is targeted at applications that require low data rate, long
battery life, and securenetworking. Zigbee has a defined rate of 250 kbits/s, best
suited for periodic or intermittent data or a single signal transmission from a
sensor or inputdevice.
Further we can control actual AC appliances with the help of relays, which
can be switched on or off usingthe Arduino board.
CONCLUSION:
Voice based home automation system is successfully implemented using
Arduino. Establishing the system with little modifications could bring revolutionary
change in the way we interact with our home appliances.

More Related Content

What's hot

Voice recognition based home automation system for paralyzed people
Voice recognition based home automation system for paralyzed peopleVoice recognition based home automation system for paralyzed people
Voice recognition based home automation system for paralyzed people
lal ahmed shaik
 
Arduino based home automation using tv remote
Arduino based home automation using tv remoteArduino based home automation using tv remote
Arduino based home automation using tv remote
Mahbub Alam Himel
 
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILEANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
Durgaprasad M
 
Home automation voice control
Home automation voice controlHome automation voice control
Home automation voice control
Ahammednayeem
 
Home automation system using arduino with android
Home automation system using arduino with androidHome automation system using arduino with android
Home automation system using arduino with android
rahul takalkar
 
Home automisation finalppt
Home automisation finalpptHome automisation finalppt
Home automisation finalppt
Mohit Singh
 
Voice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On ZigbeeVoice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On Zigbee
IOSR Journals
 
Smart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-BeeSmart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-Bee
premdeshmane
 
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTAPASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
HEMANTA SAHU
 
Smart home automation
Smart home automationSmart home automation
Smart home automation
Vikas Rathod
 
Home automation using blynk
Home automation using blynkHome automation using blynk
Home automation using blynk
VarshithAnnavarapu1
 
Bluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentatonBluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentaton
LalitKapoor7
 
Digital home automation with Arduino bluetooth
Digital home automation with Arduino bluetoothDigital home automation with Arduino bluetooth
Digital home automation with Arduino bluetooth
Shishupal03012015
 
Bluetooth based home appliances control
Bluetooth based home appliances controlBluetooth based home appliances control
Bluetooth based home appliances control
PROJECTRONICS
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
Eklavya Sharma
 
Touch Screen Based Home Automation System
Touch Screen Based Home Automation SystemTouch Screen Based Home Automation System
Touch Screen Based Home Automation System
Edgefxkits & Solutions
 
SMS Based Home Automation System
SMS Based Home Automation SystemSMS Based Home Automation System
SMS Based Home Automation System
Sujit Nayak
 
Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05
Vidhi Shah
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
Shishupal03012015
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
Abhishek Neb
 

What's hot (20)

Voice recognition based home automation system for paralyzed people
Voice recognition based home automation system for paralyzed peopleVoice recognition based home automation system for paralyzed people
Voice recognition based home automation system for paralyzed people
 
Arduino based home automation using tv remote
Arduino based home automation using tv remoteArduino based home automation using tv remote
Arduino based home automation using tv remote
 
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILEANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
 
Home automation voice control
Home automation voice controlHome automation voice control
Home automation voice control
 
Home automation system using arduino with android
Home automation system using arduino with androidHome automation system using arduino with android
Home automation system using arduino with android
 
Home automisation finalppt
Home automisation finalpptHome automisation finalppt
Home automisation finalppt
 
Voice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On ZigbeeVoice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On Zigbee
 
Smart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-BeeSmart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-Bee
 
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTAPASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
 
Smart home automation
Smart home automationSmart home automation
Smart home automation
 
Home automation using blynk
Home automation using blynkHome automation using blynk
Home automation using blynk
 
Bluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentatonBluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentaton
 
Digital home automation with Arduino bluetooth
Digital home automation with Arduino bluetoothDigital home automation with Arduino bluetooth
Digital home automation with Arduino bluetooth
 
Bluetooth based home appliances control
Bluetooth based home appliances controlBluetooth based home appliances control
Bluetooth based home appliances control
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
 
Touch Screen Based Home Automation System
Touch Screen Based Home Automation SystemTouch Screen Based Home Automation System
Touch Screen Based Home Automation System
 
SMS Based Home Automation System
SMS Based Home Automation SystemSMS Based Home Automation System
SMS Based Home Automation System
 
Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
 

Viewers also liked

manpower recruitment group in pakistan
manpower recruitment group in pakistanmanpower recruitment group in pakistan
manpower recruitment group in pakistan
Manpower Recruitment Group in Pakistan
 
Syllabus course- Fall 2013(1)
Syllabus course- Fall 2013(1)Syllabus course- Fall 2013(1)
Syllabus course- Fall 2013(1)Abdalrazzaq Moaz
 
Social Media Aktivitäten von KAGs
Social Media Aktivitäten von KAGsSocial Media Aktivitäten von KAGs
Social Media Aktivitäten von KAGs
Julia Sophie
 
Test v1 sobre bios y setup computador de trabajo
Test v1 sobre bios y setup computador de trabajoTest v1 sobre bios y setup computador de trabajo
Test v1 sobre bios y setup computador de trabajo
norveyruano
 
Redacción de textos
Redacción de textosRedacción de textos
Redacción de textos
Diana Carolina Ramires Sanches
 
Oil and gas industry manpower recruitment in pakistan
Oil and gas industry manpower recruitment in pakistanOil and gas industry manpower recruitment in pakistan
Oil and gas industry manpower recruitment in pakistan
Oil and Gas Industry Manpower Recruitment in Pakistan
 
вчимо вірші
вчимо віршівчимо вірші
вчимо вірші
boskosvitlana
 
커널코드분석 20140621(head.s restart)
커널코드분석 20140621(head.s restart)커널코드분석 20140621(head.s restart)
커널코드분석 20140621(head.s restart)
Dongpyo Lee
 
Radio wa
Radio waRadio wa
Cindy vs. the Huffle Puffle
Cindy vs. the Huffle PuffleCindy vs. the Huffle Puffle
Cindy vs. the Huffle Puffle
NapCave.com
 
UMP Profile - Linked
UMP Profile - LinkedUMP Profile - Linked
UMP Profile - LinkedMohit Singla
 
Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...
Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...
Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...
Pankaj Dani
 
Gilberto gil – pela internet
Gilberto gil – pela internetGilberto gil – pela internet
Gilberto gil – pela internetbiiffs
 
Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...
Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...
Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...
Pankaj Dani
 

Viewers also liked (18)

CMBR
CMBRCMBR
CMBR
 
manpower recruitment group in pakistan
manpower recruitment group in pakistanmanpower recruitment group in pakistan
manpower recruitment group in pakistan
 
Tamoxifeeni
TamoxifeeniTamoxifeeni
Tamoxifeeni
 
Syllabus course- Fall 2013(1)
Syllabus course- Fall 2013(1)Syllabus course- Fall 2013(1)
Syllabus course- Fall 2013(1)
 
Social Media Aktivitäten von KAGs
Social Media Aktivitäten von KAGsSocial Media Aktivitäten von KAGs
Social Media Aktivitäten von KAGs
 
Test v1 sobre bios y setup computador de trabajo
Test v1 sobre bios y setup computador de trabajoTest v1 sobre bios y setup computador de trabajo
Test v1 sobre bios y setup computador de trabajo
 
Redacción de textos
Redacción de textosRedacción de textos
Redacción de textos
 
prasanth
prasanthprasanth
prasanth
 
Estrategia digital rev1
Estrategia digital rev1Estrategia digital rev1
Estrategia digital rev1
 
Oil and gas industry manpower recruitment in pakistan
Oil and gas industry manpower recruitment in pakistanOil and gas industry manpower recruitment in pakistan
Oil and gas industry manpower recruitment in pakistan
 
вчимо вірші
вчимо віршівчимо вірші
вчимо вірші
 
커널코드분석 20140621(head.s restart)
커널코드분석 20140621(head.s restart)커널코드분석 20140621(head.s restart)
커널코드분석 20140621(head.s restart)
 
Radio wa
Radio waRadio wa
Radio wa
 
Cindy vs. the Huffle Puffle
Cindy vs. the Huffle PuffleCindy vs. the Huffle Puffle
Cindy vs. the Huffle Puffle
 
UMP Profile - Linked
UMP Profile - LinkedUMP Profile - Linked
UMP Profile - Linked
 
Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...
Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...
Carryfast Group - Offering 3P Logistics, Cold Chain Solutions, Manpower Recru...
 
Gilberto gil – pela internet
Gilberto gil – pela internetGilberto gil – pela internet
Gilberto gil – pela internet
 
Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...
Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...
Carryfast Group - 3P Logistics, Cold Chain Solutions, Packaging, Pallet Leasi...
 

Similar to Voice_based_HA

Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
Saumya Tiwari
 
Bluetooth Home Automation System
Bluetooth Home Automation SystemBluetooth Home Automation System
Bluetooth Home Automation System
AI Publications
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
RafayNaveed4
 
Smart home automation system
Smart home automation systemSmart home automation system
Smart home automation system
Pawan Kumar Ganjhu
 
Report
ReportReport
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724
PAVINRAJ5
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
AMIT SANPUI
 
IoT ppt(004).pptx
IoT ppt(004).pptxIoT ppt(004).pptx
IoT ppt(004).pptx
AbhaySingh467264
 
IRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-ControllerIRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET Journal
 
Home Automation System
Home Automation SystemHome Automation System
Home Automation SystemSaifullah Khan
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice board
IRJET Journal
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
Electric&elctronics&engineeering
 
Wireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docxWireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docx
AbhishekGM10
 
Smart home project technical paper
Smart home project technical paperSmart home project technical paper
Smart home project technical paperAnwar Al Ahdab
 
Google Voice Assistance Based Smart Home Automation
Google Voice Assistance Based Smart Home AutomationGoogle Voice Assistance Based Smart Home Automation
Google Voice Assistance Based Smart Home Automation
GauthamG4
 
Voice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On ZigbeeVoice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On Zigbee
IOSR Journals
 
Voice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On ZigbeeVoice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On Zigbee
IOSR Journals
 
Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.
imtiyazEEE
 
Smart home
Smart homeSmart home
Smart home
Moorthy kvn
 
Smart home copy
Smart home   copySmart home   copy
Smart home copy
Moorthy kvn
 

Similar to Voice_based_HA (20)

Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
 
Bluetooth Home Automation System
Bluetooth Home Automation SystemBluetooth Home Automation System
Bluetooth Home Automation System
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
 
Smart home automation system
Smart home automation systemSmart home automation system
Smart home automation system
 
Report
ReportReport
Report
 
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
IoT ppt(004).pptx
IoT ppt(004).pptxIoT ppt(004).pptx
IoT ppt(004).pptx
 
IRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-ControllerIRJET- Smart Home Automation System using 8051 Micro-Controller
IRJET- Smart Home Automation System using 8051 Micro-Controller
 
Home Automation System
Home Automation SystemHome Automation System
Home Automation System
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice board
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
 
Wireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docxWireless E-Notice Board Using Bluetooth Report.docx
Wireless E-Notice Board Using Bluetooth Report.docx
 
Smart home project technical paper
Smart home project technical paperSmart home project technical paper
Smart home project technical paper
 
Google Voice Assistance Based Smart Home Automation
Google Voice Assistance Based Smart Home AutomationGoogle Voice Assistance Based Smart Home Automation
Google Voice Assistance Based Smart Home Automation
 
Voice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On ZigbeeVoice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On Zigbee
 
Voice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On ZigbeeVoice Recognition Wireless Home Automation System Based On Zigbee
Voice Recognition Wireless Home Automation System Based On Zigbee
 
Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.
 
Smart home
Smart homeSmart home
Smart home
 
Smart home copy
Smart home   copySmart home   copy
Smart home copy
 

Voice_based_HA

  • 1. VOICE BASED HOME AUTOMATION Department of Electronics and Communication 5th Semester ‘A’ Section By BHARATR. HEGDE - 1DS13EC037 BASAVRAJMOOLI - 1DS13EC036 SUMUKHATHREY - 1DS13EC035
  • 2. INTRODUCTION : The Internet of Things (IoT) is the network of physical objects or "things" embedded with electronics, software, sensors, and network connectivity, which enables these objects to collect and exchange data. IoT allows objects to be sensed and controlled remotely across existing network infrastructure, creating opportunities for more direct integration between the physical world and computer-based systems, and resulting in improved efficiency, accuracy and economic benefit. Home automation is one of the major areas where IoT can have a stronghold. In the recent years, the Home automation system has seen a rapid change due to introduction of various wireless technologies. The wireless home automation system is an integrated system to facilitate elderly and disabled people with an easy-to-use home automation system that can be fully operated based on speech commands. The system is portable and constructed in a way that is easy to install, configure, run, and maintain. A typical wireless home automation system allows one to control house hold appliances from a centralized control unit which is wireless. These appliances usually have to be specially designed to be compatible with each other and with the control unit for most commercially available home automation systems. The project demonstrates a system that can be integrated as a single portable unit and allows one to wirelessly control lights, fans, air conditioners, television sets, security cameras, electronic doors, computer systems, audio/visual equipment’s etc. and turn on or off any appliance that is plugged into a wall outlet, get the status of different sensors and take decision accordingly.
  • 3. AIM : To makea prototypeof a voice based home automation system. BLOCK DIAGRAM : COMPONENTS USED: 1. Arduino 2. HC-05 Serial Bluetooth Module 3. LCD Display 4. LED Indicators 5. Jumper Cables 6. Android App
  • 4. Android App : The microphone button is tapped and the voice command is given to switch the corresponding device on/off. The voice recognizer listens and converts what is said to the nearest matching words or text. The Bluetooth adapter present in the phone is configured to send this text to the Bluetooth
  • 5. module on the Arduino Uno board that would in turn control the electrical appliancesthrough the relay boards. PROCEDURE: 1. Connectthe HC-05 bluetooth moduleto Arduino board asshown. 2. Connectthe LCD display.The connections for LCD display are as follows: * LCD RS pin to digital pin 12 * LCD Enable pin to digital pin 11 * LCD D4 pin to digital pin 5 * LCD D5 pin to digital pin 4 * LCD D6 pin to digital pin 3 * LCD D7 pin to digital pin 2 * LCD R/W pin to ground 3. ConnectLEDs to show the status of the devices. 4. Load the codeto Arduino board and run it.
  • 6. PROGRAM: // includethe library code: #include<LiquidCrystal.h> // initialize the library with the numbersof the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); String voice; int light1=6; int light2=7; int fan1=8; int fan2=9; void setup(){ // set up the LCD'snumber of columnsand rows: lcd.begin(16, 2); // initialize the serial communications: Serial.begin(9600); pinMode(light1,OUTPUT); pinMode(light2,OUTPUT); pinMode(fan1,OUTPUT); pinMode(fan2,OUTPUT); } void loop() { while(Serial.available()) { delay(10);
  • 7. char c=Serial.read(); if(c=='#') { break; } voice+=c; } if(voice.length()>0) { Serial.println(voice); //String one=voice.substring(0,16); if(voice=="on light 1"){digitalWrite(light1,HIGH);} else if(voice=="off light 1"){digitalWrite(light1,LOW);} else if(voice=="on light 2"){digitalWrite(light2,HIGH);} else if(voice=="off light 2"){digitalWrite(light2,LOW);} else if(voice=="on fan 1"){digitalWrite(fan1,HIGH);} else if(voice=="on fan 1"){digitalWrite(fan1,LOW);} else if(voice=="on fan 2"){digitalWrite(fan2,HIGH);} else if(voice=="on fan 2"){digitalWrite(fan2,LOW);} else if(voice=="all on"){digitalWrite(light1,HIGH);digitalWrite(light2,HIGH);digitalWrite(fan1,H IGH);digitalWrite(fan2,HIGH);} else if(voice=="all of"){digitalWrite(light1,LOW);digitalWrite(light2,LOW);digitalWrite(fan1,LO W);digitalWrite(fan2,LOW);} voice=""; // when characters arriveover the serial port. if (Serial.available()) { // wait a bit for the entire message to arrive delay(100); // clear the screen lcd.clear(); // read all the available characters while (Serial.available() > 0) { // display each character to the LCD lcd.write(Serial.read());
  • 8. } } } FUTUREDEVELOPMENT : Further development can be implemented in the system by using a ZigBee wireless communication module instead of a Bluetooth module. ZigBee is an IEEE 802.15.4 standard for data communications with business and consumer devices. Zigbee is targeted at applications that require low data rate, long battery life, and securenetworking. Zigbee has a defined rate of 250 kbits/s, best suited for periodic or intermittent data or a single signal transmission from a sensor or inputdevice. Further we can control actual AC appliances with the help of relays, which can be switched on or off usingthe Arduino board. CONCLUSION: Voice based home automation system is successfully implemented using Arduino. Establishing the system with little modifications could bring revolutionary change in the way we interact with our home appliances.