Magic Cup Tilt Switch Module KY027

Compact KY‑027 Magic Cup tilt-switch module with mercury tilt sensor and onboard LED for motion-triggered visual feedback and digital signal output (3.3–5.5 V operation).Tilt Switch

30.00 EGP

Join the waitlist to be emailed when this product becomes available

Magic Cup Tilt Switch Module KY027

The KY‑027 Magic Cup Tilt Switch Module integrates a mercury tilt switch, LED, 10 kΩ series resistor, and 4-pin male header on a small PCB (approx. 18.5×14 mm). When the module is tilted or vibrated, the internal mercury switch closes, activating the onboard LED and authorizing a digital state change on the “S” output pin. This trigger can be forwarded to microcontrollers like Arduino, ESP32, Raspberry Pi, or Pico for programmable interaction.

Features
  • Built-in mercury tilt switch detects motion or orientation change.
  • Onboard LED illuminates when tilt switch closes.
  • 10 kΩ resistor pre‑installed for power usage compatibility.
  • Signal output (“S”) pin reflects tilt state digitally.
  • LED control input (“L”) allows PWM brightness control.
  • Supports both 3.3 V and 5 V systems with required series resistor (120 Ω for 3.3 V, 220 Ω for 5 V).
  • Low-power standby; lightweight (~2 g) and compact footprint (36 × 15 × 14 mm).
Specifications
Parameter Value
Operating Voltage 3.3 V – 5.5 V
Logic High Pulled to Vcc
Logic Low Pulled to GND
LED Voltage ~1.9 V
LED Current ~20 mA
Series Resistor 10 kΩ (onboard)
PCB Dimensions 19 mm × 14 mm
Weight ~2 g
Interface Pins GND, VCC, S (signal), L (LED control)
Compatible with Arduino, ESP32, Raspberry Pi, Micro, Pico
PINOUT

  • ‘G’ / ‘–’  = Ground
  • ‘+’ = Vcc (3.3 or 5V to match uControllers)
  • S = Output of the tilt switch.  Connects to a digital input pin on uC.  Active LOW
  • L = Input to drive LED.  Connects to a digital output pin on uC.  Active HIGH
Applications
  • “Magic light cup” interactive effects: two modules controlling each other’s LED brightness via tilt and PWM.
  • Motion or vibration-triggered lighting or status indication.
  • Simple tilt alarm or tilt-detection circuit.
  • Input device for interactive displays, toys, and art installations.
  • Reaction-based IoT prototypes and sensory feedback systems.
Package Contents
  • 1x Magic Cup Tilt Switch Module KY027 (with LED, tilt switch, and pin header).
Documents
Weight 2 g
Dimensions 22.6 × 14 × 25 mm

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Product has been added to your cart