What you are looking for, is a software UART. It's an application note on Philips web site wrote jun 1993 by Greg Goodhue. Read carefuly the limitations for maximum baud rate and very good explanation concerning to theory of operation. **broken link removed**