

The KY-002 Sensor de Vibración is a compact and versatile vibration sensor module designed to detect mechanical vibrations and movements. It utilizes a piezoelectric element to convert physical vibrations into electrical signals, making it suitable for a wide range of applications. This sensor is commonly used in motion detection systems, alarm systems, robotics, and industrial monitoring.








The KY-002 Sensor de Vibración is designed for simplicity and ease of integration into electronic projects. Below are its key technical details:
| Parameter | Specification |
|---|---|
| Operating Voltage | 3.3V to 5V |
| Output Type | Digital |
| Sensitivity | High (detects small vibrations) |
| Dimensions | 18mm x 15mm x 10mm |
| Operating Temperature | -40°C to +85°C |
| Weight | ~2g |
The KY-002 module has three pins, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | Signal (S) | Outputs a digital signal when vibration is detected. |
| 2 | VCC | Connects to the positive power supply (3.3V–5V). |
| 3 | GND | Connects to the ground of the power supply. |
The KY-002 Sensor de Vibración is straightforward to use in electronic circuits. Below are the steps and best practices for integrating it into your project:
The following example demonstrates how to connect and use the KY-002 with an Arduino UNO to detect vibrations and display the status in the Serial Monitor.
// KY-002 Vibration Sensor Example with Arduino UNO
// This code reads the vibration sensor's output and prints the status to the Serial Monitor.
const int sensorPin = 2; // KY-002 Signal pin connected to digital pin 2
int sensorState = 0; // Variable to store the sensor's state
void setup() {
pinMode(sensorPin, INPUT); // Set the sensor pin as an input
Serial.begin(9600); // Initialize Serial communication at 9600 baud
}
void loop() {
sensorState = digitalRead(sensorPin); // Read the sensor's state
if (sensorState == HIGH) {
// If vibration is detected, print a message
Serial.println("Vibration detected!");
} else {
// If no vibration is detected, print a different message
Serial.println("No vibration.");
}
delay(500); // Wait for 500ms before reading again
}
No Output Signal
False Triggers
Sensor Not Sensitive Enough
Erratic Readings
Q1: Can the KY-002 detect continuous vibrations?
A1: Yes, but it is primarily designed for detecting discrete vibration events. For continuous monitoring, additional signal processing may be required.
Q2: Is the KY-002 compatible with 3.3V systems?
A2: Yes, the KY-002 operates reliably with both 3.3V and 5V power supplies.
Q3: Can I use the KY-002 in outdoor environments?
A3: While the sensor can operate in a wide temperature range, it is not waterproof. Use appropriate enclosures for outdoor applications.
Q4: How do I increase the sensitivity of the sensor?
A4: The sensitivity is fixed, but you can amplify the output signal using an operational amplifier if needed.
By following this documentation, you can effectively integrate the KY-002 Sensor de Vibración into your projects and troubleshoot common issues with ease.