DHT11 humidity sensor

This is a digital humidity and temperature sensor combined together into one module. It is calibrated to provide digital signal output. The sensor package has a resistive humidity and NTC temperature measurement device that is connected to a high-performance 8-bit microcontroller with in the same package.

DHT11 has four pins, of which we will use three, namely power supply (3.3V to 5V DC), data line to read humidity data, and ground, as shown in the following figure:

DHT11 uses a serial interface (single-wire bi-directional) for communication, which makes it extremely fast and responsive. Due to its low cost, low power ...

Get Internet of Things with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.