Tilt sensor
Tilt sensors are switches that change their electrical state when being shocked. They come in a lot of flavors. Usually they are ball contact sensors and can also be used to play samba music. Some examples are listed on this page.

KY-002 Vibration switch modulealt
KY-002 is a ball type tilt sensor. This sensor just switches on/off. It is a make-contact sensor. Some rudimentary software available.

KY-020 Tilt switch modulealt
KY-020 is a ball type tilt sensor.

KY-031 Shock Sensor Module alt
KY-031 is a knock sensor module and a digital interface, built-in LED build a simple circuit to produce percussion flasher.


datasheet Conrad