
1 / 4 · Click to enlarge
AI Summary
A compact Gravity module that turns a single unidirectional hand shake into a clean digital pulse. It works from 3.3V to 5V and includes a Gravity 3P digital cable for quick Arduino hookup.
Key Highlights
- Spring-type vibration switch outputs a low-level pulse per shake
- Sensitive to unidirectional movement for fewer false triggers
- Onboard indicator flashes when a shake is detected
- Runs from 3.3V to 5V controller supplies
- Compact 30 x 22 x 7 mm board weighs only 5 g
- Rated for over 200,000 switch operations
Ideal For
- Makers building shake-activated lights or props
- Students learning digital sensor inputs with Arduino
- Electronics hobbyists who want a simple vibration switch
- Product designers prototyping shake-to-switch controls
- Educators demonstrating unidirectional vibration sensing
Buying Tip
Mount the module so your intended shake direction lines up with the switch's sensitive axis, otherwise deliberate shakes may not register.
Elecvora expert review
Our verdict
A tidy, low-cost module for projects that need a deliberate shake input rather than full motion sensing. The unidirectional switch and filter circuit make it more predictable than a bare vibration switch.
AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.
Pros
- Simple digital pulse output
- Unidirectional sensing reduces false triggers
- Works across 3.3V and 5V supplies
- Includes the Gravity 3P digital cable
- Lightweight and easy to mount
Cons
- Detects shaking in only one direction
- Not a replacement for full motion or orientation sensing
- Requires a separate controller to use
Best for
Shake-activated lights, props and simple interactive controls
Not ideal for
Projects that need multi-axis motion or orientation data
Specifications
| Operating Voltage (VDC) | 3.3 to 5 |
|---|---|
| Dimensions (L x W x H) mm | 30x22x7 |
| Weight (g) | 5 |
| Life Cycle | Over 200,000 times Switch |
| Shipping Weight | 0.011 kg |
| Shipping Dimensions | 6 × 5.5 × 2.5 cm |
What's in the box
- 1 x Gravity Digital Shake Sensor
- 1 x Gravity 3P Digital Wire
Frequently Asked Questions
What does the sensor output when shaken?
Which controllers can I use it with?
Does it need a special power supply?
What is included with the sensor?
Will general bumps trigger it?
How long does the switch last?
Overview
The DFRobot Gravity Digital Shake Sensor is a simple way to add shake control to an electronics project. Instead of reaching for a costly triple-axis accelerometer, you get a spring-type vibration switch that reacts to hand movement in one specified direction. Each detected shake produces a low-level pulse on the digital output, and the onboard indicator flashes at the same time so you can see the trigger happen.
Because the switch is unidirectional and paired with a filter circuit, the module has strong anti-shock interference capability. Everyday bumps and background vibration are less likely to cause a false trigger, which keeps your project behaving predictably.
Key Features
- Unidirectional sensitivity for deliberate shake detection
- Filter circuit helps prevent false triggering from shock
- Low-level pulse output on each detected shake
- Onboard indicator flashes with every trigger
- Gravity 3P digital connector for straightforward wiring
- Small, lightweight board that is easy to mount
Specifications Explained
Operating voltage: The module accepts 3.3V to 5V, so it can share the supply of common 3.3V and 5V controller boards without an extra regulator.
Size and weight: At 30 x 22 x 7 mm and 5 g, it fits into tight enclosures and adds almost nothing to the weight of a handheld build.
Switch life: The vibration switch is rated for over 200,000 operations, giving you plenty of shakes before replacement is a concern.
Compatibility and Requirements
The sensor is compatible with 3.3V and 5V controllers and uses the Gravity 3P digital interface. A Gravity 3P digital wire is included, so you can connect it to a compatible controller header. You will need a controller board and a suitable power source to complete a project.
Typical Uses
- Shake-activated light sticks and handheld props
- Shake-to-switch controls for interactive displays
- Simple motion-triggered inputs in learning projects
- Vibration-aware gadgets that need deliberate shaking
What's in the Box
- 1 x Gravity Digital Shake Sensor
- 1 x Gravity 3P Digital Wire

Quick specs
- Operating Voltage (VDC)
- 3.3 to 5
- Dimensions (L x W x H) mm
- 30x22x7
- Weight (g)
- 5
- Life Cycle
- Over 200,000 times Switch
- Shipping Weight
- 0.011 kg
- Shipping Dimensions
- 6 × 5.5 × 2.5 cm


















