DHT_11 sensor to groove

I have just got my Sodaq ONE development KIT, so I am actually taking first steps on it…
I have already got DHT_11 sensor from another Arudino KIT, however, it has only 3 pins (GND-Data-VCC), so should be the 4 pins groove cable useful anyway? If not, please let me know if I should use the Female Jumper to Grove 4pin converter cable instead.
Could you please, let me know the groove pin order name on the shield board? Is it (right to left) GND-VCC-Data-??

Many thanks!

Can you provide a link to the specific version of the DHT_11 sensor module that you have?

The Grove cables have four coloured wires:

Yellow: Signal 1
White: Signal 2
Red: VCC
Black: GND

I believe the DHT11 only uses a single Signal line, you can connect that to either Yellow or White. You will just need to specify the correct signal IO pin for the library to use. I believe you may also need to add a pull-up resistor on that line.

Thank you very much for your reply.
So, I might use a 4pin Grove cable anyway, even though one of the pin cable doesn’t get any data signal, is that right? I mean I could use a 4pin grove cable from my 3pin sensor to one of the 0/1 2/3 6/7 8/9 shield connectors?

Yeah there is no requirement to use both the signal wires. Just makes sure you specify the correct IO pin in the software depending on what wire you use.

Hi Gabriel,

I am actually trying to connect my 3pin Hum&Temp sensor into the Sodaq ONE board by the 4pin grove cable. However, there is not signal power on my sensor. Should I add a library “Cayenne” as well as several functions into my code? If so, where should I settle down the functions (code part)?



If you use 2/3 6/7 or 8/9 you need to turn on the powerpin.

#define enablePin 11

void setup() {
  // put your setup code here, to run once:
  pinMode(enablePin, OUTPUT);
  digitalWrite(enablePin, HIGH);

void loop() {
  // put your main code here, to run repeatedly:



Should I add any library as well?

What’s the reason to enablePin 11?
I didn’t manage to make it working yet…


If you are using the BASE board with the Sodaq One, some of the Grove sockets are powered by the switchable 3.3V source. D11 can be used to switch on that power, see the code above.