RS485 interface with automatic driver enable.

P1 can be connected to a microcontrolle. Or using a MAX232 breakout board it can be connected to a computer (I use my STK500 which contains a power supply and a MAX232). Optionally optocoupler could be added to isolate the computer from the network.