Hi All, need some help with this one.
I've been thinking about a way to read in RS-485 data on one Arduino and (close to) real time stream it to another arduino across a LAN network via a switch or router, using TCP/IP protocol, obviously both arduino's have ethernet shields.
I've been scanning code and looking at all sorts of examples for the last 4 weeks and it's doing my head in that i can't find any type of code as a starting point..
All of it seems to be serial streaming to server's or computers.. not to another arduino. =(
One example that was very close was a artnet code that transmitted the 6 analogue inputs as DMX data (RS-485) to another arduino for output, and i got it working between two uno's with Ethernet shields and a router.
Unfortunately no matter how i modded the code i couldn't get it to send actual RS485 data...
Effectively i'd like to read in RS485 data from a DMX controller with one uno, and send it across a LAN with as little delay as possible to another uno to receive and recover the RS485 signal for output..
If someone could give me a hand with some base/starting code that would be awesome and it would be greatly appreciated..
I'm pretty well experienced with the arduino, but moving into the Ethernet TCP/IP realm is a bit hard when nobody wants to lend you a bit of a kick-start, all i've seen so far is heaps of smug comments about how beginners shouldn't tackle such projects, not exactly open-source friendly..
Thanks!