0% found this document useful (0 votes)
9 views

Journal On Dht11 and Arduino

Uploaded by

Waghu Umair
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Journal On Dht11 and Arduino

Uploaded by

Waghu Umair
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

© 2024 IJRAR october 2024, Volume 11, Issue 4 www.ijrar.

org (E-ISSN 2348-1269, P- ISSN


2349-5138)

Temperature Measurement Using DHT11 and


Arduino
Umair Waghu1, Avez Mukadam2, Abdur Rehman3
1
Student, Mechatronics, AIARKP, Navi Mumbai, Maharashtra, India
2
Student, Mechatronics, AIARKP, Navi Mumbai, Maharashtra, India
3
Student, Mechatronics, AIARKP, Navi Mumbai, Maharashtra, India

ABSTRACT
This paper discusses the implementation of a temperature measurement system using the DHT11 sensor and Arduino
microcontroller. The system is designed for simplicity and cost-effectiveness, making it ideal for applications such as home
automation, weather monitoring, and educational purposes. The DHT11 sensor provides reliable temperature and humidity
data, which is processed and displayed using an Arduino. The paper covers the hardware setup, programming approach, and
system accuracy. Experimental results demonstrate the system's performance in varying environmental conditions, along with
an analysis of its limitations.
Keywords: DHT11, Arduino, Temperature Measurement, Sensor Interface, Microcontroller
1. INTRODUCTION
Temperature measurement is critical in a wide range of applications, from weather forecasting to industrial monitoring.
The need for cost-effective and reliable temperature sensors has led to the integration of microcontrollers like Arduino
with sensors such as the DHT11. The DHT11 sensor is widely known for its simplicity and efficiency in measuring
temperature and humidity, while Arduino provides a flexible platform for data acquisition and processing. This paper
aims to present a practical approach for setting up a temperature measurement system using the DHT11 sensor and
Arduino. The project is suitable for beginners, hobbyists, and researchers who require a simple yet functional system for
real-time temperature monitoring.
2. METHODOLOGY
2.1 Hardware Components
The DHT11 sensor and Arduino Uno microcontroller form the core of the system. The DHT11 sensor is capable of
measuring temperature in the range of 0°C to 50°C with an accuracy of ±2°C, which is sufficient for basic applications. The
Arduino Uno serves as the controller to read the sensor's data and display it.
● ARDUINO
Arduino is a new open source hardware and software system. It has to take attention of a large technology design
and community at affordable cost, which increases its use with advanced technology. Arduino hardware is a
motherboard for making interaction between objects and suitable computer programming IDE (Integrated
Development Environment).

IJRAR160100 International Journal of Research and Analytical Reviews (IJRAR)


www.ijrar.org 1
9
© 2024 IJRAR october 2024, Volume 11, Issue 4 www.ijrar.org (E-ISSN 2348-1269, P- ISSN
2349-5138)

Fig1.Arduino

● DHT11
This module features a humidity and temperature complex with a calibrated digital signal output. The DHT11
sensor module is a combined module for sensing humidity and temperature which gives a calibrated digital output
signal. DHT11 gives us a very precise value of humidity and temperature and ensures high reliability and long term
stability. This sensor has a resistive type humidity measurement component and NTC type temperature measurement
component with an 8-bit microcontroller inbuilt which has a fast response and is cost effective and available in 4-pin
single row package.

Fig2. DHT11
The DHT11 module works on serial communication i.e. single wire communication. This module sends data in the
form of a pulse train of a specific time period. Before sending data to Arduino it needs some initialization command
with a time delay. And the whole process time is about 4ms. The single-wire serial interface makes system
integration quick and easy. Its small size, low power consumption and up-to-20 meter signal transmission make it
the best choice for various applications, including those most demanding ones. The component is a 4-pin single row
pin package. It is convenient to connect and special packages can be provided according to users’ request.

2.2 Circuit Setup


The DHT11 sensor is connected to the Arduino's 5V, GND, and digital input pin. A pull-up resistor (10kΩ) is used between
the data pin and the VCC to ensure stable communication. The data pin of the DHT11 is connected to one of the Arduino's
digital pins (e.g., pin 2).

IJRAR160100 International Journal of Research and Analytical Reviews (IJRAR)


www.ijrar.org 2
9
© 2024 IJRAR october 2024, Volume 11, Issue 4 www.ijrar.org (E-ISSN 2348-1269, P- ISSN
2349-5138)

Fig3. interfacing dht11 with arduino

2.3 Software Implementation


The Arduino is programmed using the Arduino IDE. The DHT library is utilized to interface with the sensor, allowing the
microcontroller to easily retrieve temperature data. A basic code snippet for this implementation is as follows:

#include "DHT.h"
#define DHTPIN 2 // Pin to which DHT11 is connected
#define DHTTYPE DHT11 // DHT11 sensor
DHT dht(DHTPIN, DHTTYPE);
void setup() {
Serial.begin(9600);
dht.begin();
}
void loop() {
delay(2000);
float temperature = dht.readTemperature();
if (isnan(temperature)) {
Serial.println("Failed to read from DHT sensor!");
return;
}
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
}

3. RESULTS AND DISCUSSION


The temperature measurement system was tested in a controlled environment over a 24-hour period. The
DHT11 sensor provided stable temperature readings, with variations corresponding to environmental changes.

IJRAR160100 International Journal of Research and Analytical Reviews (IJRAR)


www.ijrar.org 3
9
© 2024 IJRAR october 2024, Volume 11, Issue 4 www.ijrar.org (E-ISSN 2348-1269, P- ISSN
2349-5138)

The average error was found to be within the sensor's specified accuracy of ±2°C. However, due to the sensor's
limited range, it is not suitable for extreme temperature measurements or applications requiring high precision.

Table 1. Temperature Readings Over 24 Hours

Time (hr) Temperature (°C)

0 24.5

6 23.8

12 25.2

18 24.9

24 24.3

4. CONCLUSION
This proposed system can provide a convenient method for effective monitoring of temperature and humidity in real time.
This system is compact to an extent and cost effective when compared to prices of instruments used to measure the
environmental factors. From the above analysis, it is ensured that the nested wired systems can be replaced by the wireless
sensor networks to get accurate data as well as to avoid many hazardous issues.

5. REFERENCES
● N. H. A. Aziz, W. N. W. Muhamad, N. A. Wahab, A. J. Alias, A. T. Hashim, and R. Mustafa, "Real time monitoring
critical parameters in tissue culture growth room with SMS alert system," in Intelligent Systems, Modelling and
Simulation (ISMS), 2010 International Conference on, 2010, pp. 339- 343.
● E. Parrish and T. Hickey, "A Temperature Monitoring System for Use on Normal Newborn Infants,"
Instrumentation and Measurement, IEEE Transactions on, vol. 21, pp. 59-60, 1972.
● L. Ruiz-Garcia, P. Barreiro, and J. Robla, "Performance of ZigBee-based wireless sensor nodes for real-time
monitoring of fruit logistics," Journal of Food Engineering, vol. 87, pp. 405-415, 2008.
● N. Zarka, I. Al-Houshi, and M. Akhkobek, "Temperature control via sms," in Information and Communication
Technologies, 2006. ICTTA'06. 2nd, 2006, pp. 2678-2683.
● R. K. Megalingam, V. Radhakrishnan, D. K. M. Unnikrishnan, D. C. Jacob, and A. K. Sudhakaran, "Autonomous
Smart Server Guard for advanced safety measure using wireless mobile technology," in Mechanical and Electrical
Technology (ICMET), 2010 2nd International Conference on, 2010, pp. 654-658.
● S. J. Brown, "Remote health monitoring and maintenance system," ed: Google Patents, 2001.
● http://www.ardumotive.com/iot-wifi-temp-andhumidity.html

IJRAR160100 International Journal of Research and Analytical Reviews (IJRAR)


www.ijrar.org 4
9

You might also like