A Low Cost Home Automation System Using Wi-Fi Based Wireless Sensor Network Incorporating Internet of Things (IoT)
A Low Cost Home Automation System Using Wi-Fi Based Wireless Sensor Network Incorporating Internet of Things (IoT)
A Low Cost Home Automation System Using Wi-Fi Based Wireless Sensor Network Incorporating Internet of Things (IoT)
Abstract— With the rapid increase in usage and reliance on standard utilized the existing electrical power lines, which
the vivid features of smart devices, the need for interconnecting provided limited control over the home appliances.[2-4]
them is genuine. Many existing systems have ventured into the incorporate various wireless communication protocols viz.
sphere of Home Automation but have apparently failed to Bluetooth, ZigBee etc. However, this does not assuage the
provide cost-effective solutions for the same. This paper
illustrates a methodology to provide a low cost Home Automation
intrusiveness caused due to the use of wired communication.
System (HAS) using Wireless Fidelity (Wi-Fi).This crystallizes These systems also use expensive sensors and relays which are
the concept of internetworking of smart devices. A Wi-Fi based intrusive and the whole circuitry becomes cumbersome. There
Wireless Sensor Network(WSN) is designed for the purpose of is a paucity of security in such designs.
monitoring and controlling environmental, safety and electrical This paper explores a novel methodology for the automation
parameters of a smart interconnected home. The user can of home appliances by exploiting their ability to be
exercise seamless control over the devices in a smart home via the interlinked. The experimental rig involves the use of a
Android application based Graphical User Interface (GUI) on a ESP8266 Wi-Fi module, Atmel ATmega microcontrollers
smartphone. The overall cost of large scale implementation of (μCs), nrf24101+ RF modules, sensors ,SPDT relays and solid
this system is about INR 6000 or USD 100.
state relays(TRIAC) for voltage regulation. Each μC is
provided with a RF module for the purpose of communication
with other μCs. One of the μCs is configured as a ‘Hub’ or
Keywords— Home Automation System, Wireless Fidelity ‘Gateway’ and the remaining μCs are configured as sensor
,IoT,Wireless Sensor Network,Android. nodes [5-7]. Tree network topology is used in the present work
[8-9]. The μCs are programmed to perform specific tasks such
as, reading sensor values, controlling relays and sounding
I. INTRODUCTION alarms. All the sensor readings will be communicated to the
Presently, due to the proliferation of smart devices and the 'Gateway' from the nodes via the RF modules. The data
ever increasing dependence on their affluent attributes, it received at the Gateway is sent through the UART serial port
becomes an indispensable necessity to interlink multiple smart to the Wi-Fi module [10-12]. The Wi-Fi module sends data to
devices. The Wireless Fidelity (Wi-Fi) technology provides the server where it is stored and can be retrieved for future
an excellent medium through which multiple devices can be use. The user is provided with an android application based
connected to one network. Wi-Fi operates over an Graphic User Interface (GUI) to exercise the desired control
internationally approved frequency band of 2.4GHz. This over the lights, fan speed regulation, control of appliances, and
paper explores the numerous possibilities of interlinking these information regarding the temperature, humidity, water tank
smart devices while making judicious use of Wi-Fi level or rain. The additional benefits of this methodology are
technology. its security features which include fire alarms, motion
The benefit of this inter-linkage is the concurrent monitoring detection, and gas leakage detection. Mobile commands will
and controlling of smart devices. 'Home Automation' is a be published to the Message Queuing Telemetry Transport
concept which involves real time control and monitoring of (MQTT) server which is accessed by the user on the
multiple domestic appliances. Home automation can be smartphone via the android application [13-15]. The overall
defined in myriad ways; the author in [1] portrays home cost of mass implementation of this technology is expected to
automation as a methodology to enhance the quality of life of be less than INR 6000 or USD 100 (Excluding the cost of
people with the introduction of technology in the household. Android smartphone). Fig. 1 shows the proposed block
According to the author, the oldest standard for the diagram of the Home Automation System.
communication between electronic devices was the X10
industry standard, developed as far back as 1975. This
175
Fig. 3. Voltage Measurement Circuit
176
The HAS encloses assorted sensors measuring environmental, noticed that fans numbered 2,3 and 5 are operated under zilch
safety and electrical parameters as shown in Fig.5. speed while fan 7 is operating at maximum speed and the rest
Temperature, humidity and rain sensors embed in the of the fans are functional in the intermediate speed ranges.
environmental factors category, sensors used for detection of Like so, nimble monitoring and controlling of myriad lights
fire, gas, water level and motion are placed under the safety and fans is possible at user’s will.
parameters while the voltage, current and power measuring To preserve the security of the establishment and ensure the
sensors fall under the final category. Power is computed in protection of its inhabitants, Security management feature is
terms of VA for user reference. The real time readings of these employed. It detects the interference of unauthorized
sensors are deciphered and displayed that notifies the user to personnel and alarms the users. This feature also possesses a
formulate the action plan in times of emergency. handy mode of switching OFF all the devices at one touch as
shown in Fig.7.
177
societal causes of old age homes and orphanages. The future Conference on Systems, Man, and Cybernetics, 8-11 October 2006,
Taipei, Taiwan, pp. 32-37,2006.
scope of this work is to develop an iOS application and a web
portal. Knowing the power factor of the load, the energy [13] Escoffier, C.; Bourcier, J.; Lalanda, P.; Jianqi Yu, "Towards a Home
Application Server,"5th IEEE Consumer Communications and
consumption (kWh) and hence the tariff information of the Networking Conference, Las Vegas, NV, pp. 321-325, Jan. 2008.
beneficiary can be provided. [14] J. Potts and S. Sukittanon, "Exploiting Bluetooth on Android mobile
devices for home security applications", in Southeastcon, 2012
References Proceedings of IEEE Orlando, FL, 2012.
[15] R.A.Ramlee ,M. A. Othman ; M. H. Leong ; M. M. Ismail ; S. S. S.
Ranjit,"Smart Home using Android Application", ICoICT IEEE
[1] K. Bromley, M. Perry, and G. Webb. "Trends in Smart Home Systems, Conferenence,Bandung,Malaysia,pp. 277-280, 20-22 Mar. 2013.
Connectivity and Services", www.nextwave.org.uk, 2003. [16] G. Kortuem, F. Kawsar, D. Fitton, and V. Sundramoorthy, "Smart
[2] A. R. Al-Ali and M. Al-Rousan, "Java-based home automation objects as building blocks for the Internet of Things",Internet
system", IEEE Transactions on Consumer Electronics, vol. 50, no. 2, Computing, IEEE, vol. 14, pp. 44-51, 2010.
pp. 498504, 2004. [17] A. Z. Alkar and U. Buhur, "An Internet based wireless home automation
[3] N. Sriskanthan, F. Tan and A. Karande, "Bluetooth based home system for multifunctional devices," IEEE Transactions on Consumer
automation system", Microprocessors and Microsystems, Elsevier,Vol. Electronics, vol. 51, Issue 4, pp. 1169-1174, 2005.
26, no. 6, pp. 281-289, 2002. [18] N.-S. Liang, L.-C. Fu, and C.-L. Wu, "An integrated, flexible, and
[4] H. Ardam and I. Coskun, "A remote controller for home and office Internet-based control architecture for home automation system in the
appliances by telephone", IEEE Transactions on Consumer Electronics, Internet era," in IEEE International Conference on Robotics and
vol. 44, no. 4, pp. 1291-1297, 1998. Automation, Washington, DC, pp. 1101 - 1106,2002.
[5] T. Saito, I. Tomoda, Y. Takabatake, J. Ami and K. Teramoto, "Home [19] A. Alheraish, “Design and Implementation of Home Automation
Gateway Architecture And Its Implementation", IEEE International System”, IEEE Transactions on Consumer Electronics ,Vol. 50(4) , pp.
Conference on Consumer Electronics, pp. 194-195, 2000. 1087-1092, 2004.
[6] N. Kushiro, S. Suzuki, M. Nakata, H. Takahara and M. Inoue, [20] Sean Dieter Tebje Kelly , Nagender Kumar Suryadevara , Subhas
"Integrated home gateway controller for home energy management Chandra Mukhopadhyay,“Towards the Implementation of IoT for
system", IEEE International Conference on Consumer Electronics, pp. Environmental Condition Monitoring in homes”, IEEE Sensors Journal,
386-387, 2003. Vol. 13,Issue 10 , pp. 3846-3853,2013.
[7] D.Yoon, D. Bae, H Ko and H. Kim, "Implementation of Home Gateway [21] S. Hong, D. Kim, M. Ha, S. Bae, S. Park, W. Jung and J. E. Kim,
and GUI for Control the Home Appliance", The 9th International "SNAIL: An IP-based wireless sensor network approach to the internet
Conference on Advanced Communication Technology, pp. 1583-1586, of things", IEEE Wireless Commun., vol. 17, no. 6, pp. 34-42, 2010.
2007. [22] Data Sheet of nrf24l01+ RF module [Online], Available:
[8] Bader M. O. Al-thobaiti, Iman I. M. Abosolaiman, Mahdi H. M. https://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
Alzaharani, Sami H. . Almalki, Mohamed S. Soliman, “Design and [23] Data sheet of ESP8266 Wi-Fi module[Online], Available:
Implementation of a Reliable Wireless Real-Time Home Automation http://www.electroschematics.com/11276/esp8266-datasheet/
System Based on Arduino Uno Single-Board Microcontroller”,
International Journal of Control, Automation and Systems, Vol. 3(3), pp. [24] Data sheet of Solid State Relay [Online], Available:
11 - 15,2014. https://researchdesignlab.com/projects/3%20channel%20dimmer.pdf.
[9] Gomez, C., Para dells, J.,"Wireless home automation networks: A [25] Data sheet of DHT11 Temperatue and Humidity sensor [Online],
survey of architectures and technologies", IEEE Communications Available: http://www.micropik.com/PDF/dht11.pdf.
Magazine, vol. 48, issue 6, pp. 92–101, 2010. [26] Data sheet of MQ2 gas sensor [Online], Available:
[10] Silviu Folea ,Daniela Bordencea , Casiana Hotea , Honoriu Valean, https://www.olimex.com/Products/Components/Sensors/SNS-
"Smart Home Automation System using Wi-Fi low-power devices", MQ2/resources/MQ2.pdf.
IEEE International Conference on Automation Quality and Testing [27] Data sheet of LM393 flame sensor Online], Available:
Robotics(AQTR), pp. 569-574, 24-27 May 2012. http://www.datasheetarchive.com/LM393+flame+sensor-datasheet.html.
[11] Eddie M C Wong, “A Phone Based Remote Controller for Home and [28] Data sheet of Passive Infrared (PIR) sensor HC-SR501[Online],
Office Automation”, IEEE Transactions on Consumer Electronics, Vol. Available: https://www.mpja.com/download/31227sc.pdf.
40(1), pp. 28-34,1994. [29] Data sheet of M009 raindrop sensor [Online], Available:
[12] Tom, M. and Sitte, J., "Family System: A Reference Model for https://www.openhacks.com/uploadsproductos/rain_sensor_module.pdf.
Developing Home Automation Applications", IEEE International
178