Hi!
I'm having trouble for connecting two Arduino's using an Ethernet cat5 cable and Ethernet Shields for Arduino.
Someone already did this?
What would you suggest for me? Appreciate any help, I'm in a big trouble!
Thanks so much
Connection of 2 Arduinos using Ethernet Cable
Re: Connection of 2 Arduinos using Ethernet Cable
Hi,
Looking at the descriptions it should be rather straigth forward. The shield is autosensing so no need for a patch cable.
Maybe you should move this to the Arduino section of the forum. But what did you already try so far?
KR,
Fryslan76
Looking at the descriptions it should be rather straigth forward. The shield is autosensing so no need for a patch cable.
Maybe you should move this to the Arduino section of the forum. But what did you already try so far?
KR,
Fryslan76
Re: Connection of 2 Arduinos using Ethernet Cable
Hi tcholas. I used something similar to http://arduino.cc/en/Tutorial/UDPSendReceiveString to communicate between Arduino and PC. On the PC you will need the Processing IDE installed then copy and paste the included Processing sketch just the same as you would in Arduino. To talk between Arduinos I would suggest running the examples first using the PC, then see if you can modify the code on one of the Arduinos to emulate the PC. Have not done this myself, but that's where I'd be starting. The code is also in the examples/Ethernet section of the Arduino IDE.
you could also look at
http://arduino.cc/en/Reference/EthernetUDPWrite
http://arduino.cc/en/Reference/EthernetUDPRead
you could also look at
http://arduino.cc/en/Reference/EthernetUDPWrite
http://arduino.cc/en/Reference/EthernetUDPRead