Skip to content

Sends sensor data of the sensors MQ135, CJMCU-8118 and BMP180 into the Azure Cloud to an IoT Hub.

Notifications You must be signed in to change notification settings

fheinke/ESP32-with-AzureIoT-MQ135-CCS811-BMP180

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

ESP32 with AzureIoT, MQ135, CJMCU-8118 and BMP180

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.

Used Librarys:

  • ESP32MQTTClient
  • MQ135
  • Adafruit_CCS811_Library (for the CJMCU-8118)
  • Adafruit_BMP085_Library (for the BMP180)

Pinout:

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

Data to Azure:

  • 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.

About

Sends sensor data of the sensors MQ135, CJMCU-8118 and BMP180 into the Azure Cloud to an IoT Hub.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages