ArduinoGeneral

SKU:SEN0209 measurement unit ?

userHead patrick.benimelis 2019-01-10 23:39:53 2465 Views3 Replies
What is the measurement unit for the sensor SEN0209 Gravity: Flexible Piezo Film Vibration Sensor.
Can we have inches / second or G ?
2019-03-12 15:09:56 Please refer to the sample code in the wiki: https://www.dfrobot.com/wiki/index.php/ ... U:_SEN0209 it is the code about output the analog signal. userHeadPic robert.chen
2019-03-08 19:42:41 Hi,

could you post an example code to get the analog value? I tried this and it is not working:


int PiezoPin = A0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
int freq = analogRead (PiezoPin);
Serial.println (freq);
delay(300);

}

Thanks for your help,

Cheers!
userHeadPic gunter.just
2019-01-11 11:49:27 The output is the analog value, it does not have a specific unit, you need to develop the algorithm to generate the measurement unit. userHeadPic robert.chen