Usually a MAX232 or similar is used for serial stuff.

But you could roll your own with a transistor or mosfet.