https://diyprojectslab.com/vibration-sensor-with-raspberry-pi/
How to use Vibration Sensor with Raspberry Pi Tutorial