English
Language : 

TH02 Datasheet, PDF (16/26 Pages) List of Unclassifed Manufacturers – D IGITAL I 2C H UMIDITY AND TEMPERATURE S ENSOR
TH02
3.1.2. Performing a Temperature Measurement
The following steps should be performed in sequence to take a temperature measurement:
6. Set START (D0) and TEMP (D4) in CONFIG (register 0x03) to begin a new conversion, i.e., write CONFIG with
0x11
7. Poll RDY (D0) in STATUS (register 0) until it is low (=0)
8. Read the upper and lower bytes of the temperature value from DATAh and DATAl (registers 0x01 and 0x02),
respectively
Table 12 shows the format of the 14-bit temperature result. This value may be converted to °C using the following
equation:
where TEMP is the measured value returned in DATAh:DATAI.
Table 13shows the 14-bit values that correspond to various measured temperature levels.
Table 12. 14-Bit Temperature Result Available in Registers 1 and 2
DATAh
DATAI
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
14-Bit Temperature Code
0
0
The above sequence assumes normal mode, i.e., tCONV = 35 ms (typical). Conversions may be performed in fast
mode. See section “5.1.3. Fast Conversion Mode”.
Tel:+86-755-82973805 Fax: +86-755-82973550 Email:sales@hoperf.com http://www.hoperf.com
- 16 -