QUOTE(mcraenz @ Dec 3 2008, 02:30 PM)

Hey yaywoop,
This is great! Only thing I don't understand is why the transistor used is NPN.
In this UC hobby schematic they show a PNP connected to the RX said of the PC? Can you help us understand how this works?
well you can actually use either NPN or PNP for this converter. but NPN are more common so i made th circuit to use them.
in my schematic, the transistor is acting as a switch. when there is no input, the collector is pulled to 5V by the 1k resistor.
when there is an input voltage, current flows through the base and turns the transistor on, which pulls the coollector low.
the uc hobby schematic has a negative supply which is supplied by the serial port. (rs232 specifies a negative voltage for 1 and a positive voltage for 0, so the negative voltage means it should work with all serial ports just like a max232 chip would)
when the input is high, no current flows through the base, and the output is pulled low by the negative supply.
when the input is low, the transistor is swiched on and the output is pulled high
this is the exact circuit i also tried. it had trouble with the 3V signals from the dvd drive, so i had to run it off 3V for Vcc to get it working. which also meant that it only outputted +/- 3V instead of the standard +/- 12V.. which might have been trouble.
if my one doesn't work for you, you can try the uC hobby circuit. but you can 'status' and 'rs232 to ttl' sections. they are not needed.