πŸ“ž +91-7667918914 | βœ‰οΈ ijarcce@gmail.com
International Journal of Advanced Research in Computer and Communication Engineering
International Journal of Advanced Research in Computer and Communication Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2278-1021ISSN Print 2319-5940Since 2012
IJARCCE adheres to the suggestive parameters outlined by the University Grants Commission (UGC) for peer-reviewed journals, upholding high standards of research quality, ethical publishing, and academic excellence.
← Back to VOLUME 15, ISSUE 4, APRIL 2026

IoT and Machine Learning Based Air Quality Monitoring and AQI Prediction System

S. Pujitha, M. Rama Krishna [M. Tech, PhD]

πŸ‘ 30 viewsπŸ“₯ 11 downloads
Share: 𝕏 f in ✈ βœ‰
Abstract: Air pollution has emerged as one of the most critical environmental and public health challenges of the twenty- first century. In India, the majority of urban centres regularly report Air Quality Index (AQI) values in the 'Poor' to 'Hazardous' range, yet real-time, localised air quality data remains scarce and inaccessible due to the high cost and sparse deployment of certified monitoring stations. This paper presents an end-to-end IoT and Machine Learning Based Air Quality Monitoring and AQI Prediction System that addresses these limitations through affordable hardware, cloud connectivity, and intelligent data analysis. The hardware sensing node is built around an ESP32 microcontroller interfaced with five sensors: a DHT11 temperature and humidity sensor, an MQ2 smoke and combustible gas sensor, an MQ7 carbon monoxide sensor, an MQ135 air quality gas sensor, and an optical PM2.5 dust sensor. Readings are displayed locally on a 20Γ—4 I2C LCD and uploaded to a ThingSpeak cloud channel every 15 seconds. The machine learning subsystem employs a Random Forest classifier trained on 1,000 labelled environmental records spanning six AQI categories. The trained model is deployed within a Streamlit web application supporting Manual Input and ThingSpeak Auto modes, generating an AI Environment Report for every prediction. System validation used 82 live readings collected from the prototype hardware on 31 March 2026. The proposed system demonstrates that integration of low-cost IoT sensing, cloud data management, and ensemble machine learning can produce an intelligent air quality monitoring platform suitable for educational institutions and smart city deployment.

Keywords: Internet of Things, Air Quality Index, Arduino UNO, ESP32, MQ Gas Sensors, PM2.5, DHT11, ThingSpeak, Random Forest, Machine Learning, Streamlit, Environmental Monitoring, AQI Prediction, Smart Environment.

How to Cite:

[1] S. Pujitha, M. Rama Krishna [M. Tech, PhD], β€œIoT and Machine Learning Based Air Quality Monitoring and AQI Prediction System,” International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2026.15496

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