Electronics

Temperature and Humidity DHT11 Sensor Shield for (WIFI D1 Mini) RobotDYN

AED 15.75

Low stock
1

Description

This shield contains a RobotDYN DHT11 for WIFI D1 mini, which provides a digital output proportional to the temperature and humidity detected by the sensor. This Temperature and Humidity sensor Shield gives a digital output that has been pre-calibrated. A unique capacitive sensor element monitors relative humidity, using a negative temperature coefficient (NTC) thermistor to measure temperature. It possesses high dependability and long-term stability and is easy to be connected to WIFI D1 mini.

Package Includes:

  • 1x RobotDYN DHT11 Humidity and Temperature Shield for WIFI D1 mini
  • 2 x Male Pin Header 1x8pins
  • 2 x Female Pin Header -BLACK 1x8pins
  • 2 x Stackable Header - BLACK 1x8pins

Features:

  • Relative Humidity and temperature measurement
  • Full range temperature compensation Calibrated
  • Easy to be connected to WIFI D1 mini.
  • The sensor is composed of a resistive humidity sensing component and an NTC temperature testing component and connects with 8-byte Output.
  • Digital signal
  • Long term stability
  • Low power consumption
  •  the module is available in ready-to-go mode and can be directly connected to the WIFI D1 mini.

Description:

The RobotDYN DHT11 shield for WIFI D1 mini is a shield with a widely used temperature and humidity-based digital sensor. To monitor the environmental humidity and temperature, the shield utilizes a capacitive humidity sensor and a thermistor-based temperature sensor. Humidity sensing extends from 20% to 90% with 5% accuracy, while temperature sensing ranges from 0 to 50 degrees Celsius with 2°C accuracies. This sensor's sample time is nearly 2 seconds and easy to be utilized just plug and it's already connected to the WIFI D1 mini. This Temperature and Humidity Sensor communicates with the microcontroller unit via a digital pin through a one-wire interface protocol and lacks analog inputs. This Temperature and Humidity sensor gives a digital output that has been pre-calibrated. A unique capacitive sensor element monitors relative humidity, using a negative temperature coefficient (NTC) thermistor to measure temperature. It possesses high dependability and long-term stability. The module also includes a pull-up resistor and an extra filter capacitor to support the RobotDYN DHT11 sensor. As a result, the module is ready to use and can be directly connected to the WIFI D1 mini.

Principle of Work:

The RobotDYN DHT11 shield for WIFI D1 mini is available as a sensor or as a module. The sensor's performance is the same in either case. The sensor will be a 4-pin package with just three pins used, whereas with the shield you will not have to connect anything another difference between the sensor and the module is that the shied includes a filtering capacitor and a pull-up resistor, whereas the sensor requires you to use them externally if necessary. When the WIFI D1 mini provides a trigger signal, the sensor switches from low power consumption to active mode. After the trigger signal sensor sends a feedback signal back to the MCU, 40 bits of collected data are sent out and a new signal collection is triggered. (It should be noted that the 40-bit gathered data transmitted from the sensor to MCU is already acquired before the trigger signal arrives.) One trigger signal receives 40-bit return data from the sensor once. For communication between the WIFI D1 mini and the sensor, single-bus data is employed.

 

Pinout of the Board:

The sensor is connected to the board on the D4 pin if you want to change you can cut the solder bridge in the upper side of the shield and make another bridge on the relative pin name with solder and solder iron, the VCC and GND are connected internally. 


Applications:

  1. Consumption product
  2. Weather station
  3. Humidity regulator
  4. Air conditioner

Circuit:

we will connect the RobotDYN DHT11 sensor to the D4 input of the WiFI D1 Mini board and then read the temperature and show it on the serial monitor you can change the pin connected by cutting the solder bridge and then make a bridge with solder in any pin you want.

.

Library: 

You need to install the below RobotDYN DHT11 library. Just download the below library and open Arduino IDE. Now go to Sketch > Include Library > Add .Zip Library.

DHT Library

. Once it’s done, you can use the code below.

Code:

This code is going to print the current passing the sensor on the Serial Monitor.

#include "DHT.h"

#define DHTPIN D4     // what pin we're connected to

// Uncomment whatever type you're using!
#define DHTTYPE DHT12   // DHT 11
//#define DHTTYPE DHT22   // DHT 22  (AM2302)
//#define DHTTYPE DHT21   // DHT 21 (AM2301)

// Initialize DHT sensor.
// Note that older versions of this library took an optional third parameter to
// tweak the timings for faster processors.  This parameter is no longer needed
// as the current DHT reading algorithm adjusts itself to work on faster procs.
DHT dht(DHTPIN, DHTTYPE);

void setup() {
  Serial.begin(9600);
  Serial.println("DHTxx test!");

  dht.begin();
}

void loop() {
  // Wait a few seconds between measurements.
  delay(2000);

  // Reading temperature or humidity takes about 250 milliseconds!
  // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
  float h = dht.readHumidity();
  // Read temperature as Celsius (the default)
  float t = dht.readTemperature();
  // Read temperature as Fahrenheit (isFahrenheit = true)
  float f = dht.readTemperature(true);

  // Check if any reads failed and exit early (to try again).
  if (isnan(h) || isnan(t) || isnan(f)) {
    Serial.println("Impossible de lire la sonde DHT!");
    return;
  }

  // Compute heat index in Fahrenheit (the default)
  float hif = dht.computeHeatIndex(f, h);
  // Compute heat index in Celsius (isFahreheit = false)
  float hic = dht.computeHeatIndex(t, h, false);

  Serial.print("Humidity: ");
  Serial.print(h);
  Serial.print(" %\t");
  Serial.print("Temperature: ");
  Serial.print(t);
  Serial.print(" *C ");
  Serial.print(f);
  Serial.print(" *F\t");
  Serial.print("Heat index: ");
  Serial.print(hic);
  Serial.print(" *C ");
  Serial.print(hif);
  Serial.println(" *F");
}

     

Include the download RobotDYN DHT11 library. Define the D1 Mini pin that is connected with the out pin of the sensor. After that, create the object DHT to access different functions. In the void setup, initialize the serial monitor by using Serial. begin( ). In the void loop, use the function to read the data coming from the sensor. Give the"RobotDYN DHT11 Humidity & Temperature Sensor to read the temperature and humidity reading. Print the readings by using Serial. Print functions. Also, formulate the programming to return the Celsius readings to Fahrenheit. Give some delay time to get different readings

Technical Details:

  • Interface Digital
  • 5 Hz sampling rate (Once every 2 Seconds)
  • Low power consumption
  • Accuracy: ±2°C and ±5%
  • Supply voltage: 3V to 5.5V  
  • It does not require additional external components
  • Temperature:
    • Measuring range: 0 - 50 °C
    • Resolution: 8-bit (1 °C)
    • Accuracy: 1 °C
    • Response time: 6 - 15 s (typically 10 s)
  • Humidity:
    • Measuring range: 20 - 90%RH
    • Resolution: 8-bit (±1% RH*)
    • Accuracy ±4 RH* (at 25 °C)
    • Measuring range: 6 - 30 s
  • Golden connector (pitch 2.54 mm) for connecting the sensor to the D module! mini, or direct plugging into the breadboard.

Resources:

 Library

 

Comparisons:

RobotDYN DHT11 is a popular temperature and humidity-based digital sensor. There is an upgraded version of the RobotDYN DHT11 temperature and humidity sensor available, which is the DHT22 Sensor with higher sensing ranges if you want to use the more basic sensor in your beginner project or something easy to code we recommend starting with LM35.