This article describes a 2-Input alarm developed on the PIC LICK-1 Module using a Microchip PIC16F628-04. The program uses the internal 4MHz oscillator and if any other frequency is used, the timer values will need to be changed. A two zone alarm means the system has two separate detection circuits and can identify which circuit was triggered. The circuit uses lines RA1 and RA2 as zone 1 and zone 2. The operator can only enable or disable Zone 2.
This allows situations such as disabling a large zone such as the garage, while an ultrasonic detector covering a smaller zone, such as toolboxes or equipment, remains enabled.
A more practical application would be in a small store with a workroom at th