CO2 Air Quality Monitor with real time graph

I just finished building a CO2 air quality monitor using a TTGO T4 board and a MH-Z19B sensor.

IMG_20191202_130247.jpg

I had to build the graphing function from scratch as there are no graphing libraries available for the Arduino/ESP32 ecosystem (that I could find).

The monitor supports the following features:

  • CO2 and Temperature monitoring with 100ms updates (faster that the sensor)
  • Real time graph with a 3 hour scrolling cycle
  • Color codes for CO2 concentration levels
  • Auto-scaling graphs

It is pretty much feature complete at the moment. The components are quite expensive but I am happy with the result. For less than $100 it has more functions that more expensive commercial products.

The case, source code and instructions are here: https://github.com/wilyarti/TTGO-T4-Air-Monitor

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s