Connecting two arduinos using USB cable

Hello,

I have read a lot about this topic, but it's my worst nightmare today.

I need to read some bytes from an Arduino Mega that I can't access (it's inside a machine).

This arduino can be connected to a computer and I can send bytes to communicate with it.

I need to do this action with another arduino.
I am thinking about arduino mega adk that has a usb host port.

What can I do to communicate using USB port?

What about using a RaspberryPi which is a PC in a small package?

...R

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

Ops diag;

Does the Mega that you can only get to its USB port, actually send the data you need out the USB port already?

You can check this by connecting a PC with either a terminal program, or the Arduino IDE and use its Monitor facility.
You may have to make some guesses at the baud rate, to see what the Mega is sending out.
WARNING, when the monitor initailises to check the USB port, it will make the Mega reset.

What is the other device with the Mega in it?

Thanks... Tom.... :slight_smile: