Alarm disabling unit for production equipment
I built this module for Sensonor ASA back in 2007, I have no idea if it is alive today.
Simple unit to silence the audible alarm on a production equipment, uses an AVR ATtiny2313 microcontroller.
Details
This module was built for a production equipment at my previous workplace, it made it possible for an operator to silence an alarm without resolving it. Fixing an error could take some time and having the alarm horn sound during that period was very annoying, so many operators removed the alarm relay. This was unfortunate because it was not always put back, so the next alarm situation could go unnoticed. This module would silence the alarm, but still reactive it once the situation had been resolved. Eliminating the need to remove the alarm relay. Powered by: 9-24V.
Operation
Alarm reset
When an alarm situation occurs the red LED flashes and the production alarm sounds, by pressing "reset alarm" the voltage to the sound alarm is cut. The red LED lights continuously when the alarm is reset. When the alarm situation is resolved the red LED turns off and the voltage to the sound alarm is restored. When a new fault occurs the procedure is repeated.
Service mode
During maintenance or other work where multiple alarms are expected; the module can be put in service mode. This will disable the alarm horn for 1.5 hours, after which the module will return to normal operation. Service mode is aborted if the "reset alarm" button is pressed.
Enter service mode
- No alarms must be present or silenced.
- Press and hold the "reset alarm" button for 20 seconds.
- Alarm LED will flash, let go of the "reset alarm" button within one second.
- The power LED will start flashing quickly to indicate that service mode is active.
I/O
Inputs
- PD.0 Reset button
- PD.1 Stack lights signal
Outputs
- PB.0 Red LED
- PB.1 Power LED
- PB.2 Stack lights relay N.O
D-Sub 9-pins
Pin | Function | Color |
---|---|---|
1 | 24V | Orange |
2 | 0V | Orange/white |
3 | Stack lights in + (to optoisolator) | Green |
4 | Stack lights in - (to optoisolator) | Green/white |
5 | Stack lights relay + | Blue |
6 | Stack lights relay - N.O | Blue/white |
Drawings
Panel front
Inside equipment
Schematic drawing
Internal connectors
- Signal from internal reset button (With resistor)
- 24V supply voltage
- Red : + (D-sub 1)
- Blue : - (D-sub 2)
- Status LEDs
- Red : + Red LED
- Green : + Green LED
- Signal from stack lights
- Red : + (D-sub 3)
- Blue : - (D-sub 4)
- GND to LEDs and switch
- 24V to stack lights relay (D-sub 5)
- GND to stack lights relay (D-sub 6)
Source code

https://github.com/thomasjsn/AVR-Alarm-disabling-2