This is an old revision of the document!
Mihaela Florescu - AAC
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 environmental parameters such as temperature, pressure, altitude and humidity. These values read by the sensor will be send to a web page.
In order to develop this project, the following components have been used: ESP32 MCU, BMP180 sensor, breadboard and jumper wires.
In order to connect the sensor to the ESP32 board, the following pins need to be linked:
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()); }
void initBmp() { if (!bmp.begin()) { Serial.println("BMP180 sensor not found"); } }
For the development of this project, the following libraries have been used:
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.