Table of Contents

Air Quality Monitoring System

Mihaela Florescu - AAC

Project Description

The scope of this project is to create an air quality monitoring system using an ESP32 board and a BMP180 sensor. This system will check some environment parameters such as temperature, pressure, altitude and humidity. These values read by the sensor will be send to a web page.


Hardware Description

In order to develop this project, the following components have been used: ESP32 MCU, BMP180 sensor, breadboard and jumper wires.

ESP32 specifications:

BMP180 senzor specifications:

In order to connect the sensor to the ESP32 board, the following pins need to be linked:


Software Description

The software part of this project is divided in 2 main functions:

 void initWifi()
{
  WiFi.mode(WIFI_STA);
  WiFi.begin(ssid, password);
  Serial.print("Connecting to WiFi ..");
  while (WiFi.status() != WL_CONNECTED)
  {
    Serial.print('.');
    delay(1000);
  }
  Serial.println(WiFi.localIP());
} 
  1. initBmp() - this method initializes the BMP180 sensor
 void initBmp()
{
  if (!bmp.begin()) 
  {
    Serial.println("BMP180 sensor not found");
  }
} 

For the development of this project, the following libraries have been used:

#include <WiFi.h>
#include <Adafruit_BMP085.h>

Conclusion

In conclusion, the scope of this project was to create an air quality monitoring system, by reading some environment parameters such as temperature, pressure, altitude, humidity and send them to a web page.


Bibliography

https://randomnerdtutorials.com/esp32-with-bmp180-barometric-sensor/ https://randomnerdtutorials.com/esp32-web-server-arduino-ide/ https://www.electronicshub.org/getting-started-with-esp32/ https://www.apogeeweb.net/circuitry/bmp180-pinout-feature-specification.html