AnalogPiezoDiskVibrationSensor(SKU:DFR0052)
Contents
1
Introduction
2
Specification
3
Tutorial
3.1
Connection diagram
3.2
Sample Code
3.3
Result
Introduction
The DFRobot Vibration Sensor buffe
rs a piezoelectric tr
ansducer that responds
to strain changes by
generating a measurable output voltag
e change wh
ich is propotional with
the strength of vibration.
Specification
Power supply: Not necessary to
power the module
Interface: Analog
Current: less than 1mA
Weight: 10g
Pin Definition
Tutorial
Connectiondiagram
SampleCode
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 pressure is applied not to the piezoelectric
ceramics, the analog output of 0; when pressure is
applied to the piezoelectric ceramics, the analog ou
tput will send the change,
but as the pressure
increases.
For any questions/advice/cool
ideas to share, please visit
DFRobot Forum
.
Po
wered By DFRobo
t © 2008-2017
Suppliers Inquiry
Previous
Next
Link
Name *
Reason for Contact
General Inquiry
Place Order
Report Issue
Target Price (Option)
Email Address *
Message *
BOM / Attach Files (Option)
Maximum allowed file size is 10MB