fastest way to communicate with a pc.
DXC
Posts: 33
Hello all,
I am working on work on a big test machine.
As test will hebben on products they will have to go fast,time is money.
Setup is:
- PC sending commands.
- relay switch box controlled with a prop.
Which connection would be the best, just the USB-FT232, ethernet....?
gr,
I am working on work on a big test machine.
As test will hebben on products they will have to go fast,time is money.
Setup is:
- PC sending commands.
- relay switch box controlled with a prop.
Which connection would be the best, just the USB-FT232, ethernet....?
gr,
Comments
If your just controlling relay's then I wouldn't even worry about speed.
Speed is indeed not the main factor but ethernet looks nice to have, Im going to put a ENC28J60 in the schematics, and use the prop + ft232 for the time being.
Kye,
How can you have speeds of 2mb/s with a ft232 and pc?
The pc max setting on com ports are 110kB/s or how do I set my com ports?
Or do I have to use another ft232 chip like?
gr,
Why not target the FT2232H ?
Only slightly more expensive than the cheapest one, and you get a 480M core,
so can get > 10MBytes/s
These have FIFO, SPI, JTAG modes, so you can choose speeds.
The fastest I have been able to achieve is with the FTDI FT245. Mouser sells the breakout board.
3Mbits/second with the virtual com port. I imagine you can go faster using using the D2XX drivers. They go to 10Mbits/second.
See my sig for the FullDuplexParallel object for use with the FT245.
PS- You will need 12 data lines open on the prop.
Does it still use a virtual com port? I think the problem might be on the computer side, it always try to buffer data before we can access it.
BTW, it's fascinating how my thread name (that I started this month) and this one are similar
Yes, you can use the VCP driver. The 3Mbit and 10Mbit limits are limitations of the FTDI chip and the driver used (VCP and D2XX respectively). I have not seen any serial methods that can achieve speeds > 512Kbits, with 100% reliability. I have been able to pump 3Mbps through to the prop with the VCP driver and this parallel method. I have not performance tested the D2XX driver, so I don't know what the upper bounds is for my object. As best I can tell, this method is as fast as it gets with the prop.