/realtime_co2

Realtime co2 monitor

Primary LanguageC++MIT LicenseMIT

Realtime CO2 monitor

Purpose

Realtime CO2 (aka rco2) samples and displays temperature, humidity, and CO2 (carbon dioxide) levels. It can log this data to a number of network endpoints.

Features

Target configuration

  • Important access settings like WiFi SSID and password, ThingSpeak keys, and InfluxDB credentials are contained in a secrets.h file that is not included in this repo. Instead you'll find the file secrets_template.h, which should be copied to secrets.h and then edited to supply the right access credentials and configuration values to match your deployment environment.
  • See config.h for parameter configuration

Bill of Materials (BOM)

Pinouts

  • Optional LC709203F
    • Stemma QT cable between MCU board and LC709203F board
    • Battery connected to LC709203F board
    • Power connector between LC709203F board and MCU board
    • 10K thermistor between thermistor pin and ground pin on LC709203F board (required to measure battery temperature)
  • SPDT switch (on/off)
    • MCU EN to SPD rightmost pin
    • MCU GND to SPD
  • SCD40
    • Stemma QT cable between MCU board and SCD40 board
  • EPD screen
    • EPD VIN to MCU 3V
    • EPD GND to MCU GND
    • EPD SCK to MCU SCK
    • EPD MISO to MCU MISO
    • EPD MOSI to MCU MOSI
    • see config.h for these pins
      • EPD ECS
      • EPD D/C
      • EPD SRCS
      • EPD RST
      • EPD BUSY

Supported Internet Services for data logging

  • The routines that post data to back end services are generalized as much as practical, though do need to be customized to match the data fieles of interest both within the scope of the project and based on what users want to report and monitor. Configuration values in config.h help with basic customization, e.g. name of the device, tags to use for Influx data, though in some cases code may need to be modified in the associated post routine.

  • MQTT Broker

  • Influx

  • DWEET

Information Sources

Issues and Feature Requests

  • See GitHub Issues for project

.plan (big ticket items)

  • WiFI Manager support
  • OTA Firmware update