Here is something I found quite a while ago. Use it as a starting point...
Type: Posts; User: Dave; Keyword(s):
Here is something I found quite a while ago. Use it as a starting point...
For good noise immunity I would suggest RS-485 for any distance. I use a protocol which is loosely based on Modbus RTU.