1 Computer Engineering Department, University of Technology, Baghdad, Iraq

2 Department of Computer Engineering, University of Technology, Baghdad, Iraq


Air pollution is a common cause of health risks and also a cause of climate change, one of the most threatening problems to humans. This problem results from the abundance of automobiles, industrial production, and combustion of transportation and electricity generation petroleum products. Therefore, forecasting air pollution is necessary. In this paper, a system is proposed to monitor the level of air pollution by integrating the Internet of Things(IoT) with Wireless Sensor Networks (WSN), where pollution levels are observed in three areas in Baghdad using different types of sensors connected with ESP32 (It is the name of the chip developed by Espressif Systems) to detect Particulate Matter (PM2.5 and PM10), Nitrogen Oxides (NOx), Carbon monoxide (CO) as well as temperature and humidity to monitor indoor and outdoor air quality. Observed results are monitored by ThingSpeak, an open- source IoT platform. Success has been achieved using the ESP32 microcontroller, as the project is low-cost and uncomplicated, and pollutant measurement is accurate compared to the natural proportions of pollutants. Data display is easy and it can be monitored easily. This encourages the improvement of the model and its use in other monitoring systems.