You can use a circuit directly coupled to the Serial port of the PC to accumulate the counts and have the PC process the "data" accordingly....
If you are familiar with Visual Basic and the use of the MSComm Control object this would be fairly easy and straight forward....
Here is a simple circuit that can be used to interface to a 5 volt TTL circuit to a serial port of a computer.... every time there is a positive pulse on the optocoupler, the serial port ring indicator will go high... this can be tracked with the MSComm controls OnComm Event....
Make sure to enable DTR in the MSComm controls property to power the output side of the optocoupler...
View attachment 21341
B. Morse
Dear Mr. Morse,
I tried to build the circuit you mentioned in this post and connected it to my PC but could not read any pulse.
I did not use an optocoupler for the signal instead I used 5 VDC power supply as a source to produce a single pulse and test.
I think may be this is problem.
Please advise.
Thank you
Sabry Kozman
Mod Edit : please don't hijack other member's post.
This thread was split from Pulse counter to PC file -- and asked for #2.