Project has a newer edition

A newer, and probably improved, edition of this project exists; Module heartbeat monitor with 15 inputs and LCD.

Heartbeat monitor installed in rack box
The heartbeat monitor has been installed and connected in the rack box project.

When my rack box project started filling up with modules, I needed (or rather wanted) a way of monitoring that they were running and doing what they were suppose to. I tried monitoring the fuses (1) (2), but that just wasn’t practical. I needed a way to know that the modules were not only powered, but running. This module does just that.

Table of content

Details

I originally designed all of my devices with a run light, an LED that blinked when the firmware was running. This LED was in essence a heartbeat, and by making sure that the heartbeat didn’t stop I would know that the module was working fine.

If more than 10 seconds passed, without receiving a heartbeat this monitor unit would go into alarm state. The blue LED would flash, and the green LED corresponding to the failed module would stay solid.

All alarms had to be manually reset, even if the heartbeat came back. The reason for this was so that I would see it if a module had been dead for some time, but came back by itself. This would still indicate a problem with that module. If a heartbeat was not detected at all after a reset, that input was marked as inactive and would not produce any alarms.

During normal operation the green LEDs flashed every time a heartbeat was received on that input, so it was quite the light show :)

I/O

Inputs

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

Outputs

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

D-Sub 9-pin

  1. Module 1 heartbeat input
  2. Module 2 heartbeat input
  3. Module 3 heartbeat input
  4. Module 4 heartbeat input
  5. Module 5 heartbeat input
  6. Module 6 heartbeat input
  7. Reset alarm input
  8. Module error alarm output

Please leave a comment or tweet if you have any questions or feedback on this project.

Source code

uCtrlHQ/AVR-Module-heartbeat-monitor

Detects and alerts if any of the monitored modules goes silent; meaning their heartbeat stops. Written in BASCOM-AVR.

Master Releases


0 0 0 v1.0 Visual Basic 2 weeks ago

Image gallery

Parts list

Project: Module heartbeat monitor with 6 inputs by Thomas Jensen is licensed under CC BY-SA 4.0 with attribution required.

Similar projects


  •   Created May 15, 2006
  •   Last modified 2 weeks ago
  •   Project status: Scrapped

Comments