Tilt Switch¶
The tilt switch used here is a ball one with a metal ball inside. It is used to detect inclinations of a small angle.
The principle is very simple. When the switch is tilted in a certain angle, the ball inside rolls down and touches the two contacts connected to the pins outside, thus triggering circuits. Otherwise the ball will stay away from the contacts, thus breaking the circuits.
Example
2.6 Tilt It! (For MicroPython User)
7.5 GAME - 10 Second (For MicroPython User)
2.6 - Tilt It! (For Arduino User)
2.10 Flowing LEDs (For Piper Make User)