35mm
35mm
10mm
Piezoelectric ceramic (PZT)
10-50 mV/g (typical)
1 Hz to 10 kHz
-20C to 80C
-30C to 85C
5% to 95% RH (non-condensing)
Ordering Information
| To order the 35mm Piezoelectric Sensor without Wire, please specify the following |
Required quantity of sensors
Individual packaging or reel packaging (for large quantities)
Standard or expedited lead time (subject to availability)
Warranty and Support
| The 35mm Piezoelectric Sensor without Wire is backed by a one-year limited warranty. For technical support, please contact our dedicated support team at [support@example.com](mailto | support@example.com) or visit our website at [www.example.com](http://www.example.com). |
Component Documentation: 35mm Piezoelectric Sensor without WireOverviewThe 35mm Piezoelectric Sensor without Wire is a compact, wire-free sensor designed to detect vibrations, impacts, and movements. It uses piezoelectric materials to convert mechanical stress into electrical signals, making it an ideal choice for IoT applications such as shock detection, vibration monitoring, and proximity sensing.Technical SpecificationsDiameter: 35mm
Thickness: 2.5mm
Operating Temperature: -20C to 70C
Sensitivity: 10mV/g (10%)
Frequency Range: 1Hz to 10kHz
Output Impedance: 1k (20%)
Power Supply: None (passive device)Code Examples### Example 1: Basic Vibration Detection using ArduinoIn this example, we'll use the 35mm Piezoelectric Sensor without Wire to detect vibrations and trigger an LED to turn on when a threshold is exceeded.Hardware Requirements:35mm Piezoelectric Sensor without Wire
Arduino Board (e.g., Uno or Nano)
LED
Breadboard
Jumper WiresSoftware Requirements:Arduino IDECode:
```c
const int sensorPin = A0; // Analog input pin for sensor
const int ledPin = 13; // Digital output pin for LED
const int threshold = 200; // Adjust this value to set the vibration thresholdvoid setup() {
pinMode(ledPin, OUTPUT);
}void loop() {
int sensorValue = analogRead(sensorPin);
if (sensorValue > threshold) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
delay(10); // Adjust this value to set the sampling rate
}
```
### Example 2: IoT-based Shock Detection using Raspberry Pi and PythonIn this example, we'll use the 35mm Piezoelectric Sensor without Wire to detect shocks and send a notification to a remote server using Python and the Raspberry Pi.Hardware Requirements:35mm Piezoelectric Sensor without Wire
Raspberry Pi
Breadboard
Jumper WiresSoftware Requirements:Python 3.x
RPi.GPIO library
requests library (for HTTP requests)Code:
```python
import RPi.GPIO as GPIO
import time
import requestsGPIO.setmode(GPIO.BCM)
sensor_pin = 17 # GPIO pin for sensor
threshold = 200 # Adjust this value to set the shock thresholddef send_notification():
url = "https://example.com/notify"
headers = {"Content-Type": "application/json"}
data = {"event": "shock_detected"}
response = requests.post(url, headers=headers, json=data)
print("Notification sent:", response.status_code)while True:
sensor_value = GPIO.input(sensor_pin)
if sensor_value > threshold:
send_notification()
time.sleep(0.1) # Adjust this value to set the sampling rate
```
Note: In this example, we assume you have a remote server set up to receive notifications. You'll need to modify the `url` variable to point to your server's API endpoint.Tips and ConsiderationsWhen using the 35mm Piezoelectric Sensor without Wire, ensure proper mounting and mechanical coupling to maximize sensitivity and accuracy.
For more advanced applications, consider using signal conditioning circuits or filters to improve signal quality and reduce noise.
When working with high-impedance sensors like this one, ensure your analog-to-digital converter (ADC) has a suitable input impedance to prevent signal attenuation.