DHT22 Temperature and Humidity Sensor Module
The DHT22 is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). It's fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so sensor readings can be up to 2 seconds old.
Simply connect the first pin on the left to 3-5V power, the second pin to your data input pin and the rightmost pin to ground. Although it uses a single-wire to send data it is not Dallas One Wire compatible! If you want multiple sensors, each one must have its own data pin.
Compared to the DHT11, this sensor is more precise, more accurate and works in a bigger range of temperature/humidity, but its larger and more expensive.
Comes with a 4.7K - 10K resistor, which you will want to use as a pullup from the data pin to VCC.
- Power supply: 3.3V – 6V DC
- Output signal: single-bus
- Sensing element: polymer humidity capacitor & DS18B20
- Measuring range: humidity 0-100% RH / temperature -40°C – 125°C
- Accuracy: humidity ±2% / temperature ±0.2°C
- Sensing period: ~2s