Indoor Air Quality With Hornbill ESP32

by ExploreEmbedded in Circuits > Arduino

4972 Views, 16 Favorites, 0 Comments

Indoor Air Quality With Hornbill ESP32

0_iaq_esp32.jpeg

Have you ever wondered about the quality of Air you breath? What affects the air quality? Can you measure it and prevent it from degrading. In this tutorial we will look at measuring the following parameters that determine the quality of Indoor Air

  1. Temperature in degree Celsius
  2. Humidity in Percentage
  3. Carbon Dioxide(CO2) equivalents in Parts per Million ppm
  4. Total Volatile Organic Componds (TVOC) in Parts per Billion ppb

ESP32 is the latest WiFi, Bluetooth and Dual Processor chip with great features. If you don't have one, get one at our crowdfunding campaign at a very good price:

https://www.crowdsupply.com/explore-embedded/hornbill

Parts Needed

Iaq_schematic.png

  1. Hornbill ESP32 Dev Board (or any other ESP32 based board)
  2. Hornbill Proto Board
  3. AMS iAQCore
  4. Temperature, Humidity Sensor (SHT31)
  5. OLED Display (optional)

The parts are connected as shown in the schematic.

Code

Indestructible code formatting is broken, so find the Arduino Code with the link below:

https://gist.github.com/Xplorer001/00ebd5017c5c1cacfaefd592b78b98ca#file-iaq_v_0_1-ino

Data Logging at Thing Speak

iaq_log_1.JPG
iaq_log_2.JPG

To log data to thingspeak, you'll have to create an account and additionally create 4 channels to log each of the parameters. There are numerous tutorials on creating thing speak channels. Do comment below if you need any help!