Analog Piezo Disk Vibration Sensor (SKU:DFR0052)

From Robot Wiki

Jump to: navigation, search

Contents

Introduction

Analog Piezo Disk Vibration Sensor (SKU:DFR0052)

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

Specification

  • Power supply:5V
  • Interface:Analog

Pinout Diagram

Analog Piezo Disk Vibration Sensor.png



Connection diagram

connection diagram

Sample Code

//Arduino 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);
}




Nextredirectltr.pngGo Shopping Analog Piezo Disk Vibration Sensor (SKU:DFR0052)