Vibration sensor is to install at window, when arduino nano gpio detect (normal 2 cable vibration alarm sensor) vibrate 10ms, it will send the signal to other gpio to high for activate relay.
1. Vibration Sensor 2 Wire, normal mode is NC
2. Require Arduino Nano in sleep mode at normal time for save power, weak up by detect first vibrate, and trigger keep vibrate 10ms only active relay gpio to high