-
Notifications
You must be signed in to change notification settings - Fork 18
Grove Sensors
Thomas Amberg edited this page Mar 5, 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
- https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/ (built-in)
- Example: File > Examples > AnalogReadSerial
- https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/ (built-in)
- Example: File > Examples > AnalogReadSerial
- 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 for// 48MHz
.
- 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
- Library: Sketch > Include Library > Manage Libraries... > Grove Ultrasonic Ranger > Install
- Example: File > Examples > Grove Ultrasonic Ranger > UltrasonicDisplayOnTerm