Closed bellahenkel closed 11 months ago
@aufdenkampe This is the most updated version of the CO2 sensor code. I just tested it quickly and it works as I would expect.
@bellahenkel, awesome! I'll take a close look and come up with a plan to refactor it into a stand-alone sub-package that we can #include
and leverage in other code.
This is the updated CO2 sensor code. Updates include:
-I cleaned it up quite a bit and added some comments for readability.
-updated the formula used to convert the voltage drop from the sensor to ppm of CO2. It should be more accurate with this newer formula.
-CO2 data now saves to the SD card with timestamp.