adafruit_sgp30

I2C driver for SGP30 Sensirion VoC sensor

  • Author(s): ladyada

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_sgp30.Adafruit_SGP30(i2c, address=88)[source]

A driver for the SGP30 gas sensor.

TVOC

Total Volatile Organic Compound in parts per billion.

baseline_TVOC

Total Volatile Organic Compound baseline value

baseline_eCO2

Carbon Dioxide Equivalent baseline value

eCO2

Carbon Dioxide Equivalent in parts per million

get_iaq_baseline()[source]

Retreive the IAQ algorithm baseline for eCO2 and TVOC

iaq_init()[source]

Initialize the IAQ algorithm

iaq_measure()[source]

Measure the eCO2 and TVOC

set_iaq_baseline(eCO2, TVOC)[source]

Set the previously recorded IAQ algorithm baseline for eCO2 and TVOC

set_iaq_humidity(gramsPM3)[source]

Set the humidity in g/m3 for eCO2 and TVOC compensation algorithm