This shows you the differences between two versions of the page.
iothings:proiecte:2021:airqualitymonitoringsystem [2022/01/27 21:41] mihaela.florescu |
iothings:proiecte:2021:airqualitymonitoringsystem [2022/01/27 22:05] (current) mihaela.florescu |
||
---|---|---|---|
Line 17: | Line 17: | ||
In order to develop this project, the following components have been used: ESP32 MCU, BMP180 sensor, breadboard and jumper wires. | In order to develop this project, the following components have been used: ESP32 MCU, BMP180 sensor, breadboard and jumper wires. | ||
* **ESP32** is a low-power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth. | * **ESP32** is a low-power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth. | ||
- | * **BMP180** is an atmospheric sensor. It is ideal for measuring temperature, pressure, altitude and humidity. It is low power consumption (3uA) and can work on low voltages. The sensor used for this project has 4 pins: VCC, GND and I2C Interface pins - SDA (Serial Data pin) and SCL (Serial Clock pin) | + | * **BMP180** is an atmospheric sensor. It is ideal for measuring temperature, pressure, altitude and humidity. It is low power consumption (3uA) and can work on low voltages. The sensor used for this project has 4 pins: VCC, GND and I2C Interface pins - SDA (Serial Data pin) and SCL (Serial Clock pin). |
ESP32 specifications: | ESP32 specifications: | ||
- | - Single or Dual-Core 32-bit LX6 Microprocessor with clock frequency up to 240 MHz. | + | * Single or Dual-Core 32-bit LX6 Microprocessor with clock frequency up to 240MHz. |
- | - 520 KB of SRAM, 448 KB of ROM and 16 KB of RTC SRAM. | + | * 520 KB of SRAM, 448 KB of ROM and 16 KB of RTC SRAM. |
- | - Supports 802.11 b/g/n Wi-Fi connectivity with speeds up to 150 Mbps. | + | * Supports 802.11 b/g/n Wi-Fi connectivity with speeds up to 150 Mbps. |
- | - Support for both Classic Bluetooth v4.2 and BLE specifications. | + | * Support for both Classic Bluetooth v4.2 and BLE specifications. |
- | - 34 Programmable GPIOs. | + | * 34 Programmable GPIOs. |
BMP180 senzor specifications: | BMP180 senzor specifications: | ||
- | - Operating voltage: 1.3V – 3.6V | + | * Operating voltage: 1.3V – 3.6V |
- | - Input voltage: 3.3V to 5.5V | + | * Input voltage: 3.3V to 5.5V |
- | - Peak current: 1000uA | + | * Peak current: 1000uA |
- | - Consumes 0.1uA standby | + | * Consumes 0.1uA standby |
- | - Maximum voltage at SDA, SCL : VCC + 0.3V | + | * Maximum voltage at SDA, SCL : VCC + 0.3V |
- | - Operating temperature: -40ºC to +80ºC | + | * Operating temperature: -40ºC to +80ºC |
{{:iothings:proiecte:2021:air_quality_monitoring.jpg?300|}} | {{:iothings:proiecte:2021:air_quality_monitoring.jpg?300|}} | ||
Line 82: | Line 82: | ||
* **Adafruit_BMP085.h** - it is used to initialise the BMP180 sensor and read the temperature, pressure, humidity parameters. For reading these parameters, the following methods from this library have been used: **readTemperature()**, **readPresure()**, **readHumidity**. | * **Adafruit_BMP085.h** - it is used to initialise the BMP180 sensor and read the temperature, pressure, humidity parameters. For reading these parameters, the following methods from this library have been used: **readTemperature()**, **readPresure()**, **readHumidity**. | ||
- | <code> | + | <code>#include <WiFi.h> |
- | #include <WiFi.h> | + | |
#include <Adafruit_BMP085.h> | #include <Adafruit_BMP085.h> | ||
</code> | </code> |