Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

101021014 Datasheet(PDF) 15 Page - Seeed Technology Co.,Ltd.

Part # 101021014
Description  Environmental Sensor Node for HVAC and Air Quality Applications
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SEEEDSTUDIO [Seeed Technology Co.,Ltd.]
Direct Link  https://www.seeedstudio.com/
Logo SEEEDSTUDIO - Seeed Technology Co.,Ltd.

101021014 Datasheet(HTML) 15 Page - Seeed Technology Co.,Ltd.

Back Button 101021014 Datasheet HTML 11Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 12Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 13Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 14Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 15Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 16Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 17Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 18Page - Seeed Technology Co.,Ltd. 101021014 Datasheet HTML 19Page - Seeed Technology Co.,Ltd. Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 23 page
background image
www.sensirion.com
Version 0.3 – D2 – October 2021 – preliminary and subject to change without notice
15/23
Checksum Calculation
The Read and Write Commands transmit the data in 2-byte packets, followed by an 8-bit checksum. The checksum is
calculated as follows:
Property
Value
Name
CRC-8
Protected Data read and/or write data
Width
8 bit
Polynomial
0x31 (x^8 + x^5 + x^4 + 1)
Initialization
0xFF
Reflect Input
false
Reflect Output
false
Final XOR
0x00
Example
CRC(0xBEEF) = 0x92
Please note that the checksums are used only for the 2-byte data packets. The command code itself already contains a
3-bit CRC and therefore no checksum must be appended to it.
6.1 I2C Commands
The following table shows an overview of the available I2C commands.
Address
Pointer
Command Name
Transfer Type
Command execution time
0x0021
Start Measurement
Set Pointer & Write Data
< 50 ms
0x0104
Stop Measurement
Set Pointer
< 200 ms
0x0202
Read Data-Ready Flag
Set Pointer & Read Data
< 20 ms
0x03C4
Read Measured Values
Set Pointer & Read Data
< 20 ms
0x60B2
Read/ Write Temperature
Compensation Parameters
Set Pointer & Read/ Write Data < 20 ms
0x60C6
Read/ Write Warm Start
Parameters
Set Pointer & Read/ Write Data < 20 ms
0x5607
Start Fan Cleaning
Set Pointer
< 10 ms
0x8004
Read/Write Auto Cleaning
Interval
Set Pointer & Read/Write Data
< 20 ms
0xD014
Read Product Name
Set Pointer & Read Data
< 20 ms
0xD033
Read Serial Number
Set Pointer & Read Data
< 20 ms
0xD100
Read Firmware Version
Set Pointer & Read Data
< 20 ms
0xD206
Read Device Status
Set Pointer & Read Data
< 20 ms
0xD210
Clear Device Status
Set Pointer
< 20 ms
0xD304
Reset
Set Pointer
< 100 ms
Table 10: Reference table for I2C commands.
6.1.1 Start Measurement (0x0021)
Starts the measurement. After power up, the module is in Idle-Mode. Before any measurement values can be read, the
Measurement-Mode needs to be started using this command.
uint8_t CalcCrc(uint8_t data[2]) {
uint8_t crc = 0xFF;
for(int i = 0; i < 2; i++) {
crc ^= data[i];
for(uint8_t bit = 8; bit > 0; --bit) {
if(crc & 0x80) {
crc = (crc << 1) ^ 0x31u;
} else {
crc = (crc << 1);
}
}
}
return crc;
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com