
- 5
广州奥松电子有限公司 电话:
020-36042809 / 36380552
www.aosong.com
system communication, otherwise I
2
C Communication after the selected communication
mode, in power during the sensor communication remains the same if you want to change,
as a way, please power on again, and select communication according to operational
requirements. When you select I
2
C Communication,SCL For the microprocessor DHT12
Communication between the synchronization.
7.4
Serial data (SDA)
SDA PIN for a three-State structure, used for reading and writing data. Specific
communication timing, see the detailed description of the communications.
EightI
2
C And single-bus communication protocol
DHT12 Serial interface, read sensor signals and power loss, do the optimization. Sensors
with a single bus,
I
2
C Two way output, communication mode switch, easy to use. Bus to SCL Signal cable power
levels to determine their bus communication mode: when power on SCL Remained low for a
single bus communication mode when power on SCL To maintain a high level I
2
C
Communication mode. Single main line single bus communication is fully compatible with the
company's other products;I
2
C Communication in accordance with I
2
C Standard protocol
address can be directly linked to I
2
C On the bus (bus allowed only one product), no additional
wiring, operation is very simple. Read DHT12 The sensor, please in strict accordance with the
two types of communication protocols and timing. Specific details see single bus
communication protocol and I
2
C Communication protocol details.
8.1DHT12 Sensor I
2
C Communication protocol
DHT12 Support I
2
C Way to communicate, in full accordance with I
2
C Standard protocol
prepared, can be linked directly in I
2
C Bus sensor SDA PIN I
2
C Data bus,SCL 接 I
2
C Clock bus,
customers need to both pin a 1KΩ~10KΩPull-up resistor.I
2
C Address for 0xB8(DEV SEL); I
2
C
Communication rate cannot be higher than 400KHZ。
BYTE ADDR
R/W
Desc.
Note
0x00
R
Humidity integral
digits
Relative humidity
values
0x01
R
Humidity scale