Voice controlled home automation system
Synopsis
A SYNOPSIS ON “VOICE CONTROLLED HOME AUTOMATION SYSTEM”
Submitted To:
Submitted By:
Mr. ASHWANI TYAGI
VISHNU CHAUDHARY
(Asst. Professor)
Roll No. 1451531004
Department of ECE
APARNA MAZUMDAR Roll No. 1451531002 ECE 4TH YEAR
Dr. K. N. Modi Foundation
1
B.tech ECE
Voice controlled home automation system
Synopsis
CERTIFICATE
This is to certify that Mr. VISHNU CHAUDHARY& APARNA MAZUMDAR are the students of ECE VII semester, batch 2014-2018 of our institute. They have completed his training on “VOICE CONTROLLED HOME AUTOMATION”. I hereby certify that accompanying document is a faithful record of original research work of the certificate.
Mr. ASHWANI TYAGI (Asst. Professor)
Dr. K. N. Modi Foundation
2
B.tech ECE
Voice controlled home automation system
Synopsis
DECLARATION
We hereby declare that this submission is our own work and that, to the best of my knowledge and belief, it contains no material previously published or written by another person nor material which to substantial extent has been accepted for the award of any other degree on diploma of the university or other institute of higher learning, except where due acknowledgement has been made in the text.
Signature Name: VISHNU CHAUDHARY Roll No. 1451531004 Name: APARNA MAZUMDAR Roll No. 1451531002
Dr. K. N. Modi Foundation
3
B.tech ECE
Voice controlled home automation system
Synopsis
ACKNOWLEDGEMENT
First of all, We are grateful to the almighty god for establishing us to complete this Project.We are thankful to Mr. ASHWANI TYAGI (Asst. Professor) of department of Electronics & Communication Engineering. We are grateful and indebted to him for this expert, sincere and valuable guidance and encouragement extended to us. We also place on record our sense of gratitude to one and all who, directly or indirectly, have land their helping hand in this venture.
Dr. K. N. Modi Foundation
4
B.tech ECE
Voice controlled home automation system
Synopsis
FIGURES
PAGE NO.
FIG 3.1PIN DIAGRAM
14
FIG 3.2 BLUETOOTH MODULE
15
FIG 3.3 RELAY
15
FIG 3.4 IC7805
16
FIG 3.5 BLUETOOH ANDROID APP
17
FIG 3.6 10µF CAPACITOR
17
FIG 3.7 1000µF CAPACITOR
18
FIG 3.8 RESISTOR 10K
18
FIG 3.9 RESISTOR 1K
18
FIG 4.1 BLUETOOH ANDROID APP
21
FIG 4.2 ANDROID APP SETTING
21
FIG 4.3 BLOCK DIAGRAM OF SYSTEM
22
FIG 4.4 CIRCUIT DIAGRAM OF VCHAS
24
Dr. K. N. Modi Foundation
5
B.tech ECE
Voice controlled home automation system
Synopsis
CONTENTS Chapter-1 Introduction 1.1 Introduction 1.2 Need of Voice controlled home automation system 1.3 Scope of Voice controlled home automation system 1.4 Aim of study Chapter-2 Literature Review Chapter-3 Material and Site selection 3.1 General 3.2 Site selection 3.3 Introduction of Site 3.3 Material used 3.4 Material specification Chapter-4 Test and Procedure 4.1 General 4.2 Tests & Procedure CHAPTER-5 REFRENCES
Dr. K. N. Modi Foundation
6
B.tech ECE
Voice controlled home automation system
Synopsis
ABSTRACT PROJECT DESCRIPTION
The concept of controlling home appliances using human voice is interesting. This project is designed to control home appliances using a voice-controlled Android application. A Bluetooth device is interfaced to the control unit for sensing signals transmitted by the Android application. This data is conveyed to the control unit which switches on loads ON/OFF as desired. An 8051 series microcontroller is used in this project as a controlling device. Remote operation is achieved by any smart-phone or Tablet with Android OS, upon a GUI (Graphical User Interface) based voice operation. The transmitting end uses an Android application for the voice commands that are transmitted to digital bits. At the receiver end, these commands are used for controlling the home appliances on and off.At the receiving end, the appliances are driven by power TRIACS through opto isolators that are interfaced to the microcontroller. Serial communication data sent from the Android application is received by a Bluetooth receiver interfaced to the microcontroller. The program on the microcontroller refers to the serial data to generate respective output based on the input data to operate the TRIACS through Opto coupler IC. Furthermore, the project can also add a feature of controlling the loads using touch screen operation.
Dr. K. N. Modi Foundation
7
B.tech ECE
Voice controlled home automation system
Synopsis
CHAPTER 1. INTRODUCTION 1.1 INTRODUCTION This project is designed to control home appliances using a voice-controlled Android application. The concept of controlling home appliances using human voice is an interesting. A Bluetooth device is interfaced to the control unit for sensing signals transmitted by the Android application. This data is conveyed to the control unit which switches on loads ON/OFF as desired. An 8051-series microcontroller 89s51 is used in this project as a controlling device. Remote operation is achieved by any smart-phone or Tablet with Android OS, upon a App voice operation. The transmitting end uses an Android application for the voice commands that are transmitted to digital bits. At the receiver end, these commands are used for controlling the home appliances on and off. At the receiving end, the appliances are driven by Relay that are interfaced to the microcontroller. Serial communication data sent from the Android application is received by a Bluetooth receiver interfaced to the microcontroller. The program on the microcontroller refers to the serial data to generate respective output based on the input data to operate the Relay. This project has integration of Android mobile technology and embedded system. Android mobile user has to install an application on his mobile handset to control the devices. Then he/she can give command using the voice on that application. For this you have to turn on the Bluetooth on mobile, so the main wireless controlling technique used in this project is Bluetooth technology. Bluetooth receiver will be connected to the project. This Bluetooth device is connected to the circuit which has a decoder. It sends out a code for respective command sent by user. Then the respective device connected to the circuit will be turned on or off depending on the command given. For example: Turn on motor, Turn off motor. Turn on buzzer etc. Such that by giving commands from mobile you can control home appliances
1.2 NEED OF VOICE CONTROLLED HOME AUTOMATION SYSTEM a. The inefficiency of operation of conventional wall switches can be overwhelmed using various home automation systems (without using conventional switching methods). b. The loss of power can be reduced and manpower required for home automation is very less compared to conventional methods. c. The IR, RF, android application, Arduino, Bluetooth, DTMF, etc., based home automation systems can be more efficient, provides ease of operation. Dr. K. N. Modi Foundation
8
B.tech ECE
Voice controlled home automation system
Synopsis
d. Provides safety from electrical power short circuits while using conventional wall switches to operate loads. e. Home automation system with automated door locking and security cameras facilitates more security. f. By using a home automation system, we can save a lot of time to operate home appliances from anywhere (without wasting time to move from office to home for just unlocking door for family members to enter the home). 1.3 SCOPE OF VOICE CONTROLLED HOME AUTOMATION SYSTEM In order to achieve the objective of the project, several scopes need to be identified. The scope of the project includes: a. Home automation - This project can be used to control various devices in the Home . b.
Can also be used for security purpose after modification (we can control gate system or we can interface wireless camera and can control it using our mobile).
c. This project can also be used in IOT technologies. d. Voice controlled home automation system can be used in automation technologies.
1.4 Aim of study The aim of study of this project is because this project is decided by our guide for the final year project of my Bachelor of Technology.
Dr. K. N. Modi Foundation
9
B.tech ECE
Voice controlled home automation system
Synopsis
CHAPTER 2. LITERATURE REVIEW 1. INTRODUCTION Automation performs an increasingly vital role in daily experience and global economy. Engineers strive to combine automated devices with mathematical and organizational tools to create complex systems for a rapidly expanding range of applications and human activities. The concept of home automation has been around since the late 1970s. But with the enhancement of technology and smart services, people’s expectations have changed a lot during the course of time to perfectly turn the traditional house into smart home, and also think that what a home should do or how the services should be provided and accessed at home to became a smart home and so has the idea of home automation systems. A home automation system means to grant the end users to manage and handle the electric appliances. If we look at different home automation systems over time, they have always tried to provide efficient, convenient, and safe ways for home inhabitants to access their homes. Regardless of the change in user’s hope, growing technology, or change of time, the appearance of a home automation system has remained the same. Many existing, well-established home automation systems are based on wired communication such as Arduino based and raspberry pi based home automation systems. This does not pose a problem until the system is planned well in advance and installed during the physical construction of the building. But for already existing buildings the implementation cost goes very high. In contrast, Wireless systems can be of great help for automation systems like Bluetooth, Wi-Fi and IOT based home automation systems. With the advancement of wireless technologies such as Wi-Fi, cloud networks in the recent past, wireless systems are used every day and everywhere. Challenges of Home automation systems Home automation systems suffers four main challenges; these are poor manageability, inflexibility, difficulty in achieving securityand high cost of ownership,The main objectives of this research is to design and implement a home automation system using IoT that is capable of controlling and automating most of the house appliances through an easy manageable web interface. The proposed system has a great flexibility by using Wi-Fi technology to interconnect its distributed sensors to home automation server. This will decrease the deployment cost and will increase the ability of upgrading, and system reconfiguration.
Dr. K. N. Modi Foundation
10
B.tech ECE
Voice controlled home automation system
Synopsis
II. LITERATURE SURVEY 1. VOICE CONTROLLED Bluetooth based home automation system using cell phones: In Bluetooth based home automation system the home appliances are connected to the Arduino BT board at input output ports using relay. The program of Arduino BT board is based on high level interactive C language of microcontrollers; the connection is made via Bluetooth. The password protection is provided so only authorized user is allowed to access the appliances. The Bluetooth connection is established between Arduino BT board and phone for wireless communication. In this system the python script is used and it can install on any of the Symbian OS environment, it is portable. One circuit is designed and implemented for receiving the feedback from the phone, which indicate the status of the device. 2. Zigbee based home automation system using cell phones: To monitor and control the home appliances the system is designed and implemented using Zigbee. The device performance is record and store by network coordinators. 3.
GSM based home automation system using cell phones: Because of the mobile phone and GSM technology, the GSM based home automation is lure to research. The SMS based home automation, GPRS based home automation and dual tone multi frequency (DTMF) based home automation, these options we considered mainly for communication in GSM. In figure shows the logical diagram the work of A. Alheraish, it shows how the home sensors and devices interact with the home network and communicates through GSM and SIM (subscriber identity module). The system use transducer which convert machine function into electrical signals which goes into microcontroller. The sensors of system convert the physical qualities like sound, temperature and humidity into some other quantity like voltage. The microcontroller analysis all signal and convert them into command to understand by GSM module. Select appropriate communication method among SMS, GPRS and DTFC based on the command which received GSM module.
1. Wi-Fi based home automation system using cell phones: Wi-Fi based home automation system mainly consist three modules, the server, the hardware interface module, and the software package. The figure shows the system model layout. WiFi technology is used by server, and hardware Interface module to communicate with each other. The same technology uses to login to the server web based application. The server is connected to the internet, so remote users can access server web based application through the internet using compatible web browser. Software of the latest home automation system is split to server application software, and Microcontroller (Arduino) firmware. The Arduino Dr. K. N. Modi Foundation
11
B.tech ECE
Voice controlled home automation system
Synopsis
software, built using C language, using IDE comes with the microcontroller itself. Arduino software is culpable for gathering events from connected sensors, then applies action to actuators and preprogramed in the server. Another job is to report the and record the history in the server DB. The server application software package for the proposed home automation system, is a web based application built using asp.net. The server application software can be accessed from internal network or from internet if the server has real IP on the internet using any internet navigator supports asp.net technology. 2. Raspberry pie home automation with wireless sensors using smart phone Home Automation System has been developed with Raspberry Pi by reading the algorithm and subject of Email. Raspberry Pi guarantees to be an efficient platform for implementation powerful, and economic smart home automation. home automation using Raspberry pi is better than any other home automation methods in several ways. For example, DTMF (dual tone multi-frequency) using home automation, the call tariff is a big demerit, which is not the problem in their proposed method. In Home Automation using web server, the design of web server and the memory space required is dismiss by this method, because it just uses the already established web server service given by G-mail. LEDs were used to identify the switching action. This System is efficient and flexible interactive. IV CONCLUSION Survey of different home automation system shows that there are various kinds of technologies used to implement this type of system. All the proposed systems have been presented and compared in this paper which reveals some merits and demerits of the systems. This review explained different home automation system e.g. Web based, Bluetooth-based, mobile-based, SMS based, ZigBeebased, Arduino microcontroller based, Android app based, IOT based and cloud-based. Due to its performance, simplicity, low cost and reliabilityhome automation system is making its position in global market,that day is not so far when every home will be the smart home.
Dr. K. N. Modi Foundation
12
B.tech ECE
Voice controlled home automation system
Synopsis
CHAPTER3. MATERIAL AND SITE SELECTION
3.1 GENERAL Imagine that you can control the electronic appliances of your home from anywhere inside the house, just using your Smart phone. In this project, we will use wireless Bluetooth technology to control the Home Electronic Appliances through a Android Phone. Bluetooth has a range of 10-15 meters, so that you can switch ON and OFF any electronic appliance within the range. Here we have used 8051 microcontroller with a Bluetooth module, for wirelessly receive the data, sent from the Android Phone. So that microcontroller can Turn ON and OFF the home appliances accordingly.
3.2 SITE SELECTION Site selection for a project is done on the basis of the information provided on the site about a project while making the the project. So for my project VOICE CONTROLLED HOME AUTOMATION SYSTEM I have selected the site which is WWW.CIRCUITDIGEST.COM because it provides enough information regarding my project VOICE CONTROLLED HOME AUTOMATION SYSTEM that helps me in many ways.
3.3 Introduction of Site Circuit Digest is a community of electrical and electronics students, makers and technology lovers. Explore Electronic Circuits, 8051, AVR Microcontrollers, microprocessors and many other new technologies. Circuit digest helps in making the projects and also sells the components related to projects. It is a complete site for those who are making the projects of electronics and communications for their final years. 3.4 MTERIAL USED a. b. c. d. e. f. g. h. i. j. k.
8051 microcontroller Bluetooth Module HC05 Relay ULN2003 Bulb Holder Wire IC 7805 Android phone Bluetooth controller app Android app 10 µF capacitor
Dr. K. N. Modi Foundation
13
B.tech ECE
Voice controlled home automation system
l. m. n. o.
Synopsis
1000µF capacitor 10K resistor 1k resistor Power Supply
3.5 Material specification 8051 microcontroller The Intel 8051 is an 8-bit microcontroller which means that most available operations are limited to 8 bits. There are 3 basic "sizes" of the 8051: Short, Standard, and Extended. The Short and Standard chips are often available in DIP (dual in-line package) form, but the Extended 8051 models often have a different form factor, and are not "drop-in compatible". All these things are called 8051 because they can all be programmed using 8051 assembly language, and they all share certain features (although the different models all have their own special features). Some of the features that have made the 8051 popular are: a. 4 KB on chip program memory. b. 128 bytes on chip data memory(RAM) a. 32 bytes devoted to register banks b. 16 bytes of bit-addressable memory c. 80 bytes of general-purpose memory c. 4 reg banks. d. 128 user defined software flags. e. 8-bit data bus f. 16-bit address bus g. 16 bit timers (usually 2, but may have more, or less). h. 3 internal and 2 external interrupts. i. Bit as well as byte addressable RAM area of 16 bytes. j. Four 8-bit ports, (short models have two 8-bit ports). k. 16-bit program counter and data pointer. l. 1 Microsecond instruction cycle with 12 MHz Crystal.
FIG 3.1 PIN DIAGRAM
Variants of the 8051 may also have a number of special, model-specific features, such as UART, ADC, Op Amps, etc., making it an even more powerful microcontroller.
Bluetooth Module HC05 HC‐05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module,designed for transparent wireless serial connection setup.The HC-05 Bluetooth Module can be used in a Master or Slave configuration, making it a great solution for wireless communication.This serial port bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate)3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04‐External single chip Bluetooth system with CMOS technology and with AFH (Adaptive Frequency Hopping Feature). The Bluetooth module HC-05 is a MASTER/SLAVE module.By default the factory setting is SLAVE.The Role of the module (Master or Slave) can be configured only by AT COMMANDS.The slave modules cannot initiate a connection to another Bluetooth device, but can accept connections.Master module can initiate a connection to other devices.The user
Dr. K. N. Modi Foundation
14
B.tech ECE
Voice controlled home automation system
Synopsis
can use it simply for a serial port replacement to establish connection between MCU and GPS, PC to your embedded project, etc
FIG 3.2 BLUETOOTH MODULE
RELAY A simple electromagnetic relay consists of a coil of wire wrapped around a soft iron core (a solenoid), an iron yoke which provides a low reluctance path for magnetic flux, a movable iron armature, and one or more sets of contacts (there are two contacts in the relay pictured). The armature is hinged to the yoke and mechanically linked to one or more sets of moving contacts. The armature is held in place by a spring so that when the relay is de-energized there is an air gap in the magnetic circuit. In this condition, one of the two sets of contacts in the relay pictured is closed, and the other set is open. Other relays may have more or fewer sets of contacts depending on their function. The relay in the picture also has a wire connecting the armature to the yoke. This ensures continuity of the circuit between the moving contacts on the armature, and the circuit track on the printed circuit board (PCB) via the yoke, which is soldered to the PCB.
FIG 3.3 RELAY
Dr. K. N. Modi Foundation
15
B.tech ECE
Voice controlled home automation system
Synopsis
ULN2003A The ULN2003A is an array of seven NPN Darlington transistors capable of 500 mA, 50 V output. It features common-cathode feedback diodes for switching inductive loads. It can come in PDIP, SOIC, SOP or TSSOP packaging In the same family are ULN2002A, ULN2004A, as well as ULQ2003A and ULQ2004A, designed for different logic input levels. The UNL2003A is also similar to the ULN2001A (4 inputs) and the ULN2801A, ULN2802A, ULN2803A, ULN2804A and ULN2805A, only differing in logic input levels (TTL, CMOS, PMOS) and number of in/outputs (4/7/8)
Bulb Compact fluorescents, also known as CFLs, provide as much light as regular incandescent bulbs while using just one-fourth of the energy. For example, a 15-watt compact fluorescent light bulb yields the same amount of light as a 60-watt incandescent bulb.
IC 7805 Voltage sources in a circuit may have fluctuations resulting in not giving fixed voltage outputs. Voltage regulator IC maintains the output voltage at a constant value. 7805 IC, a voltage regulator integrated circuit (IC) is a member of 78xx series of fixed linear voltage regulator ICs used to maintain such fluctuations. The xx in 78xx indicates the fixed output voltage it provides. 7805 IC provides +5 volts regulated power supply with provisions to add heat sink as well. Let’s look into some of the basic ratings to get an overview.
7805 IC Rating
Input voltage range 7V- 35V
Current rating Ic = 1A
Output
voltage
range
VMax=5.2V
,VMin=4.8V
FIG 3.4 IC7805
Android phone In a nutshell, an Android phone is a powerful, high-tech smartphone that runs on the Android operating system (OS) developed by Google and is used by a variety of mobile phone manufacturers. Pick an Android mobile phone and you can choose from hundreds of great applications and multitask with ease. Dr. K. N. Modi Foundation
16
B.tech ECE
Voice controlled home automation system
Synopsis
Bluetooth controller app Android app In this project we have used 8051 microcontroller for controlling the whole process of this project. And a Bluetooth module is used for controlling the home appliances wirelessly. Home appliances will turned ON and OFF when user will touch button in the Bluetooth mobile app in Android mobile phone. To run this project, first we need to download Bluetooth app form Google play store. We can use any Bluetooth app that can send data using Bluetooth.
FIG 3.5 BLUETOOH ANDROID APP 10 µF capacitor Low-profile electrolytic decoupling capacitors 10 µF/25V. These capacitors are great transient/surge suppressors and work well as charge pump caps for MAX232 circuits. High quality radial electrolytic capacitors.
FIG 3.6 10 µF CAPACITOR
Dr. K. N. Modi Foundation
17
B.tech ECE
Voice controlled home automation system
Synopsis
1000 µF capacitor Electrolytic decoupling capacitors 1000 µF /25V. These capacitors are great transient/surge suppressors and work well in high-voltage and audio applications. High quality radial electrolytic capacitors.
FIG 3.7 1000 µF capacitor 10K resistor Resistor 10kΩ 1/6th Watt PTH.Description: 1/6th Watt, +/- 5% tolerance PTH Resistors. Commonly used in breadboards and perf boards, these 10K Resistors make excellent pullups, pull-downs, and current limiters.
FIG 3.8 RESISTOR 10K
1K RESISTOR 1kΩ, 1/6th Watt, +/- 5% tolerance PTH Resistors. Commonly used in breadboards and perf boards
FIG 3.9 RESISTOR 1K
Dr. K. N. Modi Foundation
18
B.tech ECE
Voice controlled home automation system
Synopsis
Power Supply A power supply is an electronic device that supplies electric energy to an electrical load. The primary function of a power supply is to convert one form of electrical energy to another. As a result, power supplies are sometimes referred to as electric power converters. Some power supplies are discrete, stand-alone devices, whereas others are built into larger devices along with their loads. Examples of the latter include power supplies found in desktop computers and consumer electronics devices. Every power supply must obtain the energy it supplies to its load, as well as any energy it consumes while performing that task, from an energy source. Depending on its design, a power supply may obtain energy from various types of energy sources, including electrical energy transmission systems, energy storage devices such as a batteries and fuel cells, electromechanical systems such as generators and alternators, solar power converters, or another power supply.
Dr. K. N. Modi Foundation
19
B.tech ECE
Voice controlled home automation system
Synopsis
CHAPTER-4 Test and Procedure 4.1 GENERAL You can directly use the Bluetooth module after purchasing from market, because there is no need to change any setting of Bluetooth module. Default baud rate of new Bluetooth module is 9600 bps. You just need to connect rx and tx to controller or serial converter and give 5 volt dc regulated power supply to module. Bluetooth module has two modes one is master mode and second one is slave mode. User can set either mode by using some AT commands. Even user can set module’s setting by using AT command. Here is some commands uses are given: First of all user need to enter AT mode with 38400 bps baud rate by pressing EN button at Bluetooth module or by giving HIGH level at EN pin. Note: all commands should ends with \r\n (0x0d and 0x0a) or ENTER KEY from keyboard. After it if you send AT to module then module will respond with OK AT → Test Command AT+ROLE=0 → Slave Mode select AT+ROLE=1 → Master Mode select AT+NAME=xyz → Set Bluetooth Name AT+PSWD=xyz → Set Password AT+UART=,, → set Baud rate Eg. AT+UART=9600,0,0
Pin Description of accelerometer: 1. 2. 3. 4. 5. 6.
STATE → Open Rx → Serial receiving pin Tx → Serial transmitting pin GND → ground Vcc → +5volt dc EN → to enter in AT mode
4.2 Tests & Procedure In this project we have used 8051 microcontroller for controlling the whole process of this project .And a Bluetooth module is used for controlling the home appliances wirelessly . Home appliances will turned ON and OFF when user will touch button in the Bluetooth mobile app in Android mobile phone .To run this project, first we need to download Bluetooth app form Google play store .We can use any Bluetooth app that can send data using Bluetooth .Here are some apps name that can be used: 1. Bluetooth Spp pro 2. Bluetooth controller
Dr. K. N. Modi Foundation
20
B.tech ECE
Voice controlled home automation system
Synopsis
FIG 4.1 BLUETOOTH ANDROID APP After installing the App, you need to open it and then search Bluetooth device and select HC-05 Bluetooth device. And then configure keys. Here in this project we have used Bluetooth controller app. 1. 2. 3. 4. 5. 6.
Download and install Bluetooth Controller. Turned ON mobile Bluetooth. Now open Bluetooth controller app Press scan Select desired Bluetooth device (Bluetooth Module HC-05). Now set keys by pressing set buttons on screen
To set keys we need to press ‘set button’ and set key according to picture given below:
FIG 4.2 ADROID APP SETTING
Dr. K. N. Modi Foundation
21
B.tech ECE
Voice controlled home automation system
Synopsis
After setting keys press ok. You can see in the above picture that there are 9 buttons in which first row is for fan controlling, second one is for light controlling and last one is for TV controlling. Means First row’s ON and OFF buttons are used to ON and OFF the fan, second row’s buttons are for Light and third ones are for TV. We have used three bulbs of different colors instead of TV and fan, for demonstration purpose. Now, when we touch any button in Bluetooth controller app then Android phone sends a value to Bluetooth module, after receiving this value, Bluetooth module sends the received value to the microcontroller and then microcontroller reads it and compare it with predefined value. If any match is occurred then microcontroller performs relative operation. Same operation will performed each time when button pressed.
FIG 4.3 BLOCK DIAGRAM OF SYSTEM Now, when user touch ‘Fan On’ button in Bluetooth controller app then microcontroller receives ‘1’ via Bluetooth module and then controller Switch ‘On’ the Fan by using relay driver and relay. And when user touch ‘Fan Off’ button in Bluetooth controller app then microcontroller receives ‘2’ via Bluetooth module and then controller Switch ‘Off’ the Fan by using relay driver and relay. Likewise 3,4,5,6 numbers are sent by Android Phone, when Light On, Light Off, TV On, TV Off button has been touched respectively: Button
Data
Operation
Fan On
1
Fan Turned On
Fan Off
2
Fan Turned Off
Light On
3
Light Turned On
Light Off
4
Light Turned Off
Dr. K. N. Modi Foundation
22
B.tech ECE
Voice controlled home automation system
Synopsis
TV On
5
TV Turned On
TV Off
6
TV Turned Off
Circuit Diagram and Explanation Circuit connections of this project are very simple .Bluetooth module’s Rx and Tx pins are directly connected to the Tx and Rx pins of Microcontroller .Three 5 volt relays are used as a switch for turning On and Off the home appliances running on AC mains .And a relay driver ULN2003 is used for driving relays .Fan, Light and TV are connected at P2.1, P2.2 and P2.3 via relays and relay driver .An 11.0592 MHz Crystal oscillator is used in this circuit for generating clock signal for microcontroller .And a 5 volt voltage regulator LM7805 is used for provide 5 volt for the whole circuit.
Dr. K. N. Modi Foundation
23
B.tech ECE
Voice controlled home automation system
Synopsis
FIG 4.4 CIRCUIT DIAGRAM OF VOICE CONTROLLED HOME AUTOMATION SYSTEM
Dr. K. N. Modi Foundation
24
B.tech ECE
Voice controlled home automation system
Synopsis
CHAPTER-5 REFERENCES [1]. https://circuitdigest.com/microcontroller-projects/bluetooth-controlled-home-automationusing-8051 [2]. ijcsmc.com/docs/papers/August2014/V3I8201449.pdf [3]. Smart Home Automation: A Literature Reviewresearch.ijcaonline.org [4]. Smart_Home_Automation_Using_Voice_Recognition_-_24_Pages.PDFeprints.utem.edu.my [5]. Yadnya Adhiya, Shriya Ghuge, H.D Gadade “A survey on home automation system using IOT” IJRITCC Volume_5_IssuesMarch_17_Volume_5_Issue_3 [6]. Kim Baraka, Marc Ghobril, Sami Malek, RouwaidaKanj, AymanKayssi “Low cost Arduino/Android-based Energy-Efficient Home Automation System with Smart Task Scheduling”, 2013 Fifth International Conference on Computational Intelligence, Communication Systems and Networks. [7]. HayetLamine and HafedhAbid,” Remote control of a domestic equipment from an Android application based on Raspberry pi card”, IEEE transaction 15th international conference on Sciences and Techniques of Automatic control & computer engineering - STA'2014, Hammamet, Tunisia, December 21-23, 2014. [8]. YunCui, MyoungjinKim,
YiGu, Jong-jinJung, and HankuLee,
“Home Appliance
Management System for Monitoring Digitized Devices Using Cloud Computing Technology in Ubiquitous Sensor Network Environment”,Hindawi Publishing Corporation International Journal of Distributed Sensor Networks Volume 2014, Article ID 174097 [9]. Shih-Pang Tseng, Bo-Rong Li, Jun-Long Pan, and ChiaJuLin,”An Application of Internet of Things with Motion Sensing on Smart House“, 978-1-4799-6284-6/14 c ⃝2014 IEEE [10].Jan Gebhardt, Michael Massoth, Stefan Weber and TorstenWiens, “Ubiquitous Smart Home Controlling Raspberry Embedded System”, UBICOMM: The Eighth International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies, 2014.
Dr. K. N. Modi Foundation
25
B.tech ECE