The Grove-Sound Sensor
What is it?
The Sound sensor module is a simple microphone. It can be used to determine the acoustic
noise level of the environment. The resistance of the sensor decreases when the sound
intensity of the environment increases. The value of output can be adjusted by the
potentiometer knob on the Grove-Sound Sensor module.
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:
http://www.seeedstudio.com/depot/Grove-Sound-Sensor-p-752.html
The Grove-Moisture Sensor
What is it?
This Moisture Sensor can be used to detect the moisture of soil or judge if there is water around
the sensor. The Moisture Sensor is very user-friendly: just insert it into the soil and then read the
data. Thanks to this sensor, you can easily see when your house plant is thirsty! Perhaps you
can have LaunchPad print out a message if moisture levels are too low: “Hey, I am thirsty now!
Please give me some water.”
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:
http://www.seeedstudio.com/depot/Grove-PIR-Motion-Sensor-p-802.html?cPath=25_31