Development of Home Energy Management System Using Arduino
K. N. Ramli1, A. Joret2 and N. H. Saad3
Faculty of Electrical and Electronic Engineering, Universiti Tun Hussein Onn Malaysia, 86400 Parit Raja, Batu Pahat, Johor 1 khairun@uthm.edu.my, 2ariff@uthm.edu.my, 3ratuangsana@gmail.com
ABSTRACT their work [9-17]. The primary advantage of using
arduino is due to the fact that it is an open A new method of integrating arduino with relay hardware platform which allows fast prototype and transistor for home energy management development using C++. In addition, the system is proposed. The arduino is developed as a development of the system and troubleshooting controller to manage the lamp, fan and air- becomes not a complicated part of the overall conditioner. It correspond the relay, lamp and fan research work. via PIR sensor, and air conditioner via temperature sensor. The energy consumed by the electrical Recently, the authors in [9] suggested an appliances can be saved by at least 1.5% with the automated control system for the sterilization implementation of arduino. process of biological material. The composed control system was developed based on arduino KEYWORDS board. The results verified that the system was capable of sustaining the temperature and pressure Arduino, energy management, electrical appliances, for proper sterilization process. A ubiquitous PIR sensor, temperature sensor. healthcare design monitoring system was proposed by [10] for ubiquitous sensor network in 1 INTRODUCTION hospitals and smart home. The healthcare technology keeps healthcare workers up-to-date The need for efficient energy consumption in about the latest computer-based solutions for building sector particularly for house and office improving medical care and making healthcare usage is increasing every year [1]. The energy organizations more efficient. The sensor utilized consumed by a building is generally connected to the arduino board to send the data to the web one or more appliances such as the lamp, fan and server via wireless module based on 802.11 air-conditioner. This leads to the idea of zero protocols. The data collected from the patient can energy buildings by implementing photovoltaic be remotely viewed and analyzed. The arduino technology as a source to produce a renewable controller board was integrated in the compact energy system [2-4] and energy consumed by the educational mobile robotic [11]. building itself [3, 5]. The buildings provide a technically reasonable approach to reducing The integration of the device enables the use of energy consumption in buildings. In addition, the several tools for data analysis, interaction between implementation of high efficiency lighting and multiple robots and sensors. The technique was appliances also contributes to energy efficiency validated by means of diverse experimental field [6]. test conducted using different arduino-based robotic platforms. The researchers in [12] Some efforts have been made incorporating developed a node of Wireless Sensor Network wireless controller into the energy consumption (WSN) using arduino development platform for used by appliances [7-8]. Apart from these precision agriculture and family crop application. devices, several researches in the published The work will allow more effective treatment to literature employed Arduino hardware system into the problems such as energy waste, water,
agricultural defensives and irrigation processes. Figure 1 shows the block diagram for hardware Some of the researchers combine arduino system development. In this case, the electrical with software [13-16]. The work done by [13] equipments that are going to be controlled are used arduino microcontroller that communicates lamp, fan and air-conditioner. Arduino UNO is with an android for home automation. The system firstly programmed to communicate with the implemented a remotely controlled smart home relay. It is designed as a controller to control the with basic features that safeguard the resident relay that act as a switch. comfort and security. Later, the authors in [14] also employed arduino-android platform to Relay is used in this circuit because it is an develop a smart plug that provides real time electrical operated switch that can be connected update of the energy consumption at the device. directly to the output. The relay switch The results obtained using the device showed an connections are usually labeled as command energy saving of fifteen percent. In [15], an (COM), normally closed (NC) and normally open educational environment for online control of a (NO). In switched on state, the circuit will be biped robot using matlab and arduino was connected to COM and NC. On the other hand, the proposed. The features help the students to study circuit will be connected to COM and NO in kinematics and dynamics of the robot. The switched off condition. integration of arduino, android and wiki software was developed by [16] for machine-to-machine Three relays are employed separately in order to (M2M) system. The system consists of mobile control the electrical equipments. The lamp is terminals (android terminal and arduino) and web controlled by arduino via the combination of relay sites (wiki software). The mobile terminal reads and PIR sensor. Similarly, the fan is controlled by data from the sensors in the Arduino board and arduino via the arrangement of relay and PIR sends the data to a wiki page. The arduino sensor. In contrast, the air-conditioner is capability was expanded by adding an 802.15.4 controlled by arduino via the integration of relay wireless module, in order to expose its and temperature sensor. functionality as a web of things node [17]. The work also described necessary steps to make a In this work, the lamp, fan and air-conditioner are heterogeneous network interoperate and the rated as 18 W, 80 W and 900 W respectively. PIR implementation of a network stack. In this work, sensor is located at the ceiling one meter after the arduino system is integrated with relay and entrance door. When PIR sensor detects the transistor for home automation. The arduino is human movement, the lamp will be turned on used as a controller for lamp and fan via PIR automatically. After a period of three minutes, the sensor, and air conditioner via temperature sensor. lamp will be turned off. Any human movement will switch on the lamp back. 2 METHODOLOGY It is noteworthy that the same controlling system is used for the fan. The temperature sensor is located at the wall one meter above the floor. The integration of arduino with temperature sensor has the ability to detect the room temperature. The air- conditioner will be turned on if the room temperature is higher than 24C. Otherwise, it will be turned off. The system is designed to maintain the room temperature at 24C and below. Figure 1. Block diagram for hardware development.
3 RESULTS AND DISCUSSION Figure 4 illustrates the energy consumption graph for the fan. It can be seen that the energy consumed by the fan with arduino was less compared to the fan without the integration of arduino. The amount of energy saved by the fan in percentage varied from 1.8% to 2.8% as shown in Figure 5.
Figure 2. Graph of lamp energy consumption versus time.
Figure 2 shows the energy consumption graph for
lamp. It can be observed that the energy used by the lamp with arduino was less compared to the lamp without the implementation of arduino. The amount of energy saved by the lamp in percentage varied from 1.5% to 2.7% as shown in Figure 3. Figure 6. Graph of air-conditioner energy consumption versus time.
Figure 3. Graph of the percentage of energy saved for lamp
versus time. Figure 7. Graph of the percentage of energy saved for air- conditioner versus time.
Figure 6 depicts the energy consumption graph for
the air-conditioner. It can be noted that the energy consumed by the air-conditioner with arduino was less compared to the air-conditioner without the combination of arduino. The amount of energy saved by the air-conditioner in percentage varied Figure 4. Graph of fan energy consumption versus time. from 1.8% to 3.0% as shown in Figure 7.
4 CONCLUSION
In this work, arduino is combined with relay and
transistor for home energy management system. The arduino is basically programmed as a controller to communicate with the relay which is connected with lamp and fan via PIR sensor, and Figure 5. Graph of the percentage of energy saved for fan air conditioner via temperature sensor. It can be versus time. shown from the results that by implementing arduino, the energy consumed by the electrical
appliances can be saved. In addition, the system [12] J. F. M. C. Silva, R. C. Gomes, A. O. F. Nascimento, J. W. M. Menezes, F. D. Silva and L. E. B. Alves, can also be applied to small scale office building. “Building a node for wireless sensor network based on open source platform arduino,” Brazilian Symposium on Computing System Engineering (SBESC), pp. 224, 5 ACKNOWLEDGEMENT 2012. [13] K. Baraka, M. Ghobril, S. Malek, R. Kanj and A. Kayssi, “Low cost arduino/android-based energy- This work is fully sponsored by MTUN COE efficient home automation system with smart task grant (C022). In addition, we would like to scheduling,” Fifth International Conference on Computational Intelligence, Communication Systems express our sincere thanks to Universiti Tun and Networks (CICSyN), pp. 296-301, 2013. Hussein Onn Malaysia (UTHM). [14] A. H. Shajahan and A. Anand, “Data acquisition and control using arduino-android platform: Smart plug,” International Conference on Energy Efficient 6 REFERENCES Technologies for Sustainability (ICEETS), pp. 241-244, 2013. [15] A. M. Al-Busaidi, “Development of an educational [1] P. Hernandez and P. Kenny, “From net energy to zero environment for online control of a biped robot using energy buildings: Defining life cycle zero energy MATLAB and arduino,” 9th France-Japan & 7th buildings,” Energy and Buildings 42, pp. 815-821, Europe-Asia Congress on and Research and Education 2010. in Mechatronics (REM), pp. 337-344, 2012. [2] N. Aste, R. S. Adhikari and C. Del Pero, “Photovoltaic [16] T. Yamanoue, K. Oda and K. Shimozono, “A M2M technology for renewable electricity production: system using arduino, android and wiki software,” IIAI Towards net zero energy buildings,” International International Conference on Advanced Applied Conference on Clean Electrical Power (ICCEP), pp. Informatics (IIAIAAI), pp. 123-128, 2012. 446-450, 2011. [17] V. Georgitzikis, O. Akribopoulos and I. [3] M. S. Todorovic, O. E. Djuric, I. Matinovic and D. Chatzigiannakis, “Controlling physical objects via the Licina, “Renewable energy sources and energy internet using the arduino platform over 802.15.4 efficiency for building's greening: From traditional networks,” IEEE Latin America Transactions, vol. 10, village houses via high-rise residential building's BPS no. 3, pp. 1686-1689, 2012. and RES powered co- and tri-generation towards net ZEBuildings and cities,” IEEE 3rd International Symposium on Exploitation of Renewable Energy Sources (EXPRES), pp. 29-37, 2011. [4] D. Mooney and B. Kroposki, “Electricity, resources, and building systems integration at the National Renewable Energy Laboratory,” IEEE Power & Energy Society General Meeting (PES), pp. 1-3, 2009. [5] B. Todorovic, “Towards zero energy buildings: New and retrofitted existing buildings,” IEEE 3rd International Symposium on Exploitation of Renewable Energy Sources (EXPRES), pp. 7-14, 2011. [6] R. S. Srinivasan, W. W. Braham, D. P. Campbell and C. D. Curcija, “Energy balance framework for net zero energy buildings,” Proceedings of the 2011 Winter Simulation Conference (WSC), pp. 3360-3372, 2011. [7] D. -M. Han and J. -H. Lim, “Smart home energy management system using IEEE 802.15.4 and zigBee,” IEEE Transactions on Consumer Electronics, vol. 56, no. 3, pp. 1403-1410, 2010. [8] D. -M. Han and J. -H. Lim, “Design and implementation of smart home energy management systems based on zigbee,” IEEE Transactions on Consumer Electronics, vol. 56, no. 3, pp. 1417-1425, 2010. [9] J. A. Arizaga, J. Calleja, R. Hernandez and A. Benitez, “Automatic control for laboratory sterilization process based on arduino hardware,” 22nd International Conference on Electrical Communications and Computers (CONIELECOMP), pp. 130-133, 2012. [10] H. Kemis, N. Bruce, W. Ping, T. Antonio, L. B. Gook and H. J. Lee, “Healthcare monitoring application in ubiquitous sensor network: Design and implementation based on pulse sensor with arduino,” 6th International Conference on New Trends in Information Science and Service Science and Data Mining (ISSDM), pp. 34-38, 2012. [11] A. Araujo, D. Portugal, M. S. Couceiro and R. P. Rocha, “Integrating Arduino-based educational mobile robots in ROS,” 13th International Conference on Autonomous Robot Systems (Robotica), pp. 1-6, 2013.