Guys,
I want to have a few Arduinos connect and transfer data between each other over inbuilt ethernet - can someone suggest the best protocol/comms to get them talking and transferring data ?
Craig
Guys,
I want to have a few Arduinos connect and transfer data between each other over inbuilt ethernet - can someone suggest the best protocol/comms to get them talking and transferring data ?
Craig
The easiest is to set one up as a web server, and the rest as clients.
What kind of data? How often? What are the others doing with the data?
Paul,
The remote nodes will essentially be autonomous data gatherers, i would like them to get their time from a central unit and to pass back sensor readings as well as take input/updates for EEPROM stored default values.
I have access to Linux Virtual machines on my network - if i go down the web client/server route i would guess it would make more sense to host the main webserver on a Linux VM then.
I thought their might have been some form of lightweight comms protocol that could be implemented between Arduinos - something that would present a memory/variable space to interchange data between Arduinos.
Thanks for your valuable feedback
Craig
UDP is pretty simple. No connection or error checking. Just send the packet. You won't know if the packet gets to the destination unless the destination device sends a response packet.
The arduino (with a w5100 based Ethernet shield) can run code that includes both web server and web client. The arduino waits for either an internal event or an external request to initiate either a server or client action.
Guys,
I will have a look at the UDP examples and see if i can get them to do what i want - it does seem to be pretty simple to use.
Failing that i will launch into the Webserver/client code and see if i can make sense of that
Craig