Introduction
Need a simple way to detect vibration in an Arduino or Raspberry Pi project? This Gravity Digital Vibration Sensor outputs a digital signal when vibration, shaking, knocking, or impact is detected, making it easy to build event-triggered projects with minimal wiring and code.
With a 3.3V to 5V operating voltage and Gravity 3-pin interface, the sensor can be used with Arduino, Raspberry Pi, ESP32, micro:bit, and other common microcontrollers. It is suitable for vibration alarms, step counting experiments, crash warning lights, anti-tamper detection, object movement monitoring, and interactive input projects.
This module is designed for simple vibration event detection. It can detect whether a vibration event occurs, but it does not measure vibration strength, vibration frequency, acceleration, or continuous vibration waveforms.
Key Features
Detects vibration, shaking, knocking, and impact events
Digital output for simple event detection and easy programming
Wide 3.3V to 5V operating voltage for common controllers
Gravity 3-pin interface for quick plug-and-play wiring
Standard mounting holes for easy installation in projects
Compact 22 × 30 mm size for embedded and portable applications
Gold-plated PCB surface for improved durability and signal reliability
a simple Pedometer device that can count your step
Recommended Add-ons
Pair this vibration sensor with other Gravity modules to build alarm systems, anti-tamper devices, robot collision detection, and interactive projects.
Digital Piezo Disk Vibration Sensor – Compare vibration response and impact sensitivity.
Flexible Piezo Film Vibration Sensor – Detect vibration, touch, and slight movement on flexible surfaces.
Digital 5A Relay Module – Trigger lights, buzzers, motors, or alarms after vibration is detected.
Digital Tilt Sensor – Detect movement, tilt, or object orientation changes.
Digital 360° Tilt Sensor – Monitor flipping, rotation, and multi-directional tilt.
Digital Magnetic Sensor – Detect door, window, drawer, or enclosure open/close status.
Digital Crash Sensor – Add collision, contact, or limit switch detection.
Specification
IO Type: Digital
Switch life: up to 10 million seconds
Open circuit resistance: 10Mohm
Supply Voltage: 3.3V to 5V
Interface: Digital
Size:22x30mm (0.87 x 1.18 in)
Shipping List
Gravity: Digital Vibration Sensor x1
Digital Sensor Cable (SKU:FIT0011) x1
Documents
Wiki (DFRobot Digital Vibration Sensor)
Schematic
Applications
Vibration alarm for boxes, doors, devices, or enclosures
Knock or impact detection
Step counting experiments
Crash warning light projects
Anti-tamper detection
Object movement monitoring
Interactive input trigger for creative projects