Working on a project where I need to know when a system restarts. Cant use PING to watch for when the connection disappears and comes back since the project doesnt have another networked computer at the other end. The post diagnostic card sold here has an LED that shows when the hardware reset happens by sensing the Reset Signal:
LED to monitor the Reset signal
from:
http://www.millennium-solutions.co.uk/diagnostic-tool-pc-computer/post-probe-code-reader-card.htmlIf this reset signal is the internal reset signal and not the front panel reset status, I could use this to drive a 4N25 optoisolator to know when the reset signal is sent, but was wondering if anyone knew is there was an easier way than tapping into this post diagnostic card for sensing the reset signal.
Best methods of interface are USB, Serial, Parallel to interface with the project I have. Trying to be simplistic and keep costs down. This post diagnostic card would work, but checking to see if there is a better method.
Another idea I had was to drive a relay off of USB or Serial and so when the service ends during a system reboot or shut down, the relay opens until the system boots back up and service starts back up to close the relay contacts. And then enable interfacing with my project. This may be the best method, but figured I'd run it past you all.
Most simplistic idea ... Not sure if reset can be sensed thru USB, Serial, or Parallel if a system is given restart command. Haven't connected my multimeter to my 5V on USB and Serial to see if the power resets during the reboot cycle or if it holds steady thru reboot. If it does cycle the 5V out to these ports, thats awesome and the easiest vs having to run a software service to drive a relay.
Thanks