DHT11 Temperature and Humidity Example
In this example we use a DHT11 sensor to outout the ambient temperature and humidity to the serial monitor.
Hardware Required
- 1 x Arduino Board
- 1 x DHT11
- 1 x 10 K Ohm Resistor
- 1 x Solderless breadboard
Schematic
After you build the circuit plug your Arduino board into your computer, start the Arduino IDE, and enter the code below.