Skip to content

Commit

Permalink
improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
oseiler2 committed Aug 10, 2022
1 parent a9a0588 commit 00797b3
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 49 deletions.
58 changes: 34 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,40 @@
Inspired by and many thanks to
[make-IoT / CO2-Ampel](https://github.com/make-IoT/CO2-Ampel) and [Umwelt-Campus](https://www.umwelt-campus.de/en/forschung/projekte/iot-werkstatt/translate-to-englisch-ideen-zur-corona-krise)

# Why use a CO2 Monitor?

A large risk of Covid-19 transmission stems from airborne virus particles that can linger in poorly ventilated spaces for hours. This has been recognised by the WHO. To lower the risk of infection, particularly in busier indoor settings, good ventilation and regular air exchange are key.

This is where measuring CO2 levels in rooms can provide a direct and good indication of sufficient ventilation which correlates with reduced viral load and low risk of virus transmission. Good air quality is also important for creating a good learning or work environment.

Poorly ventilated rooms often feel stale and ‘stuffy’, but by the time we can feel that the air quality is already pretty poor; early indications are easily missed. A sensitive and consistent CO2 monitor can accurately measure CO2 levels and display an easy-to-understand and actionable traffic light indication with orange as an indication of worsening air quality and red as a reminder to open a window.

The data collected by the sensors should be logged and made available for further consumption. It can be visualised on a central school/organisation-wide dashboard and used to establish a baseline and understand patterns or identify rooms that are more difficult to ventilate, as well as providing potential alerting or to remotely checking a room before another group uses it.

These CO2 monitors have been tested in collaboration with researchers from the public health department of the University of Otago.

## Resources

- [RNZ interview](https://www.rnz.co.nz/national/programmes/afternoons/audio/2018840570/handyman-dad-builds-units-to-monitor-class-air-quality)
- [The What, How and Why of CO2 Monitoring](https://makezine.com/2021/05/17/the-what-how-and-why-of-co-monitoring/)
- [Ventilation in NZ schools during the Omicron wave – results from a preliminary study](https://blogs.otago.ac.nz/pubhealthexpert/ventilation-in-nz-schools-during-the-omicron-wave-results-from-a-preliminary-study/)
- [Ministry of Education Indoor Air Quality and Thermal Comfort](https://assets.education.govt.nz/public/Documents/Primary-Secondary/Property/Design/Indoor-Air-Quality-and-Thermal-Comfort-V2-v2.0-2022.pdf)
- [What size particle is important to transmission of COVID-19?](https://www.aerosol.mech.ubc.ca/what-size-particle-is-important-to-transmission/)
- [Comparison of Low-Cost Particulate Matter Sensors for Indoor Air Monitoring during COVID-19 Lockdown](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7766947/pdf/sensors-20-07290.pdf)

# Sections

- [PCBs](#pcbs) listing the different PCB designs, [parts list](pcb/CO2%20Monitor%20V0.5%20through-hole/bom.md) and [assembly guide](pcb/CO2%20Monitor%20V0.5%20through-hole/step-by-step.md)
- [Firmware](#firmware) describing the device's software features and how to use them
- [Sensors](#sensors) has more information on the available sensors
- [Calibration](#calibration) has some important information on keeping the readings accurate
- [Hardware](#hardware) has a little more background on the controller and wiring

# PCBs

There are now 2 new PCB designs, one for SMD components and another one solely using easy to solder through-hole components.

## Through hole
## Through hole version

[BOM](pcb/CO2%20Monitor%20V0.5%20through-hole/bom.md)

Expand All @@ -23,7 +54,7 @@ There are now 2 new PCB designs, one for SMD components and another one solely u

![](img/TH-SCD30.jpg)

## SMD
## SMD version

- ESP 32 Devkit (30 pin)
- SCD40 or SCD30 NDIR CO2 sensor
Expand Down Expand Up @@ -54,27 +85,6 @@ There are now 2 new PCB designs, one for SMD components and another one solely u

![](img/Neopixel-feather.jpg)

# Use case

A large risk of Covid-19 transmission stems from airborne virus particles that can linger in poorly ventilated spaces for hours. This has been recognised by the WHO. To lower the risk of infection, particularly in busier indoor settings, good ventilation and regular air exchange are key.

This is where measuring CO2 levels in rooms can provide a direct and good indication of sufficient ventilation which correlates with reduced viral load and low risk of virus transmission. Good air quality is also important for creating a good learning or work environment.

Poorly ventilated rooms often feel stale and ‘stuffy’, but by the time we can feel that the air quality is already pretty poor and early indications are easily missed. A more sensitive and consistent CO2 monitor can accurately measure CO2 levels and display an easy-to-understand and actionable traffic light indication with orange as an indication of worsening air quality and red as a reminder to open a window.

The data collected by the sensors should be logged and made available for further consumption. It can be visualised a central school wide dashboard and used to establish a baseline and understand patterns or identify rooms that are more difficult to ventilate, as well as potentially alerting or to remotely check a room before another group uses it.

These CO2 Monitors have been tested in collaboration with researchers from the public health department of university of Otago.

## Resources

- [RNZ interview](https://www.rnz.co.nz/national/programmes/afternoons/audio/2018840570/handyman-dad-builds-units-to-monitor-class-air-quality)
- [The What, How and Why of CO2 Monitoring](https://makezine.com/2021/05/17/the-what-how-and-why-of-co-monitoring/)
- [Ventilation in NZ schools during the Omicron wave – results from a preliminary study](https://blogs.otago.ac.nz/pubhealthexpert/ventilation-in-nz-schools-during-the-omicron-wave-results-from-a-preliminary-study/)
- [Ministry of Education Indoor Air Quality and Thermal Comfort](https://assets.education.govt.nz/public/Documents/Primary-Secondary/Property/Design/Indoor-Air-Quality-and-Thermal-Comfort-V2-v2.0-2022.pdf)
- [What size particle is important to transmission of COVID-19?](https://www.aerosol.mech.ubc.ca/what-size-particle-is-important-to-transmission/)
- [Comparison of Low-Cost Particulate Matter Sensors for Indoor Air Monitoring during COVID-19 Lockdown](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7766947/pdf/sensors-20-07290.pdf)

# Firmware

[![PlatformIO CI](https://github.com/oseiler2/CO2Monitor/actions/workflows/pre-release.yml/badge.svg)](https://github.com/oseiler2/CO2Monitor/actions/workflows/pre-release.yml)
Expand Down Expand Up @@ -308,7 +318,7 @@ Other I2C based sensors can be wired using the JST-PH I2C header.

CO2 sensors need to be regularly calibrated to provide reliable measurements. The used sensors support auto-calibration and that is enabled in the firmware. It works by looking over measurements over a period and calibrating the lowest value against 420ppm (configurable in the firmware). This is based on the assumption that the monitor 'sees' clean outside air about once a week. If that cannot be achieved the firmware also allows for a forced calibration against a given value. Please also make sure to set the altitude setting according to the monitor location. For details please check the sensor's datasheets.

### From v1.2.4
## From v1.2.4

Manual calibration can be triggered by pressing the `Boot` button for more than 5 seconds. Make sure the monitor has been exposed to fresh outside air for a while and be carful not to breathe towards the monitor when doing this.

Expand Down
12 changes: 6 additions & 6 deletions pcb/CO2 Monitor V0.5 through-hole/bom.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

[Assembly guide](./step-by-step.md)

| component | description | part # | amount | indicative cost (NZD ex GST) | link | alt link |
| Component | Description | Part # | Amount | Indicative cost (NZD ex GST) | Supplier | Alternative supplier |
| -------------- | ----------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------ | ---------------------------- | --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| PCB | | | 1 | $2.00 | [JLCPCB](https://cart.jlcpcb.com/quote) | [Seeed](https://www.seeedstudio.com/fusion_pcb.html) |
| U1 | ESP32 DevKitV1 (30 pin) | ESP-32 30PIN | 1 | $5.00 | [AliExpress](https://www.aliexpress.com/item/32864722159.html) | |
| U2 | SCD30 CO2 NDIR sensor | | 1 | $50-116 | [DigiKey](https://www.digikey.co.nz/en/products/detail/sensirion-ag/SCD30/8445334) | [AliExpress](https://www.aliexpress.com/item/1005002467019989.html) |
| | pin header (SIL 7) | | 1 | $0.67 | [DigiKey](https://www.digikey.co.nz/en/products/detail/harwin-inc/M20-9770846/3727783) | [Element14](https://nz.element14.com/harwin/m20-9770846/conn-header-8pos-1row-2-54mm/dp/3756340) |
| U3 | SSD1306 OLED display | 0.96 inch oled IIC Display Module 128X64 SSD1306 | 1 (optional) | $2.50 | [AliExpress](https://www.aliexpress.com/item/32896971385.html) | |
| D1 | red led | HLMP-EG3A-WX0DD | 1 | $1.65 | [DigiKey](https://www.digikey.co.nz/en/products/detail/broadcom-limited/HLMP-EG3A-WX0DD/3909242) | [Element14](https://nz.element14.com/cree/lc503fpg1-30q-a3-00001/led-5mm-green/dp/1648988) |
| D2 | yellow led | HLMP-EL3G-VX0DD | 1 | $1.47 | [DigiKey](https://www.digikey.co.nz/en/products/detail/broadcom-limited/HLMP-EL3G-VX0DD/10511912) | [Element14](https://nz.element14.com/broadcom-limited/hlmp-el3g-vx0dd/led-amber-9-3cd-590nm-th/dp/2900814) |
| D3 | green led | LC503FPG1-30Q-A3-00001 | 1 | $0.40 | [DigiKey](https://www.digikey.co.nz/en/products/detail/creeled-inc/C503B-GCN-CY0C0791/1922940) | [Element14](https://nz.element14.com/cree/lc503fpg1-30q-a3-00001/led-5mm-green/dp/1648988) |
| U3 | SSD1306 OLED display | 0.96 inch OLED IIC Display Module 128X64 SSD1306 | 1 (optional) | $2.50 | [AliExpress](https://www.aliexpress.com/item/32896971385.html) | |
| D1 | red LED | HLMP-EG3A-WX0DD | 1 | $1.65 | [DigiKey](https://www.digikey.co.nz/en/products/detail/broadcom-limited/HLMP-EG3A-WX0DD/3909242) | [Element14](https://nz.element14.com/cree/lc503fpg1-30q-a3-00001/led-5mm-green/dp/1648988) |
| D2 | yellow LED | HLMP-EL3G-VX0DD | 1 | $1.47 | [DigiKey](https://www.digikey.co.nz/en/products/detail/broadcom-limited/HLMP-EL3G-VX0DD/10511912) | [Element14](https://nz.element14.com/broadcom-limited/hlmp-el3g-vx0dd/led-amber-9-3cd-590nm-th/dp/2900814) |
| D3 | green LED | LC503FPG1-30Q-A3-00001 | 1 | $0.40 | [DigiKey](https://www.digikey.co.nz/en/products/detail/creeled-inc/C503B-GCN-CY0C0791/1922940) | [Element14](https://nz.element14.com/cree/lc503fpg1-30q-a3-00001/led-5mm-green/dp/1648988) |
| R1,R2 | 4.7 kOhm resistor | | 2 | $0.17 | [DigiKey](https://www.digikey.co.nz/en/products/detail/stackpole-electronics-inc/CF14JT4K70/1741428) | |
| R3, R4, R5 | 10 kOhm resistor | | 3 | $0.17 | [DigiKey](https://www.digikey.co.nz/en/products/detail/stackpole-electronics-inc/CF14JT10K0/1741265) | |
| R6, R7 | 51 Ohm resistor | | 2 | $0.17 | [DigiKey](https://www.digikey.co.nz/en/products/detail/koa-speer-electronics-inc/CF1-4CT52R510J/13537362) | |
Expand All @@ -27,6 +27,6 @@
| 15mm stand off | 3.2mm ID, 5mm OD, 15mm length | | 4 | $0.32 | [DigiKey](https://www.digikey.co.nz/en/products/detail/essentra-components/13ME024/11638316) | [Element14](https://nz.element14.com/duratool/d01479/pcb-round-spacer-nylon66-natural/dp/1733409) |
| Power Supply | old USB-A phone charger | | 1 | | | |
| USB cable | micro USB or USB-B | | 1 | | | |
| diffusor film | 2x3 cm | e.g. window film to diffuse the lights and make them less direct | 1 | | Hardware store (can be bought by the meter) | |
| diffusor film | 2x3 cm | e.g. window film to diffuse the lights and make them less direct | 1 | | Hardware store (can be bought by the metre) | |

![](bom.jpg)
Loading

0 comments on commit 00797b3

Please sign in to comment.