In these tutorials, we will measure Temperature and Humidity by using DHT11 with Arduino. Here we also display those readings on an LCD Display.
The DHT11 Temperature and Humidity Sensor senses, measures and regularly reports the relative humidity in the air. It measures both moisture and air temperature. The warmer the air is, the more moisture it can hold, so relative humidity changes with fluctuations in the temperature.
Humidity sensors detect the relative humidity of immediate environments in which they are placed. They measure both moisture and temperature in the air and express relative humidity as a percentage of the ratio of moisture in the air to the maximum amount that can be held in the air at the current temperature. As the air becomes hotter, it holds more moisture, so the relative humidity changes with the temperature.
Pin Connection of DHT11
DHT11 Library For Below Code
DHT11 Temperature and Humidity Sensor Arduino Code 1
Library Used in Below Code
DHT11 Arduino Code 2