PIEZOELECTRIC PLATE

TINKS010

  1. Piezoelectric effect can be defined as ability of materials to generate an electric charge when subjected to mechanical stress.
  2. The sensor provides an Analog output.
Features:-
  1. Ultra-thin and lightweight
  2. No contacts: therefore, no noise and highly reliable
  3. Highly sensitive.
  4. Wild effective area.
  5. 5V DC operating voltage.
  6. I/O pins are 5V and 3.3V compliant.
Applications:-
  1. Converts Mechanical Force into Electrical Output
  2. These Are Perfect For Using As Touch-Sensors, Electronic Drum Triggers, Buzzers, Or Making Your Own Contact Mics.
  3. It Can Also Be Used For Custom Pickup Arrangements In More Traditional Stringed And Percussion Instruments.

    

int piezo_Pin= A0;

int threshold= 500;

 

void setup(){

Serial.begin(9600);

}

void loop(){

int reading= analogRead(piezo_Pin);

Serial.println(reading);

if (reading > threshold)

{

Serial.println("force applied");

}

else{

Serial.println("no force");

}

}