Introduction: Indoor Air Quality With Hornbill ESP32

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

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:

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

Step 3: 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!

Microcontroller Contest 2017

Participated in the
Microcontroller Contest 2017