Design and Validation of Portable Low-Cost ESP32-C6 Based Data Acquisition for Real-Time Power Monitoring and Experimental Data Collection
DOI:
https://doi.org/10.24237/djes.2026.19201Keywords:
Portable data acquisition system, Real‑time power monitoring, ESP32‑C6 microcontroller, INA219 current sensor, Python-based ApplicationAbstract
This paper presents a portable, customized low-cost data acquisition system using the ESP32-C6 microcontroller and the INA219 sensor. The use of traditional multi-meters is time-consuming and subject to human error, especially for experiments with longer durations, which require continuous logging and repeated readings. Manual data recording increases the risk of transcription mistakes and limits sampling resolution. Since DC systems have gained significant attention in recent years across renewable energy and IoT applications, the need for more accurate, automated DC power acquisition is increasingly critical. We conduct a comparative analysis of the INA219 sensor under low and elevated voltage applications to evaluate the accuracy of the INA219 sensor with the calibrated reference DC power supply. Our experiment indicates perfect linear correlation between power and current in both modes (r 1.000 for low-power, r = 0.992 for high-power) applications, respectively. A Python-based application was developed to assess the data logging ability of the COOLTERM software. This application will perform statistical analysis of the time-series power measurement datasets, including a visual representation in graphical form to clearly display the energy trend in the DC power system. This system provides a practical solution for real-time power measurement across a variety of DC systems, including IoT applications, solar renewable energy, laboratory experimentation, and related DC power systems.
Downloads
References
[1] S. Saha and S. Roy, “Design and implementation of a smart energy meter with demand response capability,” in Proceedings of the 2016 ACEEE Summer Study on Energy Efficiency in Buildings, 2016, pp. 1–12. [Online]. Available: https://www.aceee.org/files/proceedings/2016/data/papers/1_156.pdf
[2] S. Tirones and Y. Hu, “Design and analysis of a wide input range (5V–12V) buck converter for stable 5V/1A USB charging: A Simulink approach,” Int. Res. J. Adv. Eng. Sci., vol. 10, no. 3, pp. 121–127, 2025.
[3] N. Nissa, S. Jamwal, J. I. Bhat, and Y. Rashid, “Data collection and analysis: The foundation of evidence-based research in various disciplines,” in Intelligent Signal Processing and RF Energy Harvesting for State of art 5G and B5G Networks, J. A. Sheikh, T. Khan, and B. K. Kanaujia, Eds. Singapore: Springer, 2024, pp. 185–205. doi: 10.1007/978-981-99-8771-9_9.
[4] A. Razumić, B. Runje, V. Alar, B. Štrbac, and Z. Trzun, “A review of methods for assessing the quality of measurement systems and results,” Appl. Sci., vol. 15, no. 17, p. 9393, 2025. doi: 10.3390/app15179393.
[5] R. Korostenskyi and I. Olenych, “EDGE approach to early detection of anomalies in electricity consumption,” in 2025 IEEE 6th KhPI Week on Advanced Technology (KhPIWeek), Kharkiv, Ukraine, 2025, pp. 1–5. doi: 10.1109/KhPIWeek61436.2025.11288666.
[6] M. Safril, S. Hasan, and M. D. J. Siburian, “Battery management system on competition electric car,” in 2024 8th Int. Conf. Electr., Telecommun. Comput. Eng. (ELTICOM), Medan, Indonesia, 2024, pp. 176–182. doi: 10.1109/ELTICOM64085.2024.10864777.
[7] N. Banerjee, S. Ghosh, S. Borah, G. Aarthi, C. A, and A. G, “Solar light tracking with STM32 and IoT integration,” in 2025 Int. Conf. Sens. Relat. Netw. (SENNET) Special Focus Digit. Healthc., Vellore, India, 2025, pp. 1–6. doi: 10.1109/SENNET64220.2025.11135966.
[8] M. G. Romero-Sánchez, O. Rodriguez-Abreo, J. M. Juarez-Lopez, A. A. Ortiz-Verdin, O. Martinez-Guzman, and J. D. C. Irineo, “Development of a solar panel monitoring system for power and visible light using Arduino and INA219/BH1750 sensors,” in 2025 22nd Int. Conf. Electr. Eng., Comput. Sci. Autom. Control (CCE), Mexico City, Mexico, 2025, pp. 1–5. doi: 10.1109/CCE67728.2025.11272019.
[9] D.-J. Wang, Y.-Y. Fanjiang, J. T. K. Xiang, Y.-H. Wu, S.-A. Shen, and J.-Y. Tsai, “Performance evaluation of micro power systems with MQTT-based monitoring,” in 2025 IEEE 14th Global Conf. Consum. Electron. (GCCE), Osaka, Japan, 2025, pp. 1144–1145. doi: 10.1109/GCCE65946.2025.11275017.
[10] R. M. Crowter and N. Saeed, “Design and implementation of a simple wireless battery monitoring system for photovoltaic applications,” in *2023 IEEE 9th World Forum Internet Things (WF-IoT)*, Aveiro, Portugal, 2023, pp. 1–6. doi: 10.1109/WF-IoT58464.2023.10539503.
[11] Y. Sari et al., “Comparing the accuracy of INA219, PZEM-004T, and MAX471 sensors for measuring current and voltage of Internet of Things-based solar panels,” in 2024 Ninth Int. Conf. Inform. Comput. (ICIC), Medan, Indonesia, 2024, pp. 1–6. doi: 10.1109/ICIC64337.2024.10956405.
[12] A. Maroșan, G. Constantin, C. E. Gîrjob, A. L. Chicea, and M. Crenganiș, “Real time data acquisition of low cost current sensors ACS712 05 and INA219 using Raspberry Pi, DAQCplate and Node RED,” Proc. Manuf. Syst., vol. 18, no. 2, pp. 51–59, 2023.
[13] V. Gaikar, R. Deshmukh, T. Kumar, S. Chowdhury, Y. Sesharao, and Y. Abilmazhinov, “IoT based solar energy monitoring system,” Mater. Today: Proc., vol. 80, pp. 369–374, 2021. doi: 10.1016/j.matpr.2021.07.364.
[14] M. F. Hakim, I. Ridzki, I. Su'Udi, A. Setiawan, W. Kusuma, and T. U. Syamsuri, “IoT-based monitoring and controlling system for energy consumption costs from battery supply,” J. Rekayasa Elektrika, vol. 20, no. 4, pp. 202–209, Dec. 2024. doi: 10.17529/jre.v20i4.35237.
[15] K. Luechaphonthara and A. Vijayalakshmi, “IOT based application for monitoring electricity power consumption in home appliances,” Int. J. Electr. Comput. Eng. (IJECE), vol. 9, no. 6, pp. 4988–4992, Dec. 2019. doi: 10.11591/ijece.v9i6.pp4988-4992.
[16] A. Salunkhe, Y. Kanse, and S. Patil, “Internet of Things based smart energy meter with ESP 32 real time data monitoring,” in 2022 Int. Conf. Electron. Renew. Syst. (ICEARS), Tuticorin, India, 2022, pp. 446–451. doi: 10.1109/ICEARS53579.2022.9752144.
[17] A. Patel, S. Sharma, Z. Siddique, and P. S. Mahajani, “A peer-to-peer decentralized smart energy grid,” in *2025 12th Int. Conf. Emerg. Trends Eng. Technol. - Signal Inf. Process. (ICETET - SIP)*, Nagpur, India, 2025, pp. 1–6. doi: 10.1109/ICETETSIP64213.2025.11156685.
[18] Texas Instruments, “INA219 Zero-Drift, Bidirectional Current/Power Monitor With I2C Interface,” SBOS448G datasheet, Dec. 2015. [Online]. Available: https://www.ti.com/lit/ds/symlink/ina219.pdf
[19] Espressif Systems, “ESP32 C6 datasheet,” Version 1.4, 2023. [Online]. Available: https://documentation.espressif.com/esp32-c6_datasheet_en.html
[20] Texas Instruments, “INA219 Zero-Drift, Bidirectional Current/Power Monitor With I2C Interface,” Rev. C, Dallas, TX, 2015. [Online]. Available: https://www.ti.com/lit/ds/symlink/ina219.pdf
[21] B. Han, S. Wu, J. Li, K. Wang, and X. Cai, “A novel driving ultrasonic atomizer based on class-E amplification circuits,” in 2024 IEEE 2nd Int. Conf. Control, Electron. Comput. Technol. (ICCECT), Jilin, China, 2024, pp. 404–407. doi: 10.1109/ICCECT60629.2024.10546119.
[22] J. Ding, MATLAB Scientific Plotting and Data Analysis. Amsterdam, The Netherlands: Elsevier, 2025. doi: 10.1016/C2024-0-03625-9.
[23] F. Nelli, Python Data Analytics: With Pandas, NumPy, and Matplotlib, 3rd ed. New York, NY, USA: Apress, 2023. doi: 10.1007/978-1-4842-9532-8.
[24] M. D. F. McInnes and P. M. M. Bossuyt, “Understanding test accuracy measures,” in Cochrane Handbook for Systematic Reviews of Diagnostic Test Accuracy, J. J. Deeks, P. M. M. Bossuyt, M. M. Leeflang, and Y. Takwoingi, Eds. Hoboken, NJ, USA: Wiley, 2024, ch. 4. doi: 10.1002/9781119756194.ch4.
[25] P. Royston, “An extension of Shapiro and Wilk's W test for normality to large samples,” Appl. Statist., vol. 31, no. 2, pp. 115–124, 1982. doi: 10.2307/2347973.
[26] R. Chattamvelli and R. Shanmugam, Descriptive Statistics for Scientists and Engineers: Applications in R, 2nd ed. Cham, Switzerland: Springer, 2023, ch. 4. doi: 10.1007/978-3-031-32330-0.
[27] A. J. Lari, A. P. Sanfilippo, D. Bachour, and D. Perez-Astudillo, “Using machine learning algorithms to forecast solar energy power output,” Electronics, vol. 14, no. 5, p. 866, Feb. 2025. doi: 10.3390/electronics14050866.
[28] P. Schober, C. Boer, and L. A. Schwarte, “Correlation coefficients: Appropriate use and interpretation,” Anesth. Analg., vol. 126, no. 5, pp. 1763–1768, May 2018. doi: 10.1213/ANE.0000000000002864.
[29] A. F. Siegel, "Variability: Dealing with diversity," in Practical Business Statistics, 7th ed., A. F. Siegel, Ed. Cambridge, MA, USA: Academic Press, 2016, ch. 5, pp. 101–128. doi: 10.1016/B978-0-12-804250-2.00005-5.
[30] U. Ejder and S. A. Özel, "A novel distance-based moving average model for improvement in the predictive accuracy of financial time series," Borsa Istanbul Rev., vol. 24, no. 2, pp. 376–397, Mar. 2024. doi: 10.1016/j.bir.2024.01.011.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 SYLVESTER TIRONES, Yue Hu

This work is licensed under a Creative Commons Attribution 4.0 International License.









