Sends sensor data of the sensors MQ135, CJMCU-8118 and BMP180 into the Azure Cloud to an IoT Hub.
The internal ESP Led flashes every time new data is measured and sent to the cloud. An external RGB LED indicates the range of the measured Co2 value. ("Ok", "Warning", "Critical")
All functions are divided into different tabs in order to be able to work more precisely.
- ESP32MQTTClient
- MQ135
- Adafruit_CCS811_Library (for the CJMCU-8118)
- Adafruit_BMP085_Library (for the BMP180)
Please make sure that the model described is an ESP32 DEVKIT V1.
ESP32 DEVKIT V1 | MQ135 | CJMCU | BMP180 | RGBLed | Comment |
---|---|---|---|---|---|
D4 | R | ||||
RX2 | G | ||||
TX2 | B | ||||
GND | GND | ||||
D22 | SCL | ||||
D21 | SDA | ||||
GND | GND | ||||
3V3 | 3.3 | 3.3 Volt | |||
D22 | SCL | ||||
D21 | SDA | ||||
3V3 | VCC | 3.3 Volt | |||
GND | GND | ||||
GND | WAK | ||||
D34 | A0 | ||||
VIN | VCC | 5.0 Volt | |||
GND | GND |
- MQ135 - Value, Zero, PPM
- CJMCU - Temperature, Co2, TVOC
- BMP180 - Pressure, Altitude, Temperature, Sealevel Altitude, Real Altitude
- An Alert is send to Azure, every Time the Co2 Level changes between "OK", "Warning" and "Critical"
You must ensure that the string to be sent to the IoT Hub does not contain more than 128 Bit.