English
Language : 

TH06 Datasheet, PDF (17/26 Pages) List of Unclassifed Manufacturers – I2C HUMIDITYAND TEMPERATURE SENSOR
5.1. Issuing a Measurement Command
The measurement commands instruct the TH06 to perform one of two possible measurements; Relative Humidity
or Temperature. The procedure to issue any one of these commands is identical. While the measurement is in
progress, the option of either clock stretching (Hold Master Mode) or Not Acknowledging read requests (No Hold
Master Mode) is available to indicate to the master that the measurement is in progress; the chosen command
code determines which mode is used.
Optionally, a checksum byte can be returned from the slave for use in checking for transmission errors. The
checksum byte will follow the least significant measurement byte if it is acknowledged by the master. The
checksum byte is not returned if the master “not acknowledges” the least significant measurement byte. The
checksum byte is calculated using a CRC generator polynomial of x8 + x5 + x4 + 1, with an initialization of 0x00.
The checksum byte is optional after initiating an RH or temperature measurement with commands 0xE5, 0xF5,
0xE3, and 0xF3. For all other commands, the checksum byte is not supported.
Master Slave
Sequence to perform a measurement and read back result (Hold Master Mode)
Slave
Measure
Slave
S Address W A
Cmd A Sr Address R A
Clock stretch
during
measurement
MS Byte A LS Byte NA P
A Checksum NA P
Tel:+86-755-82973805 Fax: +86-755-82973550 Email:sales@hoperf.com http://www.hoperf.com
17