Hi all, it’s been a while.
I have been asked to build an alarm for a friends site tool box and immediately thought of the old PICAXE. I can do the hardware side of things but the program side still gets me, so I thought I would ask the extended family.
What it will have will be one input for the arm/disarm switch, one input for the entry door and one input for all other doors.
It will have one output for a status LED, one output an entry/exit buzzer and one for the alarm sounder or horn its self.
Now the hard bit for me, the operation.
1. Set input active
2. Exit timer starts, entry/exit buzzer start and LED flashes fast until until 5 seconds after the entry/exit door is closed.
3. Alarm now armed LED flashes slowly.
4. If input for all other doors becomes active alarm sounder operates immediately.
5. If entry/exit door is opened then entry timer starts, entry/exit buzzer starts and LED flashes fast. Entry timer 15 seconds.
6. If set input still active after the 15 second entry time then the alarm sounder will operate.
I will probably be using a PICAXE – 18 for this.
I would be grateful of any help with the program and the circuit.
Mark
I have been asked to build an alarm for a friends site tool box and immediately thought of the old PICAXE. I can do the hardware side of things but the program side still gets me, so I thought I would ask the extended family.
What it will have will be one input for the arm/disarm switch, one input for the entry door and one input for all other doors.
It will have one output for a status LED, one output an entry/exit buzzer and one for the alarm sounder or horn its self.
Now the hard bit for me, the operation.
1. Set input active
2. Exit timer starts, entry/exit buzzer start and LED flashes fast until until 5 seconds after the entry/exit door is closed.
3. Alarm now armed LED flashes slowly.
4. If input for all other doors becomes active alarm sounder operates immediately.
5. If entry/exit door is opened then entry timer starts, entry/exit buzzer starts and LED flashes fast. Entry timer 15 seconds.
6. If set input still active after the 15 second entry time then the alarm sounder will operate.
I will probably be using a PICAXE – 18 for this.
I would be grateful of any help with the program and the circuit.
Mark