Grove Temp & Humid (DHT11) + MKR Connector Carrier for MKR1000 & MKR1010 - Compatible..?

hello everyone,

a pleasant day to you!

i bought the following:

• 1 Seeed Grove temperature & Humidity (DHT11) sensor

• 2 Arduino MKR Connector Carrier (Grove Compatible)

to have a prototype for MKR1000 and MKR1010

when i put it all together

  1. MKR-Connector-Carrier + MKR1000 + Grove DHT11
  2. MKR-Connector-Carrier + MKR1010 + Grove DHT11

    • installed Library on my IDE: Grove Temperature And Humidity Sensor by Seeed Studio Version 1.0.0

    • Get the sample sketch DHTtester and modify DHTTYPE to DHT11
    [code]// Example testing sketch for various DHT humidity/temperature sensors
    // Written by ladyada, public domain

#include “DHT.h”
#define DHTPIN A0 // what pin we’re connected to

#define DHTTYPE DHT11 // DHT 11
//#define DHTTYPE DHT22 // DHT 22 (AM2302)
//#define DHTTYPE DHT21 // DHT 21 (AM2301)

DHT dht(DHTPIN, DHTTYPE);[/code]

• Uploaded sample sketch (DHTtester) to MKR board

The result are below:

  1. by the way, i tested Grove-DHT11 on UNO with your Base-Shield and it works excellent!

  2. however, on MKR1000

  1. and on MKR1010

seems it satisfy both conditions (detecting NaN and with value) but zero value

<CODE><s>[code]</s>// check if returns are valid, if they are NaN (not a number) then something went wrong!
if (isnan(t) || isnan(h)) 
    Serial.println("Failed to read from DHT");
    Serial.print("Humidity: "); 
    Serial.print(" %\t");
    Serial.print("Temperature: "); 
    Serial.println(" *C");
    digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
    digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW

please kindly help me with my project,
i can't find any documentation regarding these items,
i worry now if these parts are compatible with each other...

thank you so much..

Hi there,

It is compatible. please refer to <LINK_TEXT text=“ … sor-8f22ed”></LINK_TEXT> and <LINK_TEXT text=“ … o-mkr1000/”></LINK_TEXT> as well. thanks.