I used the schematic from this site

http://www.atrox.at/datacable/dlr3/index.html

but i did not need the max232 to connect to a pic