Simple Arduino Alarm

Hello Everybody,

I’m looking to build a very simple alarm system using an arduino uno board.

I intend to use IR sensors and sirens, but for the purpose of this post we can just assume switches will generate the input, and LED’s will generate the outputs.

The first part of the system needs to have an arm/disarm perameter, controlled by a switch (which will be later coded to protect the alarm). This will have an LED connected to it, to show it’s status.

essentially, the alarm will be a five zone system. There will be five input systems, where each switch generates a logic 1, the master LED will be illuminated (or the siren will sound). The LED will be illuminated for around 2 minutes (so to raise the alarm), then will fall back to idle until a true input is next generated.

this system will be replicated accross all five zones.

The next part of the callenge is to create a display, using five individual LED’s which will be illuminated when an indivdual zone switch is triggered. This means that once the alarm siren is finished sounding, the LED will remain on, so that the user can instantly recognise an intrusion. When the user returns to the system, they can press a ‘display’ button, which will illuminate the LED’s in the order which they were triggered.

I.E, the switches were triggered 1,2,3,4,3 - the LED’s will illuminate for 5 seconds, in that order.

Please could any of you guys help with a code or a circuit diagram?

Thanks

Neil