Magic Cup Tilt Switch Module

RBD-2090
  • Operates on 5V DC supply.
  • Mercury switch

BDT 85
Quantity
In-Stock

1 person has purchased this item
25 items in stock
notifications Notify Me
  • Store Pickup Available! Store Pickup Available!
  • Free Ship Over 5000 BDT Free Ship Over 5000 BDT
  • Quality Product Quality Product
  • No Warranty No Warranty
  • No Replacement No Replacement

Magic Light Cup Module is a board which has a led and a mercury tilt switch. Using PWM to drive the LEDs on the module you can achieve the effect of light being “magically” transferred from one module to the other when tilting them. In short, it’s 2 components combined, a mercury tilt switch and a led. 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 switch get OFF. The module operates on 5V DC supply. Featured By RoboticsBD.

So the magic in the name of this module is because when you tilt the switch, the led will turn on and off. And Of course, it is also possible to connect it to the NodeMCU. Featured By RoboticsBD.

Product Images are shown for illustrative purposes only and may differ from the actual product.

Note: Product images/ Components brand may vary from actual product as our stock rotates.

Note: PCB might be different from the picture as per stock

Pin Connection with Arduino:
  1. G: GND
  2. +:  5v DC
  3. S:  Arduino pin 8
  4. L: Arduino pin 9

Pin Connection with Node MCU:
  1. Connect G to a GND port of your NodeMCU
  2. Connect + to a 3.3v port of your NodeMCU
  3. Connect S to a digital port on your NodeMCU (in my example port D3)
  4. Connect L to a digital port on your NodeMCU (in my example port D5)
Connection Diagram:

General Specification
Operating Voltage (VDC) 3.3 ~ 5
Length (mm) 22
Width (mm) 24
Height (mm) 25
Weight (gm) 2
Shipment Weight 0.005 kg
Shipment Dimensions 12 × 8 × 2.5 cm
Please allow 5% measuring deviation due to manual measurement.

Documentation:

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. Featured By RoboticsBD.

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

What is the price of Magic Cup Tilt Switch Module in Bangladesh?

The latest price of Magic Cup Tilt Switch Module in Bangladesh is BDT 85 You can buy the Magic Cup Tilt Switch Module at best price from our RoboticsBD or visit RoboticsBD Office.

Please note that the product information provided on our website may not be entirely accurate as it is collected from various sources on the web. While we strive to provide the most up-to-date information possible, we cannot guarantee its accuracy. We recommend that you always read the product labels, warnings, and directions before using any product.

Product Images are shown for illustrative purposes only and may differ from the actual product.

Product Details
RBD-2090
25 Items
You might also like
Angle Sensor Module for Arduino SW-520D
Quick view

Reference: RBD-0151

Angle Sensor Module for Arduino SW-520D

Operating voltage 3.3V-12V A fixed bolt hole for easy installation Wide voltage LM393 comparator Maximum output current: 15mA Can work on low voltages

Price BDT 320
More
In-Stock
SW-420 NC Type Vibration Sensor Module Arduino
Quick view

Reference: RBD-0152

SW-420 NC Type Vibration Sensor Module Arduino

Using SW-420 normally closed type vibration sensor Comparator output, clean signal, good waveform, strong driving ability, >15mA Operating voltage 3.3V ~ 5V Output format: digital switching output (0 and 1) Using a wide voltage LM393 comparator With bolt holes for easy installation

Price BDT 90
More
In-Stock
801S Vibration Sensor Module
Quick view

Reference: RBD-0415

801S Vibration Sensor Module

Has a signal output instruction When the output valid signal is high, the light goes out The sensitivity is adjustable (fine-tuning) The wide detection range of vibration, no direction With mounting holes, firmware installation is flexible and convenient. RoboticsBD

Price BDT 380
More
In-Stock
Vibration Sensor Module...
Quick view

Reference: RBD-1740

Vibration Sensor Module Vibration Switch Alarm Module for Arduino

Operating voltage: 3.3 to 5VDC Ball Rolling type of tilt sensor. This small module is easy to use. A fixed bolt hole for easy installation Wide voltage LM393 comparator

Price BDT 80
More
In-Stock
AS5600 Magnetic Induction...
Quick view

Reference: RBD-1811

AS5600 Magnetic Induction Encoder Angle Measurement Sensor

AS5600 Magnetic Induction Angle Measurement Sensor

Price BDT 299
More
In-Stock
DC Motor Mobile Phone...
Quick view

Reference: RBD-1932

DC Motor Mobile Phone Vibrator Vibration Motor Alarm Module – Black

Rated voltage: 5 VDC. Port: Digital quantity. Fixed hole:3mm. Pitch:15mm. Drive: MOS tube high-level trigger, low-level cutoff. Compatible with UNO R3/ Mega2560.

Price BDT 220
More
In-Stock
Vibration Switch Module
Quick view

Reference: RBD-2078

Vibration Switch Module

No direction, any angle can trigger the work. Sensitivity switches can be selected for the trigger sensitivity according to circuit requirements. This switch is suitable for the trigger of the small current circuit. Component Type: SW-18015P Maximum voltage: 12V Rated Heating Current: 20mA

Price BDT 45
More
In-Stock
Tilt Switch Sensor Module...
Quick view

Reference: RBD-2088

Tilt Switch Sensor Module For Arduino

Operating Voltage: 5v DC. This module is Small and Simple to use. Digital switch output (0 & 1) High sensitivity Completes the circuit when the module is tilted LED lights up when tilt switch is activated

Price BDT 65
More
In-Stock
Mercury Medallion Module
Quick view

Reference: RBD-2089

Mercury Medallion Module

Consists of a mercury switch 680Ω resistor LED that will light up when tilt is detected. 

Price BDT 45
More
In-Stock
Magic Cup Tilt Switch Module
Quick view

Reference: RBD-2090

Magic Cup Tilt Switch Module

Operates on 5V DC supply. Mercury switch

Price BDT 85
More
In-Stock
30 other products in the same category:
Smart Speed Detecting Sensor for Arduino
Quick view

Reference: RBD-0041

Smart Speed Detecting Sensor for Arduino

Bases at CSR BC04 Bluetooth technology. with build-in 2.4GHz PCB antenna It’s at the Bluetooth class 2 power level. Range test: 10 meters Operating voltage: 3.3V to 6V DC Operating current in pairing is in the range of 30~40mA.

Price BDT 150
More
In Stock
Mini Metal Detector Module
Quick view

Reference: RBD-1066

Mini Metal Detector Module

Operating voltage: 5V DC. Detector distance: 1CM. Adjust the potentiometer, let the modules work normally. Small and easy to use module. It comes with a Buzzer for metal detection indication.

Price BDT 499
More
In-Stock
Weighing Sensor 24 Bit HX711 Dual-Channel
Quick view

Reference: RBD-0344

Weighing Sensor 24 Bit HX711 Dual-Channel

Output Sensitivity: 1.0 ± 0.1 mV / V. Two selectable differential input channels. On-chip active low noise PGA with the selectable gain of 32, 64 and 128. On-chip oscillator requiring no external component with optional external crystal. On-chip power-on-reset. Measurement Resolution: 24 bit. RoboticsBD

Price BDT 199
More
In-Stock
MQ-2 Flammable Gas & Smoke Sensor
Quick view

Reference: RBD-0671

MQ-2 Flammable Gas & Smoke Sensor

Operating Voltage:+5V Preheat Duration:20 s Analog Output Voltage:0 to 5 V Dimension:36x20x21 mm. RoboticsBD

Price BDT 157
More
In-Stock
VL6180 VL6180X ToF Range Finder Sensor
Quick view

Reference: RBD-0816

VL6180 VL6180X ToF Range Finder Sensor

Power Supply Voltage: 3.3V~5V Operating Current: <5mA Measuring Distance: 5-100mm VCSEL light source Strong anti-interference Based on DFrobot Fermion VL6180X ToF Distance Ranging Sensor (Breakout)

Price BDT 1,299
More
In-Stock
IR Receiver Diode - TSOP38238
Quick view

Reference: RBD-1200

IR Receiver Diode - TSOP38238

Very low supply current Photo-detector and preamplifier in one package Internal filter for PCM frequency Improved shielding against EMI Supply voltage: 2.5 V to 5.5 V Improved immunity against ambient light

Price BDT 55
More
In-Stock
High Accuracy I2C MAX30105 Particle Optical Sensor Photodetectors Module
Quick view

Reference: RBD-0812

High Accuracy I2C MAX30105 Particle Optical Sensor Photodetectors Oximeter Module

Based on MAX30105 – heart rate, oximeter, smoke sensor Green, red, and infra-red LEDs Interface: I2C (address 0x57) Compatible with 3.3V and 5V logic levels.

Price BDT 4,300
More
In-Stock
RTD PT-100 Temperature Sensor
Quick view

Reference: RBD-0493

RTD PT-100 Temperature Sensor

Temperature Range : 0C-400C Shield Material : Metal Total Length(Approx.) : 2M / 6.6 Ft; Weight : 46g;

Price BDT 799
More
In-Stock
- BDT 90 Reduced price 6DOF MPU 6050 3 Axis Gyro
Quick view

Reference: RBD-0104

6DOF MPU 6050 3 Axis Gyro

Chip built-in 16bit AD converter, 16-bit data output Driver Chip: MPU6050 Operating Voltage: 3-5V DC Communication: I2C/IIC Protocol Gyro Range: ± 250, 500, 1000, 2000 °/s Accelerometer Range: ± 2 ± 4 ± 8 ± 16 g

Price BDT 200 Regular price BDT 290
More
In-Stock
3mm Two-Color LED Module
Quick view

Reference: RBD-2077

3mm Two-Color LED Module

Operating Voltage:2.0v ~ 2.5v Current:10mA Diameter:3mm Wavelength:571nm + 644nm Beam Angle:150

Price BDT 45
More
In-Stock
Logic Level Converter
Quick view

Reference: RBD-0272

Brand: Waveshare

Logic Level Converter

Voltage level: 1.8V-6V Dimension: 38mm x 31.6mm Conversion  level  range:  1.8 V-6 V Instructions for use:  (3.3 V,  5 V  to  each other) 4 pairs of power supply interfaces, supports more situation Use tantalum capacitors for power filter, provides more stability VCCB 5V  power supply  (can  be an external  5V power supply)

Price BDT 550
More
There are not enough products in stock
Double-ended 50cm Cable...
Quick view

Reference: RBD-0314

Double-ended 50cm Cable Crocodile Clips

Colour: Red, Green, Yellow, White, and Black, etc. Cable length: 40 cm. RoboticsBD Net weight: 50 gm. They are very useful for connecting components to wires. It is insulation covered clips connected to the wire from both ends. RoboticsBD *You will receive 1 pcs cable of random color.

Price BDT 20
More
In-Stock
4-20mA Signal Generator...
Quick view

Reference: RBD-1177

4-20mA Signal Generator Current Loop Simulator Tester

This signal generator can use 4-20mA to generate voltage and control the current in the circuit. Accuracy up to 0.01; Liquid crystal display; Rotary encoder adjustment ; Two connection terminals are non polarity. Output range can be set; 4-20mA (device control) / -21mA (signal debugging) Display mode can be set, it is convenient for you to see the value...

Price BDT 2,999
More
In-Stock
Current Sensor ACS712-5A
Quick view

Reference: RBD-1174

Current Sensor ACS712-5A

Low-noise analog signal path. Device bandwidth is set via the new FILTER pin. 5 µs output rise time in response to step input current. Small footprint, low-profile SOIC8 package. 2.1 kV RMS minimum isolation voltage from pins 1-4 to pins 5-8.

Price BDT 184
More
In-Stock
TCRT5000 Single Channel...
Quick view

Reference: RBD-2096

TCRT5000 Single Channel Line Tracking Sensor Module

Operating Voltage: 3-5.5V Supply Current: ≥ 20mA Optimal Sensing Distance: 3mm Working voltage of 5V, the output of the black line low, white line of high output Uses Infrared Light to Detect Anti-Interference Ability Sensors to adopt TCRT5000 High Sensitivity, Stable Performance Exquisite workmanship, with the indicator Has a fixed bolt hole for easy...

Price BDT 110
More
In-Stock
SW-420 NC Type Vibration Sensor Module Arduino
Quick view

Reference: RBD-0152

SW-420 NC Type Vibration Sensor Module Arduino

Using SW-420 normally closed type vibration sensor Comparator output, clean signal, good waveform, strong driving ability, >15mA Operating voltage 3.3V ~ 5V Output format: digital switching output (0 and 1) Using a wide voltage LM393 comparator With bolt holes for easy installation

Price BDT 90
More
In-Stock
Humidity Detection Sensor...
Quick view

Reference: RBD-1049

Humidity Detection Sensor Module Snow Rain Raindrops Detection For Arduino

Operating voltage: 5V Provide both digital and analog output Adjustable sensitivity Output LED indicator Compatible with Arduino TTL Compatible Bolt holes for easy installation

Price BDT 500
More
Sold-out

Pressure Sensors with...
Quick view

Reference: RBD-1848

Pressure Sensors with Display SPABT-P10-R18-2N-K2-B-SA

Compact Design Country Specific pressure Multiple Displayable Unit Multi-colored, two-part display Alphanumeric display

Price BDT 28,000
More
In-Stock
US-015 Ultrasonic Module Distance Measuring Transducer Sensor
Quick view

Reference: RBD-0315

US-015 Ultrasonic Module Distance Measuring Transducer Sensor

Working voltage: DC 5 V Static current: 3 mA Working temperature: 0 ~ + 70° Output way: GPIO Induction Angle: Less than 15° Detection range:2 cm to 400 cm Detecting precision: 0.3 cm + 1% Sensor size: Approx. 45 x 20 x 1.6mm Hole diameter: Approx. 1mm. RoboticsBD

Price BDT 390
More
In-Stock
Reflective Photo Sensor...
Quick view

Reference: RBD-1194

Reflective Photo Sensor (RPR-220)

Product Name : Optical Sensor Switch Model : RPR220 Color : Black Net Weigh : 3g Material : Plastic, Metal Detection Distance:1-13mm Working Voltage:DC 30V(Max) Output Type:Photo Transistor

Price BDT 30
More
In-Stock
TCRT5000L Reflective Optical Sensor
Quick view

Reference: RBD-0132

TCRT5000L Reflective Optical Sensor

The TCRT5000 and TCRT5000L are reflective sensors which include an infrared emitter and phototransistor in a leaded package which blocks visible light. The package includes two mounting clips. TCRT5000L is the long lead version. Model TCRT5000 Color Black + blue Detecting range: 0.591″ (15mm); Detecting method: Reflective; Collector-Emitter: Voltage:...

Price BDT 16
More
In-Stock
IR Receiver Diode (5mm)
Quick view

Reference: RBD-1189

IR Receiver Diode (5mm)

Wavelength: 850nm Emission Distance: 7 Meters / 23Ft Voltage: DC 1.2-1.3V Polarity: Anode (Longer Part) | Cathode (Shorter Part)

Price BDT 5
More
In-Stock
Smart Sensor AR320 Infrared...
Quick view

Reference: RBD-1383

Smart Sensor AR320 Infrared Thermometer

Laser Pointer for Accurate Temperature Reading | Auto Data Hold Temperature Measurement Range: -32℃ ~ 320℃ (-26℉ ~ 608℉) Accuracy: ±2℃ / ±2% | Resolution: 0.1℃ or 0.1℉ Response Time & Wavelength: 500ms & (8-14)um | Distance Spot Ratio 12:1 Automatic Data Hold | Auto Shut Off | Rubberized Handle for Grip and Low Impact Resistance

Price BDT 3,699
More
In-Stock
On sale! Turbidity Sensor Suspended...
Quick view

Reference: RBD-1405

Turbidity Sensor Suspended Turbidity Value Detection Module Kit

Working voltage: 5.00V DC Working current: 40mA (MAX) Response time: <500ms Insulation resistance: 100MΩ (Min) Analogue output: 0~4.5V; Digital output: high/low-level signal (the corresponding threshold can be selected by adjusting the potentiometer) Operating temperature: -20℃~90℃

Price BDT 1,400
More
In-Stock
On sale! BMP280 Pressure Sensor Module
Quick view

Reference: RBD-0687

BMP280 Pressure Sensor Module

Operating Voltage: 1.71V to 3.6V – would typically be operated from 3.3V. Operating Temperature: -40 to +85 deg. Celsius (full accuracy between 0 and +65 deg. C). Peak current: 1.12mA. RoboticsBD Operating Pressure: 300 hPa to 1100 hPa. Accuracy between 700 to 900hPa and 25 to 40 deg. C: ±0.12hPa and ±1.0m.

Price BDT 290
More
In-Stock
37 In 1 Sensor Module Board...
Quick view

Reference: RBD-1541

37 In 1 Sensor Module Board Set Kit For Arduino with Box

For beginners who are interested in Arduino A complete set of Arduino’s most common and useful electronic components Infrared sensor receiving module Laser sensor module Temperature and humidity sensor module Infrared sensor module 5v relay module Obstacle avoidance sensor module.

Price BDT 1,990
More
In-Stock
IR Infrared Transmitter Module
Quick view

Reference: RBD-1727

IR Infrared Transmitter Module

This is 38KHz Infrared IR transmitter sensor module For Arduino Transmit 38KHz modulating signal Suitable for Arduino DIY project Material: PCB

Price BDT 95
More
In-Stock

Envitec OOM202 Medical...
Quick view

Reference: RBD-1719

Envitec OOM202 Medical Ventilator Oxygen Sensor

Envitec Honeywell OOM202 Medical Ventilator Oxygen Sensor Made in Germany

Price BDT 9,500
More
In-Stock
US1000-21A Integrated...
Quick view

Reference: RBD-2169

US1000-21A Integrated Ultrasonic Underwater Sensor

US1000-21A ultrasonic flow sensor / ultrasonic heat meter sensor / Underwater Sensor / high-frequency ultrasonic sensor

Price BDT 1,500
More
In-Stock
Ultrasonic Sonar Sensor HC-...
Quick view

Reference: RBD-0022

Ultrasonic Sonar Sensor HC- SR04

Affordable Price Operating Voltage: 5 V Sonar Sensing Range: 2-400 cm Max. Sensing Range: 450 cm Frequency: 40 kHz RoboticsBD

Price BDT 100
More
In-Stock

Our last Google reviews