Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Activity 6

DHT Sensor

AIM: Write an Arduino Program to sense the digital temperature & humidityusing the
DHT sensor module on Arduino Platform

Components Required:
1. Arduino UNO & USB Connector

2. DHT11 Sensor
3. Male to Male Jumper Wires
4. Breadboard

Schematic Diagram:

*** Draw this on left side in record

Theory: The DHT11 is a basic, ultra low-cost digital temperature and humiditysensor. It
uses a capacitive humidity sensor and a thermistor to measure the surrounding air and spits
out a digital signal on the data pin (no analog inputpins needed). It’s fairly simple to use,
but requires careful timing to grab data. The only real downside of this sensor is you can
only get new data from it once every 2 seconds, the sensor readings can be up to 2 seconds
old.

The DHT11 measures relative humidity. The relative humidity is the amount ofwater
vapour in air vs. the saturation point of water vapour in the air. At the saturation point, water
vapour starts to condense and accumulate on surfaces forming dew.
The saturation point changes with air temperature. Cold air can hold less watervapour
before it becomes saturated, and hot air can hold more water vapour before it becomes
saturated.
The formula to calculate relative humidity is:

At 100% RH, condensation occurs, and at 0% RH, the air is completely dry.
The DHT11 detects water vapour by measuring the electrical resistance between two
electrodes. The humidity sensing component is a moisture holding substrate with electrodes
applied to the surface. When water vapour is absorbedby the substrate, ions are released
by the substrate which increases the conductivity between the electrodes. The change in
resistance between the two electrodes is proportional to the relative humidity. Higher
relative humidity decreases the resistance between the electrodes, while lower relative
humidity increases the resistance between the electrodes.
The DHT11 measures temperature with a surface mounted NTC temperaturesensor
(thermistor) built into the unit.
Arduino Program:
DHT Sensor Connected to Arduino

OUTPUT:
Hence an Arduino Program to sense the digital temperature & humidityusing the DHT
sensor module on Arduino Platform is done.

You might also like