Project Overview
"Seis-Guard" is a rigorous exploration into Kinetic Intrusion Forensics and Asynchronous Interrupt Orchestration. Designed to protect high-value assets from unauthorized displacement, this project leverages a dual-node tilt-switch array to create a highly sensitive seismic alarm. By utilizing specialized Interrupt Service Routines (ISRs) and deterministic state-machine delays, Seis-Guard provides a sophisticated multi-stage security loop that distinguishes between incidental environmental vibrations and deliberate kinetic interference.
Technical Deep-Dive
- Gravity-Driven State-Machine Forensics:
- The Deployment Delay Loop: To facilitate safe installation, the system implements a "Stabilization Phase." If a tilt event is detected during this countdown, the timer is reset via a recursive logic forensics, ensuring the alarm only arms once the device has reached a state of perfect kinetic equilibrium.
- Multi-Stage Alert Harmonics: Once armed, an intrusion event triggers a two-stage response. A pre-alert delay allows for authorized deactivation, followed by a sustained acoustic siren phase. The forensics includes a "Memory Latch" where a Red LED remains active for 5 seconds post-event, providing visual proof of a past security breach even after the siren has timed out.
- ISR Signal Diagnostics:
- Asynchronous Interrupt Handling: The tilt switches are tied to high-priority IRQ pins. The forensics involves an ultra-lean ISR that flags the state-machine, minimizing "Interrupt-Latency" and ensuring that transient shocks—spanning only a few milliseconds—are captured with 100% fidelity.
- Debounce Matrix Analytics: To mitigate the internal "Contact-Oscillation" inherent in mechanical tilt switches, the firmware employs a polling-matrix logic. Switch closure must be sustained across multiple clock ticks to be registered as a valid intrusion, filtering out low-amplitude spectral noise.
Engineering & Implementation
- Seismic Sensitivity Diagnostics:
- Non-Mercury Reliability: Traditional mercury switches pose significant heavy-metal toxicity risks. Seis-Guard utilizes modern ball-in-tube non-mercury variants. Diagnostic tests indicate that sensitivity reaches its peak when the switches are mounted on an orthogonal 90-degree axis, providing 360-degree coverage in the horizontal plane.
- Mechanical Attenuation: Sensitivity can be hardware-tuned by adjusting the inclination of the switch leads. Increasing the "Ramp Angle" for the internal ball prevents accidental triggers caused by resonant surface vibrations (e.g., table knocks).
- Structural Integrity:
- Development Shield Backplane: The circuit is integrated onto a DIL (Dual In Line) development shield. This provides a low-impedance signal path and structural rigidity, ensuring that the sensor nodes do not exhibit "Self-Induced Resonance" during the acoustic siren phase.
Conclusion
Seis-Guard demonstrates the successful application of Asynchronous Logic to physical asset protection. By mastering Gravity-Switch Forensics and ISR Harmonics, glennedi has delivered a robust, safety-conscious security platform that proves the enduring utility of simple mechanical sensors when managed by high-performance embedded state-machines.