SENSIRION SCD4x Скачать руководство пользователя страница 15

 

 

 

 

www.sensirion.com

 

Version 1.1 

 April 2021

 

15/22

 

 

 

 

3.9

 

Advanced Features 

3.9.1

 

persist_settings 

Description

: Configuration settings such as the temperature offset, sensor altitude and the ASC enabled/disabled parameter 

are by default stored in the volatile memory (RAM) only and will be lost after a power-cycle. The 

persist_settings

 command 

stores  the  current  configuration  in  the  EEPROM  of  the  SCD4x,  making  them  persistent  across  power-cycling.  To  avoid 

unnecessary wear of the EEPROM, the 

persist_settings 

command should only be sent when persistence is required and if actual 

changes to the configuration have been made. The EEPROM is guaranteed to endure at least 2000 write cycles before failure. 

Note  that  field  calibration  history  (i.e.  FRC  and  ASC,  see  chapter  3.7)  is  automatically  stored  in  a  separate  EEPROM 
dimensioned for the specified sensor lifetime.  
 

Table 23

: persist_settings I

2

C sequence description 

Write 

(hexadecimal)

 

Input parameter: 

-

 

Response parameter: 

-

  

Max. command 

duration [ms] 

length  [bytes] 

signal conversion 

length  [bytes] 

signal conversion 

0x3615 

800 

 

Example:

 persist settings 

 

Write 

0x3615 

 

 

 

 

(hexadecimal) 

Command 

 

 

 

 

 

3.9.2

 

get_serial_number  

Description

: Reading out the serial number can be used to identify the chip and to verify the presence of the sensor.  

The get serial number command returns 3 words, and every word is followed by an 8-bit CRC checksum. Together, the 3 words 
constitute a unique serial number with a length of 48 bits (big endian format).  

Table 24

: get_serial_number I

2

C sequence description 

Write 

(hexadecimal)

 

Input parameter: 

-

 

Response parameter: 

serial number

  

Max. command 

duration [ms] 

length  [bytes] 

signal conversion 

length  [bytes] 

signal conversion 

0x3682 

Serial number = word[0] << 

32 | word[1] << 16 | word[2] 

 

Example:

 

serial number is 273’325’796’834’238

 

 

Write 

0x3682 

 

 

 

 

(hexadecimal) 

Command 

 

 

 

 

Wait 

1 ms 

command execution time

 

 

 

Response 

0xf896 

0x31 

0x9f07 

0xc2 

0x3bbe 

0x89 

(hexadecimal)

 

word[0]

 

CRC of 0xf896

 

word[1] 

CRC of 0x9f07 

word[2] 

CRC of 0x3bbe 

 

 

 

Содержание SCD4x

Страница 1: ...accuracy at an unmatched price and smallest form factor SMD assembly allows cost and space effective integration of the sensor combined with maximal freedom of design On chip signal compensation is re...

Страница 2: ...ce Description 7 3 1 Power Up and Communication Start 7 3 2 Data type length 7 3 3 Command Sequence Types 7 3 4 SCD4x Command Overview 8 3 5 Basic Commands 9 3 6 On Chip Output Signal Compensation 10...

Страница 3: ...year Table 3 SCD4x temperature sensor specifications 1 Exposure to CO2 concentrations smaller than 400 ppm can affect the accuracy of the sensor if the automatic self calibration ASC is on 2 Deviation...

Страница 4: ...conditions for extended periods may affect sensor performance and reliability of the device Parameter Conditions Value Temperature operating conditions 10 60 C Humidity operating conditions8 Non conde...

Страница 5: ...30 mV p p which is adequately dimensioned for the relatively large peak currents Power supply configurations with large transient voltage drops are to be avoided to ensure proper sensor operation SCL...

Страница 6: ...ensor readings The SCD4x supports the I2C standard mode as is described elsewhere see footnote 12 Parameter Condition Min Max Unit Power up time After hard reset VDD 2 25 V 1000 ms Soft reset time Aft...

Страница 7: ...smitted first Each data word is immediately succeeded by an 8 bit CRC In write direction it is mandatory to transmit the checksum In read direction it is up to the master to decide if it wants to proc...

Страница 8: ...d 1 no set_sensor_altitude 0x2427 write 1 no get_sensor_altitude 0x2322 read 1 no set_ambient_pressure 0xe000 write 1 yes Field calibration Chapter 3 7 perform_forced_recalibration 0x362f send command...

Страница 9: ...meter Max command duration ms length bytes signal conversion length bytes signal conversion 0x21b1 not applicable Example start periodic measurement Write 0x21b1 hexadecimal Command 3 5 2 read_measure...

Страница 10: ...ster sends one or several commands to get or set the sensor settings 3 If configurations shall be preserved after power cycle events the persist_settings command must be sent see chapter 3 9 1 4 The I...

Страница 11: ...ting see chapter 3 9 1 command must be issued Per default the sensor altitude is set to 0 meter above sea level Table 15 set_sensor_altitude I2C sequence description Write hexadecimal Input parameter...

Страница 12: ...stresses Automatic self calibration ASC ensures highest long term stability of the SCD4x without the need of manual action steps from the user The automatic self calibration algorithm assumes that the...

Страница 13: ...nabled To save the setting to the EEPROM the persist_setting see chapter 3 9 1 command must be issued Table 19 set_automatic_self_calibration_enabled I2C sequence description Write hexadecimal Input p...

Страница 14: ...riodic_measurement Description start low power periodic measurement signal update interval is approximately 30 seconds Table 21 start_low_power_periodic_measurement I2C sequence description Write hexa...

Страница 15: ...settings I2C sequence description Write hexadecimal Input parameter Response parameter Max command duration ms length bytes signal conversion length bytes signal conversion 0x3615 800 Example persist...

Страница 16: ...factory_reset command resets all configuration settings stored in the EEPROM and erases the FRC and ASC algorithm history Table 26 perform_factory_reset I2C sequence description Write hexadecimal Inpu...

Страница 17: ...d every 5 minutes Longer measurement intervals will result in less frequent self calibration sequences Note that no self calibration is issued if the sensor is power cycled between single shot measure...

Страница 18: ...le code C C Name CRC 8 define CRC8_POLYNOMIAL 0x31 define CRC8_INIT 0xFF uint8_t sensirion_common_generate_crc const uint8_t data uint16_t count uint16_t current_byte uint8_t crc CRC8_INIT uint8_t crc...

Страница 19: ...b c d e f Nominal mm 10 1 10 1 8 5 7 8 5 5 0 8 Tolerance mm 0 3 0 3 0 2 0 2 0 3 0 2 Table 31 Nominal dimensions and tolerances SCD4x all in mm The weight of the sensor is approx 0 6 g Note that the wh...

Страница 20: ...t can result in yield loss and reliability degradation The manufacturing floor time out of bag at the customer s end is 168 hours at normal factory conditions 30 C and 60 RH If sensors are not mounted...

Страница 21: ...erature TL Table 33 Soldering profile parameter 4 6 Traceability All SCD4x sensors have a distinct electronic serial number for identification and traceability see chapter 3 9 2 The serial number can...

Страница 22: ...ed or replaced product shall be limited to the unexpired portion of the original period This warranty does not apply to any equipment which has not been installed and used within the specifications re...

Отзывы: