555 Timers are fun and a great way to start learning electronics
TILT SWITCH Circuit
The output
is LOW at start-up due to the capacitor on pin 4. When the mercury
switch closes, the output goes HIGH and remains HIGH until the reset
button is pressed. This circuit is called a LATCH.