Air Pollution Monitoring Portal

qAir

Use a combination of sensors to quantify the quality of air in your environment and display the measurement on a webapp.


Contributors

Chukwudi Nicholas

Skills

Embedded Systems: Sensors, C++, Soldering, PCB design

Backend Programming: Flask, API design, MySQL, Python Programming

Frontend Programming: HTML, CSS, JavaScript

Published

2nd Sep, 2023

Important Links

Github

9 out of 10 people breathe polluted air. qAir is a project that aims to visualize several selected air pollutants in an area to increase awareness and understanding of air quality management, provide actionable information, and derive actions against air pollution.

Materials Used

  • 1 MQ 137 Smoke sensor
  • 1 GP2Y1010AU0F Dust sensor
  • 1 DHT22 Temperature and Humidity sensor
  • 1 MQ 137 CO2 sensor
  • 1 SIM800L GSM/GPRS module
  • 1 7.4-volt Lipo Battery

System Design

System Diagram of qAir

System Diagram of qAir

The sensors are connected to the ESP32 and communicate their variables via some designated communication protocols, like I2C, SPI, and UART. The ESP32 sensor does the data processing and sends these values to a web app through a specified API (defined in Flask) at a specified interval.

From the web app, you can see the variation in pollutant levels. As an added feature, a GSM is added to the system to alert when pollutants are above the threshold levels specified in the code.

Circuit Diagram of qAir's hardware

Circuit Diagram of qAir's hardware

Preview

Dashboard of the Pollutant Monitor

Dashboard of the Pollutant Monitor

Recommendations

If you're looking to advance this project, I suggest you consider the following:

  • Use advanced sensors to gather precise data.
  • Apply AI to understand trends and provide actionable insight.

Acknowledgements:

Nil

References:

  • Nil