A Dual-Microcontroller IoT Platform for Integrated Flood and Air Quality Monitoring: Performance and Integration Challenges
Abstract
Jakarta faces escalating environmental challenges, including heightened flood risk and deteriorating air quality, driven by rising rainfall intensity and increasing pollution levels. Conventional monitoring systems for these hazards often operate in isolation, lacking the integration, realtime capability, and accessibility offered by modern Internet of Things (IoT) technology. To address this gap, this study designed and developed a unified, dual-microcontroller IoT platform for the simultaneous and integrated monitoring of flood potential and air pollution. The research followed an Experimental Development methodology, involving systematic hardware design, firmware development, system integration, and rigorous performance testing. The prototype hardware architecture strategically separates data acquisition and network communication by utilizing an Arduino Uno for data acquisition and an ESP32 microcontroller for network communication, respectively. The system incorporates an HC-SR04 ultrasonic sensor for water level detection, a DHT22 sensor for temperature and humidity measurement, and an MQ-135 gas sensor for assessing air quality. Data is displayed locally on a 20×4 LCD and transmitted to a cloud server. A critical finding from the integration phase was a 2.3% data loss rate attributable to serial communication instability between the microcontrollers, highlighting a significant challenge in multi-processor IoT architectures and underscoring the necessity for robust inter-processor protocols. During a comprehensive 24-hour endurance test with measurements taken at ten-minute intervals, the system demonstrated high accuracy in individual sensor readings. It successfully transmitted 97.7% of the data in realtime to a web application built on the Firebase platform. The study concludes that while the integrated dual-microcontroller approach is highly viable for holistic environmental monitoring, future iterations must prioritize enhanced communication reliability through hardware flow control and error-checking mechanisms to achieve the robustness required for mission-critical deployments.
Keywords
References
W. Handayani, U. E. Chigbu, I. Rudiarto, and I. H. S. Putri, “Urbanization and increasing flood risk in the northern coast of Central Java—Indonesia: An assessment towards better land use policy and flood management,” Land, vol. 9, no. 10, p. 343, 2020. doi: 10.3390/land9100343.
H. Setiyono, A. N. B. Bambang, M. Helmi, and M. Yusuf, “Effect rainfall season on coastal flood in Semarang City, Central Java, Indonesia,” Int. J. Health Sci., vol. 6, no. S1, pp. 7584–7595, 2022. doi: 10.53730/ijhs.v6nS1.6618.
D. A. Retnowati, R. Virtriana, and A. Riqqi, “Potential losses in rice production due to flooding on the northern coast of West Java, Indonesia,” IOP Conf. Ser.: Earth Environ. Sci., vol. 1472, no. 1, 012028, 2025. doi: 10.1088/1755-1315/1472/1/012028.
T. Satoshi and L. Charlotte, “Deforestation and its role in climate change and soil degradation,” 2025.
M. Leon, G. Cornejo, M. Calderón, E. González-CarriónE, H. Florez, "Effect of Deforestation on Climate Change: A Co-Integration and Causality Approach with Time Series," Sustainability. 2022; 14(18):11303. https://doi.org/10.3390/su141811303
M. Rahman, “Climate change and environmental degradation: A serious threat to global security,” Eur. J. Social Sci. Stud., vol. 8, 2023. doi: 10.46827/ejsss.v8i6.1493.
B. Haupt, “The use of crisis communication strategies in emergency management,” J. Homeland Secur. Emerg. Manage., vol. 18, 2021. doi: 10.1515/jhsem-2020-0039.
P. Charan, M. M. Siddiqui, V. Yadav, C. Pathak, Y. Narayan and Z. H. Khan, "AI-Enhanced Early Warning Systems for Natural Disaster Detection and Mitigation using Wireless Sensor Networks," 2024 Second International Conference Computational and Characterization Techniques in Engineering & Sciences (IC3TES), Lucknow, India, 2024, pp. 1-6, doi: 10.1109/IC3TES62412.2024.10877562.
P. Rosyady, D. Yulianto, and F. Warsino, “IoT-based home water monitoring using Arduino,” Mobile Forensics, vol. 3, pp. 75–84, 2021. doi: 10.12928/mf.v3i2.5517.
P. A. Rosyady, D. Yulianto, and F. Warsino, “IoT-based home water monitoring using Arduino,” Mobile Forensics, vol. 3, no. 2, pp. 75–84, 2021. doi: 10.12928/mf.v3i2.5517.
T. Andriani et al., “Design of flood early detection system using WeMos D1 Mini ESP8266 IoT technology,” J. Phys. Sci. Eng., vol. 4, pp. 67–73, 2020. doi: 10.17977/um024v4i22019p067.
A. Tarpanelli, A. C. Mondini, and S. Camici, “Effectiveness of Sentinel-1 and Sentinel-2 for flood detection assessment in Europe,” Nat. Hazards Earth Syst. Sci., vol. 22, pp. 2473–2489, 2022. doi: 10.5194/nhess-22-2473-2022.
S. Jarrett and D. Hölbling, “Spatial evaluation of a natural flood management project using SAR change detection,” Water, vol. 15, no. 12, p. 2182, 2023. doi: 10.3390/w15122182.
[A. Tarpanelli, A. C. Mondini, and S. Camici, “Effectiveness of Sentinel-1 and Sentinel-2 for flood detection assessment in Europe,” Nat. Hazards Earth Syst. Sci., vol. 22, no. 8, pp. 2473–2489, 2022. doi: 10.5194/nhess-22-2473-2022.
S. M. Abiduzzaman, H. Mansor, T. Gunawan, and R. Ahmad, “Real-time outdoor air quality monitoring system,” in Proc. ICSIMA, 2021, pp. 140–145. doi: 10.1109/ICSIMA50015.2021.9526332.
M. G. Arkhan and Z. R. S. Elsi, “Air quality monitoring system based Internet of Things,” Brilliance, vol. 4, no. 2, pp. 669–673, Nov. 2024.
A. Janarthanan, A. Paramarthalingam, A. Arivunambi and P. M. D. R. Vincent, "Real-time indoor air quality monitoring using the Internet of Things," 2022 Third International Conference on Intelligent Computing Instrumentation and Control Technologies (ICICICT), Kannur, India, 2022, pp. 99-104, doi: 10.1109/ICICICT54557.2022.9917990.
F. Gonibala et al., “Toward an advanced gas composition measurement device for chemical reaction analysis,” Bul. Ilm. Sarjana Tek. Elektro, vol. 5, pp. 525–538, 2023. doi: 10.12928/biste.v5i4.9249.
M. A. Sugianto and Z. Zulfikar, “Design of a carbon monoxide gas measurement tool using microcontroller-based MQ-7 gas sensor in households,” Newton: Netw. Inf. Technol., vol. 3, no. 3, pp. 36–47, 2024. doi: 10.32764/newton.v3i3.4881.
M. Kumar et al., “Air quality monitoring using MQ135 gas sensor and Arduino Uno,” Int. J. Latest Technol. Eng. Manage. Appl. Sci., vol. 14, no. 5, pp. 1097–1101, 2025. doi: 10.51583/ijltemas.2025.140500119.
M. Wajid et al., “Flood prediction system using IoT & artificial neural network,” VFAST Trans. Softw. Eng., vol. 12, pp. 210–224, 2024. doi: 10.21015/vtse.v12i1.1603.
H. R. Arante et al., “Development of a secured IoT-based flood monitoring and forecasting system using genetic-algorithm-based neuro-fuzzy network,” Sensors, vol. 25, p. 3885, 2025. doi: 10.3390/s25133885.
T. Chai, D. Kim, and S. Shin, “Efficient internet of things communication system based on near-field communication and long range radio,” Sensors, vol. 25, no. 8, p. 2509, 2025. doi: 10.3390/s25082509.
M. E. Gavira et al., “Characterization and performance evaluation of ESP32 for real-time synchronized sensor networks,” Procedia Comput. Sci., vol. 237, pp. 261–268, 2024. doi: 10.1016/j.procs.2024.05.104.
H. Turkmanovi?, M. Karli?i?, V. Rajovi?, and I. Popovi?, “High performance software architectures for remote high-speed data acquisition,” Electronics, vol. 12, no. 20, p. 4206, 2023. doi: 10.3390/electronics12204206.
H. Hasani, F. Freddi, R. Piazza, and F. Ceruffi, “A wireless data acquisition system based on MEMS accelerometers for operational modal analysis of bridges,” Sensors, vol. 24, no. 7, p. 2121, 2024. doi: 10.3390/s24072121.
DOI: https://doi.org/10.52088/ijesty.v5i4.1539
Refbacks
- There are currently no refbacks.
Copyright (c) 2025 Rafiuddin Syam, Baso Maruddani, Eko Kuncoro Pramono, Irma Ratna Kartika, Daffa Ihsanullah Irsyad




























