Module heartbeat monitor with 6 inputs

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.
MSMU alarmed

This unit monitored fix other AVR modules in the Rack box. All AVR-driven modules has an lifesignal output that gives a pulse every 2. seconds, this output is connected to this monitoring unit. If the signal is lost for more than ten seconds (15 for Main monitoring unit) the alarm will sound. LEDs shows what modules have failed.

I later built a bigger version of this module: Module heartbeat monitor with 15 inputs and LCD

I/O

Inputs

  1. Module 1
  2. Module 2
  3. Module 3
  4. Module 4
  5. Module 5
  6. Module 6
  7. Reset

Outputs

  1. LED 1
  2. LED 2
  3. LED 3
  4. LED 4
  5. LED 5
  6. LED 6
  7. Module error alarm
  8. Lifelight

D-Sub 9-pin

  • 5V
  • 0v
  1. Module 1
  2. Module 2
  3. Module 3
  4. Module 4
  5. Module 5
  6. Module 6
  7. Reset
  8. Module error alarm

Source code

Git-alt-brands.svg
Bascom-AVR source is available in a git repository:
https://github.com/thomasjsn/AVR-Module-heartbeat-monitor

Gallery

Parts list

Qty. Part
1 × AVR ATtiny2313-20PU, DIL-20, 20 MHz, 18 I/Os
1 × Capacitor, aluminium electrolytic, 10 µF, 25V
2 × Capacitor, ceramic, 22 pF, 100V
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), 120x65x40mm, flange
1 × LED 5mm clear, Blue, 4.9V, 20mA, 350mcd, 12°
1 × LED 5mm coloured clear, Green, 2.1V, 20mA, 30mcd, 10°
6 × LED 5mm, Red/Green, 2.0 2.1V, 10mA, 100 63mcd, 30°
1 × LED holder 5mm, RTC51, black plastic
1 × LED lens 5mm, CLF 280, Blue
32 cm2 PCB, stripboard, 100x160mm, 160cm2
1 × Quartz crystal oscillator, 4 MHz
15 × Resistor, carbon film, 0.25W, 330 Ω, 5%
2 × Resistor, carbon film, 0.25W, 4.7 kΩ, 5%
7 × Resistor, carbon film, 0.25W, 10 kΩ, 5%
1 × Switch, push-button, 1-pole, 1A, 50VAC, off-(on)
1 × Transistor, NPN, 100 mA, 45V, 0.5W, BC547B