oles67
February 27, 2022, 7:06pm
1
Hello,
I would like to know if it is possible to encapsulate an ip network between 2 boards in rs232/485 over 500 meters long
I don't need high throughput. About 100kbs.
I'm looking for a DIY solution. I know that there are rs/ip gateways (moxa, digi,....)
thank you
horace
February 27, 2022, 7:13pm
2
any particular reason to use an RS485/IP gateway?
RS485 can operate up to 1200metres at fairly high speeds
oles67
February 27, 2022, 8:28pm
3
The same reason like mega2560 or esp32 but 500 meters.
I suppose you could use SLIP which was designed to operate over serial links:
Pages for logged out editors learn more
The Serial Line Internet Protocol (SLIP) is an encapsulation of the Internet Protocol designed to work over serial ports and router connections. It is documented in .mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free a,.mw-parser-output .citation .cs1-lock-free a{backgroun...
1 Like
SLIP was succeeded by PPP (Point to Point Protocol).
I read that too on the wikipedia page I linked to. Then I read the bit following that:
On microcontrollers, however, SLIP is still the preferred way of encapsulating IP packets, due to its very small overhead.
Hopefully @oles67 would read the information and decide for themselves which way to go based on their hardware.
system
Closed
August 27, 2022, 4:45pm
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.