hi, i am designing an electronic alarm, i origionaly had 3x 2 input or gates feeding into a NOT gate which fed into a 555 timer which then went to a siren gen to a speaker... i was told it had too many IC's in it (need a PIC for a seperate keypad circuit aswel) so i tried using various logic gated to try and eliminate 1 chip.... i did it in the end by using 3x or gates and 3 NAND gates (1 to use as a not gate and 2 for the latch to replace the timer) i then found out that it was illegal because it can only go off for a certain length of time so i thaught instead of doing a logic latch with 2 NAND gates, i could do an astable timer with them, but i cant find how to do it
i want it so that when a switch is pressesd (or released, either is good) the alarm sounds for a set time even if that switch returns to its original state so i need a constant power source AND an input and a reset aswell.