PRACTICAL # 5

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

 APPLIED PHYSICS LAB

PRACTICAL.#5 .
 NAME:-
ROLL #
 CH.MUHAMMAD USMAN SHAKEEL.
(SSP20-PG03)
 TEACHER:-
( DR.MUJTABA IKRAM )
 DHT11 TEMPERATURE SENSOR.
 INTRODUCTION:-
 The DHT11 temperature sensor makes it really easy to add humidity and
temperature data to your DIY electronics projects.
 It’s perfect for remote weather stations, home environmental control systems, and
farm or garden monitoring systems.
 Ranges and accuracy of the DHT11:-
 Temperature Range: 0-50 °C ,Temperature Accuracy: ±2% °C ,Operating Voltage: 3V
to 5.5V
 The DHT11 measures temperature with a surface mounted NTC temperature
sensor (thermistor) built into the unit.

 The DHT11 uses just one signal wire to transmit data to the Arduino. Power comes
from separate 5V and ground wires. A 10K Ohm pull-up resistor is needed
between the signal line and 5V line to make sure the signal level stays high by
default.

 There are two different versions of the DHT11 you might come across.
 One type has four pins, and the other type has three pins and is mounted to a small
PCB.

 The PCB mounted version is nice because it includes a surface mounted 10K Ohm
pull up resistor for the signal line.

 Circuit Diagram:-
 A liquid crystal display is used for displaying temperature and humidity which is
directly connected to arduino in 4-bit mode.
 Pins of LCD namely RS, EN, D4, D5, D6 and D7 are connected to arduino digital pin
number 2, 3, 4, 5, 6 and 7.
 And a DHT11 sensor module is also connected to digital pin 12 of arduino with a
5k pull-up resistor.

 Hardware Required:-
 Arduino Uno.
 DHT11 temperature sensor.

 16X2 LCD Display.

 Working:-
 Working of this project is based on single wire serial communication.
 First arduino send a start signal to DHT module and then DHT gives a response signal
containing temperature data.
 Arduino collect and extract in two parts one is humidity and second is temperature
and then send them to 16x2 LCD.
 DHT11 module works on serial communication i.e. single wire communication.
 This module sends data in form of pulse train of specific time period. Before sending
data to arduino it needs some initialize command with a time delay. And the whole
process time is about 4ms.
 First of all arduino sends a high to low start signal to DHT11 with 18µs delay to
ensure DHT’s detection.
 And then arduino pull-up the data line and wait for 20-40µs for DHT’s response.
 Once DHT detects starts signal, it will send a low voltage level response signal to
arduino of time delay about 80µs.
 And then DHT controller pull up the data line and keeps it for 80µs for DHT’s
arranging of sending data.
 When data bus is at low voltage level it means that DHT11 is sending response
signal. Once it is done, DHT again makes data line pull-up for 80µs for preparing data
transmission.
 Data format that is sending by DHT to arduino for every bit begins with 50µs low
voltage level and length of high voltage level signal determines whether data bit is
“0” or “1”.

 ADVANTAGES:-
 Very stable output.
 Most accurate.
 Linear and predictable.
 High accuracy.
 High repeatability.
 Good precision.
 Low Drift.
 More linearity compare to a thermocouple.

 APPLICATIONS:-
 A DHT11 Relative Humidity and Temperature Sensor can be used in many applications
like:
 HVAC (Heating, Ventilation and Air Conditioning) Systems
 Weather Stations
 Medical Equipment for measuring humidity
 Home Automation Systems
 Automotive and other weather control applications

 Detailed Specifications:-
TABLE:- Parameters Conditions Minimum Typical Maximum
Humidity

Resolution 1%RH 1%RH 1%RH


8 Bit
Repeatability ±1%RH
Accuracy 25℃ ±4%RH
0-50℃ ±5%RH
Interchangeability Fully Interchangeable

Measurement 0℃ 30%RH 90%RH


Range 25℃ 20%RH 90%RH
50℃ 20%RH 80%RH
Response Time 1/e(63%)25℃, 6S 10 S 15 S
(Seconds) 1m/s Air
Hysteresis ±1%RH

You might also like