图片仅供参考,请参阅产品说明书

Drum Simulate Piezoelectric Sensor Analog Ceramic Vibration Sensor Module Piezoelectricity For Arduino DIY KIT

制造商: Lanka Micro
产品类别: Modules
说明书: Drum Simulate Piezoelectric Sensor Analog Ceramic Vibration Sensor Module Piezoelectricity For Arduino DIY KIT
描述: lanka Module
RoHS状态: 通过无铅认证

Specification

Supply Voltage: 3.3V to 5V

Working Current :<1mA

Working Temperature Range:10°70°

Output Signal:analog signal

 

 

 

Sample Code

 

void setup()

{

Serial.begin(9600); //Open the serial to set the baud rate for 9600bps

}

void loop()

{

int val;

val=analogRead(0); //Connect the analog piezoelectric ceramic vibration sensor to analog interface 0

Serial.print("Vibration is ");

Serial.println(val,DEC);//Print the analog value read via serial port

delay(100);

}

 

Result

Wiring as the above diagram and burning the code, after power-on, open the serial monitor, then set the baud rate for 9600 and vibrate ceramic chip, as the graph shown below.

现货库存 581 pcs

参考价 ($) 1 pcs 100 pcs 500 pcs
$0.47 $0.46 $0.45
最低数量: 1

报价请求

请填写以下表格,我们将尽快与您联系

猜你想要