Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
392 views

Voice Recognition Based Home Automation Using Raspberry Pi

The aim of this project is to develop a system that will control the home appliances through voice and also provide security in the absence of the owner with the application of Raspberry Pi. The main objective of this project is to save time and man power . Python is used as a main programming language by default, provided by Raspberry Pi. Voice recognition is developed by using Google API. Our system will detect human presence using motion sensor, whenever a person enters the room, the motion is detected through motion sensor and automatically Buzzer will be on. With the help of Temperature Sensor room temperature and Humidity wil be displayed on LCD display.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
392 views

Voice Recognition Based Home Automation Using Raspberry Pi

The aim of this project is to develop a system that will control the home appliances through voice and also provide security in the absence of the owner with the application of Raspberry Pi. The main objective of this project is to save time and man power . Python is used as a main programming language by default, provided by Raspberry Pi. Voice recognition is developed by using Google API. Our system will detect human presence using motion sensor, whenever a person enters the room, the motion is detected through motion sensor and automatically Buzzer will be on. With the help of Temperature Sensor room temperature and Humidity wil be displayed on LCD display.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Volume 3, Issue 7, July – 2018 International Journal of Innovative Science and Research Technology

ISSN No:-2456-2165

Voice Recognition Based Home Automation using


Raspberry Pi
K.Y.Durga Prasad1, S.Alekhya2, A.Naresh3, K.V.N Rajesh4
B Tech, Department of Electronics and Computers, Vignan’s IIT Visakhapatnam, India 1,2,3.
Assistant Professor, Department of Electronics and Computers, Vignan’s IIT Visakhapatnam, India4

Abstract:- The aim of this project is to develop a system temperature. Google API’s are used to recognize the voice
that will control the home appliances through voice and commands. It receives the commands and tells the system to
also provide security in the absence of the owner with the perform desired function with the desired appliance. The
application of Raspberry Pi. The main objective of this system also tracks the current state of the appliances and other
project is to save time and man power . Python is used as a functionalities can be added to the system with simple codes
main programming language by default, provided by and devices. Python is used as the main programming
Raspberry Pi. Voice recognition is developed by using language. Along with home automation, security is also
Google API. Our system will detect human presence using provided in this system. We use motion sensor to detect
motion sensor, whenever a person enters the room, the human motion and a camera module which captures the image
motion is detected through motion sensor and of the unauthorized person and sends it to the owner’s phone
automatically Buzzer will be on. With the help of via internet and also sends an offline message using GSM
Temperature Sensor room temperature and Humidity wil module. By the rapid developments of new technologies,
be displayed on LCD display. monitoring, controlling services have been started to be served
along with internet as an instrument providing interaction with
Keywords:- Raspberry pi, Python language; PIR sensor; machinery and devices. The system can be used in several
Temperature Sensor. places like banks, labs, hospital and other sophisticated
automated system, which reduces the hazards of unauthorized
I. INTRODUCTION entry. The main reason to develop this system is to save time
and man power along with security and convenience.
Nowadays, people want to carry out tasks as quickly, Controlling home appliances through voice along with
efficiently and simply as it can be with the least amount of security makes this system
effort. This need can be easily met by converting ‘normal’
II. LITERATURE SURVEY
homes into ‘smart’ ones by implementing a home automation
system. Smart home is not a new term for science society, it
has been used from decades. As electronic technologies are In this section, we briefly survey the existing works for
advancing, the field of home automation is increasing rapidly. intelligent home network systems and, based on their main
There were various smart systems have been proposed where contributions, try to classify them into three types: Decision
the control is via Bluetooth, internet etc. Design of Controlling Support oriented, Service Provision oriented and Real
Home Appliances through voice recognition using Raspberry Implementation oriented. First, some work has focused on
pi as well as providing security is an attractive option to how to make the decisions for the home networks more
homeowners. Automation have a continuously increasing and efficiently.
very important role in the industrial and economic world as For example, intelligent home control [1] project
well as in the daily experience. However, cost and ease of focused on designing home control system’s that provides
installation and use are still barriers to widespread adoption. intelligent services for users based on active sensor network.
The goal of this paper is to design a low cost, open source, and Secondly, Home automation using raspberry pi [2] project
flexible system with increasing variety of devices to be deals with controlling home appliances remotely through any
controlled. The voice recognition based home automation Wi-Fi capable mobile device. Smart home system [3] project
systems for paralyzed and old people can make the system based on aurdino proposed a system which controls home
more user friendly and easy to operate. Home automation appliances along with security. Smart home project[4] based
system for old or disabled people will offer raised quality of on sensing mechanism provides home automation with
life for them. In this system, we use Raspberry pi which is a increased functionalities such as alarm based smart lock, smart
high performance, low cost computer. Raspberry Pi have water tank, mosquito sensing.
several generations of computer systems which have different
configuration. The latest version of Pi ‘Raspberry Pi 3’ have Lastly, more practical research to emphasize a real
on-board Wi-Fi and Bluetooth. Based on Raspberry Pi, this implementation has been done as well. H Bharathi[5]
project will implement several common home security suggested home automation using Raspberry Pi and android
peripherals. A thermostat will be available to monitor mobile phone to control electronic appliances anywhere

IJISRT18JL19 www.ijisrt.com 29
Volume 3, Issue 7, July – 2018 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
throughout the world. Compared to existing work, this paper 802.11 n wireless LAN and Bluetooth 4.1.and WIFI in built.
focuses on home automation through voice recognition using We installed raspbian stretch in to the memory card used for
raspberry pi along with security. It makes the users more the board. Raspberry Pi 3 has a LINUX based operating
convenient and comfortable. Our system provides home system call Raspbian. The R-pi board contains 40 general
automation with additional functionalities such as gas purpose input output pins (GPIO) which can be used for
detection, locking gas valves etc. digital input

III. PROPOSED SYSTEM

Fig (1) shows the block diagram Voice Recognition


based home automation and Security using Raspberry Pi. The
project deals with both Software and Hardware components.
The hardware part consists of input command is voice, it
means controlling home appliances by voice. The block
diagram consists of a Raspberry Pi , Bluetooth module ,
temperature sensor ,motion sensor, Gas sensor, Ethernet cable,
Wi-Fi router, Relay circuit board, 5v power supply and
android mobile .Python is used as a main programming
language provided by Raspberry pi.
Fig 1:- Diagram of Raspberry Pi 3B
IV. SALIENT FEATURES OF RASPBERRY PI
and digital output, it contains 4 USB ports, 1 HDMI port,
Raspberry Pi is an ARM based computer credit card in 3.5mm Audio jack, micro USB power supply. This board also
size. It is single “on chip” computing hardware. Here the has serial connections for connecting camera and a display.
raspberry pi3 model B is used. Raspberry pi 3board has

Fig 2:- Block Diagram

IJISRT18JL19 www.ijisrt.com 30
Volume 3, Issue 7, July – 2018 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
A. Motion Sensor The DHT sensors are made of two parts, a capacitive
A passive infrared sensor (PIR sensor) is an electronic humidity sensor and a thermistor. There is also a very basic
sensor that measures infrared (IR) light radiating from objects chip inside that which does some analog to digital conversion
in its field of view.PIR sensor has two slots made of special and spits out a digital signal with the temperature and
material sensitive to IR. When the sensor is inactive, then the humidity. The data pin of this sensor is connected to the GPIO
two slots sense the same amount of IR. The ambient amount pin of Raspberry pi.
radiates from the outdoors, walls, room, etc. It is used for
security purpose. C. Gas Sensor
A gas sensor is deployed near the gas valve to prevent a
gas explosion. It periodically checks the gas in the atmosphere
and reports the values to the home control system to prevent
gas explosion.

D. Buzzer
Buzzer is a transducer which produces sound signal to
the corresponding electrical signal. A buzzer is a mechanical,
electromechanical, magnetic, electromagnetic, electro-acoustic
Fig 3:- Motion Sensor or piezoelectric audio signalling device.

B. Bluetooth module
It is a wireless data exchanging between two Bluetooth
modules within the range of 10 meters. Here we are using HC-
05 Bluetooth module. [6].

V. WIFI AND ETHERNET CABLE


Fig 5:- Diagram of Buzzer
By connecting Wi-Fi router to the R-pi with the help of
Ethernet cable we can identify the IP address of the Raspberry A piezoelectric buzzer can be driven by an oscillating
pi by downloading network IP application scanner’ electronic circuit or other audio signal source.

A. Relay circuit board VI. SOFTWARE DESIGN


Relays are simple switches which are operated both
electrically and mechanically. A relay is an electrically  Installation
controllable switch widely used in industrial controls, Download the Raspbian stretch zip file from the
automobiles, and appliances .It allows the isolation of two raspberry. Org [7] and extract the zip file. Then download the
separate sections of a system with two different voltage win disk 32 manager [8]. Now connect SD card (format the sd
sources. The relay circuit board consumes 12V. card after connecting to pc) open the win32 disk application
write the image file into that memory card after write
B. Temperature Sensor successful eject your memory card and load it into raspberry
Here we are using DHT11 Humidity and Temperature pi. Now connect raspberry pi to your laptop and give LAN
Sensor. The DHT11 is a basic, ultra low-cost digital connection in order to know the IP address of the raspberry pi
temperature and humidity sensor which generates calibrated by installing IP scanner. Then download putty enter the IP
digital output. It uses a capacitive humidity sensor and a address of the pi .By the application of the VNC viewer we
thermistor to measure the surrounding air, and spits out a can install in the laptop we can operate through laptop.
digital signal on the data pin (no analog input pins needed).
VII. PROGRAMMING LANGUAGE

Python is the programming language. Python language is


used to develop the code for the speech based Home
automation system. It is a high level programming language
widely used for raspberry pi.

VIII. METHODOLOGY

Voice commands are given through AMR (android


meets robot) voice app which connects to the nearby
Bluetooth device and sends it to the r-pi and the corresponding
Fig 4:- Temperature Sensor action is performed. For Security purpose we are using

IJISRT18JL19 www.ijisrt.com 31
Volume 3, Issue 7, July – 2018 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
Motion sensor, and Temperature sensor and Gas Leakage any Gas leakage occurs automatically it will detects and it will
sensor. In order to know the temperature and Humidity value sends signal to Buzzer on. We can do watering of plants in the
we are using temperature sensor (dht-11) and its value is home garden time to time by interfacing the water motor to the
displayed on LCD screen. When PIR sensors detects any Raspberry Pi and giving the time delay to the Raspberry Pi
motion it triggers to raspberry pi and raspberry pi sends automatically it turns ON/OFF the motor which reduces the
signals to the Buzzer automatically buzzer will be on. When human effort.

IX. RESULTS

Controlling home appliances through voice and


providing security to the home when the owner is absent.

Fig 6:- screenshot of android mobile phone when Bluetooth


module is connected to Bluetooth of mobile phone. When the
Person says “ALL LIGHTS ON ” or “ALL LIGHTS ON” Fig 7:- To display room temperature

IJISRT18JL19 www.ijisrt.com 32
Volume 3, Issue 7, July – 2018 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
extended for future scope by interfacing camera to Raspberry
Pi.

XI. ACKNOWLEDGEMENT

I would like to thank my guide Asst. Prof. Mr.K.V.N


Rajesh for supporting me in different phases of this project.
Also I thank Vignan’s Institute of Information Technology for
providing me all resources.

REFERENCES

[1]. Changsu Suh and Young-Bae Ko, “Design and


Implementation of Intelligent Home Control Systems
Fig 8:- When light 1 ON humidity based on Active Sensor Networks”, IEEE Transactions
On Consumer Electronics, Vol 54, NO. 3, AUGUST
2008.
[2]. Vikas Kumawat1,Shubham Jain2, Vikram
Vashisth3,Neha Mittal 4,Bhupendra Kumar Jangir5,
“Design of Controlling Home Appliance Remotely Using
Raspberry pi”, 2017 2nd International Conference for
Convergence in Technology.
[3]. Souveer Gunputh, Anshu Prakash Murdan, Vishwamitra
Oree, “Design and Implementation of a Low-Cost
Arduino-Based Smart Home System”, 9th IEEE
International Conference on Communication Software
and Networks, IEEE 2017.
[4]. Mile Mrinal and Lakade Priyanka, Mashayak Saniya ,
Katkar Poonam and A.B. Gavali, “Smart Home –
Fig 9:- To display “ALL LIGHTS OFF Automation and Security System Based on Sensing
Mechanism”, 2017 IEEE.
[5]. H Bharathi1, U Srivani1, MD Azharudhin1, M Srikanth1,
M Sukumarline1, “Home Automation by Using
Raspberry Pi And Android Application”, International
Conference on Electronics, Communication and
Aerospace Technology, IEEE 2017.
[6]. Dhiraj Sunehra, SMIEEE, Vemula Tejaswi,
Implementation of Speech Based Home Automation
System using Bluetooth and GSM.
[7]. https://www.raspberrypi.org/downloads/raspbian/
[8]. https://sourceforge.net/projects/win32diskimager/

Fig 10:- To display “ALL LIGHTS ON”

X. CONCLUSION

The main aim of the project was to design a system in


such a way that to produce maximum output with minimum
complexity. Voice controlled home appliances is to reduce the
human efforts. It is mainly helpful for old and paralyzed
people. By temperature sensor room temperature and
Humidity will displayed on LCD display. If any unknown
persons enters into room or any gas leakages occurs
automatically Buzzer will be on. It’s security features can be

IJISRT18JL19 www.ijisrt.com 33

You might also like