DHT22 Temperature-Humidity Sensor
Hardware Information
Duo pinout
Reference Links: Duo GPIO Pinout
DHT22 Temperature and Humidity Sensor
dfrobotwiki Link: https://wiki.dfrobot.com.cn/\_SKU_SEN0137\_%E9%AB%98%E7%B2%BE%E5%BA%A6DHT22%E6%B8%A9%E6%B9%BF%E5%BA%A6%E4%BC%A0%E6%84%9F%E5%99%A8
The DHT22 Temperature and Humidity Sensor is a versatile and cost-effective sensor used for measuring environmental temperature and humidity. It is based on digital signal output, providing high-precision measurements with a temperature resolution of 0.1 degrees Celsius and humidity resolution of 0.1%. The sensor uses a capacitive humidity sensing element and a thermistor to measure humidity and temperature, respectively. The DHT22 sensor also has relatively low power consumption and can operate within a voltage range of 3.3V to 5V, making it suitable for battery-powered projects. Additionally, the sensor offers long-term stability and high reliability, making it an ideal choice for various applications, including HVAC systems, weather stations, and indoor air quality monitoring systems.
ensor Module
The DHT22 module has a total of 3 pins, while the DHT22 bare sensor has 4 pins. When considering the module with three pins, two are power pins, and one is the data pin. For the 4-pin sensor, the additional pin is an NC (No Connection) pin with no specific function. The pinout for both the module and the sensor is as follows:
- DATA: Data pin for 1-Wire communication.
- GND: Ground pin for the module.
- VCC: Power pin for the module.
- Not Used: This pin is not used in this sensor.
HT22 Sensor Module Component Markings
Apart from the sensor, the DHT22 module on the PCB includes only two components: a pull-up resistor and a decoupling capacitor. The component markings for the DHT22 module are as follows.
DHT22 Module Circuit Diagram
The complete schematic diagram of the DHT22 Temperature and Humidity Sensor module is shown in the diagram below.
The schematic diagram of the DHT22 module is as shown above. As mentioned earlier, the board has only a few components. The VCC and GND pins are directly connected to the DHT22 sensor, and the pull-up resistor is connected to the DATA pin. Tantalum and multi-layer capacitors provide sufficient filtering. In some PCBs, you may find an LED indicator as a power indicator, but for most circuit boards, the LED is not present.
Common Questions About DHT22 Sensor Module
Q: In simple terms, what is DHT22?
A: DHT22 is a more expensive version of the DHT11 sensor with better specifications. Its temperature measurement range is -40 to +125 degrees Celsius with an accuracy of ±0.5 degrees, while the DHT11 has a temperature range of 0 to 50 degrees Celsius with an accuracy of ±2 degrees.
Q: Is DHT22 analog or digital?
A: DHT-22 (also known as AM2302) is a digital output relative humidity and temperature sensor.
Q: Is DHT22 waterproof?
A: No, it is not waterproof.
Q: What is the sampling rate of the DHT11 sensor?
A: The sampling rate of the DHT22 is 1Hz.
Q: What protocol does DHT22 use?
A: The DHT22 sensor uses a proprietary single-wire communication protocol that sends and receives data through timed pulses.