
1 / 4 · Click to enlarge
AI Summary
A ball-based digital tilt switch module that detects inclination in 360 degrees and connects through the Gravity interface. It runs on 3.3V to 5V, giving Arduino and other digital boards a simple, safe tilt trigger for interactive builds.
Key Highlights
- Ball-based tilt switch reports tilt as a digital high or low signal
- Cylindrical design enables 360-degree inclination detection
- Works across a 3.3V to 5V supply range
- Gravity connector for quick, solder-free wiring
- Compact 30 x 22 mm board fits small enclosures
- Safer alternative to mercury tilt switches
Ideal For
- Arduino makers building tilt-triggered interactive projects
- STEM teachers running classroom sensor experiments
- Hobbyists designing DIY toys that react to movement
- Students learning digital input and sensor basics
- Makers who prefer mercury-free tilt switches
Buying Tip
Check that your board has a free digital input pin and a Gravity port or DuPont-compatible header before ordering, since the module ships with a PH2.0-to-DuPont cable only.
Elecvora expert review
Our verdict
A tidy, low-cost tilt module that solves the single-direction limitation of classic ball switches. The Gravity connector and wide voltage range make it easy to drop into Arduino projects.
AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.
Pros
- 360-degree tilt detection in a compact board
- Works from 3.3V to 5V without extra parts
- Gravity connector simplifies wiring
- Mercury-free construction suits classrooms
Cons
- Digital output only, so no tilt angle measurement
- Requires a Gravity port or the supplied adapter cable
- Ball-based switching can bounce, so debouncing may be needed in code
Best for
Makers and educators needing a simple directional tilt trigger
Not ideal for
Projects that require precise tilt angle or acceleration data
Specifications
| Operating Voltage (VDC) | 3.3 to 5 |
|---|---|
| Communication Mode | Digital |
| Connector Type | Gravity |
| Length (mm) | 30 |
| Width (mm) | 22 |
| Shipping Weight | 0.02 kg |
| Shipping Dimensions | 6 × 5 × 2 cm |
What's in the box
- 1 x Gravity Digital 360° Tilt Sensor
- 1 x Digital cable PH2.0-DuPont 3P
Frequently Asked Questions
What output does the sensor provide?
Which boards can I use it with?
What voltage does it need?
How does it connect to my board?
What is included in the package?
Is it safe compared with older tilt switches?
Overview
The DFRobot Gravity Digital 360° Tilt Sensor is a small switch module that changes its digital output when the board is tilted. Inside, a metal ball moves along a cylindrical internal structure under gravity, making or breaking contact. That movement is converted into a clean digital signal your board can read directly.
Because the internal structure is cylindrical rather than a simple single-axis tube, the sensor can detect inclination across 360 degrees. This makes it more flexible than traditional steel ball tilt switches that only respond in one direction.
Key Features
- 360-degree detection: responds to tilt in any direction around the board.
- Digital output: read tilt state with a standard digital input pin.
- 3.3V to 5V operation: suits a wide range of common development boards.
- Gravity connector: plug-and-play wiring with the supplied cable.
- Mercury-free design: a safer option for teaching and hobby use.
- Compact size: 30 mm long and 22 mm wide for tight builds.
Specifications Explained
The 3.3V to 5V operating range means the module can share the same supply as most Arduino-class boards, so no separate regulator is normally needed. Communication is digital, so you only need one digital input pin to read whether the sensor is tilted or upright.
The Gravity connector removes the need for loose jumper wires at the board side. The module measures 30 mm by 22 mm, small enough for handheld projects, and ships at just 0.02 kg with compact 6 x 5 x 2 cm packaging.
Compatibility and Requirements
The sensor is designed for digital input on Arduino expansion boards and similar microcontrollers that accept a 3.3V or 5V digital signal. A Gravity-compatible port or the supplied PH2.0-to-DuPont cable is required to connect it. Graphical programming environments such as Mind+ are supported.
Typical Uses
- Teaching experiments demonstrating tilt and orientation sensing
- Tilt detection in small interactive gadgets
- DIY toys that react when picked up or turned over
- Simple tilt-triggered switches in maker projects
What's in the Box
- 1 x Gravity Digital 360° Tilt Sensor
- 1 x Digital cable, PH2.0 to DuPont 3P
Quick specs
- Operating Voltage (VDC)
- 3.3 to 5
- Communication Mode
- Digital
- Connector Type
- Gravity
- Length (mm)
- 30
- Width (mm)
- 22
- Shipping Weight
- 0.02 kg


















