Build a simple device that warns if CO₂ concentration in a room becomes a risk for COVID-19 aerosol infections.
Build a simple device that warns if CO₂ concentration in a room becomes a risk for COVID-19 aerosol infections.
This project was heavily inspired by ideas from Umwelt-Campus Birkenfeld.
You can also find a good overview of the topic by Rainer Winkler here: Recommendations for use of CO2 sensors to control room air quality during the COVID-19 pandemic.
LED color | CO₂ concentration |
---|---|
Green ("all good") | < 800 ppm |
Yellow ("open windows") | 800 – 1000 ppm |
Red ("leave room") | > 1000 ppm |
Based on a Recommendation from the REHVA (Federation of European Heating, Ventilation and Air Conditioning associations, rehva.eu) for preventing COVID-19 aerosol spread, especially in schools.
You can read current levels and a simple graph for the last hour by connecting to the WiFi coro2sens
that is created.
Most devices will open a captive portal, immediately showing the data. You can also open http://10.0.0.1/
in a browser.
ESP8266 pin | ESP32 pin | goes to |
---|---|---|
3V3 | 3V3 | SCD30 VIN, BME280 VIN |
5V | 5V | LED +5V |
GND | GND | SCD30 GND, BME280 GND, LED GND, Buzzer (-) |
SCL / D1 | SCL / GPIO 22 | SCD30 SCL, BME280 SCL |
SDA / D2 | SDA / GPIO 21 | SCD30 SDA, BME280 SDA |
GPIO 0 / D3 | GPIO 16 | LED DIN |
GPIO 14 / D5 | GPIO 19 | Buzzer (+) |
esp12e
for ESP8266 / esp32dev
for ESP32) and run / upload.pio run -t -e esp12e upload
for ESP8266.pio run -t -e esp32dev upload
for ESP32.coro2sense.ino
in the coro2sens
sub folder in your Arduino IDE.esp8266
or esp32
.SparkFun BME280
FastLED
SparkFun SCD30 Arduino Library
SparkFun BME280
FastLED
Please let me know of any issues you might encounter (open a GitHub issue or write me on twitter.com/kmetz or [email protected]). Also, I'd be for hire for customizations.