Skip to main content

Module command

Module command 

Source
Expand description

The command words (Table 9), 16 bits each, most significant byte first, with no CRC after the command itself.

Constantsยง

GET_AUTOMATIC_SELF_CALIBRATION_ENABLED
Read whether automatic self-calibration is enabled.
GET_DATA_READY_STATUS
Read the data ready word; see super::data_ready.
GET_SENSOR_ALTITUDE
Read the sensor altitude, in metres above sea level.
GET_SERIAL_NUMBER
Read the 48-bit serial number; see super::serial_number.
GET_TEMPERATURE_OFFSET
Read the temperature offset word; see super::temperature_offset_milli_celsius.
MEASURE_SINGLE_SHOT
Take one CO2, humidity, and temperature measurement (SCD41 only).
MEASURE_SINGLE_SHOT_RHT_ONLY
Take one humidity and temperature measurement, CO2 reads 0 (SCD41 only).
PERFORM_FACTORY_RESET
Reset the EEPROM configuration and erase the calibration history.
PERFORM_FORCED_RECALIBRATION
Recalibrate against a reference CO2 concentration and fetch the correction.
PERFORM_SELF_TEST
Run the end-of-line self-test; see super::self_test_passed.
PERSIST_SETTINGS
Store the current configuration in EEPROM.
POWER_DOWN
Put the sensor from idle into sleep (SCD41 only).
READ_MEASUREMENT
Read the CO2, temperature, and humidity words of the latest measurement.
REINIT
Reload user settings from EEPROM.
SET_AMBIENT_PRESSURE
Write the ambient pressure word; see super::ambient_pressure_word.
SET_AUTOMATIC_SELF_CALIBRATION_ENABLED
Enable (1) or disable (0) automatic self-calibration.
SET_SENSOR_ALTITUDE
Write the sensor altitude, in metres above sea level.
SET_TEMPERATURE_OFFSET
Write the temperature offset word; see super::temperature_offset_word.
START_LOW_POWER_PERIODIC_MEASUREMENT
Start low power periodic measurement, one reading about every 30 seconds.
START_PERIODIC_MEASUREMENT
Start periodic measurement, one reading every 5 seconds.
STOP_PERIODIC_MEASUREMENT
Stop periodic measurement and return to idle.
WAKE_UP
Wake the sensor from sleep into idle; not acknowledged (SCD41 only).