ericklein / air_quality

displays and logs local indoor and outdoor weather and air quality information
MIT License
0 stars 0 forks source link

SCD40 temperature calibration #19

Closed ericklein closed 2 years ago

ericklein commented 2 years ago

SCD40 is samping ~ 4F higher than external sensor sitting next to it. Need to check with calibrated sensor to determine which sensor is inaccurate, and if SCD40, look for calibration API

ericklein commented 2 years ago

Look at setSensorAltitude() and/or setAmbientPressure()

ericklein commented 2 years ago

implemented setSensorAltitude() and it is in testing

ericklein commented 2 years ago

scd40 branch implemented setSensorAltitude() and a power management change, but I'm not sure the current code has any other calibration issues that can be addressed in software.

From Sparkfun site: "Note: The SCD40 has an automatic self-calibration routine. Sensirion recommends 7 days of continuous readings with at least 1 hour a day of 'fresh air' for self-calibration to complete."

We could also look at case design, but I don't think there is a significant issue?