Skip to content

CO2 Ampel / CO2 Traffic Light to measure and show the carbon dioxide concentration in a room, based on Microchip SAMD21 microcontroller and Sensirion SCD30 sensor

Notifications You must be signed in to change notification settings

ernstkl/CO2-Ampel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

This fork adds the following features

(see also the corresponding branches with commits relative to master which tracks upstream/master)

Support for using the Ampel smoothly without having to frequently check the LED colors

  • Triple short beep (unintrusive) that signals when ventilating can be finished. Criterion is that the CO2 level drops below 500 ppm (middle of blue band). A hysteresis is implemented to block further signaling until CO2 has risen above 600 ppm again.

  • Long-short beep (unintrusive) that signals being close to the buzzer threshold. This signal is given once when CO2 rises to within 100 ppm of the buzzer threshold. So then you have time to start ventilating in time to prevent the buzzer really going loose. With hysteresis at 200 ppm below the buzzer threshold.

Remote start of calibration

  • The 2 min calibration procedure can be triggered via the web interface. The operation is secured by a simple Ampel-specific passcode (see sourcecode for details).

Safe configuration of locally built firmwares

  • There is an include statement for a .h-file which is not tracked in git. This can be used to, e.g., configure the wifi password without the risk of accidentally committing it.

Minimal MQTT client code

  • If an MQTT server name is configured, the plain CO2 value is sent to a device dependent topic as a string. The topic is chosen automatically, similar to the Ampel network name. Configuration of the MQTT server name can be done via the web interface or via a #define statement in the code. There are no other configuration options.

Configure a buzzer threshold increase via the web interface

  • It is often inconvenient when the buzzer suddenly starts. The original firmware (v >= 22) offers the possibility of switching the buzzer off completely via the "service menu".

    As an alternative to that, in this firmware you have the less intrusive option of increasing the buzzer threshold by some amount. You can conveniently do this via the web interface. The increase is configured as a delta. So if you configure, say, 600 ppm, and the original threshold is 1600 ppm, the buzzer will only sound starting at 2200 ppm.

More intense blinking for higher ppm

  • When you have disabled the buzzer or have extended the buzzer threshold there is no more feedback at which ppm level you are - the Ampel will just quietly blink ahead.

    This firmware adds a more intense blinking mode that starts at the original buzzer threshold, say 1600 ppm.


Below is the original README.md

CO2-Ampel

The CO2-Ampel is a traffic light to show the carbon dioxide concentration in a room.

CO2-Ampel

About

CO2 Ampel / CO2 Traffic Light to measure and show the carbon dioxide concentration in a room, based on Microchip SAMD21 microcontroller and Sensirion SCD30 sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.2%
  • C++ 30.8%