If I want RS232 detects 5-V pulse, need extra handshake cir

B

boki

Guest
Dear All,
I have a portable device that has a 5-V to 0-V pulse output(
without constant frequency, but below 10Hz range), I want this signal
could be detected by PC RS232 port.

I try many connection type, the RS232 still can't detect the device
pulse.

Do we have to design RS-232 handshake circuits with device output to
make the RS232 detect that pulse?

* I don't have to transmit data,just only pulse detection.

Is that baud rate problem? or ? @@


Thank you very much for your help.

Best regards
Boki.
 
I am using VB6, not delphi, I guess that is a delphi command. A

After tried and error, I got a method,

When everytime I short pin.4 and pin.8, my program will receive a CTS
signal... :)

Thank you very much for your help.

Best regards,
Boki.


"Jamie" <jamie_5_not_valid_after_5_Please@charter.net>
???????:10m9nnceuarp04a@corp.supernews.com...
using the RT (ring Detect) or what ever input you can get
a response lets say from windows if you open up an input
file and use the CommEscape function in a secondary thread or make a
wait object..
the CommEscape will let you read the state levels of the inputs..
using a wait object you can just open the port via a input file
stream using a file name like "com1:" for example, and then do a
waitobject on the handle that is returned.
the idea is that when something happens on that stream that changes the
status the waitobject will return
for example
WaitCommEvent(ComFileHandle,EV_RING,Nil);
that will wait until the state on the Ring Detect
changes.
ect..
that will give you some reading thoughts.
also beware that at 10 hz, the PC in windows may skip some input pulse's



boki wrote:

Dear All,
I have a portable device that has a 5-V to 0-V pulse output(
without constant frequency, but below 10Hz range), I want this signal
could be detected by PC RS232 port.

I try many connection type, the RS232 still can't detect the device
pulse.

Do we have to design RS-232 handshake circuits with device output to
make the RS232 detect that pulse?

* I don't have to transmit data,just only pulse detection.

Is that baud rate problem? or ? @@


Thank you very much for your help.

Best regards
Boki.
 

Welcome to EDABoard.com

Sponsor

Back
Top