SGP30 class
Sensirion eCO2 gas sensor, an air quality detection sensor.
See for more
- SGP30 example code
- Source code
- Datasheet
- This implementation is derived from project DIOZero
Constructors
Properties
Methods
-
getFeatureSetVersion(
) → FeatureSetVersion - Returns the internal features.
-
getIaqBaseline(
) → SGP30result - Returns the baseline.
-
getSerialId(
) → int - Returns the sensor serial ID.
-
getTvocInceptiveBaseline(
) → int - Returns the baseline as an int value.
-
iaqInit(
) → void - Initializes the sensor for measurement.
-
isInitialized(
) → bool - Checks if the sensor is initialized for measurement.
-
measureIaq(
) → SGP30result - Returns the co2Equivalent and totalVOC measurement.
-
measureRaw(
) → RawMeasurement - Returns the H2 and Ethanol measurement.
-
measureTest(
) → void - Performs an internal test. DO NOT call this method after SGP30.iaqInit because this test resets the sensor initialization!
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setHumidityCompensation(
int humidity) → void - Sets the absolute humidity for internal humidity compensation.
-
setIaqBaseline(
SGP30result baseline) → void - Sets the baseline of the sensor.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited