画像は参考までに、仕様書を参照してください

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地位: 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

要求引用

下の書類に記入して、できるだけ早くご連絡します

Bargain Finds