

The Gravity Digital Vibration Sensor is a compact and reliable device designed to detect vibrations and convert them into digital signals for further processing. This sensor is ideal for applications requiring motion detection, structural health monitoring, and robotics. Its simple interface and robust design make it suitable for both beginners and advanced users in electronics and IoT projects.








The following table outlines the key technical details of the Gravity Digital Vibration Sensor:
| Parameter | Specification |
|---|---|
| Operating Voltage | 3.3V to 5V |
| Output Signal | Digital (High/Low) |
| Sensitivity | Adjustable via onboard potentiometer |
| Interface Type | 3-pin interface (Signal, VCC, GND) |
| Dimensions | 30mm x 20mm |
| Weight | 5g |
The sensor has a 3-pin interface, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | Signal | Outputs a digital HIGH (1) when vibration is detected |
| 2 | VCC | Power supply pin (3.3V to 5V) |
| 3 | GND | Ground connection |
Connect the Sensor:
VCC pin to a 3.3V or 5V power source.GND pin to the ground of your circuit.Signal pin to a digital input pin on your microcontroller (e.g., Arduino).Adjust Sensitivity:
Read the Output:
Signal pin outputs a HIGH signal (1). Otherwise, it remains LOW (0).Below is an example of how to use the Gravity Digital Vibration Sensor with an Arduino UNO:
// Example code for using the Gravity Digital Vibration Sensor with Arduino UNO
const int sensorPin = 2; // Connect the Signal pin of the sensor to digital pin 2
const int ledPin = 13; // Built-in LED on Arduino for visual feedback
void setup() {
pinMode(sensorPin, INPUT); // Set the sensor pin as an input
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
int sensorValue = digitalRead(sensorPin); // Read the sensor's output
if (sensorValue == HIGH) {
// If vibration is detected, turn on the LED and print a message
digitalWrite(ledPin, HIGH);
Serial.println("Vibration detected!");
} else {
// If no vibration is detected, turn off the LED
digitalWrite(ledPin, LOW);
}
delay(100); // Add a small delay to stabilize readings
}
Sensor Not Detecting Vibrations:
False Triggers or Noise:
No Output Signal:
Signal pin is connected to the correct digital input pin on your microcontroller. Check for any damage to the sensor.Interference from Nearby Devices:
Q: Can this sensor detect continuous vibrations?
A: The sensor is designed to detect individual vibration events. For continuous vibrations, you may need to process the output signal in software to analyze patterns.
Q: Is the sensor 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 3.3V microcontrollers.
Q: How do I increase the detection range?
A: You can increase the sensitivity by adjusting the onboard potentiometer. However, be cautious as higher sensitivity may also increase false triggers.
Q: Can I use this sensor outdoors?
A: The sensor is not waterproof or weatherproof. If used outdoors, ensure it is enclosed in a protective casing to prevent damage from moisture or dust.