Sync Pulse using USB To RS232 TTL PL2303HX Converter Module

Thread Starter

Tal Marziano

Joined Feb 22, 2017
2
Hi

I need to do some project with running a program in one computer and sync it to other (using 5 volt pulse over BNC cable).

I have USB To RS232 TTL PL2303HX Converter Module and i am trying to understand if its possible to do it.

is one of the component's terminal could use as a on/off pulse controlled by a c code?

thanks
 

Sensacell

Joined Jun 19, 2012
3,773
What level of timing precision do you need?

The OS and USB stuff add unpredictable timing variations, I would consider this before going too far down this road.
 

Thread Starter

Tal Marziano

Joined Feb 22, 2017
2
Hi

I need around 1-2 milisecs precision but it doesnt matter now.

first, i need to know if this is possible to do it with those terminals

becasue i tried to connect it to a led and try all terminals but couldt turn it on
 

Sensacell

Joined Jun 19, 2012
3,773
You don't specify what type of computer you are using, but if it's running an OS that contends with lots of stuff,
as most do, it will be AWOL from reading the input for many milliseconds at a stretch.

The data goes into a buffer, but the CPU is busy with other stuff, it gets around to dealing with it, but not instantly.
 
Top