Wish List 0

Dht Pro Shield For D1 Mini Dht22 Singlebus Digital Temperature And Humidity Sensor

Rs. 463.00 Rs. 528.00

  • Product Code: SEN-TEMPHUM
  • SKU -
  • Availability: In Stock
  • Price in reward points: 4
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
-WEMOS-DHT22 DHT22 Shield for WEMOS – Digital Temperature/Humidity Sensor Module
-The WEMOS DHT11 Sheild is a temperature and humidity sensor shield compatible with WEMOS Mini and Mini Pro with headers for stacking.
-This small stackable type shield is powered by the very common DHT22 digital temperature and humidity sensors and allows to obtain readings. (The DHT22 is a much more precise and wide range sensor than its DHT11 counterpart)
-Combined with a WEMOS board, this information can be communicated via internet and be used to control a system.
-Male Pin Header 1x8pins = 2 pcs
-Female Pin Header -BLACK 1x8pins = 2 pcs
-Stackable Header - BLACK 1x8pins = 2 pcs


Technical details:
-Power supply   : 3.3V.
-Current             : 2.5mA max use of current during conversion (while requesting data).-Humidity      :0 - 100%, ± 2%.
-Temperature   : -40°C + 125°C, ± 0.5%.
-The sampling rate no more than 0.5 Hz (once every 2 seconds).

SPECIFICATIONS:
Power supply                            3.3V.
Current                                 2.5mA max use of current during conversion (while requesting data).
Humidity                                0 - 100%, ± 2%
Temperature                             -40°C + 125°C, ± 0.5%.
The sampling rate no more than 0.5 Hz   (once every 2 seconds).
OVERVIEW:
-Sensor  DHT22 / AM2302
-Temperature:
-Range        -40 to 80 C
-Resolution   8-bit (0.1 C)
-Accuracy     0.5 C
-Relative humidity:
-Range        0 to 100 % RH
-Resolution   8-bit (0.1 % RH)
-Accuracy     2% RH

PACKAGE INCLUDES:

1 PCS x Dht Pro Shield For D1 Mini Dht22 Singlebus Digital Temperature And Humidity Sensor


//SOURCE CODE TAKEN FROM BELOW LINK

//https://github.com/wemos/D1_mini_Examples/blob/master/examples/04.Shields/DHT_Shield/DeepSleep/DeepSleep.ino

/* DHT Shield - Deep Sleep

 *

 * Displays humidity, temperature and heat index, sleeps for 10 seconds and repeats

 *

 * Connections:

 * D0 -- RST

 *

 * If you cant reprogram as the ESP is sleeping, disconnect D0 - RST and try again

 *

 * Depends on Adafruit DHT Arduino library

 * https://github.com/adafruit/DHT-sensor-library

 */


#include "DHT.h"

#define DHTPIN D4

#define DHTTYPE DHT11

DHT dht(DHTPIN, DHTTYPE);


// sleep for this many seconds

const int sleepSeconds = 10;


float humidity, temperature, heatIndex;

char str_humidity[10], str_temperature[10], str_heatIndex[10];


void setup() {

  Serial.begin(9600);

  Serial.println("\n\nWake up");


  // Connect D0 to RST to wake up

  pinMode(D0, WAKEUP_PULLUP);


  Serial.println("Initialize DHT sensor");

  dht.begin();

  delay(2000);


  Serial.println("Read DHT sensor");

  float humidity = dht.readHumidity();

  float temperature = dht.readTemperature();

  if (isnan(humidity) || isnan(temperature)) {

    Serial.println("Failed to read from DHT sensor!");

  }

  float heatIndex = dht.computeHeatIndex(temperature, humidity, false);


  // Convert the floats to strings and round to 2 decimal places

  dtostrf(humidity, 1, 2, str_humidity);

  dtostrf(temperature, 1, 2, str_temperature);

  dtostrf(heatIndex, 1, 2, str_heatIndex);


  Serial.printf("Humidity:    %s %%\nTemperature: %s *C\nHeat index:  %s *C\n", str_humidity, str_temperature, str_heatIndex);

  Serial.printf("Sleep for %d seconds\n\n", sleepSeconds);


  // convert to microseconds

  ESP.deepSleep(sleepSeconds * 1000000);

}


void loop() {

}

© 2021 GitHub, Inc.

Terms

Privacy

Security

Status

Help

Contact GitHub

Pricing

API

Training

Blog

About


15 days

Write a review

Please login or register to review