Tag Archives: measurement

DHT11 Humidity Temperature Sensor

Definition

Humidity is the amount of water vapor in the air. Water vapor is the gaseous state of water and is invisible. Humidity indicates the likelihood of precipitation, dew, or fog. Higher humidity reduces the effectiveness of sweating in cooling the body by reducing the rate of evaporation of moisture from the skin.

 DHT11 Humidity Temperature Sensor

The DHT11 humidity and temperature sensor measures relative humidity (RH) and temperature. Relative humidity is the ratio of water vapor in air vs. the saturation point of water vapor in air. The saturation point of water vapor in air changes with temperature. Cold air can hold less water vapor before it is saturated, and hot air can hold more water vapor before it is saturated. The formula for relative humidity is as follows:

Relative Humidity = (density of water vapor / density of water vapor at saturation) x 100%

Basically, relative humidity is the amount of water in the air compared to the amount of water that air can hold before condensation occurs. It’s expressed as a percentage.  For example, at 100% RH condensation (or rain) occurs, and at 0% RH, the air is completely dry.

Components Used

  1. DHT11
  2. Arduino Uno
  3. Connecting Wires

DHT11 Sensor Pinout

DHT11 Pin out
DHT11 Pin out

DHT11 Arduino Circuit Diagram

DHT11 Arduino Circuit Diagram
DHT11 Arduino Circuit Diagram

Arduino Code for DHT11 Humidity Temperature Measurement

This code requires DHT11 Library Download From: https://github.com/adafruit/DHT-sensor-library

//Humidity and Temperature Measurement
//www.circuits4you.com
#include <dht.h>

dht DHT;
#define DHT11_PIN 2

void setup(){
  Serial.begin(9600);
}

void loop()
{
  int chk = DHT.read11(DHT11_PIN);
  Serial.print("Temperature = ");
  Serial.println(DHT.temperature);
  Serial.print("Humidity = ");
  Serial.println(DHT.humidity);
  delay(1000);
}

DHT11 Humidity Temperature Measurement Result

Open serial monitor and observe the readings. Blowing air on sensor will change the humidity readings.

DHT11 Temperature Humidity Result
DHT11 Temperature Humidity Result

For more Weather related other parameters measurement see below links

  1. Barometric pressure measurement
  2. Rain Sensor interface with Arduino

Arduino Temperature Measurement

Definition

A temperature is an objective comparative measure of hot or cold. It is measured by a thermometer, Several scales and units exist for measuring temperature, the most common being Celsius (denoted °C; formerly called centigrade), Fahrenheit (denoted °F), and, especially in science, Kelvin (denoted K). Continue reading Arduino Temperature Measurement

Arduino Light Intensity Meaurement

Definition

                The lux (symbol: lx) is the SI unit of luminance, measuring luminous flux per unit area. It is equal to one lumen per square meter. In photometry, this is used as a measure of the intensity, as perceived by the human eye, of light that hits or passes through a surface. Continue reading Arduino Light Intensity Meaurement

Frequency Measurement using Arduino

Definition

Frequency is the number of complete cycles per second in alternating current direction. The standard unit of frequency is the hertz, abbreviated Hz.

Frequency Measurement

                Frequency Measurement is carried out by measuring the number of cycles in one second, this method requires time of one second. Other method is to measure time period of one cycle F = 1 / T.

In this example time from first rise to the second rise is measured using interrupt on Pin 2 (INT0). It is set to detect rising pulse and at every 100mSec measured frequency is displayed on serial monitor. Continue reading Frequency Measurement using Arduino

Capacitance Measurement using Arduino

Definition

Capacitance is defined as the ability of a body to store an electric charge. The SI unit of capacitance is the farad (symbol: F), named after the English physicist Michael Faraday. A 1 farad capacitor, when charged with 1 coulomb of electrical charge, has a potential difference of 1 volt between its plates. Continue reading Capacitance Measurement using Arduino