have a look to this article
http://www.quickbuilder.co.uk/qb/art...sing_RS232.pdf

regards