916Views6Replies

Author Options:

it is possible to communicate between two arduino UNO via USB and PC? Answered

thinking of using a joystick on one Arduino UNO and a servo on the other, and must communicate via USB through my computer.

have recently started using Arduino. I have tried to look for answers on google with no luck.

Tags:USB

6 Replies

user
vegisen (author)2014-02-21

my plan is to remotely control the Arduino uno over the internet. using another arduino uno. not just WIFI local network.

then i think it would be easy to connect it to a computer, and perhaps use VLC remote control to the PC and then connect arduino number two. so the main PC thinks that both arduino is connected to the same PC.

maybe it is a easier way to do this? for example Ethernet cable connection to a home network, and the same with home network number two?

hope I managed to explain this well enough.

Select as Best AnswerUndo Best Answer

user
mpilchfamily (author)vegisen2014-02-21

The best way to go about that would be using an eithernet shield on the arduino. Then you can connect an eithernet cable from a router directly to the arduino. Or you can get a Wi-Fi shield and the arduino can connect to the internet over wi-fi. No need to connect either arduino to a PC yet you can use your PC to send commands to either over the internet.

Select as Best AnswerUndo Best Answer

user
vegisen (author)mpilchfamily2014-02-21

so it's possible to connect both of the arduinos to internet trough ethernets shields, and make then communicate (2-ways comunication for example.) ? :)

Select as Best AnswerUndo Best Answer

user
mpilchfamily (author)2014-02-20

Why go through all the trouble of using a PC as a middle man when a single arduino can handle both the stick and the servo. Or you can have the setup you want but the arduinos can communicate directly to each other. No need for a PC.

Select as Best AnswerUndo Best Answer

user
iceng (author)mpilchfamily2014-02-20

mpilchfamily is correct there are several serial communication methods that can let your micros talk to each other.

In design you want to look at the bare minimum to accomplish what they need to do your task because it will use the minimum wiring and software code.

Are you poling the talkers or do you need instant response of interrupt driven communications ??

Select as Best AnswerUndo Best Answer