EasyManua.ls Logo

SENSIRION SCD30 - Modbus protocol; Sensor commands

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 6/19
1.2 Modbus protocol
For selecting Modbus protocol, the SEL pin needs to be pulled to VDD Voltage. Please refer to datasheet.
The supported baud rate is 19200 Baud with 8 Data bits, 1 Start bit and 1 Stop bit, no Parity bit.
More details on the Modbus protocol can be found here:
Description
Link
General introduction
http://www.modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
Modbus frame generator
http://modbus.rapidscada.net/
Modbus CRC generator
https://www.lammertbies.nl/comm/info/crc-calculation.html
1.2.1 Modbus address
Modbus address is 0x61.
1.2.2 Modbus function codes
Available function codes are
Function code
Description
3
Read holding registers
4
Read input registers
6
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
- Get data ready status
- Read measurement
- (De-)Activate continuous calculation of reference value for automatic self-calibration (ASC)
- Set external reference value for forced recalibration (FRC)
- Set temperature offset for onboard RH/T sensor
- Altitude compensation
- Read firmware version
- Soft reset