-
Notifications
You must be signed in to change notification settings - Fork 18
Grove Sensors
Thomas Amberg edited this page Apr 18, 2019
·
99 revisions
- https://www.arduino.cc/reference/en/language/functions/digital-io/digitalread/ (built-in)
- Example: File > Examples > Basics > DigitalReadSerial
- Example: File > Examples > Digital > Button
- TODO
- TODO
Connect to Grove A<XY>
- GND
- VCC
- NC
- SIG (Analog)
- https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/ (built-in)
- Example: File > Examples > AnalogReadSerial
Connect to Grove A<XY>
- GND
- VCC
- NC
- SIG (Analog)
- https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/ (built-in)
- Example: File > Examples > AnalogReadSerial
Connect to Grove D<XY>
- GND
- VCC
- NC
- SIG (Digital)
- 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, use this code
#define DHTCOUNT 20 // experimental value for nRF52840 #define DHTPIN 2 // sensor connected to pin D2 DHT dht(DHTPIN, DHTTYPE, DHTCOUNT);
- In the example code, make sure to uncomment DHT11
- Library: Sketch > Include Library > Manage Libraries... > DHTesp > Install
- Example: File > Examples > DHT sensor library for ESPx > DHT_ESP8266
- http://wiki.seeedstudio.com/Grove-TemperatureAndHumidity_Sensor/
- https://github.com/Seeed-Studio/Grove_Temperature_And_Humidity_Sensor
Connect to Grove D<XY>
- GND
- VCC
- NC
- SIG (Digital)
- Library: Sketch > Include Library > Manage Libraries... > Grove Ultrasonic Ranger > Install
- Example: File > Examples > Grove Ultrasonic Ranger > UltrasonicDisplayOnTerm