Digital Temperature and Humidity Sensor DHT11 SEN46 ,R13

Fr2,800

The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor

In stock

SKU: VAR37 Categories: ,

Description

The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

Features

3 to 5V power and I/O
2.5mA max current use during conversion (while requesting data)
Good for 20-80% humidity readings with 5% accuracy
Good for 0-50°C temperature readings ±2°C accuracy
No more than 1 Hz sampling rate (once every second)

Getting started Digital Temperature and Humidity Sensor

The DHT11 is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed).

Connections

  • First left pin: Arduino 3-5V power
  • Second left pin: Arduino digital data input pin
  • First right most pin: Ground.

Technical details:

  • Power: 3-5V
  • Max Current: 2.5mA
  • Humidity: 20-80%, 2-5% accuracy
  • Temperature: 0 to 50°C, ±2°C accuracy

Step1: Hardware required

For this tutorial you will need:

Step2: Connecting the hardware

The Circuit

Picture 1: Schematic Diagram

The connections are pretty easy, see the image above with breadboard circuit schematic.

Step3: Making the code and Upload it!

To read from the DHT sensor, we’ll use the DHT library from Adafruit. To use this library you also need to install the Adafruit Unified Sensor library. Follow the next steps to install those libraries.

Open your Arduino IDE and go to Sketch Include Library > Manage Libraries. The Library Manager should open.

Search for “DHT” on the Search box and install all the DHT library from Adafruit.

Picture 2: Getting the libraries

 

Picture 3: Selecting Test Codes

Before to upload this code, Uncomment DHT11 type and comment DHT21 & DHT22 type and upload it. As shown below

Picture 4: Uncommenting

Open the serial monitor

Figure 5: Serial Monitor Data
Package includes:
1×DHT11 Temperature and Humidity sensor

 

You may also like…