- 05 May, 2021 3 commits
-
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
* Trying 10s instead. * Adding warning if timestep < 10s Forced calibration should hopefully be more reliable now.
-
- 03 May, 2021 1 commit
-
-
Eric Duminil authored
-
- 01 May, 2021 5 commits
-
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
could be useful, but hasn't been integrated yet.
-
Eric Duminil authored
-
- 30 Apr, 2021 7 commits
-
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
Käppler authored
Ongoing investigation showed that the sensor does report 0 ppm only after startup, i.e. in 'BOOTUP' state. We check for this condition in `hasSensprSettled()` already, so there is no need for this state anymore.
-
Käppler authored
Log every measurement to the serial console, but return only `true` in `processData()`(thus starting further processing like CSV, MQTT, LORAWAN) if the data is reliable (stable measurements, CO2 > 0) or the sensor measures too low CO2 values (< 250). The latter condition should be reported, because the user can then initiate a manual calibration procedure.
-
Käppler authored
-
Käppler authored
Sometimes after a hard reset of the ESP the SCD30 needs a long time until returning the first measurement. Resetting it after startup seems to fix this behaviour.
-
- 29 Apr, 2021 3 commits
-
-
Eric Duminil authored
-
Käppler authored
This state is showed with red waiting LEDs. Previously, the state 'BOOTUP' with blue waiting LEDs was used to show invalid measurements. Use blue waiting LEDs now only during sensor acclimatization.
-
Käppler authored
The SCD30 sensor has a response time of 20 s to reach 67 % of its final reading. The first measurement can thus be unreliable, if the environment changed shortly prior to startup. Set measurement interval to the shortest possible value (2 s) and wait then, until the measurements have stabilized. Show a blue led effect in the meanwhile.
-
- 28 Apr, 2021 1 commit
-
-
Käppler authored
-
- 25 Apr, 2021 4 commits
-
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
- 24 Apr, 2021 7 commits
-
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
Eric Duminil authored
-
- 23 Apr, 2021 9 commits
-
-
Eric Duminil authored
-
Eric Duminil authored
-
Käppler authored
-
Käppler authored
* split state PREPARECALIBRATION into PREPARECALIBRATION_INSTABLE (co2 measurements are changing too much to start calibration) and PREPARECALIBRATION_STABLE (co2 measurements are stable, now waiting for 60 stable measurements) * Handle all possible LED signal states in showState() * drop now unused `waiting_color`
-
Käppler authored
-
Käppler authored
-
Käppler authored
This removes the superfluous bool `should_calibrate`.
-
Käppler authored
Previously, the control flow was determined by a mixture of `if-else`-constructes and premature `return` statements, which made it hard to understand which case occurs when.
-
Käppler authored
-