You can also check the code.
Magic light cup module.
Key features of magic light cup module.
Arduino ide in the cloud.
Arduino howto arduinobasics how to use magic light cup with arduino.
Codebender includes a arduino web editor so you can code store and manage your arduino sketches on the cloud and even compile and flash them.
Magic light cup module.
Mercury switches provide a digital signal that triggers the pwm regulator through the program design we can see the light.
Mercury switches provide a digital signal that triggers the pwm regulator through the program design we can see the light like two cups filled.
Code example raspberry pi needed modules will be imported and configured.
The magic light cup module incorporates both a mercury tilt switch and led on the same module for making special effects by handling them.
Magic light cup modules are easy to interactive technology division developed a can and arduino interactive modules pwm dimming principle is to use the principle of two modules brightness changes.
Using pwm to drive the leds on each module you can achieve the effect of light being magically transferred from one module to the other when tilting them.
Glass mercury tilt switch.
This is tutorial for beginners.
Arduino ky 027 magic light cup module is a set of two boards each one has a led and a mercury tilt switch.
Magic light cup module.