I'm working on a basic window-switch activated alarm that runs on 12v. When the window is opened, the window switch activates the alarm sounder.
The issue is if the window is immediately closed again, the alarm stops. What I'm asking is, how can I wire the sounder to either continually sound or sound for a certain amount of time, regardless of whether the window is shut again or not?
This project is a basic burglar alarm.