Summary of Humidity and Temperature Measurement using Arduino
This Arduino-based project measures ambient temperature and humidity using a DHT11 sensor, processes the data via serial communication, and displays the results on a 16x2 LCD screen. The system utilizes a single-wire protocol where the Arduino initiates a start signal, receives a 40-bit response containing humidity and temperature values, and outputs them to the display.
Parts used in the Humidity and Temperature Measurement Project:
- Arduino Uno
- DHT11 Sensor Module
- 16x2 LCD Screen
- Resistive type humidity measurement component
- NTC type temperature measurement component
- 8-bit microcontroller (inbuilt in DHT11)
Humidity and temperature are common parameters to measure environmental conditions. In this Arduino based project we are going to measure ambient temperature and humidity and display it on a 16×2 LCD screen. A combined te
mperature and himidity sensor DHT11 is used with Arduino uno to develop this Celsius scale thermometer and percentage scale humidity measurement project. In one of my previous project, I have also developed a digital thermometer using temperature sensor LM35.
This project consists of three sections – one senses the humidity and temperature by using humidity and temperature sensor DHT11. The second section reads the DHTsensor 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.

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 and humidity data. Arduino collect and extract in two parts one is humidity and second is temperature and then send them to 16×2 LCD.
Here in this project we have used a sensor module namely DHT11. This module features a humidity and temperature complex with a calibrated digital signal output means DHT11 sensor module is a combined module for sensing humidity and temperature which gives a calibrated digital output signal. DHT11 gives us 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 cost effective and available in 4-pin single row package.

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. A complete data transmission is of 40-bit and data format of this process is given below:
8-bit integral RH data + 8-bit decimal RH data + 8-bit integral T data + 8-bit decimal T data + 8-bit check sum.
Complete Process
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”.
Read More: Humidity and Temperature Measurement using Arduino
- How does the DHT11 sensor communicate with the Arduino?
The module works on single wire serial communication where the Arduino sends a start signal and receives a 40-bit data transmission. - What is the total time required for the data transmission process?
The whole process time is about 4ms. - What components are inside the DHT11 sensor module?
It features a resistive type humidity measurement component, an NTC type temperature measurement component, and an 8-bit microcontroller. - How does the Arduino determine if a data bit is 0 or 1?
The length of the high voltage level signal determines whether the data bit is 0 or 1 after a 50µs low voltage level begins. - What is the format of the data sent by the DHT11?
The format includes 8-bit integral RH data, 8-bit decimal RH data, 8-bit integral T data, 8-bit decimal T data, and an 8-bit check sum. - Can this project measure both temperature and humidity simultaneously?
Yes, the combined DHT11 sensor is used to develop a thermometer and percentage scale humidity measurement project. - Why is the DHT11 considered cost-effective?
It has a fast response and is available in a 4-pin single row package. - What happens after the Arduino sends a start signal?
The DHT detects the signal and sends a low voltage level response signal with a time delay of about 80µs.
