co2-monitor icon indicating copy to clipboard operation
co2-monitor copied to clipboard

Arduino based CO2 level sensor and data logger

CO2 monitor

Version 2.0 of my homemade CO2 monitor uses the SCD-30 sensor and multiple adafruit's feather boards. Every 30 seconds data is logged on to an SD-Card. With classrooms being a source of COVID-19 outbreaks I wanted to make use of C02 level readings to gauge how well a classroom with 27 kids might be ventilated.

One full school day Front Back As pendant The Arduino for the feather M4 express reads and records the CO2 levels, temperature, relative humidity, current time, and battery voltage.

The repo also includes the macOS numbers file i used to make the data graph, as well as an exported file from numbers to excel. And here is a google sheet (but without the temperature plot)

Libraries used

  • Adafruit_SCD30.h
  • Adafruit_SSD1306.h
  • SPI.h
  • SD.h
  • RTClib.h

Bill Of Materials

  1. Adafruit SCD-30 - NDIR CO2
  2. Feather M4 Express
  3. Battery - 3.7v 2000mAh
  4. FeatherWing 128x32 OLED
  5. Qwiic JST SH 4-Pin Cable
  6. Adalogger FeatherWing - RTC + SD Add-on
  7. 8 GB sd card
  8. CR1220 3V Coin Cell Battery
  9. Quad 2x2 FeatherWing Kit

Tutorials used

  • https://learn.adafruit.com/adafruit-scd30
  • https://learn.adafruit.com/adafruit-oled-featherwing/download
  • https://learn.adafruit.com/adafruit-adalogger-featherwing