EasyManua.ls Logo

SENSIRION SCD30 - Stop continuous measurement; Set measurement interval

SENSIRION SCD30
19 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.sensirion.com Version 0.93 – D1 – December 2018 8/19
1.3.2 Stop continuous measurement
Stops the continuous measurement of the SCD30.
Protocol
Command (hex)
Description
I2C
0x0104, no argument
Stops continuous
measurement.
Protocol
Function Code
Address
Data to write
Modbus
6
0x0037
0x0001
Full sequence examples:
Protocol
Data to write
Description
I2C
Start
Write
Header
Cmd
MSB
Cmd
LSB
Stop
Start
0xC2
0x01
0x04
Stop
Stops continuous
measurement.
Modbus
Request:
Slave
Address
Function
Code
Address
MSB
Address
LSB
Content
MSB
Content
LSB
CRC
LSB
CRC
MSB
0x61
0x06
0x00
0x37
0x00
0x01
0xF0
0x64
Response:
Slave
Address
Function
Code
Address
MSB
Address
LSB
Content
MSB
Content
LSB
CRC
LSB
CRC
MSB
0x61
0x06
0x00
0x37
0x00
0x01
0xF0
0x64
1.3.3 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.
Protocol
Command (hex)
Argument
Description
I2C
0x4600 argument
Format: unit16
Interval in seconds.
Available range:
[2 … 1800] given in 2 byte
in the order MSB, LSB.
Sets the interval for
continuous measurement
mode. Standard
measurement interval is 2.
Protocol
Function Code
Address
Data to write
Modbus
6
0x0025
argument
Full sequence examples:
Protocol
Data to write
Description
I2C
Set measurement interval
Start
Write
Header
Cmd
MSB
Cmd
LSB
Interval
MSB
Interval
LSB
CRC
Stop
Start
0xC2
0x46
0x00
0x00
0x02
0xE3
Stop
Get measurement interval
Write:
Start
Write
Header
Cmd
MSB
Cmd
LSB
Stop
Start
0xC2
0x46
0x00
Stop
Read:
Start
Read
Header
Interv
al
MSB
Inter
val
LSB
CRC
Stop
Start
0xC3
0x00
0x02
0xE3
Stop
Set measurement interval
to 2s