

The Датчик розбиття скла (Glass Break Sensor) is a specialized electronic component designed to detect the sound or vibration associated with breaking glass. It is commonly used in security systems to provide an early warning of potential intrusions. By identifying the unique acoustic signature or physical vibrations caused by shattered glass, this sensor can trigger alarms or notifications, enhancing the security of homes, offices, and other facilities.








The following table outlines the key technical details of the Датчик розбиття скла:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V to 5V |
| Current Consumption | < 20mA |
| Detection Range | Up to 6 meters (20 feet) |
| Detection Angle | 120° |
| Output Signal | Digital (High/Low) |
| Response Time | < 1 second |
| Operating Temperature | -10°C to 50°C |
| Dimensions | 30mm x 20mm x 10mm |
The Датчик розбиття скла typically has a 3-pin interface. The pinout is as follows:
| Pin Number | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V to 5V) |
| 2 | GND | Ground connection |
| 3 | OUT | Digital output signal (High when glass is broken) |
VCC pin to a 3.3V or 5V power source and the GND pin to the ground of your circuit.OUT pin to a microcontroller's digital input pin or directly to an alarm system.OUT pin should go HIGH when a break is detected.Below is an example of how to connect and use the Датчик розбиття скла with an Arduino UNO:
VCC pin of the sensor to the 5V pin on the Arduino.GND pin of the sensor to the GND pin on the Arduino.OUT pin of the sensor to digital pin 2 on the Arduino.// Glass Break Sensor Example with Arduino UNO
// This code reads the sensor's output and triggers an alert when glass is broken.
const int sensorPin = 2; // Pin connected to the sensor's OUT pin
const int ledPin = 13; // Built-in LED for visual alert
void setup() {
pinMode(sensorPin, INPUT); // Set sensor pin as input
pinMode(ledPin, OUTPUT); // Set LED pin as output
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int sensorValue = digitalRead(sensorPin); // Read the sensor's output
if (sensorValue == HIGH) {
// Glass break detected
digitalWrite(ledPin, HIGH); // Turn on the LED
Serial.println("Glass break detected!"); // Print alert to serial monitor
delay(1000); // Wait for 1 second
} else {
// No glass break detected
digitalWrite(ledPin, LOW); // Turn off the LED
}
}
Sensor Not Responding
False Alarms
No Detection
Output Signal Stuck HIGH or LOW
Q: Can this sensor detect other types of sounds?
A: No, the sensor is specifically designed to detect the unique sound or vibration of breaking glass.
Q: Is it compatible with 3.3V microcontrollers like ESP32?
A: Yes, the sensor operates within a voltage range of 3.3V to 5V, making it compatible with most microcontrollers.
Q: How do I extend the detection range?
A: The detection range is fixed by the sensor's design. To monitor larger areas, consider using multiple sensors.
Q: Can I use this sensor outdoors?
A: The sensor is not weatherproof. If outdoor use is required, ensure it is housed in a protective enclosure.