Beirut ElectroCity
Magic Cup Light Module
Part no. 10030257
- Pick up in Msaitbeh, Beirut
- Delivery across Lebanon
- Bulk and education pricing on request
Description
The Magic Cup Light Module combines a tilt switch and an LED on one small board. Used in pairs with an Arduino, it creates the magic light cup effect: when you tilt one module towards the other, as if pouring a drink, the light appears to flow from one LED to the other. It is a fun way to learn about tilt sensing, digital inputs and PWM brightness control.
Magic Cup Light Module Specifications
- Sensor: tilt switch that opens or closes as the board is tilted
- Light: on-board LED with its own control pin
- Pins: G (ground), + (VCC), S (tilt switch signal), L (LED control)
- Supply voltage: 3.3–5 V
- Interface: digital input for the switch, digital or PWM output for the LED
Magic Cup Light Module Applications
- Magic light cup demonstrations with two modules
- Tilt and orientation alarms
- Interactive toys and light effects
- Teaching Arduino inputs, outputs and PWM
What's in the Box
- 1 × Magic Cup Light module
Tip: You need two modules for the pouring effect: read both S pins and fade the LEDs up and down with PWM pins, using a series resistor of about 220 Ω on the L line at 5 V. Some versions use a glass mercury tilt switch, so handle the board gently and never break the switch.
Shipping & pickup
Orders placed before 14:00 are ready for pickup the same day. Delivery across Lebanon usually takes 1–3 working days.