Finial Report
Finial Report
CEP Report
Nashit 19-EE-187
2 Applications............................................................................................................................ 4
3 Literature Review................................................................................................................... 5
3.2 DHT11..............................................................................................................................6
3.5 Display Humidity and Temperature on the Serial Monitor and the LCD.........................7
4 Components required.............................................................................................................7
Description of components............................................................................................................7
5 Applications............................................................................................................................ 9
5.5 Breadboard................................................................................................................... 11
6 Circuit diagram..................................................................................................................... 11
2. Methodology........................................................................................................................ 13
a) Software used................................................................................................................... 13
b) Procedure......................................................................................................................... 13
3. References............................................................................................................................15
Figures
Figure 1 DHT-11............................................................................................................................. 5
Figure 5: Breadboard................................................................................................................... 11
Figure 9: Project...........................................................................................................................14
1 Introduction:
This project consists of three sections - one senses the humidity and temperature by using
humidity and temperature sensor DHT11. The second section reads the DHT sensor module’s
output and extracts temperature and humidity values into a suitable number in percentage and
Celsius scale. And the third part of the system displays humidity and temperature on LCD.
Temperature is one of the most important measuring variables that is used for monitoring and
control in many industries. Globalization and recent Temperature Control applications are more
necessary now than ever because of industrialization. Numerous homes and businesses
continue to operate in specific places, among others. It must be kept at a particular
temperature for the process to be successful. The benefit of using a temperature management
system over a standard thermostat is that it automatically maintains various temperatures
throughout the day and night, saving energy and money. we are getting the information from
different journals, conferences and articles relevant to the project.
2 Applications
Temperature and humidity sensors are among the most used in environmental sensors.
Humidity sensors are also sometimes referred to as hygrometers. These devices are used to
provide the actual humidity condition within the air at any given point or in any given place.
It can be used for measuring humidity and temperature values in heating, ventilation and air
conditioning systems. Weather stations also use these sensors to predict weather conditions.
The humidity sensor is used as a preventive measure in homes where people are affected by
humidity. Offices, cars, museums, greenhouses and industries use this sensor for measuring
humidity values and as a safety measure.
3 Literature Review
DHT11 is a low-cost digital sensor for sensing temperature and humidity. This sensor can be
easily interfaced with any micro-controller such as Arduino, Raspberry Pi etc… to measure
humidity and temperature instantaneously. DHT11 humidity and temperature sensor is
available as a sensor and as a module.
Introduction to DHT11
DHT11 Temperature & Humidity Sensor features a temperature & humidity sensor
complex with a calibrated digital signal output. By using the exclusive digital-signal-acquisition
technique and temperature & humidity sensing technology, it ensures high reliability and
excellent long-term stability. This sensor includes a resistive-type humidity measurement
component and an NTC temperature measurement component, and connects to a high
performance 8-bit microcontroller, offering excellent quality, fast response, anti-interferenc
ability and cost-effectiveness
Figure 1 DHT-11
Each DHT11 element is strictly calibrated in the laboratory that is extremely accurate on
humidity calibration. The calibration coefficients are stored as programmes in the OTP memory,
which are used by the sensor’s internal signal detecting process. The single-wire serial interface
makes system integration quick and easy. Its small size, low power consumption and up-to-20
meter signal transmission making it the best choice for various applications, including those
most demanding ones. The component is 4-pin single row pin package. It is convenient to
connect and special packages can be provided according to users’ request.
3.2 DHT11
The DHT11 detects water vapor 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 vapor is absorbed by 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 (more conductive), while lower relative humidity
increases the resistance between the electrodes. More information is available on the net.
3.4 DHT11 Setup on an Arduino
Wiring the DHT11 to the Arduino is really easy, but the connections are different depending on
which type you have.
3.5 Display Humidity and Temperature on the Serial Monitor and the LCD
Assuming that you have installed the DHTLib and the LiquidCrystal libraries, the following
program displays the temperature in C̊ on the serial monitor and the in F̊ on the LCD. In both
cases, the humidity is given in %.
4 Components required
1. DHT 11 sensor
2. Arduino UNO
3. Battery 9V
4. LCD
5. I2C moduel
6. Breadboard
7. Jumper wires
Description of components
The DHT11 is a commonly used Temperature and humidity sensor. The sensor comes with a
dedicated NTC to measure temperature and an 8-bit microcontroller to output the values of
temperature and humidity as serial data. The sensor is also factory calibrated and hence easy to
interface with other microcontrollers.
Pin#1: VIN
Pin#2: GND
It is a ground pin.
Pin#3: DATA
DHT11 sensor consists of a capacitive humidity sensing element and a thermistor for sensing
temperature. The humidity sensing capacitor has two electrodes with a moisture holding
substrate as a dielectric between them. Change in the capacitance value occurs with the change
in humidity levels. The IC measure, process this changed resistance values and change them
into digital form.
For measuring temperature this sensor uses a Negative Temperature coefficient thermistor,
which causes a decrease in its resistance value with increase in temperature. To get larger
resistance value even for the smallest change in temperature, this sensor is usually made up of
semiconductor ceramics or polymers.
The temperature range of DHT11 is from 0 to 50 degree Celsius with a 2-degree accuracy.
Humidity range of this sensor is from 20 to 80% with 5% accuracy. The sampling rate of this
sensor is 1Hz .i.e. it gives one reading for every second. DHT11 is small in size with operating
voltage from 3 to 5 volts. The maximum current used while measuring is 2.5mA.
DHT11 sensor has four pins- VCC, GND, Data Pin and a not connected pin.
5 Applications
This sensor is used in various applications such as measuring humidity and temperature values
in heating, ventilation and air conditioning systems. Weather stations also use these sensors to
predict weather conditions. The humidity sensor is used as a preventive measure in homes
where people are affected by humidity. Offices, cars, museums, greenhouses and industries
use this sensor for measuring humidity values and as a safety measure.
5.5 Breadboard
Figure 4: Jumper wires
A breadboard is a construction base for the prototyping of
electronics. Because the solderless breadboard does not
Figure 5: Breadboard
require soldering, it is reusable. This makes it easy to use for creating temporary prototypes and
experimenting with circuit design
6 Circuit diagram
The connection between the Arduino and the temperature sensor is shown in the schematics
below.
#include <DHT.h>
#include <LiquidCrystal_I2C.h>
//ox27
void setup() {
dht.begin();
lcd.init();
lcd.backlight();
void loop() {
// put your main code here, to run repeatedly:
delay(dt);
temp= dht.readTemperature();
humidity = dht.readHumidity();
lcd.setCursor(0,0);
lcd.print("Temp: ");
lcd.print(temp);
lcd.print(" C");
lcd.setCursor(0,1);
lcd.print("Humidity: ");
lcd.print(humidity);
lcd.print(" %");
2. Methodology
a) Software used
1. Fritzing
2. Arduino
b) Procedure
The DHT-11 sensor has I2C communication lines, so we can interface this sensor with Arduino
without any additional circuits.
1. The module of MLX 90614 or DHT-11 not available in Proteus or any other simulation
software. Therefore, the schematic diagrams were made using the software Fritzing.
2. The basic problem faced during the execution of the project was the unavailability of the
MLX 90614. Due to the ongoing situation, the necessity and demand for IR thermometer
grew to record the non-contact temperature, and hence, the sensor MLX 90614 went short
in the market. Moreover, the price of the sensor also increased by nearly two folds. So we
used DHT-11 sensor instead
3. References
2. Interfacing DHT11 Humdity & Temperature Sensor with Arduino & LCD
https://how2electronics.com/interfacing-dht11-humdity-temperature-sensor-with-arduino/
4. TEMPERATURE & HUMIDITY MONITORING & CONTROL SYSTEM BASED ON ARDUINO AND
SIM900A GSM SHIELD
http://www.iraj.in/journal/journal_file/journal_pdf/1-423-151703294362-68.pdf