Analog Piezo Disk Vibration Sensor (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 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: Not necessary to
power the module
Interface: Analog
Current: less than 1mA
Weight: 10g
Pin Definition
Tutorial
Connection diagram
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 pressure is applied not to the piezoelectric ceramics, the analog output of 0; when pressure is
applied to the piezoelectric ceramics, the analog output will send the change, but as the pressure
increases.
For any questions/advice/cool ideas to share, please visit DFRobot Forum.
Powered By DFRobot © 2008-2017
很抱歉,暂时无法提供与“DFR0052”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格
- 1+43.50410
- 3+38.44938
- 8+37.88641