Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Printing
    • Multicolor FDM
    • FDM
    • SLA Resin
    • MJF Nylon
    • SLS Nylon
    • SLM Metal
    • Binder Jetting
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Printing
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Printing
    • Multicolor FDM
    • FDM
    • SLA Resin
    • MJF Nylon
    • SLS Nylon
    • SLM Metal
    • Binder Jetting
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Home Sensor Modules Vibration/Tilt Sensor and Modules
Return to previous page
Sale 28%
Magic Cup Tilt Switch Module
Magic Cup Tilt Switch Module
Magic Cup Tilt Switch Module
Magic Cup Tilt Switch Module
  • Magic Cup Tilt Switch Module
  • Magic Cup Tilt Switch Module
  • Magic Cup Tilt Switch Module
  • Magic Cup Tilt Switch Module

Magic Cup Tilt Switch Module

Rated 4.32 out of 5 based on 19 customer ratings
Share: Facebook Twitter Tumblr Linkedin Houzz Vk Pinterest Whatsapp
Add to wishlist
Add to compare

Quick Review:

  • On tilting the module mercury inside small tube connect the switching point and make switch ON while tilting it to other side move the mercury and it disconnects the circuit and switches get OFF. The module operates on 5V DC supply.
Brand: Generic SKU: AI2509
Category: Vibration/Tilt Sensor and Modules
Tags: Buy Online India, Tilt Sensor, Vibration Sensor, Zbotic

₹50.74 Original price was: ₹50.74.₹36.58Current price is: ₹36.58. (₹31.00 + GST)

Purchase this product now and earn 1 Zbotic Point!
Description
Additional information
Warranty
COO

Description:

The Magic Light Cup Module features an LED and a mercury tilt switch on a single board. By using PWM to control the LEDs, you can create the illusion of light being “magically” transferred between modules when they are tilted. Essentially, this module combines two components: a mercury tilt switch and an LED.

When the module is tilted, the mercury inside the tube connects the switching point, turning the switch ON. Tilting it to the other side causes the mercury to move, disconnecting the circuit and turning the switch OFF. The module operates on a 5V DC supply.

The “magic” aspect of this module lies in the way the LED turns ON and OFF with the tilt of the switch. It can also be easily connected to a NodeMCU for additional functionality.


Pin Connection with Arduino:

  • G: GND

  • +: 5V DC

  • S: Arduino pin 8

  • L: Arduino pin 9


Pin Connection with NodeMCU:

  • Connect G to a GND port of your NodeMCU

  • Connect + to a 3.3V port of your NodeMCU

  • Connect S to a digital port on your NodeMCU (example: port D3)

  • Connect L to a digital port on your NodeMCU (example: port D5)


Specifications:

Model Type Tilt Sensor Module
Operating Voltage (VDC) 3.3 to 5
Length (mm) 22
Width (mm) 24
Height (mm) 25

Connection Diagram:

Magic Cup Light Module For Arduino


Arduino Example Code:

In this Arduino sketch, we’ll use two switching modules to create the magic light cup effect. The mercury switches in each module provide a digital signal that is used to regulate the brightness of the LEDs using PWM. Tilting the modules will decrease the brightness on one module while increasing it on the other one, creating the illusion of light magically passing from one module to the other.

int ledPinA = 9;
int switchPinA = 8;
int switchStateA = 0;
int ledPinB = 6;
int switchPinB = 7;
int switchStateB = 0;
int brightness   = 0;

void setup() 
{
  pinMode(ledPinA, OUTPUT); 
  pinMode(ledPinB, OUTPUT);  
  pinMode(switchPinA, INPUT); 
  pinMode(switchPinB, INPUT);
}

void loop() 
{
  switchStateA = digitalRead(switchPinA);
  if (switchStateA == HIGH && brightness != 255)
  { 
   brightness   ;
  } 
  switchStateB = digitalRead(switchPinB);
  if (switchStateB == HIGH && brightness != 0)
  { 
   brightness --;
  } 
  analogWrite(ledPinA, brightness);  //  A slow fade out
  analogWrite(ledPinB, 255 - brightness);  // B slow bright up
  delay(20);
}

Package Includes

  • 1 x Magic Cup Light Module

Tags: Buy Online India Tilt Sensor Vibration Sensor Zbotic
Also in Vibration/Tilt Sensor and Modules:
Normally open vibration sensor moduleVibration Switch ModuleReed Switch 2 x 14mm Magnetic Control Switch -Normally Open Contact-(Pack of 10 Pcs.)Mercury Medallion Module for Uno R3
Related Articles:
IoT Weather Station Build: Complete Multi-Sensor Project

IoT Weather Station Build: Complete Multi-Sensor Project

A personal IoT weather station is one of the most rewarding electronics projects you can build. Unlike commercial...

Read More →
Turbidity Sensor: Water Clarity Measurement for IoT System

Turbidity Sensor: Water Clarity Measurement for IoT System

Water quality monitoring has become a critical part of modern agriculture, aquaculture, industrial processes, and smart city infrastructure....

Read More →
OBD-II ELM327: Read Car Diagnostic Codes with Arduino

OBD-II ELM327: Read Car Diagnostic Codes with Arduino

Table of ContentsWhat Is OBD-II and Why Does It Matter?The ELM327 IC — Heart of the AdapterHardware You...

Read More →

Technical Specifications

SKUAI2509
Weight0.00338 kg
AvailabilityIn Stock

Applications & Use Cases

The Magic Cup Tilt Switch Module is a versatile vibration/tilt sensor and modules used across a wide range of applications including electronics projects, DIY builds, prototyping, and educational experiments.

Common use cases:

  • Integrating into a custom electronics project
  • Learning and experimenting with circuits
  • Replacing or upgrading components in existing setups

This product is ideal for electronics enthusiasts, engineers, and students.

Technical Tip: Always verify voltage and current requirements before connecting to your circuit. Check datasheets for detailed specifications and pin configurations.

Shipping & Delivery

  • Free shipping on orders above ₹999 across India
  • Dispatched within 1-3 business days
  • Expected delivery: 3-7 business days depending on location
  • Secure packaging to ensure safe transit of electronic components
Weight 0.00338 kg
15 Days Warranty

Please note that this item is only covered by a standard supplier warranty against manufacturing defects for a period of 15days from the time of delivery. It is important to understand that only manufacturing defects are covered under this warranty, and any other issues will not be considered for reimbursement or replacement. We strongly advise inspecting the product upon delivery to ensure it meets your expectations. In case of any manufacturing defects, we guarantee reimbursement or replacement.


What voids warranty:

If the product is subject to misuse, tampering, static discharge, accident, water or fire damage, use of chemicals & soldered or altered in any way.

Tags: Buy Online India Tilt Sensor Vibration Sensor Zbotic
Also in Vibration/Tilt Sensor and Modules:
Normally open vibration sensor moduleVibration Switch ModuleReed Switch 2 x 14mm Magnetic Control Switch -Normally Open Contact-(Pack of 10 Pcs.)Mercury Medallion Module for Uno R3
Related Articles:
IoT Weather Station Build: Complete Multi-Sensor Project

IoT Weather Station Build: Complete Multi-Sensor Project

A personal IoT weather station is one of the most rewarding electronics projects you can build. Unlike commercial...

Read More →
Turbidity Sensor: Water Clarity Measurement for IoT System

Turbidity Sensor: Water Clarity Measurement for IoT System

Water quality monitoring has become a critical part of modern agriculture, aquaculture, industrial processes, and smart city infrastructure....

Read More →
OBD-II ELM327: Read Car Diagnostic Codes with Arduino

OBD-II ELM327: Read Car Diagnostic Codes with Arduino

Table of ContentsWhat Is OBD-II and Why Does It Matter?The ELM327 IC — Heart of the AdapterHardware You...

Read More →
Country Of Origin: China

Related products

In stock

Longer version of 4 WD Double Layer Smart Car Chassis Kit-Zbotic
Longer version of 4 WD Double Layer Smart Car Chassis Kit-Zbotic3
Quick View

Longer Version of 4WD Double Layer Smart Car Chassis

SKU: AI0111 ₹599.44 (₹508.00 + GST) Add to cart Add to Compare
Sale 23%

In stock

MQ135 Gas Sensor Noxious Gas Detection Module Air Quality Test MQ-135 Air Pollution Sensitive Sensor for Mega 2560
Mq135 Sensor - MQ135 Gas Sensor Noxious Gas Detection Module Air Quality Test MQ-135 Air Pollution Sensitive Sensor for Me...
Quick View

MQ135 – Air Quality Gas Sensor

SKU: AI0125 ₹138.06 Original price was: ₹138.06.₹106.20Current price is: ₹106.20. (₹90.00 + GST) Add to cart Add to Compare

In stock

DS1307 RTC I2C Module AT24C32 without Battery
Real Module - DS1307 RTC I2C Module AT24C32 without Battery
Quick View

DS1307 RTC I2C Module AT24C32 without Battery

SKU: AI0106 ₹46.61 (₹39.50 + GST) Add to cart Add to Compare

In stock

Reed Switch 2 x 14mm Magnetic Control Switch -Normally Open Contact
Reed Switch 2 x 14mm Magnetic Control Switch -Normally Open Contact-(Pack of 10 Pcs.)
Quick View

Reed Switch 2 x 14mm Magnetic Control Switch -Normally Open Contact-(Pack of 10 Pcs.)

SKU: AI0093 ₹92.04 (₹78.00 + GST) Add to cart Add to Compare
Sale 8%

In stock

Svg%3E
TM1637 4 Bits Digital Tube LED Display Module with Clock Display(Red)
Quick View

TM1637 4 Bits Digital Tube LED Display Module with Clock Display(Red)

SKU: AI0107 ₹60.18 Original price was: ₹60.18.₹55.46Current price is: ₹55.46. (₹47.00 + GST) Add to cart Add to Compare
Sale 21%

In stock

315MHz RF Transmitter Receiver Module
315MHz RF Transmitter Receiver Module
Quick View

315MHz RF Transmitter Receiver Module

SKU: AI0100 ₹89.68 Original price was: ₹89.68.₹70.80Current price is: ₹70.80. (₹60.00 + GST) Add to cart Add to Compare

In stock

Svg%3E
TSOP1738 IR Receiver - Infrared Receiver
Quick View

TSOP1738 IR Receiver – Infrared Receiver

SKU: AI0095 ₹32.57 (₹27.60 + GST) Add to cart Add to Compare

Free Shipping

On orders above ₹999

COD Available

Min. order ₹250 for COD

GST Invoice

Available on all orders

1,50,000+ Orders

Delivered across India

Expert Support

Toll Free: 1800 209 0998

PCB Manufacturing

Get instant quote →

›

3D Printing Service

Upload design, get quote →

›

Product categories

  • 3D Printers and Parts
  • Batteries, Chargers and Accessories
  • Development Boards
  • DIY Learning and Robot Kits
  • Drone Parts
  • EBike parts
  • Electronic Components
  • Electronic Modules and Displays
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • Sensor Modules
    • Biometric/ECG/EMG Sensor
    • Current and Voltage Sensor
    • Distance Sensor
    • Environmental Sensors
    • Flame Sensor
    • Gas and Dust Sensor
    • Hall Sensor
    • IMU, Accelerometer, Magnetometer & Gyroscope
    • LiDAR Sensor
    • Light/color Sensor
    • Line Sensor
    • Load / Pressure / Force / Flex Sensor
    • Other Sensors
    • PIR / IR and Optical Sensor
    • Proximity Sensor
    • Radar Sensor
    • RFID card, Tags & Reader
    • Rotary Encoder
    • Sensor Kits
    • Sound Sensor
    • Temperature & Humidity Sensor
    • Thermoelectric Peltier Elements
    • Ultrasonic Sensors and Modules
    • Vibration/Tilt Sensor and Modules
    • Water TDS, pH, Flow, Level and Pressure Sensor
Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Customer Support Email: [email protected]
WhatsApp: 020 6913 4444

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Chat with us