Hi there,
I’ve got that SeeedStudio Piezo Vibration Sensor and can’t get it work well, as it could do.
I connected Vcc, GND and Out (to A0) pins to Arduino and it seems the sensor not working good.
If I connect it to 3.3V, I get an amplitude value ~703 , min value ~14 in Serial.
If I connect it to 5V, I get an amplitude value ~1023 , min value ~18 in Serial.
I’m using that code:
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
delay(500);
}
The piezo film sometimes responds to bendings, sometimes not. I’m getting only max or min values.
I found the video that that kind of piezo film can be very sensitive, I’m going to measure very small vibrations with it but don’t know what I’m doing wrong.
Please help.