Da ist das ganz gut gezeigt.

http://www.sprut.de/electronic/pic/grund/rs232.htm