Is it possible to connect two computers via usb to an Arduino Mega?

Here is my current situation:

My senior capstone engineering team is currently making an ROV that uses an Arduino Mega for interpreting data sent from a computer (Windows) via USB, and using that data to control the ROV thrusters (ESCs with brushless motors). In addition to this, we also have a second computer that is on board the ROV (Beagleboard-XM, Ubuntu 14.04 LTS) used for fully autonomous control for graduate research.

Since we are supporting the graduate research effort, we must include the Beagleboard-XM on the ROV so more advanced control algorithms can be computed. So, the goal is to handshake between the windows machine and the Begaleboard-XM and at the same time send commands to ESCs to move thrusters. We can use the standard USB connection to the computer for the first serial port, but for the second, can we splice an existing USB cable for the Beagleboard-XM and just wire it into the TX and RX pins for the second serial port? Is it just that easy? If so, what would the port location be on the Beagleboard-XM side? /dev/ACM0 still?

here is our website: http://unhrov.wix.com/unhrov

Thank you
-Alex

Would one of these products work to do what we are looking at? Is the full FTDI needed if we will not be programming the Arduino through this connection? We only want to use if for communication to and from the on board computer.

Yes, you most certainly can use an FTDI cable (or one of the many other chipsets which may be more reliable) to "talk" to the second UART on the MEGA250.

It might however, be more practical to simply issue all communications through the on-board computer by default/ design.

Paul__B:
use an FTDI cable (or one of the many other chipsets which may be more reliable)

I didn't know there is anything unreliable about the FTDI chipset. ?

...R

Robin2:
I didn't know there is anything unreliable about the FTDI chipset. ?

I think if you have been following the discussions on various boards here, you will know what the nature of the problem is.

Paul__B:
I think if you have been following the discussions on various boards here, you will know what the nature of the problem is.

I obviously have not been reading the relevant stuff. What is the problem? Or perhaps post a link where I can read about it.

...R

Robin2:
I obviously have not been reading the relevant stuff. What is the problem? Or perhaps post a link where I can read about it.

Sure!

Thanks Paul.

I do remember seeing that. But that is a problem with rip-off / counterfeit chips.

To the best of my knowledge genuine FTDI chips are at least as good as any others.

...R

Robin2:
I do remember seeing that. But that is a problem with rip-off / counterfeit chips.

Indeed it is. That is the problem! And why it is more reliable to use other chips. :smiley:

Paul__B:
Indeed it is. That is the problem! And why it is more reliable to use other chips. :smiley:

I hope, by the use of the word "other" you are including genuine FTDI chips.

...R

USB is would be a poor choice of communication for the topside computer. I'd suggest a fibre link would be much more reliable.