In this tutorial we are interfacing DHT11 or DHT22 Humidity temperature sensor with ESP32 DevKit.
The DHT11 (or DHT22 and similar) are cheap temperature and humidity sensors. The communicate with a ESP32 is over a single wire, but unfortunately it is not compatible with the 1-Wire protocol defined by Dallas Semiconductors.
The electric connection to the ESP32 DevKit is very simple, as the DHT series can be powered direct with 3.3V. Only 3 wires are needed: VCC, GND and the data line. Data Line is connected to GPIO15 (D15).
Continue reading ESP32: DHT11/22 Humidity Temperature Sensor Interfacing Example →