Arduino Sensors & Actuators guide series
Detect tilt and impact
The tilt and impact sensors are simple switches which close a circuit when positioned in a particular way. They are very cheap and come in a variety of shapes. They are usually made of a tiny metallic cylinder with a thin copper wire coming out of one end.