I wonder if there is documentation on standard RS485 protocols anywhere for download?
I have homebrewed a couple of these in the past but is there a standard way of doing this?
I am interested in using the serial port of a linux machine, with RS485 line drivers/receivers and probably RTS control to effectively network a number of machines together.
Two possible applications spring to mind, my own custom (udp) system or trying to get TCP/IP sort of working, NFS or TFTP booting for example, I'd accept atrocious performance just for the convenience of it all. typically only a pair would be busy at once...
The SLIP and PPP protocols are not multidrop of course.
It may be possible to modify a TCP driver to provide a ALOHA type connection ( there being no "collision dectect" on a simple system)
It may be possible to encode data so that 8 bits gets transmitted as
16 (20 actually if you include stop/start). E.g send each bit as a dibit, 01 or 10. Then arrange to pad the line and use a token passing mechanism so that each machine only transmits when the line is quiet. I could even add hardware to provide a "sort of " collision detect but it all seems a bit complicated.There may be implementations already done... was localtalk rs485? ( old apple) or maybe versions of modbus, profibus or somesuch. I don't know anything about modbus, profibus or localtalk, maybe someone here can comment...
Tia Ian McCrum