SW-520D Kugelwinkel Neigungsvibrationsschüttelschalter Neigungssensor SW520D Arduino

The tilt sensor is a component (switch) that can detect the orientation of an object (upright or not). Detect orientation or inclination. Sensitivity range: > +-15 degrees. Small and inexpensive.

eBay