[time-nuts] rs-422 rs-232 to fast ethernet converter

Jim Lux jimlux at earthlink.net
Mon Nov 24 08:42:17 EST 2014

On 11/24/14, 2:20 AM, Graham wrote:
> Interesting.
> I have also been thinking that it might not be too difficult to
> implement using Beaglebone Black, Raspberry PI, or even one or another
> flavour of Arduino. Lots of possibilities from simple to not so simple.

The challenge is always trying to figure out what sort of protocol to 
use for encapsulating serial data in the Ethernet Stream.  Do you send 
each character in its own UDP or TCP datagram? Do you batch them 
together and send a message every TBD milliseconds.

Ideally, you'd like the protocol to match some commonly available client 
on the other end.  Sure, things like telnet exist, but does software 
that expects an actual serial port know how to use telnet instead?

That said, there's plenty of example code out there for, example, the 
Arduino Ethernet.  There's a telnet server that could easily be modified.

More information about the time-nuts mailing list