In this illustration we will going to wire the Light Cup module, actually the light cup is device the when you move the mercury tilt switch the light will become dimming light, it uses Pulse with modulation (PWM) dimming principle. The mercury switch will provide a digital singal that triggers the PWM Pulse with Modulation through the code program.

The ideas comes from this module is for example if you to attach this module into the tree branch ones the wind push the brand the mercury switch also and along with the switch move the LED with dimming effect or any desired output.

Compare to vibration sensor the mercury switch is more sensitive because the valve itself has a liquid moving element to trigger.

This module has two parts an LED and a mercury tilt switch. The pin 1 is connection to ground and the pin 2 is connected to 5v power, the pin 3 is a signal and the pin 4 is the board LED, if you wire the pin1 and 2 to power, pin3 the signal will alternate between 5v and 0v or HIGH and LOW as you tilt the module. If you connect a current limiting resistor to pin 2 the output will flashing the LED.

1219300-2

Required Components

  • Arduino Board
  • Light Cup Module Board
  • Jumper Wires
  • Solder Less Bread Board

Wiring Diagram

Wiring-LightCup-Module-Schematics-Diagram

Arduino Sketch

 

Wiring the Mercury Cup Module with Arduino
Facebooktwittergoogle_plusredditpinterestmail
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *