Design and Evaluation of Low-Cost Load Monitoring and Control Modular Board using MQTT Protocol
Keywords:
Load monitoring board, MQTT Protocol, Tasmota firmwareAbstract
This paper proposes a modular and economical design and development of a circuit that could measure monitor and control electrical power consumption for homes, offices, or industrial plants. The proposed circuit was designed and developed using the Node MCU ESP8266 and Tasmota firmware with the MQTT protocol. The hardware circuit consisted of two circuits: the main circuit with a processor and a port for communication; and the expander circuit with 16 channels applicable for both digital and analog inputs. Power and power quality measurement utilized a digital AC power measurement module PZEM004TV3 and a ACS712 current sensor. The data was sent to display through the platform Home Assistant program with the MQTT broker installed on the Raspberry Pi board. The analysis and tests of the developed circuit showed that the circuit could measure and control the power consumption as designed, having the ability to operate in a modular manner. The investment cost was 412.5–931 Baht (11.3 – 25.4 USD), 2–5 times less expensive than the existing circuits in the marketplace, and the capability of long-distance data transmission. The accuracy and completion of the transferred data was more than 98.36% with a low average power consumption of 8.5 watts and achieved 1.64% higher power quality estimation accuracy than the standard equipment. The advantages are easy to connect to various platforms, economical price, can add measurement circuit. Note that a server is required for the MQTT protocol.
References
Ma R, Chen H-H, Huang Y-R, Meng W. Smart grid communication: Its challenges and opportunities. IEEE transactions on Smart Grid. 2013;4(1):36-46.
Zhang W, editor Study about IOT's application in" digital Agriculture" construction. 2011 International Conference on Electrical and Control Engineering; 2011: IEEE.
Wijaya NH, Fauzi FA, Helmy ET, Nguyen PT, Atmoko RA. The design of heart rate detector and body temperature measurement device using ATMega16. Journal of Robotics and Control (JRC). 2020;1(2):40-3.
Thakare S, Shriyan A, Thale V, Yasarp P, Unni K, editors. Implementation of an energy monitoring and control device based on IoT. 2016 IEEE Annual India Conference (INDICON); 2016: IEEE.
Hartman WT, Hansen A, Vasquez E, El-Tawab S, Altaii K, editors. Energy monitoring and control using Internet of Things (IoT) system. 2018 Systems and Information Engineering Design Symposium (SIEDS); 2018: IEEE.
Nitikhom Ari, Auncha Dee. Control Device to Operate Electricity Meter via Application: Vocational Education Innovation and Research Journal VE-IRJ.2021, 5.1: 128-137.
Khadonova S, Ufimtsev A, Dymkova S, editors. Wide application innovative monitoring system with personal smart devices. 2020 Systems of Signal Synchronization, Generating and Processing in Telecommunications (SYNCHROINFO); 2020: IEEE.
Zhang Y, Huang T, Bompard EF. Big data analytics in smart grids: a review. Energy informatics. 2018;1(1):1-24.
Yassein MB, Shatnawi MQ, Aljwarneh S, Al-Hatmi R, editors. Internet of Things: Survey and open issues of MQTT protocol. 2017 international conference on engineering & MIS (ICEMIS); 2017: Ieee.
Singh M, Rajan M, Shivraj V, Balamuralidhar P, editors. Secure mqtt for internet of things (iot). 2015 fifth international conference on communication systems and network technologies; 2015: IEEE.
Light RA. Mosquitto: server and client implementation of the MQTT protocol. Journal of Open Source Software. 2017;2(13).
Moustafa N, Turnbull B, Choo K-KR. An ensemble intrusion detection technique based on proposed statistical flow features for protecting network traffic of internet of things. IEEE Internet of Things Journal. 2018;6(3):4815-30.
Soni D, Makwana A, editors. A survey on mqtt: a protocol of internet of things (iot). International conference on telecommunication, power analysis and computing techniques (ICTPACT-2017); 2017.
Tasmota. Tasmota Documentation [Internet].2021 [cited 2021 Dec 4]. Available from: https://tasmota. ithub.io/docs/About/.
Homeassistant. GettingStarted [Internet].2021 [cited 2021 Dec 4]. Available from:https://www.home assistant.io/getting started/.
Schwartz M. Internet of Things with ESP8266. 1st ed. New York. Packt Publishing. Retrieved from https://www.perlego.com/book/117730/internet-of-things-with-esp8266-pdf (Original work published 2016)
ALLEGRO.Datasheet ACS712.[Internet].2006 [cited 2021 Dec 4]. Available from: http://www. allegromicro. com/~/media/Files/Datasheets. ACS712-Datasheet ashx.
Texas Instruments. PCF8574 [Internet].2015 [cited 2021 Dec 4]. Available from: PCF8574 Remote 8-Bit I/O Expander for I2C Bus datasheet (Rev. J).
Tasmota. I2C, MQTT devices [Internet].2021 [cited 2021 Dec 4]. Available from: https://tasmota. ithub.io/docs/About/.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 KKU Research Journal (Graduate Studies)
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.