Tilt Ball Switch - Ten Pack
Now available from PMD Way are these great value tilt ball switches. They're used simply to detect motion by tilting.
Switch is off when laid flat, or tilting from the horizontal with the legs up. However switch turns on when tilted more than 15 degrees from the horizontal - for example: