Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There are hundreds of circuits on the'net, just google.
Here's one I found right off the bat:
Missing Pulse Detector
There are hundreds of circuits on the'net, just google.
Here's one I found right off the bat:
Missing Pulse Detector
The circuit that was linked to should work based on what you are asking. This circuit uses a 555 timer configured as a re triggerable one shot. As long as a steady stream of pulses comes into the 555 the output on pin 3 remains high. However, if there is a break in the pulse train the 555 output will go low.
Missing pulse detectors look at the PRT (Pulse Repetition Time) or Frequency of an incoming pulse train. In the linked to circuit the values of R1 and C1 determine the RC time. As long as incoming pulses are within the RC time the 555 output remains high but if a pulse is missing it goes low.
Now if you want the circuit to latch when an incoming pulse train is missing a pulse then the 555 output could be used to trigger a D flip flop (or other flip flop circuit).
What exactly are you trying to do? You don't mention the PRT of the pulse train you want to monitor? Maybe with a better detailed explanation you could get better suggestions.
Ron
Hello Ron,
The purpose of this is to detect the software runs fine in PC. As long as the S/W is working fine it will produce a 5V ON/OFF to port. When ever the S/W gets stuck it will produce eith 5V or 0V constant, then I want to pull in a relay for alarm. This is what I want to do. Any better suggestions!!
Thanks in advance.
Cheers.
What you want to do is not a
problem and can be done. However, it starts with a software application. You have a computer running a dozen processes and have an interest in a single process. You want to know if the process is running or let's say stopped or hung. Let's say the operating system is Windows based. Windows keeps track of all running processes (programs). Therefore you need some software to query the operating system to see if the process you have interest in is running or stopped. The software code will query the operating system to see if the process is running or stopped and return a value of for example 1 or 0 where 1 = running and 0 = stopped. The code could also place a user message on the computer screen as well as send an output from a port to your hardware. That hardware would in turn trigger a relay or whatever you want it to do.
This all begins with software. I don't know of any other way to do what you wish to do. It is not that difficult but you need to be able to write some code to do it. Again, as I mentioned earlier you need to port the data from the computer running the process and software to your hardware be it a relay or whatever you have out there external to the computer. I would suggest a USB module with DIO (Digital In Out). The software needs to be written to run on the operating system you have, be it Windows based, Linux based or whatever is running the app you are wanting to look at.
See my reply to the other thread you have on this subject.
Ron
Another Google: watchdog timer circuit
Ken
Hi mate, The problem facing is, I want the out on either conditions, i.e. even the pulse is HI or the pulse is LO!! Do you have anything in mind???
Thanks in advance!!
For my own sanity what I am totally missing is my understanding is this program is running on a computer as in everyday computer with an operating system that is Windows or Linux based. That is where I am likely screwing up and I am curious as all hell at this point.
Ron
I think Ron wanted to know what kind of processor you're on and what, if any, operating system you're using. If you're running RTOS ( or no OS ) with a uController, you likely have a watchdog timer in the processor, and just need to program it. If you're running a multi-tasking OS ( Not likely from your vague description ) then it gets more complicated.
If you already have everything then I would go with the watchdog timer family as was suggested. I have never used one but I am sure someone here likely has and can get you going with one. My read so far is you actually have a signal telling you of a program hang.
Ron
Hi, I am not using uControllers. I am using Windows based C# Appliction to control the DIO board. I think this Watchdog works fine, rite? https://www.electro-tech-online.com/custompdfs/2010/12/MAX6814-2.pdf Easy and simple. Just connect the In to the O/P from computer and O/P of chip to relay for alarm?
Thanks..