Tilt Switch
This simple Tilt Switch contains a metal ball inside that slides back and forth depending on the orientation. When the Gold Leg is facing downwards and the Silver Leg is facing upwards, the ball is at the contact point and the switch is activated. When the internal ball rolls towards the silver leg, the switch is disconnected and you have an open circuit. Very simple principle and easy to use.