You are on page 1of 5

ISSN(Online): 2320-9801

ISSN (Print): 2320-9798

International Journal of Innovative Research in Computer


and Communication Engineering
(An ISO 3297: 2007 Certified Organization)

Vol. 3, Special Issue 2, March 2015

Device Control Using Voice Recognition in


Wireless Smart Home System
M.R.manikandan1, A.Raghuram2, D.Saravanan3, S.Vignesh4, R.Thenmozhi Selvan5
U.G Students, Department of Electronics and Communication Engineering, Narasu’s Sarathy Institute of Technology,
1,2,3,4
Salem, Tamilnadu, India
Assistant Professor, Department of Electronics and Communication Engineering, Narasu’s Sarathy Institute of
5
Technology, Salem, Tamilnadu, India

ABSTRACT: In our project we control the devices using the voice recognition method. Here HM2007 software
recognizes the voice and it converts into binary format and transmits to the main control device by using zigbee
transceiver. Laplace software is used to process the main control device. The hardware implementations can be
achieved by sensors, fan motor controller device, Voice recognition device and light intensity control devices. With the
help of this process is used to control the fan speed and light intensity by using the voice commands .

Keywords: Voice recognition device, Fan motor controller, light intensity controller, zigbee, sensors

I. INTRODUCTION

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. In this method the television , fan motor and light intensity control using voice
commands in wireless systems. The voice recognition system is directly connected to a microcontroller. The
temperature sensor and light sensor are also connected to a micro controller. The voice commands given to the system
through the microphone and this voice signals are processed in HM2007 and converted into a binary signal and
transmits it to the microcontroller. The microcontroller processes the data and the voice commands either to on or off
the circuit. The temperature sensor are used to measure the surrounding room temperature and transmit the data to the
microcontroller. The microcontroller controls the fan speed to maximum or minimum based on the room temperature.
The light sensor are used to detect the surrounding light intensity or brightness and sends the signal to the
microcontroller where the LED brightness depends on the surrounding .Television is controlled by voice commands
tuning the channel, raising the volume or decreasing the volume and power on and off. By speaking the channel of
choice the tv receiver automatically tunes the channel likewise volume and power of television.

HARDWARE SPECIFICATION:

II.VOICE RECOGNITION UNIT

The speech recognition system is a completely assembled and easy to use programmable speech recognition circuit.
Programmable, in the sense that we can train the words that we want the circuit to recognize. This circuit board allows
us to experiment with many facets of speech recognition technology. It has 8 bit data out which can be interfaced with
any microcontroller for further development.

Copyright to IJIRCCE www.ijircce.com 104


ISSN(Online): 2320-9801
ISSN (Print): 2320-9798

International Journal of Innovative Research in Computer


and Communication Engineering
(An ISO 3297: 2007 Certified Organization)

Vol. 3, Special Issue 2, March 2015

1.1. HM2007

It is a single chip CMOS voice recognition LSI circuit with the on-chip analog front-end, voice analysis, recognition
process and system control function.

Figure 1. Functional Pin Description of HM 2007

A 20 isolated word voice recognition system can be composed of external microphone, keyboard, 8K SRAM and other
components, combined with a microcontroller, an intelligent recognition system can be built. It support two control
mode: Manual mode and CPU mode. It is also available in 48-pin PDIP. The pin description of HM2007 is shown
above. The keypad and digital display are used to communicate with and program the HM2007 chip. The keypad is
made up of 12 normally open momentary contact switches. The 74LS373 8-bit registers feature 3-state outputs
designed specifically for driving highly capacitive or relatively low-impedance loads. The high-impedance 3-state and
increased high-logic-level drive provide these registers with the capability of being connected directly to and driving
the bus lines in a bus-organized system without need for interface or pull-up components. The IC 7448 is BCD to 7–
segment common cathode IC. To display the data, we have to convert it from BCD to 7-segment code. The IC makes
this process. It has four inputs called BCD inputs and seven outputs to drive the display. The voice recognition system
schematic diagram is shown below in fig.4. A microphone is connected directly with pin 15(MICIN) of HM2007which
is shown below. On this system, voice is trained first and then recognized whenever a command is given through
microphone.

The speech recognition system is a completely assembled and easy to use programmable speech recognition circuit.
Programmable, in the sense that we train the words (or vocal utterances) which we want the circuit to recognize. This
board allows us to experiment with many facets of speech recognition technology. It has 8 bit data out which can be
interfaced with any microcontroller for further development. Some of interfacing applications which can be made are
controlling home appliances, robotics movements, Speech Assisted technologies, Speech to text translation, and many
more. It has Non-volatile memory back up with 3V battery onboard which will keep the speech recognition data in
memory even after power off.

II. FAN MOTOR CONTROLLER

In the fan motor controller controls the fan motor speed with the help of heat sensor. This device includes various
components like phase control unit and relay circuits.

Copyright to IJIRCCE www.ijircce.com 105


ISSN(Online): 2320-9801
ISSN (Print): 2320-9798

International Journal of Innovative Research in Computer


and Communication Engineering
(An ISO 3297: 2007 Certified Organization)

Vol. 3, Special Issue 2, March 2015

II.1.PHASE CONTROL UNIT

The phase control circuit is the combination of Triac with the firing angle control circuit.The basic full-wave Triac
phase control circuit requires five components which consist of a Triac, Diac, potentiometer, capacitor and also
resistors. The resistance component and the capacitor are a single-element phase-shift network. When the voltage
across capacitor reaches the breakover voltage (VBO) of the Diac, capacitor is partially discharged by the Diac into the
Triac gate. Then the Triac is triggered into the conduction mode for the remainder of that half-cycle.
The potentiometer connected parallel with the resistors. This potentiometer is used to set the minimum speed for the
motor. To do this, all the relay will be turn off (no output signal from PIC microcontroller) initially so that the
resistance for the bottom side will be maxima, then adjusts the potentiometer (with the yellow knob) to obtain the
minimum speed desired. Before the Triac gets triggered, it will be in the off state. When there is no voltage passing to
the motor, no energy or power being transfer to the motor hence the speed of the motor will decrease. The input power,
𝑃𝑖𝑛 to the motor can be calculated by the formula,
𝑃𝑖𝑛=𝑃𝑜𝑤𝑒𝑟𝑓𝑎𝑐𝑡𝑜𝑟 × 𝑖𝑛𝑝𝑢𝑡𝑣𝑜𝑙𝑡𝑎𝑔𝑒,𝑖𝑛 ×𝑖𝑛𝑝𝑢𝑡𝑐𝑢𝑟𝑟𝑒𝑛𝑡,𝐼𝑖𝑛 (4)International Journal of Smart Home Vol. 7, No. 4,
July, 2013 241 The triggering is in the Quadrants I and III. This circuit suitable for the applications with small control
range. The firing time is given by ReqC where
Req=(𝑅𝑎+100𝑘)||1𝑀�+ 4.7𝑘 (5)

III. LIGHT INTENSITY CONTROLLER

The light sensor is a main component in this controller device. It senses the room light intensity and sends the signal to
a microcontroller. The microcontroller process the data and control the light intensity when we switched on the room
light.

A light sensor, as its name suggests, is a device that is used to detect light. There are many different types of light
sensors, each of which works in a slightly different way. A photocell or photoresistor, for example, is a small sensor
that changes its resistance when light shines on it; they are used in many consumer products to determine the intensity
of light. A charged coupled device (CCD) transports electrically charged signals, and is used as a light sensor in digital
cameras and night-vision devices. Photomultipliers detect light and multiply it.

Many modern electronics, such as computers, wireless phones, and televisions, use ambient light sensors to
automatically control the brightness of a screen, especially in low-light or high-light situations. They can detect how
much light is in a room and raise or lower the brightness to a more comfortable level for the user. Light sensors also
may be used to automatically turn on lights inside or outside a home or business at dark.

IV. ARM7 PROCESSOR

In this using ARM7 processor for controlling purpose. ARM Main control module is composed of the ARM
Controller, FLASH, SDRAM and related peripheral circuits. The ARM controller's main functions
are operating Input and output I / O port and other parts, at the same time, Achieving the acceptance and
transmission of data, Zigbee Network communication and other functions, Therefore, the System need to choose more
general-purpose I / O port and Rich external resources for being easy to build chips of Peripheral circuits.

V.ZIGBEE

The explosion in wireless technology has seen the emergence of many standards, especially in the industrial, scientific
and medical (ISM) radio band. There have been a multitude of proprietary protocols for control applications, which
bottlenecked interfacing. Need for a widely accepted standard for communication between sensors in low data rate
wireless networks was felt. As an answer to this dilemma, many companies forged an alliance to create a standard
which would be accepted worldwide. It was this ZigBee Alliance that created ZigBee. Bluetooth and Wi-Fi should not
be confused with ZibBee. Both Bluetooth and Wi-Fi have been developed for communication of large amount of data

Copyright to IJIRCCE www.ijircce.com 106


ISSN(Online): 2320-9801
ISSN (Print): 2320-9798

International Journal of Innovative Research in Computer


and Communication Engineering
(An ISO 3297: 2007 Certified Organization)

Vol. 3, Special Issue 2, March 2015

with complex structure like the media files, software etc. ZigBee on the other hand has been developed looking into the
needs of communication of data with simple structure like the data from the sensors. ZigBee has been developed to
meet the growing demand for capable wireless networking between numerous low power devices. In industry ZigBee is
being used for next generation automated manufacturing, with small transmitters in every device on the floor, allowing
for communication between devices to a central computer. This new level of communication permits finely-tuned
remote monitoring and manipulation. The ZigBee and ZigBee Pro radio is made by Digi (formerly Maxstream) which
is shipped with firmware implementing the IEEE 802.15.4 protocol. These modules use the IEEE 802.15.4 networking
protocol for fast point-to-point or peer-to-peer networking. However, the most different part between ZigBee and
ZigBee Pro is they have different cover distance range for communicate with own module. ZigBee can be covers
around 30m at indoor and 100m at outdoor. Inversely, ZigBee Pro can cover higher distance range than ZigBee which
is 100m at indoor and 1500m at outdoor. Both devices that have a UART interface so can be connected directly from
microcontroller to pins of RF Module (ZigBee/ZigBee Pro). Using UART interface, we can use this wireless devices to
communicate between microcontroller to microcontroller (two 8051’s) or between PC to microcontroller or between
PC to PC. Here, we will discuss how to use two ZigBee/ZigBee Pros to interface with microcontroller and how to send
command for configuration ZigBee/ZigBee Pro Module. The role of the Zigbee module is to be as transparent as
possible. It should be as if a wire was connecting the input to the output and connectivity is never lost. While this
sounds simple, it's actually a very hard task to accomplish and error correction is a must, which the Zigbee's role in
offering sound and reliable wireless communication

SYSTEM OPERATION:

BLOCK DIAGRAM

HM2007
mic xbee Xbee
CHIP ARM 7
Microcontroller
Heat LPC2148 Light
Heat

Wireless connection
sensor sensor
input

Light
intensity
LED light
Television IR
with power
Fan motor receiver mosfet

Phase angle
Tv remote with Power
control and
hand clap relay ciruit regulator
circuit

xbee xbee
xbee

The basic system operation of the above system is usedfor controlling the home appliances by using voice
recognition. The control unit is an interface program that must satisfy the following twoconditions (a) the output from
the interface program is forwarded to a wireless transmitter andsent to a receiver through wireless channel, and (b) the
receiver at the appliances accept thereceive signal to turn ON or OFF the device and control the devices. The lap view
software can used to program the microcontroller and process the data. The following steps shown functions of above
system,

 The voice command is captured by using a microphone and sent to the HM2007.
 Voice commands converts into a binary sequence using the HM2007 chip and sends to microcontroller
through Zigbee.
 The microcontroller processes the data and response the voice commands either on or off the circuit.
 The temperature sensor and light detecting diodes are also connected to a micro controller.

Copyright to IJIRCCE www.ijircce.com 107


ISSN(Online): 2320-9801
ISSN (Print): 2320-9798

International Journal of Innovative Research in Computer


and Communication Engineering
(An ISO 3297: 2007 Certified Organization)

Vol. 3, Special Issue 2, March 2015

 The temperature sensors can used to measure the surrounding room temperature of the system and sends the
signal to the microcontroller. The microcontroller based on temperature to control the fan motor at minimum
or maximum speed.
 The light detector can be used to detecting the surrounding light intensity or brightness and sends the signal
to the microcontroller. The micro controller based on brightness of the room to control the intensity of the
LED light.
 Television is controlled by voice commands tuning the channel, raising the volume or decreasing the volume
and power on and off. By speaking the channel of choice the tv receiver automatically tunes the channel
likewise volume and power of television.

VI. SCOPE AND CONCLUSION

Voice recognition Wireless Home Automation Based on ZigBee is a very useful project for the adults and physically
disabled persons, who are not able to do various activities efficiently when they are at home and need one’s assistant to
perform those tasks. With the Voice Recognition along with ZigBee network we can eliminate the complication of
wiring in case of wired automation and also it prevent to get up and down again and again to on/off appliances and
control the television parameters, fan motor speed and light intensity. ZigBee Home Automation provides operating
range much higher as compared to Bluetooth and other wireless sensor module .With the use of ZigBee Home
Automation circuit considerable amount of power saving is possible and it is flexible and compatible with future
technologies so it can be easily customized for individual requirements. On the other hand with voice recognition
system, it provides secure access to home. So when we are living in a fast world where everything is changing with in
no time such security is essential.

REFERENCES

[1].Dhawan S. Thakur and Aditi Sharma”Voice recognition wireless home automation system based on zigbee” Journal of Electronics and
Communication Engineering research volume 6,issue 8, May-june2013.
[2].ThorayaObaid, HaliemahRashed, Ali Abu El Nour, Muhammad Rehan, Mussab Muhammad Saleh, and Mohammed Tarique,” ZIGBEE BASED
VOICE CONTROLLED WIRELESS SMART HOME SYSTEM” International Journal of Wireless & Mobile Networks (IJWMN) Vol. 6, No. 1,
February 2014
[3]. JinsungByun, Insung Hong, Byoungjoo Lee, and Sehyun Park” Intelligent Household LED Lighting System Considering Energy Efficiency and
User Satisfaction” , IEEE network,volume59,No.1,Feb 2013
[4]. Chee-Hoe Pang, Jer-Vui Lee, Yea-DatChuah, Yong-Chai Tan and N. Debnach” Design of a Microcontroller based Fan Motor Controller for
Smart Home Environment” International Journal of Smart Home Vol. 7, No. 4, July, 2013 .
[5]. Y.Usha Devi 1, II M.Tech, Wireless Home Automation System Using ZigBee, International Journal of Scientific & Engineering Research
Volume 3, Issue 8, August-2012 ISSN 2229-5518.
[6]. P. Yedamale, “Speed Control of 3-Phase Induction Motor Using PIC18 Microcontrollers”, Microchip Technology Inc., (2002).
[7]. S. Tompros, N. Mouratidis, M. Draaijer, A. Foglar, and H. Hrasnica,"Enabling applicability of energy saving applications on the appliancesof the
home environment," IEEE Network, vol. 23, no. 6, pp. 8-16, Nov-Dec. 2009.
[8]. ThorayaObaid, HaliemahRashed, Ali Abu El Nour, Muhammad Rehan, Mussab Muhammad Saleh, and Mohammed Tarique”zigbee based voice
controlled wireless smart home system” International Journal of Wireless & Mobile Networks (IJWMN) Vol. 6, No. 1, February 2014.
[9]. Lakhya1, Inder2, Emanual3, Abhijit4, Lalan5, Debraj6, Er. M. Sujitha7, Home Automation System Based On Arm And Zigbee, Undergraduate
Academic Research Journal (UARJ), ISSN: 2278 – 1129, Volume-1, Issue-3,4, 2012.

Copyright to IJIRCCE www.ijircce.com 108

You might also like