Piezo Vibration Sensor - Small Horizontal SEN-09198 RoHS

I just bought several horizontal and vertical vibrations sensors from your company. But how do I connect them to my Arduino Uno board or bread board. Also, any resistors required? Plus, will this code I found on arduino.cc work with these sensors.

const float knockSensor = A0; // not sure if right pin since sensor is 2 pin

float sensorReading = 0;

void setup()

{

Serial.begin(9600);

}

void loop()

{

sensorReading = analogRead(knockSensor);

sensorReading = sensorReading / 100.0;

Serial.println(sensorReading, 2); // 2 digits

delay(100);

}

First, the members here are not affiliated with Sparkfun in anyway. We are volunteers helping the community. I think Sparkfun should put a sticky informing people, but I’m pretty sure no one would read it.

Second, Google, Google and some more Google is where you will find all your answers.

1st page of a Google search “Piezo Vibration Sensor.” If you notice it didn’t even have “Arduino” in it.

http://arduino.cc/en/tutorial/knock

http://www.digikey.com/en/articles/tech … on-sensors

And you will find a manual on the product’s page.

As codlink mentions, we’re not Sf employees, just a bunch of people with too much time on our hands. Sparkfun people do drop by occasionally, but you’re better off contacting them directly here: https://www.sparkfun.com/static/customer_service

Also you can posts questions about products in the Comments section for each product.