Page 4
Under the supervision of Seeed Technology Inc., this manual has been compiled and published which covered the latest product description and specification. The content of this manual is subject to change without notice.
1. Introduction Grove- Piezo Vibration Sensor is suitable for measurements of flexibility, vibration, impact and touch. The module is based on PZT film sensor LDT0-028. When the sensor moves back and forth, a certain voltage will be created by the voltage comparator inside of it. A wide dynamic range (0.001Hz~1000MHz) guarantees an excellent measuring performance.
4. Usage With Arduino The Grove - Piezo Vibration Sensor outputs a logic HIHG when vibration was detected. We can use any of Arduino pins to read the data. Here is an example of Piezo Vibration Sensor controlling LED. When the vibration was detected, this sensor outputs a logic high signal ( the sensitivity can be changed by adjusting the potentiometer), an LED lights up.
Page 9
You can directly use a digital pin, take D5 of base shield as an example, and connect LED to Pin const int ledPin=12; void setup() { Serial.begin(9600); pinMode(ledPin,OUTPUT); void loop() { sensorState = digitalRead(5); Serial.println(sensorState); delay(1000); if(sensorState == HIGH) digitalWrite(ledPin,HIGH);...
else digitalWrite(ledPin,LOW); With Raspberry Pi 1. You should have got a raspberry pi and a grovepi or grovepi+. 2. You should have completed configuring the development enviroment, otherwise follow here. 3. Connection Plug the sensor to grovepi socket A0 by using a grove cable. ...
Page 11
5. Run the demo. sudo python grove_piezo_vibration_sensor.py...
Need help?
Do you have a question about the Grove 101020031 and is the answer not in the manual?
Questions and answers