Wireless Home Automation System Using Wi-Fi And GSM

In recent scenario the home automation system has rapidly evolved with specic advantages using internetand Wi-Fi. This paper based on the GSM technology used to send the very short message service to operate the devices connected in the common node. The home assisting software has installed in smart phone to make the system simple. A smart home automation system based on Zigbee wireless communication is used to monitor and control the devices which are connected to the common test bed simultaneously minimize the energy cost.


Introduction
In recent scenario building and home need home automation systems. People expect more comfort, exibility. Early home automation was basically labor saving devices. Before Nowadays an elder person, handicapped people, Patients are much struggle to operate the home devices. Intelligent Controller is gives security, the safety of the home ensured by using e cient utilization telecommunication. Zigbee technology interfaced with Ardunio with different relay to control the various loads. The proposed system used for control and monitor the sensors. The Zigbee based home automation system is low cost with easy installation. In section II literature review is discussed and in section III presents overall system architecture. The software and hardware implementation of the proposed system is justi ed sectionIV and V. Section VI the gives conclusion of the proposed system and further research work

Related Work
Shopan Dey et al [1] proposed developed a system by using an intelligent sensors and setting up a server for a certain house. Users need to install speci c software on a smart phone. Once the every user is registered with a unique password and user id and then user able to control the devices using IOT by sending commend to the sensors. The amazon centralized server is used to control the all rooted operation such as data storage, sensor control and feedback control, etc. Ahamed El Shafee et al [2] develop a system to utilize a solar panel and windmill which is placed at the at terrace to save the electrical energy from the main supply. This system also controls the AC home appliance of count 2 fans and 4 lights and 2 AC where in four control level is for controlling the illumination level, speed level and cooling level for lamp, fan and AC respectively. In addition to this timer setting is utilized forthe purpose to control the cyclically for a chosen period of time according to that resident staying at the home.
Hayoung Oh et al [3] proposed a new sensor scheme for home automation system, namely Relative direction based sensor routing (RDSR). The home automation area is divided into different sector and each sector has manager node. All collected data are received by a manager node and send to the based station through the shortest path e ciently. By using this routing scheme the energy consumption is considerably reduced than the conventional routing scheme. Khusvinder gill et al [4] develop a Zigbee based home automation drawback of slow adoption was recti ed. Thus scanning of all accessible channels is 9 secs which is comparably very low. It helps to reduce the expense of the system using the Zigbee technology. The wide range of interfaces of control and monitoring devices is an attractive feature of this technology.
Jinsoohan et al [5] the energy consumption and energy Generation for the installed PV array source. The energy management and communication unit and PLC modems are installed in outlets and each solar panel respectively. The PLC based solar panel stored the status of the solar panel and it can be sent to the renewable energy gateway and this data can be fed to the home server. On the basis of weather forecast, the energy consumption was estimated using home server and it controls the energy schedule.
Resulted in reducing the energy cost and enhance the home automation system. Felix et al [6] utilize a Zigbee technology with radio frequency communication and GSM module connects the microcontroller and user. The home appliance can be controlled via sending a message to the control device.
Muhammed Asadullah at al [7] suggested the system using Bluetooth technology that more features system using soil moisture sensor and ultrasonic sensor for plant irrigation and water level detection respectively. Taewan Kim [8]  System Architecture Smart home automation system could organize uni ed device integration, we propose a Wi-Fi cloud network using Ethernet pattern of home circumstance.

A. User Interface URC
The e cient control of the home automation with URC, an application programmed need to be installed in the smart mobile. Whenever each button is pinned and their corresponding action screen is displayed resulted in sending a recorded message to the microcontroller which operate the corresponding relay and device B. Receiver Control Techniques The proposed system control circuit built using RF signal based Zigbee protocol. IF relay receiver linked with the URC and control device using RF. RS232 receiver gets the control signal from RF protocol and converter RS232 signal send to the various devices through the relay. 15 m to 30 m control area is workable using RS232 Home automation system consists of variation of input supply. Based on the requirement of simplicity and easy handling,we proposed a model for rechargeable battery power for smart home automation systems. This battery power is the advantages of having the ability to operate under multiple operating systems and need of battery power. The rechargeable power supply from main power supply depicts in Eqs. (1) and (2) Where P RB (t) is a sum of consuming power of sensor s1 to s4, the power is supplied by the main power and battery power, V RB (t) Voltage level of sensor s1 to s4 P RB (t) Current level of sensor s1 to s4 The architecture of the proposed smart home automation system is illustrated in Fig. 1 in which the testing of four devices was incorporated in the system. The connected four device rules are stored in a database and a suitable sequence of operations is activated in accordance with the consumer need. In the consumer smart mobile, we would create a user name and password and then the operation of the proposed framework is depicted in the Fig. 2. Consumer need based proposed system could work with manual switch and smart way depends on the situation. This system used for any type of devices like refrigerator, air conditioner, fan and light and any number of devices.

Software Implementation
Arduino is an open-source electronics proposal build with easy to operate Hardware and software. Arduino mounts are t to read inputs lights on a sensor, a nger on a button, or the message and move it into an output actuating a motor, turning ON light Emitting Diode (LED), in turn operating a particular device in real time situation. In a single board four independent relay is mounted and connected to the home devices. The status of the relay/device is monitored by LED. By means of serial data communication the GSM module is interfaced with the microcontroller. One end of the relay board is connected to the input and other end to the microcontroller. The sensors of the loads 1 to load 4 are connected to the relay board and then power supply is fed to relay board through microcontroller.
For Device 1 to 4 operations, the system needs 10 commands to switch ON and OFF. We are able to observe, monitor and control the device from our smart phone e ciently. The complete block diagram of the proposed system is shown in Figure. 1 for different home appliance and Fig. 2 depicts the owchart of the complete algorithm of the proposed home automation systems. Table 1 shows the messages between the smart phone and home devices. Figure 3. to Fig. 7 clearly indicate the activation of device 1 to device 4 and also all the devices is activated simultaneously according to the requirement of customer need which is depicted in the Fig. 7. Light emitting diodes (LED) are turned ON after receiving the Wi-Fi signal which is also clearly observed from the Fig. 3. to Fig. 7 Tabulation . Hardware Implementation The hardware implementation of the proposed home automation system speci cation is shown in Fig. 8 to 12. In order to function of the wireless power output module, active lighting experiment has been devised and performed on the testbed. After making the circuit connection GSM based modulesim is inserted in a smart phone and ensure authentication. The Wi-Fi moduleESP8266 is connected through the mobile Hotspot to the load cloud computing. Log on to the specially made mobile application app using email id and password. After veri cation of the default messages, when the person wants to turn OFF/Turn ON the device via respective relay by sending messages as per requirement from the smart phone to the concerned number which is displaced in the module.
The layout of home load is accessed using PHP. Wi-Fi module sends signal from cloud to microcontroller ATMego328by pressing any load using mobile and sequentially microcontroller send the analog signal to the relay board 4SH and current sensor module ACS712T. The LED D 1 to D 4 are activated with respect to the received messages for the and in turn the corresponding devices are turned ON which is clearly illustrated in table.2. Finally the relay operates the required load and relay operation indicates that by LED which is shown in Fig. 8 to 12.   Table 3   Table. 3. Possible combination of the device operation

Conclusion
The technology is e ciently used in our system is very simple through affordable GSM technology and smart phones which are easily available by a large population in a modern world. GSM signal booster could be set up at home so as to magnify the signal strength of GSM module and enhance the system performance. When the home is away one can like a very few load to be operated as to perform certain basic need of a kind that switch on the air conditioner and heater and etc. at any moment.

Declarations AUTHOR DECLARATION TEMPLATE
We wish to draw the attention of the Editor to the following facts which may be considered as potential con icts of interest and to signi cant nancial contributions to this work.
[OR] Framework of the proposed system  Wi-Fi based control and monitoring system when Device 3 is ON Figure 6 Wi-Fi based control and monitoring system when Device 4 is ON Figure 7 Wi-Fi based control and monitoring system when Device 1 to Device 4 is ON HAS for the device 2 HAS for the device 1to Device 4