The tilt-switch twig is the equivalent of a button, and is used as a digital input. Inside the tilt switch is a ball that make contact with the pins when the case is upright. Tilt the case over and the balls don't touch, thus not making a connection.
When the switch is level it is open, and when tilted, the switch closes. It can be used for orientation detection, alarm device or others.
Features
Connector: Easy plug
Supply Voltage: 3.3V to 5V
Sensor type: Digital
Dimensions: 39mm*20mm*18mm
Weight: 4.8g