DHT11 Temperature-Humidity Sensor
|
Temperature-Humidity Sensor, DHT11 Onboard
|
|
|
|
|
|
|
|
|
|
Introduction
Temperature-Humidity Sensor, DHT11 Onboard
Features
Sensor
|
DHT11 (Temperature & humidity sensor)
|
Operating voltage
|
3.3V-5.5V
|
Humility measuring range
|
20%-95%(0℃-50℃)
|
Humility measuring error
|
+-5%
|
Temperature measuring range
|
0℃-50℃
|
Temperature measuring error
|
+-2℃
|
Dimensions
|
29.0mm*18.0mm
|
Fixing hole size
|
2.0mm
|
Table 1. Product features
|
Applications
This module can be applied to environmental temperature & humility measurement.
Interfaces
Pin No.
|
Symbol
|
Descriptions
|
1
|
DOUT
|
Communication port
|
2
|
GND
|
Power ground
|
3
|
VCC
|
Positive power supply (3.3V-5.5V)
|
Table 2. Interface specification
|
How to use
We will illustrate the usage of the module with an example of temperature-humidity measurement by connecting a development board.
- Download relative codes to the development board.
- Connect the development board to a PC via a serial wire and the module to the development board. Then, power up the development board and start the serial debugging software. The configuration of the connection between the module and the development board are shown in Table 3 and Table 4.
Port
|
STM32 MCU pin
|
DOUT
|
GPIOA.0
|
GND
|
GND
|
VCC
|
3.3V
|
Table 3. The connection between STM32 development board and DHT11
|
Port
|
Arduino pin
|
DOUT
|
D2
|
GND
|
GND
|
VCC
|
5V
|
Table 4. The connection between Arduimo and DHT11
|
The configuration of the serial port is listed in Table 5.
Baud rate
|
115200
|
Data bits
|
8
|
Stop bit
|
1
|
Parity bit
|
None
|
Table 5. Serial port configuration
|
- Run the serial debugging software, then you can see relative data of humility and temperature are outputted. For example:
Humidity=33
Temperature=28
Resources
FAQ
Answer:
Perhaps you'd like:
Color Sensor
|
|
{{{2}}}
|
{{{3}}}
|
{{{4}}}
|
{{{5}}}
|
{{{6}}}
|
{{{7}}}
|
{{{8}}}
|
{{{9}}}
|
{{{10}}}
|
{{{11}}}
|
{{{12}}}
|
{{{13}}}
|
{{{14}}}
|
{{{15}}}
|
{{{16}}}
|
{{{17}}}
|
{{{18}}}
|
{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{{21}}}
|
{{{22}}}
|
{{{23}}}
|
{{{24}}}
|
{{{25}}}
|
{{{26}}}
|
{{{27}}}
|
{{{28}}}
|
{{{29}}}
|
{{{30}}}
|
{{{31}}}
|
{{{32}}}
|
{{{33}}}
|
{{{34}}}
|
{{{35}}}
|
{{{36}}}
|
{{{37}}}
|
{{{38}}}
|
{{{39}}}
|
{{{40}}}
|
{{{41}}}
|
{{{42}}}
|
{{{43}}}
|
{{{44}}}
|
{{{45}}}
|
{{{46}}}
|
{{{47}}}
|
{{{48}}}
|
{{{49}}}
|
{{{50}}}
|
Infrared Reflective Sensor
|
|
{{{2}}}
|
{{{3}}}
|
{{{4}}}
|
{{{5}}}
|
{{{6}}}
|
{{{7}}}
|
{{{8}}}
|
{{{9}}}
|
{{{10}}}
|
{{{11}}}
|
{{{12}}}
|
{{{13}}}
|
{{{14}}}
|
{{{15}}}
|
{{{16}}}
|
{{{17}}}
|
{{{18}}}
|
{{{19}}}
|
{{{20}}}
|
{{{21}}}
|
{{{22}}}
|
{{{23}}}
|
{{{24}}}
|
{{{25}}}
|
{{{26}}}
|
{{{27}}}
|
{{{28}}}
|
{{{29}}}
|
{{{30}}}
|
{{{31}}}
|
{{{32}}}
|
{{{33}}}
|
{{{34}}}
|
{{{35}}}
|
{{{36}}}
|
{{{37}}}
|
{{{38}}}
|
{{{39}}}
|
{{{40}}}
|
{{{41}}}
|
{{{42}}}
|
{{{43}}}
|
{{{44}}}
|
{{{45}}}
|
{{{46}}}
|
{{{47}}}
|
{{{48}}}
|
{{{49}}}
|
{{{50}}}
|
Laser Sensor
|
|
{{{2}}}
|
{{{3}}}
|
{{{4}}}
|
{{{5}}}
|
{{{6}}}
|
{{{7}}}
|
{{{8}}}
|
{{{9}}}
|
{{{10}}}
|
{{{11}}}
|
{{{12}}}
|
{{{13}}}
|
{{{14}}}
|
{{{15}}}
|
{{{16}}}
|
{{{17}}}
|
{{{18}}}
|
{{{19}}}
|
{{{20}}}
|
{{{21}}}
|
{{{22}}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}
|
{{{26}}}
|
{{{27}}}
|
{{{28}}}
|
{{{29}}}
|
{{{30}}}
|
{{{31}}}
|
{{{32}}}
|
{{{33}}}
|
{{{34}}}
|
{{{35}}}
|
{{{36}}}
|
{{{37}}}
|
{{{38}}}
|
{{{39}}}
|
{{{40}}}
|
{{{41}}}
|
{{{42}}}
|
{{{43}}}
|
{{{44}}}
|
{{{45}}}
|
{{{46}}}
|
{{{47}}}
|
{{{48}}}
|
{{{49}}}
|
{{{50}}}
|
Sound Sensor
|
|
{{{2}}}
|
{{{3}}}
|
{{{4}}}
|
{{{5}}}
|
{{{6}}}
|
{{{7}}}
|
{{{8}}}
|
{{{9}}}
|
{{{10}}}
|
{{{11}}}
|
{{{12}}}
|
{{{13}}}
|
{{{14}}}
|
{{{15}}}
|
{{{16}}}
|
{{{17}}}
|
{{{18}}}
|
{{{19}}}
|
{{{20}}}
|
{{{21}}}
|
{{{22}}}
|
{{{23}}}
|
{{{24}}}
|
{{{25}}}
|
{{{26}}}
|
{{{27}}}
|
{{{28}}}
|
{{{29}}}
|
{{{30}}}
|
{{{31}}}
|
{{{32}}}
|
{{{33}}}
|
{{{34}}}
|
{{{35}}}
|
{{{36}}}
|
{{{37}}}
|
{{{38}}}
|
{{{39}}}
|
{{{40}}}
|
{{{41}}}
|
{{{42}}}
|
{{{43}}}
|
{{{44}}}
|
{{{45}}}
|
{{{46}}}
|
{{{47}}}
|
{{{48}}}
|
{{{49}}}
|
{{{50}}}
|
DHT11 Temperature-Humidity Sensor
|
|
{{{2}}}
|
{{{3}}}
|
{{{4}}}
|
{{{5}}}
|
{{{6}}}
|
{{{7}}}
|
{{{8}}}
|
{{{9}}}
|
{{{10}}}
|
{{{11}}}
|
{{{12}}}
|
{{{13}}}
|
{{{14}}}
|
{{{15}}}
|
{{{16}}}
|
{{{17}}}
|
{{{18}}}
|
{{{19}}}
|
{{{20}}}
|
{{{21}}}
|
{{{22}}}
|
{{{23}}}
|
{{{24}}}
|
{{{25}}}
|
{{{26}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}}
|
{{{29}}}
|
{{{30}}}
|
{{{31}}}
|
{{{32}}}
|
{{{33}}}
|
{{{34}}}
|
{{{35}}}
|
{{{36}}}
|
{{{37}}}
|
{{{38}}}
|
{{{39}}}
|
{{{40}}}
|
{{{41}}}
|
{{{42}}}
|
{{{43}}}
|
{{{44}}}
|
{{{45}}}
|
{{{46}}}
|
{{{47}}}
|
{{{48}}}
|
{{{49}}}
|
{{{50}}}
|
|
{{{3}}}
{{{4}}}
{{{5}}}
Support
Support
If you require technical support, please go to the Support page and open a ticket.