Analog_Piezo_Disk_Vibration_Sensor__SKU_DFR0052_-DFRobot

Analog Piezo Disk Vibration Sensor (SKU:DFR0052)

Introduction

The DFRobot Vibration Sensor buffers a piezoelectric transducer that responds to strain changes by generating a measurable output voltage change. Therefore the volatage is propotional with the strength of vibration.

Specification

Pin Definition

Tutorial

Connection diagram

_DFR0052_Con.png

Sample Code

void setup()
{
  Serial.begin(9600); //
}
void loop()
{
      int val;
      val=analogRead(0);//Connect the sensor to analog pin 0
      Serial.println(val,DEC);//
      delay(100);
}

Result

When no pressure is applied to the piezoelectric ceramics, the analog output is 0; when pressure is applied to the piezoelectric ceramics, the analog output will being correlated to the amount of pressure.

Result_DFR0052.png

FAQ

For any questions/advice/cool ideas to share, please visit DFRobot Forum.