Patch for testing sensor. Run in debug mode.
An example of displaying the output from an SCD30 sensor on a text LCD screen.
Demonstrates configuration of SCD30 device. Here we configure the following settings: (1) auto self-calibration ; (2) temperature offset; (3) altitude compensation; and (4) measurement interval. Run in debug mode.
Initializes SCD30 device.
Reads carbon dioxide concentration (ppm), relative humidity (%) and temperature (°C).
Create SCD30 device.
Measurements of carbon dioxide concentration based on the non-dispersive infrared (NDIR) principle are influenced by altitude. Use this node to set the altitude compensation of the SCD30. The altitude compensation setting is disregarded when an ambient pressure is given to the sensor. Altitude value is saved in non-volatile memory. The last set value will be used for altitude compensation after repowering.
Measurements of carbon dioxide concentration based on the non-dispersive infrared (NDIR) principle are influenced by ambient pressure. Use this node to set the ambient pressure compensation of the SCD30. Ambient pressure value is saved in non-volatile memory. The last set value will be used for ambient pressure compensation after repowering. Setting the ambient pressure will overwrite previous and future settings of altitude compensation. Setting the MBAR input to zero will deactivate the ambient pressure compensation.
(De-)activate automatic self calibration (ASC). When activated for the first time a period of minimum 7 days is needed so that the algorithm can find its initial parameter set for ASC. The successfully calculated parameters are stored in non-volatile memory of the SCD30 having the effect that after a restart the previously found parameters for ASC are still present. The ASC parameters are continually updated as the sensor runs. Finding a new parameter set by ASC will always overwrite the settings from set-forced-recalibration-factor and vice-versa.
Forced recalibration (FRC) is used to compensate for sensor drifts when a reference value of the CO2 concentration of the air surrounding the SCD30 is available. For best results, the sensor has to be run in a stable environment in continuous mode at a measurement rateof 2s for at least two minutes before triggering this node. Setting a reference CO2 concentration using this node will always supersede corrections from set-auto-self-calibration and vice-versa. The reference CO2 concentration has to be within the range 400 to 2000 ppm.
Set interval between measurements. The measurement interval is saved in non-volatile memory.
The on-board relative humidity and temperature sensors are influenced by thermal self-heating of SCD30 and other electrical components. A temperature offset can be specified to compensate for self-heating. Temperature offset value is saved in non-volatile memory. The last set value will be used for temperature offset compensation after repowering.
Combines lower level nodes to create a ready to use sensor.