Skip to content

Grove Sensors

Thomas Amberg edited this page Sep 18, 2020 · 99 revisions

Button

Buy

Pinout

Connect to Grove D<XY>

Color Signal
Black GND
Red VCC (3.3V)
White NC
Yellow SIG (Digital)

Code

Arduino

Python on Raspberry Pi

Resources

Light Sensor v1.2

Buy

Pinout

Connect to Grove A<XY>

Color Signal
Black GND
Red VCC (3.3V)
White NC
Yellow SIG (Analog)

Code

Arduino

Python on Raspberry Pi

Resources

Rotary Angle Sensor

Buy

Pinout

Connect to Grove A<XY>

Color Signal
Black GND
Red VCC (3.3V)
White NC
Yellow SIG (Analog)

Code

Arduino

Python on Raspberry Pi

Resources

Temperature & Humidity Sensor (DHT11)

Buy

Pinout

Connect to Grove D<XY>

Color Signal
Black GND
Red VCC (3.3V)
White NC
Yellow SIG (Digital)

Code

Arduino

ESP8266

  • Library: Sketch > Include Library > Manage Libraries... > DHTesp > Install
  • Example: File > Examples > DHT sensor library for ESPx > DHT_ESP8266
    • In the example code, make sure to use DHT11
      //dht.setup(..., DHTesp::DHT22);
      dht.setup(..., DHTesp::DHT11);

nRF52840

  • Library: Sketch > Include Library > Manage Libraries... > Grove DHT11 > Install
  • Example: File > Examples > Grove Temperature and Humidity Sensor > DHTtester
    • In the example code, make sure to use DHT11
      //#define DHTTYPE DHT22
      #define DHTTYPE DHT11

Python on Raspberry Pi

Resources

Ultrasonic Ranger

Buy

Pinout

Connect to Grove D<XY>

Color Signal
Black GND
Red VCC (3.3V)
White NC
Yellow SIG (Digital, PWM)

Code

Arduino

  • Library: Sketch > Include Library > Manage Libraries... > Grove Ultrasonic Ranger > Install
  • Example: File > Examples > Grove Ultrasonic Ranger > UltrasonicDisplayOnTerm

Python on Raspberry Pi

Resources