pimoroni / EnviroPlus-FeatherWing

CircuitPython library for the Enviro+ FeatherWing
https://shop.pimoroni.com/products/enviro-plus-featherwing
MIT License
10 stars 11 forks source link

Two new example programs to plot CO2 data from Sensirion SCD-30 using Adafruit libraries #26

Closed kevinjwalters closed 2 years ago

kevinjwalters commented 3 years ago

Two new programs for #25 to plot CO2 from (Adafruit) Sensirion SCD-30 using https://github.com/adafruit/Adafruit_CircuitPython_SCD30 library.

The combined one is a new file rather put all the functionality into plotters_combined.py as that's getting a little large in memory usage terms and SCD-30 users are probably in the minority.

Tested on a Feather nRF52840 Express running 6.2.0 and brand new Enviro+ FeatherWing: Plotting Carbon Dioxide concentration with Enviro+ FeatherWing and Sensirion SCD-30 NDIR Sensor (YouTube).

https://github.com/pimoroni/EnviroPlus-FeatherWing/pull/26/commits/288953d6001538370d0e829b3f4828a81c74e31c is same type of bugfix as https://github.com/pimoroni/EnviroPlus-FeatherWing/pull/24/commits/0c2cf96455fc9a396bd7e444d476503bfd2230c6

kevinjwalters commented 3 years ago

I'll update the REFERENCE.md file when #20 is approved and applied.

kevinjwalters commented 3 years ago

The SCD-30 library supports passing the pressure and since this is available from the BME280 I added that to plotters_combined_with_scd30.py.

kevinjwalters commented 3 years ago

Can be seen in action on Instructables: Plotting Carbon Dioxide Levels With the Pimoroni Enviro+ FeatherWing and Adafruit SCD-30.

Gadgetoid commented 2 years ago

Again, sorry for the radio silence here. This effort is very, very much appreciated.