Introduction: Indoor Air Quality With Hornbill ESP32

Picture of Indoor Air Quality With Hornbill ESP32

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

Step 1: Parts Needed

Picture of Parts Needed

  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.

Step 2: 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

Step 3: Data Logging at Thing Speak

Picture of Data Logging at Thing Speak

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!

Comments

About This Instructable

801views

5favorites

License:

Bio: We make Embedded Design tools, boards, sensors, peripherals, DIY kits and awesome tutorials. We also help companies and individuals prototype embedded electronics.
Add instructable to: