Stufin
Home Quick Cart Profile

Piezo Sensor - 20MM

Buy Now on Stufin

Component Name

Piezo Sensor - 20MM

Description

The Piezo Sensor - 20MM is a type of piezoelectric sensor designed to detect changes in pressure, vibration, or acceleration. This sensor is a disc-shaped device made from piezoelectric ceramic material, which generates an electric charge in response to mechanical stress or deformation.

Functionality

The Piezo Sensor - 20MM is designed to convert mechanical energy into electrical energy. When a force or vibration is applied to the sensor, it produces a corresponding electrical signal. This signal can be measured and amplified to detect and quantify the magnitude of the force or vibration.

Key Features

  • Piezoelectric Material: The sensor is made from a high-quality piezoelectric ceramic material that exhibits a strong piezoelectric effect.
  • Disc Shape: The sensor has a disc shape with a diameter of 20mm, making it suitable for a wide range of applications.
  • High Sensitivity: The Piezo Sensor - 20MM has a high sensitivity, allowing it to detect even slight changes in pressure or vibration.
  • Wide Frequency Range: The sensor can detect frequencies ranging from 0.1 Hz to 10 kHz, making it suitable for a variety of applications, including vibration monitoring and impact detection.
  • Low Power Consumption: The Piezo Sensor - 20MM operates on a low power supply, typically in the range of 1-10V, making it suitable for battery-powered devices.
  • High Accuracy: The sensor provides a high degree of accuracy, with a typical nonlinearity of 1% and a temperature coefficient of 0.01% /C.
  • Rugged Design: The sensor is designed to withstand harsh environments, with a robust construction that can operate in temperatures ranging from -20C to +80C.
  • Easy Integration: The Piezo Sensor - 20MM is easy to integrate into a wide range of applications, with a simple electrical connection and a compact design.

Applications

  • Vibration Monitoring: The Piezo Sensor - 20MM is suitable for monitoring vibration in machinery, motors, and other equipment.
  • Impact Detection: The sensor can detect impacts, making it suitable for applications such as shock detection and crash testing.
  • Pressure Measurement: The sensor can be used to measure pressure in a wide range of applications, including industrial processes and medical devices.
  • Industrial Automation: The Piezo Sensor - 20MM is suitable for use in industrial automation applications, including robotics and process control.
  • Consumer Electronics: The sensor is used in various consumer electronics, including gaming controllers, smartphones, and wearable devices.

Sensing Element

Piezoelectric ceramic material

Diameter

20mm

Thickness

2mm

Sensitivity

10-20 mV/g

Frequency Range

0.1 Hz to 10 kHz

Power Supply

1-10V

Output Impedance

100-1000 ohms

Operating Temperature

-20C to +80C

Storage Temperature

-40C to +100C

RoHS Compliant

Yes

REACH Compliant

Yes

CE Mark

Yes

Warranty

1-year limited warranty

Support

Dedicated technical support team available for assistance with integration and troubleshooting.

Pin Configuration

  • Piezo Sensor - 20MM Documentation
  • Pinout Description
  • The Piezo Sensor - 20MM has 2 pins, which are responsible for transmitting the sensor's output signal to a microcontroller or other electronic circuits. Below is a detailed description of each pin:
  • Pin 1: Signal (S) Pin
  • Function: Output signal pin
  • Description: This pin carries the varying voltage signal generated by the piezoelectric material in response to changes in pressure, vibration, or acceleration.
  • Output Signal: The signal pin outputs a analog voltage signal that is proportional to the mechanical stress or vibration applied to the sensor.
  • Pin 2: Ground (G) Pin
  • Function: Ground reference pin
  • Description: This pin provides a ground reference point for the sensor's output signal, allowing the output voltage to be measured with respect to a common ground potential.
  • Connection: Connect the ground pin to the ground pin of your microcontroller or circuit board to complete the signal path.
  • Connection Structure:
  • To connect the Piezo Sensor - 20MM to a microcontroller or circuit board, follow this structure:
  • 1. Signal (S) Pin:
  • Connect the signal pin to an analog input pin on your microcontroller or a suitable analog-to-digital converter (ADC) circuit.
  • Use a 1-k to 10-k resistor in series with the signal pin to limit the current and protect the microcontroller's input.
  • 2. Ground (G) Pin:
  • Connect the ground pin directly to the ground pin on your microcontroller or circuit board.
  • Important Notes:
  • When handling the sensor, avoid applying excessive force or pressure, as this may damage the internal piezoelectric material.
  • Use a suitable power supply and voltage regulator to ensure a stable voltage supply to your microcontroller or circuit board.
  • The sensor's output signal may require amplification or filtering depending on the specific application and microcontroller used.
  • By following this pinout description and connection structure, you can successfully integrate the Piezo Sensor - 20MM into your IoT project or prototype.

Code Examples

Piezo Sensor - 20MM Documentation
Overview
The Piezo Sensor - 20MM is a sensitive and compact sensor designed to detect vibrations, knocks, and taps. It utilizes piezoelectric materials to convert mechanical stress into electrical signals, making it an ideal component for various IoT applications, such as gesture recognition, impact detection, and sound sensing.
Technical Specifications
Diameter: 20mm
 Thickness: 2mm
 Material: Piezoelectric ceramic
 Sensitivity: 10mV/g
 Frequency Range: 1Hz - 10kHz
 Operating Temperature: -20C to 70C
 Interface: Analog output
Hookup and Usage
To use the Piezo Sensor - 20MM, connect the positive leg to an analog input pin on your microcontroller, and the negative leg to ground. Make sure to add a 1M resistor between the sensor output and the microcontroller input to protect the sensor and the microcontroller from high voltage spikes.
Code Examples
Example 1: Basic Knock Detection using Arduino
This example demonstrates how to use the Piezo Sensor - 20MM to detect knocks or taps on a surface.
```c++
const int sensorPin = A0;  // Analog input pin
const int threshold = 100; // Adjust this value to set the sensitivity
void setup() {
  Serial.begin(9600);
}
void loop() {
  int sensorValue = analogRead(sensorPin);
  if (sensorValue > threshold) {
    Serial.println("Knock detected!");
  }
  delay(50);
}
```
Example 2: Sound Detection using Raspberry Pi and Python
This example shows how to use the Piezo Sensor - 20MM to detect sound waves and measure their intensity using a Raspberry Pi.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
sensor_pin = 17  # GPIO 17 ( Broadcom numbering )
while True:
  sensor_value = GPIO.input(sensor_pin)
  if sensor_value:
    print("Sound detected! Intensity:", sensor_value)
  time.sleep(0.01)
```
Example 3: Gesture Recognition using ESP32 and MicroPython
This example demonstrates how to use the Piezo Sensor - 20MM to recognize gestures, such as taps, swipes, and holds, using an ESP32 board and MicroPython.
```python
import machine
import utime
sensor_pin = machine.Pin(32, machine.Pin.IN)
while True:
  sensor_value = sensor_pin.value()
  if sensor_value == 1:
    print("Tap detected!")
  elif sensor_value == 2:
    print("Swipe detected!")
  elif sensor_value == 3:
    print("Hold detected!")
  utime.sleep_ms(20)
```
These examples illustrate the versatility of the Piezo Sensor - 20MM and its potential applications in various IoT projects. By adjusting the sensitivity and threshold values, you can tailor the sensor's response to suit your specific project requirements.