The DHT11 is a basic, low-cost digital temperature and humidity sensor. It uses a single-wire protocol and is less accurate than the DHT22, but fine for non-critical applications. It measures 0–50°C temperature and 20–80% humidity.
| Pin | Name | Function | Type |
|---|---|---|---|
| 1 | VCC | Power supply 3V–5.5V | PWR |
| 2 | DATA | Single-wire data, 4.7k pull-up | BUS |
| 3 | NC | Not connected | GND |
| 4 | GND | Ground | GND |