Description
The KY-027 Magic Light Cup Module combines a vibration/touch sensor with a red LED to simulate a glowing “magic cup” effect. It’s perfect for Arduino, Raspberry Pi, and microcontroller projects that involve motion, tilt, or impact detection.
This clever little module features a built-in mercury-free tilt/vibration switch that activates a bright red LED when movement is detected. It works as a simple, fun, and interactive sensor ideal for STEM learning, creative lighting projects, or DIY toys and props.
- Module: KY-027
- Function: Vibration-activated LED (Magic Cup effect)
- Sensor Type: Tilt/Vibration switch
- Output Type: Digital
- Operating Voltage: 3.3V – 5V
- 3-Pin Interface: VCC, GND, D0
- Onboard Output: Red LED (lights on vibration/tilt)
- Module Size: Approx. 16mm x 12mm
Key Features:
- Module: KY-027
- Function: LED activation by vibration or tilt
- Output: Digital signal (HIGH/LOW)
- Red LED lights up when sensor is triggered
- Operating Voltage: 3.3V – 5V
- Interface: VCC, GND, D0
- Mercury-free sensor for environmental safety
- Compatible with Arduino, Raspberry Pi, ESP32, etc.
- Compact size, breadboard-friendly design
What’s Included:
- 1x KY-027 Magic Light Cup Vibration Sensor Module
Great For:
- Motion or Tilt-Triggered Lighting
- DIY Toys & Games
- Interactive Light Displays
- Wearable Tech & Art Projects
- Educational Electronics Kits
- Fun STEM Projects for Kids & Beginners
Usage Tips:
- Use digitalRead() to detect if the sensor is triggered
- LED turns on automatically with movement/tilt
- Mount on objects to add light-on-motion functionality
- Combine with sound or buzzers (e.g., KY-012) for interactive builds
- No coding needed to see effect – works straight out of the box

