MAX232 Serial level converter is a wide used chip for converting RS232 logic levels to TTL logic levels that can be readable from various microcontrollers. A basic circuit used for this reason is shown above. Instead of this intergrated circuit you can build an alternative one using discrete components. Some circuits of this kind can be found on the site below.
Alternatives circuits of MAX232 - [Link]