KY-020 Ball Tilt Switch Sensor Module (KY-020 Tilt Switch Sensor Module) is a non-mercury, gravity-actuated angle detection board featuring an internal conductive rolling ball and an onboard pull-up circuit. When the board is tilted beyond its trigger angle, the internal steel ball moves away from the contact pins, opening the circuit to deliver an instant digital HIGH/LOW transition for motion sensing and orientation monitoring.
Key Features:
- Non-Mercury Rolling Ball Design: Environmentally friendly steel ball mechanism avoids hazardous mercury while ensuring reliable mechanical switching.
- Integrated Pull-Up Circuit: Onboard 10kΩ pull-up resistor maintains a steady digital HIGH state when contacts are disengaged.
- Instant Digital Output: Delivers clean TTL-level switching signals directly to microcontroller digital GPIO inputs.
- Compact 3-Pin Interface: Standard 3-pin header layout (Signal, VCC, GND) ensures effortless connection to Arduino sensor shields.
- Low Power Draw: Consumes virtually zero operating current in static states, making it ideal for battery-powered circuits.
- High Durability: Hermetically sealed cylinder protects internal ball and contact surfaces from ambient dust and moisture.
Technical Specifications:
- Operating Logic Voltage: 3.3V to 5.0V DC
- Operating Current: Less than 2 mA
- Sensor Type: SW-520D / SW-200D gravity rolling ball tilt switch
- Output Format: Digital TTL (LOW when closed / level, HIGH when tilted open via pull-up)
- Tilt Angle Trigger: Approximately 15° to 45° angle from horizontal position
- Contact Rating: 12V DC @ 20 mA maximum
- Operating Temperature: -20°C to +80°C
Mechanical Specifications:
- Form Factor: Compact rectangular sensor module profile
- PCB Construction: Double-sided FR4 fiberglass board with green solder mask
- Mounting: Plug-in header mounting or chassis mounting via clip
- Header Type: 3-pin male header (2.54mm pitch)
- Weight: Approximately 2.5 g
Dimensions:
- Overall Length: 25.0 mm
- Overall Width: 15.0 mm
- Overall Height: 9.0 mm
Pinout and Wiring:
- – (GND): Ground reference power connection (0V)
- + (VCC): Positive DC power supply (+3.3V to +5V DC)
- S (Signal): Digital output signal connected to microcontroller digital GPIO input
Datasheet Reference:
- Refer to the SW-520D rolling ball tilt switch technical datasheet and KY-020 circuit schematics for tilt orientation angles, contact life expectancy, and debounce code routines.
Commonly Used in:
- Tip-over safety shutoff switches for portable electric heaters and humidifiers
- Anti-theft motion alarms detecting movement of bicycles, packages, and tools
- Robotics terrain leveling and chassis tipping detection systems
- Handheld gaming toys, digital dice shakers, and interactive motion wands
Applications:
- Appliance tip-over protection switch
- Motion and tilt detection alarm
- Robotics chassis orientation sensor
- Digital spirit level indicator
- Interactive movement-triggered toys
Equivalent Models:
- SW-520D Tilt Sensor Switch Tube
- KY-017 Mercury Tilt Switch Module
- SW-200D Rolling Ball Tilt Switch
- Keyestudio Tilt Switch Module
Package Includes:
- 1 × KY-020 Ball Tilt Switch Sensor Module

Reviews
No reviews yet. Be the first to share your experience!