La imagen es sólo para referencia, consulte Especificaciones del producto

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

Fabricantes: Lanka Micro
Categoría de producto: Modules
Ficha técnica: Drum Simulate Piezoelectric Sensor Analog Ceramic Vibration Sensor Module Piezoelectricity For Arduino DIY KIT
Descripción: lanka Module
Estado RoHS: Compatible con 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.

En stock 581 pcs

Precio de Refrence ($) 1 pcs 100 pcs 500 pcs
$0.47 $0.46 $0.45
Mínimo: 1

Solicitar presupuesto

Rellene el siguiente formulario y nos ponemos en contacto con usted lo antes posible

Bargain Finds