A vibration switch is a device that recognizes the amplitude of the vibration to which it is exposed and provides…