Share:


DHT11

Specifications

SKU: 6451347

BUY DHT11 https://www.utsource.net/itm/p/6451347.html

Parameter Symbol Min Typical Max Unit
Operating Voltage Vcc 3 5 5.5 V
Operating Current Icc - 0.5 2.5 mA
Output Current Iout - 0.4 0.6 mA
Measurement Range Temp 0 - 50 °C
Measurement Range Humidity 20 - 90 % RH
Accuracy Temp - ±2 - °C
Accuracy Humidity - ±5 - % RH
Response Time Temp - 2 - s
Response Time Humidity - 8 - s
Signal Transmission Distance - 20 - m
Storage Temperature - -20 - 70 °C
Storage Humidity - 0 - 95 % RH

Instructions for Using DHT11:

  1. Pin Configuration:

    • Vcc: Connect to 3V to 5.5V power supply.
    • Data: Connect to a digital input pin on your microcontroller.
    • GND: Connect to ground.
  2. Power Supply:

    • Ensure the power supply voltage is within the range of 3V to 5.5V.
    • The operating current should not exceed 2.5mA.
  3. Data Pin:

    • The data pin is used for communication between the DHT11 and the microcontroller.
    • Use a pull-up resistor (typically 4.7kΩ to 10kΩ) between the data pin and Vcc to ensure stable signal transmission.
  4. Communication Protocol:

    • The DHT11 uses a single-wire protocol for data transmission.
    • To initiate communication, the microcontroller must send a start signal.
    • The DHT11 will respond with an acknowledgment signal followed by the temperature and humidity data.
  5. Data Format:

    • The data is transmitted as 40 bits:
      • Bits 0-7: Integer part of humidity
      • Bits 8-15: Decimal part of humidity (always 0 for DHT11)
      • Bits 16-23: Integer part of temperature
      • Bits 24-31: Decimal part of temperature (always 0 for DHT11)
      • Bits 32-39: Checksum (sum of the first 32 bits modulo 256)
  6. Reading Data:

    • After sending the start signal, wait for the DHT11 to respond.
    • Read the 40 bits of data and calculate the checksum to verify data integrity.
    • Convert the integer parts of the humidity and temperature to their respective values.
  7. Sampling Rate:

    • The DHT11 has a sampling rate of about one measurement per second.
    • Avoid requesting data more frequently than once every 2 seconds to prevent data corruption.
  8. Environmental Considerations:

    • The DHT11 operates best in environments with temperatures between 0°C and 50°C and humidity between 20% and 90%.
    • Store the sensor in a dry place with temperatures between -20°C and 70°C and humidity up to 95%.
  9. Signal Transmission:

    • The maximum signal transmission distance is approximately 20 meters.
  10. Example Code:

    • Many libraries are available for popular microcontrollers like Arduino to simplify the process of reading data from the DHT11.
    • Example code can be found in the documentation or online forums.

By following these instructions, you can effectively use the DHT11 to measure temperature and humidity in your projects.

(For reference only)

 Inquiry - DHT11