
- 8
广州奥松电子有限公司 电话:
020-36042809 / 36380552
www.aosong.com
The
corresponding
signal
Sensor data bus (SDA), Lower 80µsAnd higher 80µs In response to host the
starting signal
Data format
Receives a host after the starting signal, sensors at once from the data bus
(SDA) 40 Data, high
Humidity
Humidity high humidity integer data, humidity low humidity decimal data
Temperature
Temperature high temperature integer data, temperature low temperature
decimal data, and low temperature Bit8 为 1 The negative temperature,
otherwise positive temperature
Check digit
Check digit=Humidity high+Humidity is low+Temperature highs+Low
temperature
Example: receiving 40 Data for:
00111000 00001000
00011010
00000110
01100000
Humidity integral digits Humidity scale
Temperature integer
bit Temperature scale Check digit
00000000110=01100000(Check
digit)
receive data properly:
Humidity:00111000 (Binary) =>56 (Decimal)00001000(Binary)=>8 (Decimal)
=>Humidity=56.8%RH
Temperature:00011010 (Binary) =>26 (Decimal)00000110(Binary)=>6 (Decimal)
=>Temperature= 26.6 degrees
Celsius Example two: received 40 Data for:
00111000 00001000
00011010
10000110
11100000
Humidity integral digits Humidity scale
Temperature integer
bit Temperature scale Check digit
00010000110=11100000(Check
digit)
receive data properly:
Humidity:00111000 (Binary) =>56 (Decimal)00001000(Binary)=>8 (Decimal)
=>Humidity=56.8%RH
Temperature: temperature low 8Bit 为 1 It indicates sampling the temperature to
minus-temperature
00011010 (Binary) =>26 (Decimal)
10000110 (Binary,Ignore 8Bit)=>6(Decimal)