Controlling Home Appliances Remotely Through Voice Command

— the main concern in systems development is the integration of technologies to increase customer satisfaction. Research presented in this paper focuses mainly in three things first to understand the speech or voice of user second is to control the home appliances through voice call and third is to finds intrusion in the house. The user can make a voice call in order to perform certain actions such as switching lights on/off, getting the status of any appliance etc. And when system finds intrusion it sends an alert voice message to preconfigured cell when the user is away from the place. The proposed system is implemented using voice Global System for Mobile Communications (GSM) and wireless technology based on .NET framework and Attention (AT) commands. Microsoft speech reorganization engine, speech SDK 5.1 is used to understand the voice command of user. As it is wireless so more cost effective and easy to use. The GSM technology used in system provide the everywhere access of the system for security. Experimental results show that the system is more secure and cost effective as compared to existing systems. We conclude that this system provides solution for the problems faced by home owner in daily life and make their life easy and comfortable by proposing cost effective and reliable solution.


I. INTRODUCTION
Home automation control system (HACS) is not a new concept a lot of work has done in this field and many solutions has proposed. Some of them have used internet and wireless technology to communicate and control the appliances [1,2]. Others have used the Bluetooth or GSM technology to send the command for controlling the home appliances [3,4].
Problem domain related to proposed technique is telecommunication remote automation of home appliances thorough telecom technology. The proposed research provides the cost effective system that helps to satisfy their security concerns of home related to daily life such as controlling the home appliances and intrusion detection through voice message. This system can be used in any environment. It is free from the geographical limitations and can be used every where being the GSM network available.
It is affordable to everyone as no expansive hardware is used in it. Cell phones are very common these days and almost everyone can make a call very easily. That's why cell phone is used in this system that makes it real world application. It is free from the geographical boundaries and can be used from anywhere where GSM is available. The proposed solution is to implement the HACS through voice command that controls the home appliances by making a call from the preconfigured number to system and receive the voice message from the system to preconfigured number about the status of appliances over the GSM network.
AT commands are used to automatically receive the call on system from the preconfigured number and system also sends the voice message to preconfigured number about the status of appliances and intrusion through AT commands. Microsoft speech SDK 5.1 is used to reorganization of speech. Hence it is a research based real world project and is useful for working people and for those who live alone or stay out of their homes most of the time. The paper is organized in such a way that: section 2 discusses related work to proposed schemes, section 3 committed to proposed framework, section 4 discuss proposed technique along with algorithm ,section 5 discuss results and finally concluding remarks are given in section 6.

II. RELATED WORK
Nguyen et al. [1] proposed a Home appliance control system. Infrared ray and power line communication are used to control the home appliances system. This system helps user to checks the status of appliances and controls them remotely from everywhere. And this is done through their cellular phone or Internet. The simple approach to control the home appliances is given in this paper.
Haque et al. [2] proposed a system that controls the home appliances using the personal computer. This system is developed by using the Visual Basic 6.0 as programming language and Microsoft voice engine tools for speech recognition purpose. Appliances can be either controlled by timer or by voice command.
Khiyal et al. [3] proposed a system for controlling home appliances remotely that is useful for the people who are not at home mostly. The main objective of the system is to provide www.ijacsa.thesai.org security and control the home appliances such as AC, lights and alarms. The system is implemented by SMS technology that is used to transfer data from sender to receiver over GSM network. One or more computers can be used to control the home appliances. System send an alert SMS to authorized user when any intrusion is detected and user can in turn respond in order to overcome the situation. Moreover user can send SMS to system to get the status of home appliances and controlling them.
Jawarkar et al. [5] proposed the software system for communication between mobile and computer. UART 16550A chip is programmed using appropriate control format to support AT command. The mobile in this system is used for receiving and executing commands from preconfigured users and informing status about change in input to the user through SMS. The system can also send SMS to specified mobile user if there is a change in the status of the input ports. This system is not for time critical systems.

III. PROPOSED FRAMEWORK
The proposed model is the two way communication system user can send the voice command to change the state of home appliances and system sends the voice message to inform the user about intrusion. The block diagram of proposed model is shown in fig. 1. It works in a way that the user with a specific cell number can make a call through GSM technology. System receives the call and performs the respective action as instructed by the user such as controlling the light through relay based circuit. System also sends the voice message to the preconfigured cell number to tell the status of appliances or if it finds any kind of intrusion at home.

A. hardware design
USB voice GSM modem is used to send the return voice message to preconfigured number. Voice GSM is used to send the wav file to preconfigured number through AT commands.
A relay based circuit is used to control the appliances this circuit is attached with system through DB-23 male parallel port  Two relays are used to control two appliances but as there are eight data pins of parallel port so relays can be increased to control up to eight appliances. 12 volt adapter is used to give voltage to relay. An IC ULN2803 is used to interface the relay with parallel port. It is 18 pin IC whose 1 to 8 pins are data pins and 18 to 11 are corresponding output pins, pin 9 in ground and 10 is supplied with required voltage here it is supplied with 12 volts.

B. software design
This application is develop in .Net framework using the language C#. Microsoft speech SDK 5.0 is used for speech reorganization purpose.
This application has three main parts. One is to understand the speech or the voice of user. This is done through speech reorganization engine. There are many speech reorganization engines available but here Microsoft speech SDK5.1 is used. Second is to control the appliances according to the user demand. This can be done through relay based circuit that is attached with computer through parallel port. And third is to sense the intrusion in the home and sends voice message to preconfigured number. This can be done through sensors attach to the system with parallel port and AT commands respectively.

C. System overview
User from anywhere being GSM available can make a call to system to check the status of appliances or control them as describe in fig 3(a). System in return checks the authenticity of the number and if it is from the preconfigured number then it follows the instruction otherwise it discard the call. As computer receives a call timer starts and it automatically discard the call after few seconds. The voice is understood by the Microsoft speech reorganization engine that is installed in the system. If the command is about changing the status of appliances it passes the signal to parallel port to follow the instruction like turn the appliances on or off. This can be done through relay based circuit. If command is to check the status of appliances the system returns the voice message to preconfigured number using AT Commands telling the status of appliances. www.ijacsa.thesai.org

IV. PROPOSED TECHNIQUE
The proposed technique is simple and cost effective and is available to almost every one. The proposed system is given in Fig. 1 shows that GSM technology and voice messages and calls are used in the system and a relay based circuit is attach to the pc through parallel port. It enables the user to control home appliances such as turning the light on or off remotely. It detects the intrusion also.

Algorithm:
Pseudo code of proposed model is given in fig.4 Begin Input Instructions: make a call from preconfigured number and ask to turn the fan on.
Output: the fan turns on and a confirmation voice message is received on the number.

Test Case 5
Title: Check for fan Control.

System: Home Appliance Control System (HACS).
Input Instructions: make a call from preconfigured number and ask to turn the fan off.
Output: the fan turns off and a confirmation voice message is received on the number.

Test Case 6
Title: Test for Security Check.

Input Instructions: sensors sense the light.
Output: the light sensor turns red and a voice command is received alerting about intrusion at home on user cell phone.

A. Graph of exparimental results:
As user makes a call to the system the timer starts and when user says a command regarding the appliances the system match the command with its vocabulary if it finds match it follows the instruction. If the timer exceeds from certain limit the system discard the call or if system does not find the match it sends the message to preconfigured number "sorry could not understand your message".
The graphs of average response time of appliances and intrusion are given. These have been taken from the test cases given above.
As soon as the system receives the voice command from the preconfigured cell phone number regarding any appliances like light, AC or Fan to change the status of them or to know the current status of them the system response in 4, 6 and 3.5 seconds respectively. This is the average response time of appliances. Graph of response time of appliances like light, AC and fan are shown in the fig 3.   The comparison of different systems with proposed system is given in table 1. Proposed system is using voice GSM technology and AT commands for sending and receiving the voice command to control the home appliances. This is cost effective and provides security and is highly accessible. While the other system [1] is not cost effective and [5] does not provide security and every where access. In [6] the system is proposed that controls the home appliances remotely. Two cell phones are used for communication. This system is developed by using the J2ME language. The system [7] is not cost effective since it uses the internet for communication.

V. CONCLUSION
Controlling home appliances with wireless technology has revolutionized our way of living. Home owners can come to an ideal environment coming from their daily activities. Technique used in this system is not complex. It is the location independent system being GSM available for the ease of user. In future many more features can be added in it like home appliances can be controlled by using voice call by implementing more secure and efficient techniques.