Sound alarm control unit

From StdOut
This page is kept for historical interest. It may document projects or methods that are obsolete and/or no longer relevant. The information here is not kept up-to-date.

This module was part of the rack box project — which was terminated when I moved out of my first apartment.
SSU installed in the Rack box

SSU controls the sound alarms in the Rack box. Modules that have alarm outputs sends a signal to SSU, which carries out the sound alarm. If system mute is active the power to the buzzer and siren is disconnected. The sound LED flashes once at signal 1, twice at signal 2 and three times at signal 3. A beep is given every six minutes if an alarm is active, as a reminder.

I/O

Inputs

  1. Signal: Beep
  2. Signal: Siren pulse
  3. Signal: Buzzer pulse

Outputs

  1. Siren
  2. Buzzer
  3. Sound LED
  4. Lifesignal (to Module stability monitoring unit 2)

Signals

  1. 100ms signal siren
  2. 1 sec signal siren
  3. 3 sec signal buzzer

D-Sub 9-pin

  1. 0v
  2. 5v
  3. Signal: Beep
  4. Signal: Siren pulse
  5. Signal: Buzzer pulse
  6. Siren
  7. Buzzer
  8. Sound LED
  9. Lifesignal

Source code

Git-alt-brands.svg
Bascom-AVR source is available in a git repository:
https://github.com/thomasjsn/AVR-Sound-alarm-controller

Gallery

Schematic drawing

Sound-alarm-circuit-eqmdzq.png

Parts list

Qty. Part
1 × AVR ATtiny2313-20PU, DIL-20, 20 MHz, 18 I/Os
1 × Capacitor, aluminium electrolytic, 10 µF, 25V
1 × Capacitor, ceramic, 1 nF, 100V
1 × D-sub soldering cups, 9 pin male
1 × DIL socket, 20-pin, 7.62mm
1 × Enclosure, plastic (1591 FL), 100x50x25mm, flange
1 × LED 5mm coloured clear, Green, 2.1V, 20mA, 30mcd, 10°
1 × LED 5mm coloured clear, Yellow, 2.0V, 20mA, 40mcd, 10°
2 × LED holder 5mm, RTC51, black plastic
32 cm2 PCB, stripboard, 100x160mm, 160cm2
5 × Resistor, carbon film, 0.25W, 330 Ω, 5%
5 × Resistor, carbon film, 0.25W, 4.7 kΩ, 5%
3 × Resistor, carbon film, 0.25W, 10 kΩ, 5%
4 × Transistor, NPN, 100 mA, 45V, 0.5W, BC547B