EmbDev.net

Forum: µC & Digital Electronics can 2 Arduinos communicate via USB ?


von Gerald Trost (Guest)


Rate this post
useful
not useful
Hi All!

for a new project I would connect 2 Arduino Nano
to a USB HUB on my computer.

Is there a way the 2 Arduinos could communicate
in this  configuration via the existing USB cables ?

thanks, Gerald

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Gerald Trost wrote:
> I would connect 2 Arduino Nano to a USB HUB on my computer.
> Is there a way the 2 Arduinos could communicate in this configuration
> via the existing USB cables ?
No, because the hub is not able to route any information directly from 
one of the end points to the other. You must communicate between the 
arduinos over the PC: one sends its data to the PC, where a piece of 
softwar eis running that puts that data over to the other arduino.

von Marc V. (Company: Vescomp) (logarithmus)


Rate this post
useful
not useful
Gerald Trost wrote:
> Is there a way the 2 Arduinos could communicate
> in this  configuration via the existing USB cables ?

 short and sweet:

 NO.

von Herbi (Guest)


Rate this post
useful
not useful
sweeter ...

YES ... if you use the PC as a relay station. Write a driver which 
receives on on virtual comport and relays the data to the other virtual 
comport.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.