A Low-Cost Distributed IoT Sensor Network for Real-Time Air Quality Management: A Case Study at Federal Polytechnic Oko, Nigeria
DOI:
https://doi.org/10.60787/ijrti.vol3no1.78Keywords:
IoT Sensor Network, Air Quality Monitoring, Environmental Governance, SHAP explainability, PM2.5 forecastingAbstract
This study presents the design and deployment of a low-cost, distributed IoT sensor network for real-time air quality monitoring across Federal Polytechnic Oko, Nigeria. Using ESP32 microcontrollers integrated with SenseAir S8 (CO₂) and Plantower PMS5003 (PM2.5) sensors, the system generated high-resolution, spatially differentiated data over a 14-day period. Results revealed three critical hazards: (i) critical indoor ventilation failure in Lecture Classrooms, with CO₂ concentrations reaching 3,150 ppm; (ii) severe outdoor pollution at Generator Points, where PM2.5 peaked at 135.0 µg/m³ (a 540% exceedance of WHO guidelines); and (iii) occupational safety risks in Science Laboratories, with NO₂ spikes of 410 ppb. Comparative validation against a commercial IAQ meter confirmed that single-point monitoring underestimated CO₂ and PM2.5 peaks by up to 60% and failed to detect NO₂ entirely, underscoring the necessity of distributed sensing. To extend beyond passive monitoring, a Random Forest model was trained to forecast PM2.5 one hour ahead, achieving R² = 0.87 and 91% exceedance accuracy. SHAP analysis confirmed that recent PM2.5 values and generator-related NO₂ spikes were the strongest predictors, ensuring model transparency and stakeholder confidence. Together, the IoT network and AI forecasting framework provide actionable policy intelligence, enabling targeted interventions such as ventilation protocols and generator management strategies. This work establishes a scalable, cost-effective blueprint for sustainable environmental governance and enhanced public health protection in high-density academic environments across West Africa.Downloads
References
Meneses-Albala, E., Montalban-Faet, G., Felici-Castell, S., Pérez-Solano, J. J., & Fayos-Jordán, R. (2025). Assessment of a Multisensor ZPHS01B-Based Low-Cost Air Quality Monitoring System: Case Study. Electronics, 14(8), 1531. https://doi.org/10.3390/electronics14081531
Kairúz-Cabrera, D., Hernandez-Rodriguez, V., Schalm, O., Martínez, A., Laso, P. M., & Sánchez, D. A. (2024). Development of a Unified IoT Platform for Assessing Meteorological and Air Quality Data in a Tropical Environment. Sensors, 24(9), 2729. https://doi.org/10.3390/s24092729
Katushabe, C., Kumaran, S., & Masabo, E. (2021). Fuzzy Based Prediction Model for Air Quality Monitoring for Kampala City in East Africa. Applied System Innovation, 4(3), 44. https://doi.org/10.3390/asi4030044
Ahmed, S., Akande, O. K., Oyenuhi, G., Emechebe, C. O., Eze, J. C., & Makun, C. (2022). Implications of Indoor Air Pollution in Business Buildings in Nigeria. International Journal of Architecture and Urbanism, 6(2), 290. https://doi.org/10.32734/ijau.v6i2.9699
Hodoli, C. G., Coulon, F., & Mead, M. I. (2022). Source identification with high-temporal resolution data from low-cost sensors using bivariate polar plots in urban areas of Ghana. Environmental Pollution, 317, 120448. https://doi.org/10.1016/j.envpol.2022.120448
Animashaun, M. B., Alademomi, A. S., Okolie, C., Abolaji, O., Ojegbile, B., Daramola, O. E., Alozie, N. S., & Tella, A. (2023). Geo-spatial mapping of Carbon Dioxide and Carbon Monoxide within the University of Lagos, Nigeria. Research Square (Research Square). https://doi.org/10.21203/rs.3.rs-3668485/v1
Bajpai, A., Kumar, T., Sreeniva, G., & Srivas, S. K. (2023). Development of Internet of Things (IoT) for air pollution monitoring of Nagpur metropolis. Research Square (Research Square). https://doi.org/10.21203/rs.3.rs-3604909/v1
Alam, M., Islam, Md. M., Nayan, N. M., & Uddin, J. (2024). An IoT Based Real-Time Environmental Monitoring System for Developing Areas. Journal of Advanced Research in Applied Sciences and Engineering Technology, 52(1), 106. https://doi.org/10.37934/araset.52.1.106121
Hassan, A. K. A., Saraya, M. S., Ali, H., & Abdelsalam, M. M. (2024). Low-Cost IoT Air Quality Monitoring Station Using Cloud Platform and Blockchain Technology. Applied Sciences, 14(13), 5774. https://doi.org/10.3390/app14135774
Gololo, M. G. D., Nyathi, C. W., Boateng, L., Nkadimeng, E. K., Mckenzie, R. P., Atif, I., Kong, J. D., Mahboob, M. A., Cheng, L., & Garcia, B. R. M. (2024). Review of IoT Systems for Air Quality Measurements Based on LTE/4G and LoRa Communications. IoT, 5(4), 711. https://doi.org/10.3390/iot5040032
Parmar, A., Sara, S., Dwivedi, A. K., Reddy, C. R., Patwardhan, I., Bijjam, S. D., Chaudhari, S., Rajan, K. S., & Vemuri, K. (2024). Development of end-to-end low-cost IoT system for densely deployed PM monitoring network: an Indian case study. Frontiers in the Internet of Things, 3. https://doi.org/10.3389/friot.2024.1332322
Saini, J., Dutta, M., & Marques, G. (2020). A comprehensive review on indoor air quality monitoring systems for enhanced public health [Review of A comprehensive review on indoor air quality monitoring systems for enhanced public health]. Sustainable Environment Research, 30(1). BioMed Central. https://doi.org/10.1186/s42834-020-0047-y
Ramadan, M. N. A., Ali, M. A. H., Jaber, H., & Alkhedher, M. (2025). Blockchain-secured IoT-federated learning for industrial air pollution monitoring: A mechanistic approach to exposure prediction and environmental safety. Ecotoxicology and Environmental Safety, 300, 118442. https://doi.org/10.1016/j.ecoenv.2025.118442
Laha, S. R., Pattanayak, B. K., & Pattnaik, S. (2022). Advancement of Environmental Monitoring System Using IoT and Sensor: A Comprehensive Analysis. AIMS Environmental Science, 9(6), 771. https://doi.org/10.3934/environsci.2022044
Katie, B. (2024). Internet of Things (IoT) for Environmental Monitoring. International Journal of Computing and Engineering, 6(3), 29. https://doi.org/10.47941/ijce.2139
Banciu, C., Florea, A., & Bogdan, R. (2024). Monitoring and Predicting Air Quality with IoT Devices. Processes, 12(9), 1961. https://doi.org/10.3390/pr12091961
Alsamrai, O., Redel-Macías, M. D., Pinzi, S., & Dorado, M. P. (2024). A Systematic Review for Indoor and Outdoor Air Pollution Monitoring Systems Based on Internet of Things [Review of A Systematic Review for Indoor and Outdoor Air Pollution Monitoring Systems Based on Internet of Things]. Sustainability, 16(11), 4353. Multidisciplinary Digital Publishing Institute. https://doi.org/10.3390/su16114353
Popescu, S. M., Mansoor, S., Wani, O. A., Kumar, S. S., Sharma, V., Sharma, A., Arya, V. M., Kirkham, M. B., Hou, D., Bolan, N., & Chung, Y. S. (2024). Artificial intelligence and IoT driven technologies for environmental pollution monitoring and management. Frontiers in Environmental Science, 12. https://doi.org/10.3389/fenvs.2024.1336088
Alotaibi, E., & Nassif, N. (2024). Artificial intelligence in environmental monitoring: in-depth analysis. Discover Artificial Intelligence, 4(1). https://doi.org/10.1007/s44163-024-00198-1
Miller, T., Durlik, I., Kostecka, E., Kozlovska, P., Łobodzińska, A., Sokołowska, S., & Nowy, A. (2025). Integrating Artificial Intelligence Agents with the Internet of Things for Enhanced Environmental Monitoring: Applications in Water Quality and Climate Data. Electronics, 14(4), 696. https://doi.org/10.3390/electronics14040696
Nuryana, Z., Nurcahyati, I., Ichsan, Y., Kurniawan, Muh. A., Hanafiah, Y., Fadhlurrahman, F., Rachmaningtyas, N. A., & Aji, A. D. (2024). Exploring the frontiers of school environmental health and artificial intelligence for sustainability. E3S Web of Conferences, 501, 1014. https://doi.org/10.1051/e3sconf/202450101014
Apostolopoulos, I. D., Dovrou, E., Androulakis, S., Seitanidi, K., Georgopoulou, M., Matrali, A., Argyropoulou, G., Kaltsonoudis, C., Fouskas, G., & Pandis, S. Ν. (2025). Monitoring of Indoor Air Quality in a Classroom Combining a Low-Cost Sensor System and Machine Learning. Chemosensors, 13(4), 148. https://doi.org/10.3390/chemosensors13040148
Wiese, P., Kartsch, V., Guermandi, M., & Benini, L. (2025). A Multi-Modal IoT Node for Energy-Efficient Environmental Monitoring with Edge AI Processing. 1. https://doi.org/10.1109/coins65080.2025.11125738
Boulic, M., Phipps, R., Wang, Y., Vignes, M., & Adegoke, N. A. (2023). Validation of low-cost air quality monitoring platforms using model-based control charts. Journal of Building Engineering, 82, 108357. https://doi.org/10.1016/j.jobe.2023.108357
Chojer, H., Branco, P. T. B. S., Martins, F. G., Alvim-Ferraz, M. C. M., & Sousa, S. (2020). Development of low-cost indoor air quality monitoring devices: Recent advancements [Review of Development of low-cost indoor air quality monitoring devices: Recent advancements]. The Science of The Total Environment, 727, 138385. Elsevier BV. https://doi.org/10.1016/j.scitotenv.2020.138385
Tounsi, I. M., Sabeur, A., Morsli, S., & Ganaoui, M. E. (2025). Insights on the Air Quality Story, Standard’s Evolution, and IoT’s Role to Monitor IAQ for an Appropriate Indoor Environment. In IntechOpen eBooks. IntechOpen. https://doi.org/10.5772/intechopen.1008551
Stamp, S., Burman, E., Shrubsole, C., Chatzidiakou, L., Mumovic, D., & Davies, M. (2020). Long-term, continuous air quality monitoring in a cross-sectional study of three UK non-domestic buildings. Building and Environment, 180, 107071. https://doi.org/10.1016/j.buildenv.2020.107071.
Downloads
Published
Issue
Section
License

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








