Wire the DHT11/DHT22
Connect data, power, and a pull-up resistor.
Meet the DHT Sensor
A DHT sensor measures both temperature and humidity in one tiny package. It is the friendliest way to give your project a sense of climate. 🌡️
DHT11 vs DHT22
The DHT11 is cheap and good enough for hobby projects. The DHT22 costs a bit more but reads a wider range with better accuracy.
All lessons in this course
- Wire the DHT11/DHT22
- Install the DHT Library
- Read Temperature & Humidity
- Handle Failed Reads