This is a vibration/tilt sensor, model SW-520D. It is based on metal ball, when it is tilt or shaking/vibration, the metal ball touches the terminals and create shorts to the terminals, thus vibration or tilt sensor. The shape is similar to Electrolytic Capacitor.
What I like about this sensor is the terminals, both the terminal is thick enough for breadboard and soldering.
Features and Spec:
- Tilt/Vibration sensor
- Diameter: 5mm
- Length: 12mm
- Max voltage: 20V
- Max Current: 0.3A
- Contact rating: < 10 Ohm
- Contact resistance: > 10 MOhm
- Insulation Resistance: > 10MOhm