The Grove-Temperature Humidity Sensor
What is it?
This module is an accurate temperature and humidity sensor. It consists of a capacitive
sensor element used for measuring relative humidity and a negative temperature coefficient
(NTC) thermistor used for measuring temperature.
How to connect it?
This is an analog module that should connect to an analog pin (i.e. Grove connector J5 - J9).
This requires just a single signal pin, SIG0.
How to program it?
In Energia, you will need the Grove-Temperature and Humidity Sensor library. This library is
available in the Grove wiki, which is linked below. Along with the library are a few example
sketches that showcase how to use the library to display the temperature & humidity readings.
Note that the sensor on this module is the DHT22.
NOTE: Since several DHT devices share this library, be sure to comment/uncomment the
appropriate sensor within the library.
If the library is installed in Energia, you can find it at:
File > Examples > Libraries > Humidity_Temperature_Sensor > [Examples]
More details:
http://www.seeedstudio.com/depot/Grove-TemperaureHumidity-Sensor-Pro-p-
838.html?cPath=25_125
The Grove-Rotary Angle Sensor
What is it?
The potentiometer module produces an analog output between 0 and Vcc on SIG0. The angular
range is 300 degrees with a linear change in the output voltage. This may also be known as a
rotary angle sensor.
How to connect it?
This is an analog module that should connect to an analog pin (i.e. Grove connector J5 - J9).
This requires just a single signal pin, SIG0.
How to program it?
In Energia, you should be able to use the analogRead(pin) API. This function will return back
the raw analog readings coming from the sensor. Depending on the resolution of the
LaunchPad ADC channels, the API will return a number between 0-255 (8-bit ADC), 0 - 1024
(10-bit ADC), or 0 - 4095 (12-bit ADC).
More details: