Loading... Please wait...

Categories

Our Newsletter


WeMos D1 Mini DHT11 Temperature Humidity Sensor Shield

  • Image 1
Price:
$5.95 (inc GST) $5.41 (exc GST)
SKU:
WE1011
Current Stock:
10


Product Description

Easily add a temperature and humidity sensor to your WeMos D1 Mini ESP8266 project with this shield from Tronixlabs Australia. 

Easy to use with popular library support. Note -  the temperature and humidity data read from sensor is the result of the last measurement (the sensor will measure after you read). To get real-time data, you need read twice. It is not recommended to repeatedly read the sensor, the reading interval should be more than 2 seconds. If you need a faster sensor, consider the SHT30.

A full set of WeMos stacking headers and pins are included with each shield. 

Features:

  • Temperature: 0~60°C (±2°C)
  • Humidity: 20-90%RH (±5%RH)
  • Data is pin D4

Shield schematic (.pdf)

Arduino Code

NodeMCU example:

pin =4
status, temp, humi, temp_dec, humi_dec = dht.read(pin)
if status == dht.OK then
    -- Integer firmware using this example
    print(string.format("DHT Temperature:%d.%03d;Humidity:%d.%03d\r\n",
          math.floor(temp),
          temp_dec,
          math.floor(humi),
          humi_dec
    ))

    -- Float firmware using this example
    print("DHT Temperature:"..temp..";".."Humidity:"..humi)

elseif status == dht.ERROR_CHECKSUM then
    print("DHT Checksum error.")
elseif status == dht.ERROR_TIMEOUT then
    print("DHT timed out.")
end


Find Similar Products by Category


Add to Wish List

Click the button below to add the WeMos D1 Mini DHT11 Temperature Humidity Sensor Shield to your wish list.

You Recently Viewed...