DHT114
DHT114
com
DHT11 digital temperature and humidity sensor is a composite Sensor contains a calibrated
digital signal output of the temperature and humidity. Application of a dedicated digital modules
collection technology and the temperature and humidity sensing technology, to ensure that the
product has high reliability and excellent long-term stability. The sensor includes a resistive sense
of wet components and an NTC temperature measurement devices, and connected with a
high-performance 8-bit microcontroller.
HVAC, dehumidifier, testing and inspection equipment, consumer goods, automotive, automatic
control, data loggers, weather stations, home appliances, humidity regulator, medical and other humidity
measurement and control.
Low cost, long-term stability, relative humidity and temperature measurement, excellent quality, fast
response, strong anti-interference ability, long distance signal transmission, digital signal output, and
precise calibration.
Relative humidity
Resolution: 16Bit
Repeatability: ±1% RH
Accuracy: At 25℃ ±5% RH
Interchangeability: fully interchangeable
Response time: 1 / e (63%) of 25℃ 6s
1m / s air 6s
Hysteresis: <± 0.3% RH
Long-term stability: <± 0.5% RH / yr in
Temperature
Resolution: 16Bit
Repeatability: ±0.2℃
Range: At 25℃ ±2℃
Response time: 1 / e (63%) 10S
Electrical Characteristics
Power supply: DC 3.5~5.5V
Supply Current: measurement 0.3mA standby 60μ A
Sampling period: more than 2 seconds
Pin Description
1, the VDD power supply 3.5~5.5V DC
2 DATA serial data, a single bus
3, NC, empty pin
4, GND ground, the negative power
Microprocessor and DHT11 of connection typical application circuit as shown above, DATA pull the
microprocessor I / O ports are connected.
1. Typical application circuit recommended in the short cable length of 20 meters on the 5.1K
pull-up resistor, the resistance of greater than 20 meters under the pull-up resistor on the lower of the
actual situation.
2. When using a 3.5V voltage supply cable length shall not be greater than 20cm. Otherwise, the line
voltage drop will cause the sensor power supply shortage, caused by measurement error.
3. Each read out the temperature and humidity values are the results of the last measurement For
real-time data, sequential read twice, but is not recommended to repeatedly read the sensors, each
read sensor interval is greater than 5 seconds can be obtainedaccurate data.
Calculate:
0011 0101+0000 0000+0001 1000+0000 0000= 0100 1101
Received data is correct:
Humidity:0011 0101=35H=53%RH
Temperature:0001 1000=18H=24℃
Calculate:
0011 0101+0000 0000+0001 1000+0000 0000= 0100 1101
01001101≠0100 1001
The received data is not correct, give up, to re-receive data.
Note: The host reads the temperature and humidity data from DHT11 always the last measured
value, such as twice the measured interval of time is very long, continuous read twice to the second
value of real-time temperature and humidity values.
Step 1:
After power on DHT11 (DHT11 on after power to wait 1S across the unstable state during this period
can not send any instruction), the test environment temperature and humidity data, and record the data,
while DHT11 the DATA data lines pulled by pull-up resistor has been to maintainhigh; the DHT11 the
DATA pin is in input state, the moment of detection of external signals.
Step 2:
Microprocessor I / O set to output at the same time output low, and low hold time can not be less
than 18ms, then the microprocessor I / O is set to input state, due to the pull-up resistor, a
microprocessor/ O DHT11 the dATA data lines also will be high, waiting DHT11 to answer signal, send
the signal as shown:
Step 4:
Output by DHT11 the DATA pin 40, the microprocessor receives 40 data bits of data "0" format: the
low level of 50 microseconds and 26-28 microseconds according to the changes in the I / O levellevel,
bit data "1" format: the high level of low plus, 50 microseconds to 70 microseconds. Bit data "0", "1" signal
format as shown: