DHT11 to Measure Temperature and Humidity

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

DHT11 Humidity Example

Schematic

DHT11After you build the circuit plug your Arduino board into your computer, start the Arduino IDE, and enter the code below.

Item added to cart.
0 items - R0.00