This is sample Arduino sketch for Vibration sensor
Project description:
This is high sensitivity vibration sensor. It act like a normal open switch. When it senses vibration, the terminals touches together and create a short circuit. This sample code read value of sensor and if it detect "HIGH" or the vibration then it will on the Alarm.
Hardware:
- Arduino IDE
Sensing: Vibration & Tilt
Welcome to our technical forum if you have further inquiry