SCD30 class
SCD30 CO₂ & Temperature & Humidity Sensor
See for more
- SCD30 example code
- Source code
- Datasheet
- Technical resource seedstudio
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- i2c → I2C
-
final
- i2cAddress → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAltitudeCompensation(
) → int - Returns the altitude compensation.
-
getCommandValue(
Command command) → int -
Returns the value for a
Command -
getFirmwareVersion(
) → int - Returns the firmware version.
-
getForcedRecalibrationFactor(
) → int - Returns the forced recalibration factor.
-
getMeasurementInterval(
) → int - Returns the measurement interval in secounds.
-
getTemperatureOffset(
) → int - Returns the temperature offset.
-
getValues(
) → SCD30result - Returns a SCD30result with CO₂, temperature, and humidity.
-
isAutoSelfCalibration(
) → bool - Returns if auto self calibration is enabled.
-
isDataAvailable(
) → bool - Checks if data is available
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readRegister(
Command command) → int -
Reads a word from a
commandregister. -
reset(
) → void - SCD30 soft reset
-
sendCommand(
Command command, int argument) → void -
Sends a
commandwith anargument. -
sendCommandNoArg(
Command command) → void -
setAltitudeCompensation(
int altitude) → void -
Sets the
altitudecompensation. -
setAmbientPressure(
int pressureMillibar) → void -
Sets the pressure compenstation. This is passed during measurement startup.
pressureMillibarcan be 700 to 1200 -
setAutoSelfCalibration(
bool enable) → void - Enables or disables the auto self calibration.
-
setForcedRecalibrationFactor(
int concentration) → void - Sets the forced recalibration factor. See 1.3.7. The reference CO2 concentration has to be within the range 400 ppm ≤ cref(CO2) ≤ 2000 ppm.
-
setMeasurementInterval(
int interval) → void -
Sets
intervalbetween measurements -
setTemperatureOffset(
int offset) → void -
Sets the temperature
offset. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited