Skip to content

CO2 status monitor ("CO2-Ampel") based on M5stack Atom (ESP32) and Figaro CDM7160 optical CO2 sensor

License

Notifications You must be signed in to change notification settings

t-pi/M5atom_CO2_status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M5atom_CO2_status

CO2 status monitor ("CO2-Ampel") based on M5stack Atom (ESP32) and Figaro CDM7160 optical CO2 sensor

Program reads out CO2 values via serial interface and sets the M5 Atom's matrix color according to current ppm value:

  • case 0 ... 700: green
  • case 701 ... 956: shift from green to yellow
  • case 957 ... 1211: shift from yellow to red
  • case 1212 ... 1500: red
  • default: violet

If M5 Atom is moved (inertial sensor), the matrix turns white until movement stops or ~1.5s have passed. It then scrolls the current ppm value as text on the matrix display. The orientation for the scrolling text is taken from the inertial sensor. A push on the main button (the LED matrix) adds 90° to the orientation and scrolls the added quadrant value (0 .. 3)

Components

HowTo

  • Platform.io project
  • Connect CDM7160 to +5V, GND, RX = Pin 23, TX = Pin 19 on Atom's backside

About

CO2 status monitor ("CO2-Ampel") based on M5stack Atom (ESP32) and Figaro CDM7160 optical CO2 sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published