overview of the included Grove modules
DIGITAL MODULES
The Grove-Buzzer
What is it?
The Grove Buzzer module features a piezo buzzer that can be connected to digital outputs. It
will emit a tone when the output is high. Alternatively it can be connected to a pulse-width
modulation (PWM) capable output pin to generate various tones and sounds.
How to connect it?
This is a Digital module that should connect to a digital or PWM-capable pin (i.e. Grove
connector J13 - J17)
How to program it?
In Energia, you can use either the digitalWrite(pin, state) API to buzz the piezo at a fixed tone.
Or, you can use the analogWrite(pin, dutyCycle) or tone(pin, frequency, duration) function if you
want to modulate a specific frequency or tone.
More details:
http://www.seeedstudio.com/depot/Grove-Buzzer-p-768.html
The Grove-Relay
What is it?
The Relay is a digital normally- open switch that controls a relay capable of switching much
higher voltages and currents than your normal LaunchPad boards. When set to HIGH, the on-
board LED on the Grove-Relay module will light up and the relay will close to allow current to
flow. The peak voltage capability is 250V at 10 amps.
How to connect it?
This is a Digital module that should connect to a digital pin (i.e. Grove connector J13 - J17)
How to program it?
In Energia, you can use the digitalWrite(pin, state) API to close the relay.
More details:
http://www.seeedstudio.com/depot/Grove-Relay-p-769.html
The Grove-PIR Motion Sensor
What is it?
批注 [4]: For each module, should we have a small
diagram highlighting the appropriate grove connector?
批注 [6]: Applies to all module overviews