Skip to content

Grove Sensors

Thomas Amberg edited this page Feb 26, 2019 · 99 revisions

Button

Buy

Code

Arduino

Java on Raspberry Pi

  • TODO

Node.js on Raspberry Pi

  • TODO

Python on Raspberry Pi

Resources

Light Sensor v1.2

Buy

Code

Arduino

Python on Raspberry Pi

Resources

Rotary Angle Sensor

Buy

Code

Arduino

Python on Raspberry Pi

Resources

Temperature & Humidity Sensor (DHT11)

This sensor seems to have an issue with 3.3V controllers.

Buy

Code

Arduino

  • 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 uncomment DHT11
      #define DHTTYPE DHT11 // DHT 11
      //#define DHTTYPE DHT22 // DHT 22 (AM2302)
      //#define DHTTYPE DHT21 // DHT 21 (AM2301)
    • If you get #error "CPU SPEED NOT SUPPORTED" for the nRF52840, add this code to DHT.h
      // 64MHz, e.g. nRF52840
      #elif (F_CPU == 64000000UL)
      #define COUNT 20 // experimental
      
      (Right below the entry // 48MHz)

Python on Raspberry Pi

Resources

Ultrasonic Ranger

Buy

Code

Arduino

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

Python on Raspberry Pi

Resources

Clone this wiki locally