

Magic Cup Tilt Switch Module KY027
Part number KY027
From the shop's description
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 Example Arduino Code .
Read moreShow less
Similar products
PAM8403 Audio Amplifier ModuleEGP 30 – 44.993 shopschecked 18 days ago
MT3608 DC-DC Step Up Power Boost Module 2A with Type-C USBEGP 302 shopschecked 12 days ago
TCRT5000 Tracking Line Follower Sensor 3 Pin HW-511EGP 30 – 353 shopschecked 11 days ago
Relay 12V 0.5A 8 Pin OmronEGP 301 shopPrice may be out of date (74 days)
DS1302 RTC Real Time Clock Module No BatteryEGP 30 – 402 shopschecked 11 days ago
DC-DC Step Down Converter 3A Ultra Mini-360 (4.75V~23Vdc to 1V~17Vdc)EGP 301 shopchecked 13 days ago
NRF24L01 Wireless Module Adapter BoardEGP 30 – 354 shopschecked 15 days ago
SW1801P Vibration Switch Module 4 PinEGP 301 shopchecked 11 days ago