adafruit_sgp30

I2C driver for SGP30 Sensirion VoC sensor

  • Author(s): ladyada
class adafruit_sgp30.Adafruit_SGP30(i2c, address=<sphinx.ext.autodoc._MockObject object>)[source]

A driver for the SGP30 gas sensor.

get_iaq_baseline()[source]

Retreive the IAQ algorithm baseline for CO2eq and TVOC

iaq_init()[source]

Initialize the IAQ algorithm

iaq_measure()[source]

Measure the CO2eq and TVOC

set_iaq_baseline(co2eq, tvoc)[source]

Set the previously recorded IAQ algorithm baseline for CO2eq and TVOC