Skip to content

asineesh/Air_Pollution_Monitoring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Based Air Pollution Monitoring System

The level of pollution is increasing rapidly due to factors like industrialization, urbanization, increase in population and vehicle use which can affect human health. Quality of the air is the most important factor that directly causes diseases and decreases the quality of life. Currently, the monitoring of air quality levels is achieved by placing sensors in various locations and the sensors alert if the pollution levels exceed the threshold level. However, there hardly exists a mobile solution wherein an individual can contribute to the pollution level checking from the convenience of their homes. Moreover, solutions for forecasting gas and particulate matter levels are location specific and require expensive training data (Meteorological data, wind speeds, etc.) which is unavailable in the reach of the common people.

Therefore, this project aims to collect data about the concentration of NO2, CO2, CO, as well as temperature and humidity via a compact and affordable solution, and host its visualization on a website as well as on a mobile app. We calculate the Air Quality Index (AQI) and also predict their future concentrations using machine learning approaches. The future concentration levels that are being predicted is aimed to provide maximum accuracy based on the regions in which the system is placed. The proposed device can be placed anywhere in the user’s home and the user can obtain real time data of the pollution levels in their immediate locality. The accuracy of the prediction model can be improved based on the data sensed from the user’s surroundings.

This project was a team project done as a part of the programme elective coursework "Internet of Things" offered by the Electronics and Communication Department of the National Institute of Technology, Tiruchirappalli.

Hardware and Software Requirements

Components, Sensors, and Boards Required

Software Requirements

  • Arduino IDE 1.6.13 – To code the Arduino UNO and the Node MCU
  • HTML, CSS, Javascript – For designing the website
  • Google Collaboratory – For model training and Prediction
  • Google Firebase – For hosting the website on the cloud
  • Thingspeak IoT Cloud – For reading and visualizing sensor values
  • Blynk App – Mobile App for reading sensor value

The Prototype Designed

Top View

Side View

Description of Component

Demo Video (Click to Watch)

Watch the video

How to Use

Hardware Code

Refer to the Project Report.pdf file to understand how the code works and how to implement it. The Arduino files have been provided in the Hardware Codes folder. Make sure to install the following libraries in the Arduino IDE:

  • ArduinoJSON Library
  • NodeMCU Library (to provide support for coding the NodeMCU board in the Arduino IDE)

Analytics

Refer to the Project Report.pdf file to understand how the code works. the Notebooks have been provided in the Analytics folder. NOTE: Download the data.csv folder and load the file before running the code.

Website Frontend

In addition, the source code for the website has also been provided to show how the real time data can be monitored in a cloud hosted website. It can be viewed in the Website folder. For details on hosting a website in google firebase, it has been well documented in the firebase website itself.

Quick Links

NOTE: The the prototype isn't powered on currently, and hence you won't be able to view any readings in real time for now.

Contributors

  • V. Shri Sarvesh
  • Adithya Sineesh
  • Balaji K S

About

A mobile IoT based air pollution monitoring solution with future AQI prediction and real time monitoring.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 89.1%
  • C++ 5.2%
  • HTML 5.2%
  • CSS 0.5%