Description
The KY-020 Tilt Switch Module detects changes in angle or orientation, making it a simple and effective way to add motion sensing to Arduino, Raspberry Pi, or other microcontroller projects.
This module uses a mercury-free ball switch that closes the circuit when tilted, outputting a digital HIGH or LOW signal. It’s perfect for creating anti-tamper triggers, fall-over detection, orientation-based control, or wake-on-motion systems.
It’s ideally suited for projects that need to respond to tilting or movement without complex sensors or programming. The compact PCB and 3-pin digital interface make it easy to integrate into breadboards and prototyping setups.
- Module: KY-020
- Sensor Type: Tilt Switch (ball-type)
- Function: Detects tilt or angle change
- Output Type: Digital (0 or 1)
- Operating Voltage: 3.3V – 5V
- 3-Pin Interface: VCC, GND, Digital Output (DO)
- Switch Type: Normally open; closes when tilted
- Module Size: 19mm x 15mm
Key Features:
- Module: KY-020
- Function: Digital Tilt Detection
- Output: HIGH or LOW depending on orientation
- Mercury-free ball tilt switch
- Simple and low-power sensor
- Voltage: 3.3V – 5V
- 3-pin interface: VCC, GND, DO
- Fully compatible with Arduino, Raspberry Pi, ESP32, etc.
- Great for motion, vibration, or angle-triggered events
What’s Included:
- 1x KY-020 Tilt Switch Module
Great For:
- Motion & Orientation Detection
- Anti-Tamper or Alarm Systems
- Robot Fall-Over Triggers
- Smart Toys & Wearables
- STEM Kits & Education Projects
- Wake-on-Movement Applications
Usage Tips:
- Use digitalRead() on Arduino to check tilt status
- LOW signal usually indicates tilt activation
- Debounce in code if needed to handle bouncing contacts
- Mount securely to your device for accurate tilt sensing
- Ideal for vertical or angle-based triggering





