A seismic switch is a programmable device capable of distinguishing between seismic movements due to an earthquake or an explosion, which is used to send a signal to control panels for security doors. The device uses accelerometers and a microcontroller for the detection and signal analysis of the seismic movements. In the event of an explosion or earthquake, the device produces a loud sound which serves as an audible alarm. Other proposed applications, with minor modifications to the device or software code, include monitoring of freight handling, emergency shut-off controller for industrial control systems and machinery, a by-pass system for electronic access control panels, and as a theft-deterrent or a component of a security system for automated teller machines and other valuable devices or items.