DHT11 Sensor: DHT11 Pinout, Application, Equivalent

UTMEL

Published: 15 April 2022 | Last Updated: 15 April 2022

3190

DHT11 Temperature-Humidity Sensor

DHT11 Temperature-Humidity Sensor

Waveshare

DHT11 Temperature-Humidity Sensor datasheet pdf and Unclassified product details from Waveshare stock available at Utmel

Purchase Guide

The DHT11 is a commonly used temperature and humidity sensor.This post mainly covers its pinout, equivalent, where & how to use and more details about DHT11.

This video  will learn first how to add simpleDHT library in Arduino IDE. Later on we will write arduino program to read temperature and humidity data from DHT11 Sensor Module.

DHT11 Sensor Module with Arduino Temperature and Humidity

DHT11 Pinout

DHT11 Pinout.jpg

DHT11 Pinout

Pin#

Type

                                            Parameters

Pin#1

Vcc

Provide 3.3V to 5V at this pin.

Pin#2

Data

This pin provides a digital output.

Pin#3

N/C

 Not Connected.

Pin#4

Ground

This pin is used for Ground ( Connected to 0V or GND ).


DHT11 Description

The DHT11 Temperature and Humidity Sensor has a temperature and humidity sensor complex with a calibrated digital signal output. It offers high dependability and outstanding long-term stability by employing an innovative digital-signal-acquisition technique as well as temperature and humidity sensing technologies. This sensor consists of a resistive-type humidity measurement component and an NTC temperature measurement component, and it links to a high-performance 8-bit microcontroller, providing great quality, fast response, anti-interference capability, and cost-effectiveness.


DHT11 Feature

  • Voltage range: 3.5V to 5.5V

  • 0.3mA (measuring) 60uA operating current (standby)

  • Serial data is output.

  • 0°C to 50°C temperature range

  • Humidity levels range from 20% to 90%.

  • Temperature and humidity are both 16-bit resolutions.

  • 1°C and 1 per cent accuracy


DHT11 Application

  • Measure temperature and humidity

  • Local Weather station

  • Automatic climate control

  • Environment monitoring


DHT11 Equivalent

The equivalent for DHT11

  • DHT22

  • AM2302

  • SHT71

Where Should DHT11 Be Used?

The DHT11 is a temperature and humidity sensor that is widely used. The sensor includes a dedicated NTC to detect temperature and an 8-bit microprocessor to output temperature and humidity measurements as serial data. The sensor is factory calibrated as well, making it simple to interface with other microcontrollers.

The sensor can measure temperature from 0°C to 50°C and humidity from 20% to 90% with an accuracy of 1°C and 1%, respectively. So, if you're wanting to measure in this range, this sensor would be a good fit.


How to Make Use of DHT11?

The DHT11 sensor is factory calibrated and delivers serial data, making it extremely simple to set up. This sensor's wiring diagram is shown below.

DHT11 Typical Application Circuit.jpg

DHT11 Typical Application Circuit

As you can see, the data pin is connected to an MCU I/O pin via a 5K pull-up resistor. This data pin serially outputs the temperature and humidity values. If you want to connect a DHT11 to an Arduino, there are ready-made libraries that will help you get started quickly.

If you are attempting to interface it with another MCU, the datasheet provided below will be useful. The data pin will output 8-bit humidity integer data + 8-bit humidity decimal data +8 bit temperature integer data +8 bit fractional temperature data +8 bit parity bit. To request that the DHT11 module provide these data, the I/O pin must be briefly held low and then raised, as indicated in the timing diagram below.

Interfacing DHT11 with MCU.jpg

Interfacing DHT11 with MCU

DHT11 Package

DHT11 Package.jpg

DHT11 Package

Frequently Asked Questions

DHT11 vs. LM35?

DHT11 can measure both humidity and temperature while LM35 can only measure temperature. A very small amount of current is required to operate for LM35. While on other hand the range of measuring the temperature of LM35 is maximum than the DHT11. The DHT11 requires less voltage for its operation.

What difference is between DHT11 Sensor and Module?

The DHT11 sensor is available as a sensor or as a module. In either case, the sensor's performance is the same. The sensor will be packaged in a 4-pin package, with just three pins used, whereas the module will have three pins as illustrated above. The only difference between the sensor and the module is that the module includes a filtering capacitor and a pull-up resistor, whereas the sensor requires you to use them externally if necessary.

What is the accuracy of the DHT11 sensor?

1%.

What is the use of DHT sensor?

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.

What does DHT11 ensure by using the digital-signal-acquisition technique and temperature & humidity sensing technology?

High reliability and excellent long-term stability.

What type of humidity measurement component does DHT11 have?

Resistive-type humidity measurement component and an NTC temperature measurement component.

DHT11 vs. DHT22?

Though the DHT22 is more precise, accurate, and works in a wider temperature and humidity range, there are three areas where the DHT11 outperforms the DHT22. It costs less, is smaller, and has a greater sample rate. The DHT11 has a sampling rate of 1Hz, which means one reading every second, but the DHT22 has a sampling rate of 0.5Hz, which means one reading every two seconds.
DHT11 Temperature-Humidity Sensor

Waveshare

In Stock

United States

China

Canada

Japan

Russia

Germany

United Kingdom

Singapore

Italy

Hong Kong(China)

Taiwan(China)

France

Korea

Mexico

Netherlands

Malaysia

Austria

Spain

Switzerland

Poland

Thailand

Vietnam

India

United Arab Emirates

Afghanistan

Åland Islands

Albania

Algeria

American Samoa

Andorra

Angola

Anguilla

Antigua & Barbuda

Argentina

Armenia

Aruba

Australia

Azerbaijan

Bahamas

Bahrain

Bangladesh

Barbados

Belarus

Belgium

Belize

Benin

Bermuda

Bhutan

Bolivia

Bonaire, Sint Eustatius and Saba

Bosnia & Herzegovina

Botswana

Brazil

British Indian Ocean Territory

British Virgin Islands

Brunei

Bulgaria

Burkina Faso

Burundi

Cabo Verde

Cambodia

Cameroon

Cayman Islands

Central African Republic

Chad

Chile

Christmas Island

Cocos (Keeling) Islands

Colombia

Comoros

Congo

Congo (DRC)

Cook Islands

Costa Rica

Côte d’Ivoire

Croatia

Cuba

Curaçao

Cyprus

Czechia

Denmark

Djibouti

Dominica

Dominican Republic

Ecuador

Egypt

El Salvador

Equatorial Guinea

Eritrea

Estonia

Eswatini

Ethiopia

Falkland Islands

Faroe Islands

Fiji

Finland

French Guiana

French Polynesia

Gabon

Gambia

Georgia

Ghana

Gibraltar

Greece

Greenland

Grenada

Guadeloupe

Guam

Guatemala

Guernsey

Guinea

Guinea-Bissau

Guyana

Haiti

Honduras

Hungary

Iceland

Indonesia

Iran

Iraq

Ireland

Isle of Man

Israel

Jamaica

Jersey

Jordan

Kazakhstan

Kenya

Kiribati

Kosovo

Kuwait

Kyrgyzstan

Laos

Latvia

Lebanon

Lesotho

Liberia

Libya

Liechtenstein

Lithuania

Luxembourg

Macao(China)

Madagascar

Malawi

Maldives

Mali

Malta

Marshall Islands

Martinique

Mauritania

Mauritius

Mayotte

Micronesia

Moldova

Monaco

Mongolia

Montenegro

Montserrat

Morocco

Mozambique

Myanmar

Namibia

Nauru

Nepal

New Caledonia

New Zealand

Nicaragua

Niger

Nigeria

Niue

Norfolk Island

North Korea

North Macedonia

Northern Mariana Islands

Norway

Oman

Pakistan

Palau

Palestinian Authority

Panama

Papua New Guinea

Paraguay

Peru

Philippines

Pitcairn Islands

Portugal

Puerto Rico

Qatar

Réunion

Romania

Rwanda

Samoa

San Marino

São Tomé & Príncipe

Saudi Arabia

Senegal

Serbia

Seychelles

Sierra Leone

Sint Maarten

Slovakia

Slovenia

Solomon Islands

Somalia

South Africa

South Sudan

Sri Lanka

St Helena, Ascension, Tristan da Cunha

St. Barthélemy

St. Kitts & Nevis

St. Lucia

St. Martin

St. Pierre & Miquelon

St. Vincent & Grenadines

Sudan

Suriname

Svalbard & Jan Mayen

Sweden

Syria

Tajikistan

Tanzania

Timor-Leste

Togo

Tokelau

Tonga

Trinidad & Tobago

Tunisia

Turkey

Turkmenistan

Turks & Caicos Islands

Tuvalu

U.S. Outlying Islands

U.S. Virgin Islands

Uganda

Ukraine

Uruguay

Uzbekistan

Vanuatu

Vatican City

Venezuela

Wallis & Futuna

Yemen

Zambia

Zimbabwe