Design and Implementation of an ESP32-Based Multiprotocol Temperature Monitoring System and Asynchronous Collector Server

Authors

DOI:

https://doi.org/10.65359/xm6jzz71

Keywords:

Asynchronous server, embedded firmware, ESP32 microcontroller, FreeRTOS, multi-protocol telemetry

Abstract

This study aims to design and implement a robust multi-protocol temperature monitoring system combining modular ESP-IDF firmware and an asynchronous collector server. The system integrates an ESP32 microcontroller interfaced with a Bosch BMP280 temperature sensor and Texas Instruments INA226 digital power monitor over a shared 400 kHz I2C bus, supporting dynamic MQTT (QoS 0 and QoS 1) and RESTful HTTP POST transmission. The receiver architecture combines an asynchronous FastAPI server, Mosquitto MQTT subscriber, and SQLite database in Write-Ahead Logging mode with Pydantic validation. Functional testing confirmed successful hardware initialization, drift-free FreeRTOS task scheduling via xTaskDelayUntil, SNTP epoch synchronization, and structured JSON telemetry parsing. The implemented system demonstrated 100% data reception across 810 experimental test records, validating the modular firmware and dual-transport architecture for smart IoT telemetry applications.

Downloads

Download data is not yet available.

References

Al-Masri, E., Kalyanam, K. R., Batts, J., Kim, J., Singh, S., Vo, T., & Yan, C. (2020). Investigating Messaging Protocols for the Internet of Things (IoT). IEEE Access, 8, 94880–94911. https://doi.org/10.1109/ACCESS.2020.2993363

Arm, J., Baštán, O., Mihálik, O., & Bradáč, Z. (2022). Measuring the Performance of FreeRTOS on ESP32 Multi-Core. IFAC-PapersOnLine, 55(4), 292–297. https://doi.org/10.1016/j.ifacol.2022.06.048

Atmoko, R. A., Riantini, R., & Hasin, M. K. (2017). IoT real time data acquisition using MQTT protocol. Journal of Physics: Conference Series, 853, 012003. https://doi.org/10.1088/1742-6596/853/1/012003

Baek, Y., & Park, J. K. (2026). ALEX: Adaptive Log-Embedded Extent Layer for Low-Amplification SQLite Writes on Flash Storage. Applied Sciences, 16(2), 672. https://doi.org/10.3390/app16020672

Bakare, M. S., & Abubaker, K. (2026). IoT-based indoor environmental monitoring system using multi-parameter sensing and ESP32-WROOM integration. Discover Electronics, 3(1), 6. https://doi.org/10.1007/s44291-026-00157-3

Chen, Y., & Kunz, T. (2016). Performance evaluation of IoT protocols under a constrained wireless access network. 2016 International Conference on Selected Topics in Mobile & Wireless Networking (MoWNeT), 1–7. https://doi.org/10.1109/MoWNet.2016.7496622

Dinculeană, D., & Cheng, X. (2019). Vulnerabilities and Limitations of MQTT Protocol Used between IoT Devices. Applied Sciences, 9(5), 848. https://doi.org/10.3390/app9050848

Dizdarević, J., Carpio, F., Jukan, A., & Masip-Bruin, X. (2019). A Survey of Communication Protocols for Internet of Things and Related Challenges of Fog and Cloud Computing Integration. ACM Computing Surveys, 51(6), 1–29. https://doi.org/10.1145/3292674

Grgić, K., Špeh, I., & Heđi, I. (2016). A web-based IoT solution for monitoring data using MQTT protocol. 2016 International Conference on Smart Systems and Technologies (SST), 249–253. https://doi.org/10.1109/SST.2016.7765668

Jara Ochoa, H. J., Peña, R., Ledo Mezquita, Y., Gonzalez, E., & Camacho-Leon, S. (2023). Comparative Analysis of Power Consumption between MQTT and HTTP Protocols in an IoT Platform Designed and Implemented for Remote Real-Time Monitoring of Long-Term Cold Chain Transport Operations. Sensors, 23(10), 4896. https://doi.org/10.3390/s23104896

Mabotha, E., Mabunda, N. E., & Ali, A. (2025). A Dockerized Approach to Dynamic Endpoint Management for RESTful Application Programming Interfaces in Internet of Things Ecosystems. Sensors, 25(10), 2993. https://doi.org/10.3390/s25102993

Mishra, B., & Kertesz, A. (2020). The Use of MQTT in M2M and IoT Systems: A Survey. IEEE Access, 8, 201071–201086. https://doi.org/10.1109/ACCESS.2020.3035849

Mishra, B., Mishra, B., & Kertesz, A. (2021). Stress-Testing MQTT Brokers: A Comparative Analysis of Performance Measurements. Energies, 14(18), 5817. https://doi.org/10.3390/en14185817

Naik, N. (2017). Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP. 2017 IEEE International Systems Engineering Symposium (ISSE), 1–7. https://doi.org/10.1109/SysEng.2017.8088251

Salman, T., & Jain, R. (2017). A Survey of Protocols and Standards for Internet of Things. Advanced Computing and Communications. https://doi.org/10.34048/2017.1.F3

Downloads

Published

30-09-2026

How to Cite

Fawas Afanza, M. F., & Moh. Noor Al Azam. (2026). Design and Implementation of an ESP32-Based Multiprotocol Temperature Monitoring System and Asynchronous Collector Server. Jurnal SINTIKA (Jurnal Sistem Informasi, Teknik Informatika, Dan Sistem Komputer), 2(3), 261-270. https://doi.org/10.65359/xm6jzz71

Similar Articles

1-10 of 11

You may also start an advanced similarity search for this article.