How to get RS485 to work using the serial port:
windows : com1
linux: /dev/ttyS0