Skip to content

Commit

Permalink
changed calibration ppm due to https://www.icos-cp.eu/data-products/A…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Rossmann committed Dec 1, 2020
1 parent e7e5b3a commit cb459a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Software/co2ampel/co2ampel.ino
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ void setup()
digitalWrite(GPIO_BUZZER,0);

delay(500);
Serial.println("Start CO2-Ampel");
Serial.print("Start CO2-Ampel Version: ");
Serial.println(VERSION);

configStatus=configManager.readConfig("/config.json");
ledSetBrightnes(configManager.getUintValue("led_brightness", LED_BRIGHTNES));
Expand Down
4 changes: 2 additions & 2 deletions Software/co2ampel/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define CONFIG_H

/******************************* Version **************************************/
#define VERSION 3
#define VERSION 4

/******************************* MQTT **************************************/

Expand Down Expand Up @@ -38,7 +38,7 @@ enum Color {GREEN, YELLOW, RED, BLUE, DARK, WHITE, GREEN2, YELLOW2, RED2};
#define SCD30_CALIBRATION_MIN_RUNTIME 180 //seconds
#define SCD30_MEASUREMENT_INTERVAL 2 // seconds (recalibrate, if you change this value)
#define SCD30_MIN_PPM 350
#define SCD30_CALIBRATION_PPM 410
#define SCD30_CALIBRATION_PPM 450

/******************************* thresholds **************************************/
#define TH_GREEN 800 //overriden by th_green from config.json
Expand Down

0 comments on commit cb459a8

Please sign in to comment.