SENSIRION SCD30 Interface Description

SENSIRION SCD30 Interface Description

Sensor module

Advertisement

Quick Links

Interface Description Sensirion SCD30 Sensor Module
CO
, humidity, and temperature sensor
2
▪ NDIR CO
sensor technology
2
▪ Integrated temperature and humidity sensor
▪ Best performance-to-price ratio
▪ Dual-channel detection for superior stability
▪ Small form factor: 35 mm x 23 mm x 7 mm
▪ Accuracy CO
2
▪ Fully calibrated with digital interface UART or I
Contents
1
1.1
1.2
1.3
1.4
2
2.1
2.2
2.3
www.sensirion.com
sensor: ± (30 ppm + 3%)
Version 0.93 - D1 - December 2018
C
2
1/19

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SCD30 and is the answer not in the manual?

Questions and answers

Summary of Contents for SENSIRION SCD30

  • Page 1: Table Of Contents

    Interface Description Sensirion SCD30 Sensor Module , humidity, and temperature sensor ▪ NDIR CO sensor technology ▪ Integrated temperature and humidity sensor ▪ Best performance-to-price ratio ▪ Dual-channel detection for superior stability ▪ Small form factor: 35 mm x 23 mm x 7 mm ▪...
  • Page 2: Digital Interface Description

    Digital interface description The SCD30 digital interface is compatible with the I2C protocol and the Modbus protocol. For selecting Modbus protocol, the SEL pin needs to be pulled to VDD Voltage. Please refer to datasheet. 1.1 I2C Protocol Maximal I2C speed is 100 kHz and the master has to support clock stretching. Clock stretching period in write- and read- frames is 12 ms, however, due to internal calibration processes a maximal clock stretching of 150 ms may occur once per day.
  • Page 3 Example: Trigger continuous measurement (Pressure = 0mBar) START 0xC2 0x00 0x10 0x00 0x00 0x81 STOP (Red: Write Header; Blue: Read Header; Black: Data; Green: CRC; Start Condition: START; Stop Condition: STOP) www.sensirion.com Version 0.93 – D1 – December 2018 3/19...
  • Page 4 0x8C 0x2E 0x8F 0x41 0xD9 0x70 0xE7 0xFF 0xF5 0x42 0x43 0xBF 0x3A 0x1B 0x74 STOP (Red: Write Header; Blue: Read Header; Black: Data; Green: CRC; Start Condition: START; Stop Condition: STOP) www.sensirion.com Version 0.93 – D1 – December 2018 4/19...
  • Page 5 Preceding Command Value Name CRC-8 Protected Data read data Width 8 bits Polynomial 0x31 (x + 1) Initialization 0xFF Reflect Input false Reflect Output false Final XOR 0x00 Example CRC(0xBEEF) = 0x92 www.sensirion.com Version 0.93 – D1 – December 2018 5/19...
  • Page 6: Modbus Protocol

    Read input registers Write single holding register 1.3 Sensor commands The command set of the SCD30 is defined as follows. All commands are available via Modbus and I2C. Trigger continuous measurement with optional ambient pressure compensation Stop continuous measurement Set measurement interval...
  • Page 7 1.3.3, initial measurement rate is 2s. Continuous measurement status is saved in non-volatile memory. When the sensor is powered down while continuous measurement mode is active SCD30 will measure continuously after repowering without sending the measurement command. The CO measurement value can be compensated for ambient pressure by feeding the pressure value in mBar to the sensor.
  • Page 8 Set measurement interval Sets the interval used by the SCD30 sensor to measure in continuous measurement mode (see chapter 1.3.1). Initial value is 2 s. The chosen measurement interval is saved in non-volatile memory and thus is not reset to its initial value after power up.
  • Page 9 No. of Content Content Address Code Bytes 0x61 0x03 0x02 0x00 0x01 0xF9 0x8C I2C: SDA is controlled by the I2C master in clear blocks and by the sensor in dark blocks. www.sensirion.com Version 0.93 – D1 – December 2018 9/19...
  • Page 10 LMSB LLSB MLSB LMSB 0x41 0xD9 0xE7 0xFF 0x42 0x43 0x3A 0x1B 0x50 0x07 SDA is controlled by the I2C master in clear blocks and by the sensor in dark blocks. www.sensirion.com Version 0.93 – D1 – December 2018 10/19...
  • Page 11 Word4: Humidity MSW 0x002C has to be finished before read-out. Word5: Humidity LSW 0x002D Table 3: Modbus data read-out table. Example: The CO concentration 400 ppm corresponds to 0x43c80000 in Big-Endian notation. www.sensirion.com Version 0.93 – D1 – December 2018 11/19...
  • Page 12 (see chapter 0) and vice-versa. The feature is switched off by default. To work properly SCD30 has to see fresh air on a regular basis. Optimal working conditions are given when the sensor sees fresh air for one hour every day so that ASC can constantly re-calibrate.
  • Page 13 SCD30 is available. For best results, the sensor has to be run in a stable environment in continuous mode at a measurement rate of 2s for at least two minutes before applying the FRC command and sending the reference value. Setting a reference CO concentration by the method described here will always supersede corrections from the ASC (see chapter 1.3.5)
  • Page 14 1.3.6 Set Temperature Offset The on-board RH/T sensor is influenced by thermal self-heating of SCD30 and other electrical components. Design-in alters the thermal properties of SCD30 such that temperature and humidity offsets may occur when operating the sensor in end-customer devices.
  • Page 15 Altitude Compensation Measurements of CO concentration based on the NDIR principle are influenced by altitude. SCD30 offers to compensate deviations due to altitude by using the following command. Setting altitude is disregarded when an ambient pressure is given to the sensor, please see section 1.3.1.
  • Page 16 1.3.8 Read firmware version Following command can be used to read out the firmware version of SCD30 module Protocol Address (hex) Description , no argument needed 0xD100 Returns the firmware version Protocol Function Code Address Modbus 0x0020 Full sequence examples:...
  • Page 17 Soft reset The SCD30 provides a soft reset mechanism that forces the sensor into the same state as after powering up without the need for removing the power-supply. It does so by restarting its system controller. After soft reset the sensor will reload all calibrated data.
  • Page 18: Signal Conversion To Physical Values

    Conversation of temperature to °F as well as relative humidity to absolute humidity and dew point temperature can be found in Sensirion’s online support center Sample pseudo code for converting data read from the sensor to physical value can be found below.
  • Page 19: Important Notices

    Warranty SENSIRION warrants solely to the original purchaser of this product for a period of 12 months (one year) from the date of delivery that this product shall be of the quality, material and workmanship defined in SENSIRION’s published specifications of the product. Within such period, if proven to be defective, SENSIRION shall repair and/or replace this product, in SENSIRION’s discretion, free of charge to the Buyer, provided that:...

Table of Contents