Ky020 Tilt Switch Sensor Module for Arduino, Raspberry Pi
Ky020 Tilt Switch Sensor Module — Digital Tilt Detection for Microcontrollers
The Ky020 Tilt Switch Sensor Module is a digital orientation sensor that detects tilt or inclination using an internal conductive ball switch. It provides a simple high/low output when tilted beyond a threshold, making it ideal for motion-triggered projects. Compact and easy to use, this module requires no analog conversion and works seamlessly with popular development boards.
Key Specifications
| Specification | Value |
|---|---|
| Operating Voltage | 3.3V – 5V DC |
| Output Type | Digital (High/Low) |
| Tilt Angle Detection | ≥15° from horizontal (omni-directional) |
| Interface | 3-pin (VCC, GND, DO) |
| Dimensions | Approx. 25mm × 15mm |
| Weight | 2g |
What You Can Build With This
- Tilt-activated door or window alarm for security systems
- Orientation-based robot control (flip to stop or change direction)
- Interactive game controller using motion gestures
- Simple digital inclinometer for slope measurement
Compatibility
The Ky020 module works with any microcontroller that reads a digital input, including Arduino Uno, Nano, Mega; Raspberry Pi; ESP8266/ESP32; and STM32. It operates at 3.3V and 5V logic, making it safe for all common boards without level shifting. Pair it with relay modules or buzzers for immediate physical feedback.
Wiring Notes
Connect VCC to 3.3V or 5V, GND to ground, and DO to a digital I/O pin. The onboard pull-up resistor keeps the output high when the sensor is upright; it goes low when tilted. No additional components are required. For Raspberry Pi, use a GPIO pin configured as input.
Why Buy from Compoden
Every component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.
Is this compatible with Arduino?
Yes, the Ky020 works directly with Arduino boards. Connect VCC to 5V, GND to GND, and DO to any digital pin to read the tilt state in your code.
What is the tilt angle sensitivity?
The switch activates when tilted more than approximately 15 degrees from horizontal in any direction. It is omnidirectional and does not distinguish tilt direction.
Can it be used as a vibration sensor?
It can detect sudden vibrations that cause tilting, but it is not optimized for small, rapid vibrations. For dedicated vibration sensing, consider a piezo or spring-type vibration module.
📦 Free Setup Handoff Document Included
Every Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.
What you can build with this
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items