Methods:
-
Tjaart van der Walt says "I've done this with a pair of simple transistor
invertors for years without any problems. Use the RTS line for the supply
for the two transistors, and a zener to limit the voltage going to the
[processor]." Get 12V from the RS232 port on your [host] [ed: RTS, pin 20,
is normally high (+12volts)], feed it through a 10k resistor to the collector
of *any* NPN transistor [ed: 2N222]. Ground the emittor. The input is via
a 10k resistor onto the base, and the output is on the collector"
http://www.wasp.co.za/~tjaart/images/ttl2rs232.jpg
-
Gerald Coe of
Devantech says "Feed the
RS232 into a 6k8 resistor. Connect the cathodes of two 1n4148's to the other
end of the resistor. Connect the anode of one diode to the PIC. Connect the
anode of the other diode to ground. Connect another 6k8 pull-up resistor
from the PIC pin to 5v. The data enters the pic upside down, but as you're
doing the Rx in software, that doesn't matter.
-
Ties Bows says "I use just a single 100K series resistor [and a 5V1
zener] to get 9600 Baud rs232 into a pic"
http://www.geocities.com/SiliconValley/Sector/3863/uir/Images/ir12b_schematics.gif
-
http://www.ise.pw.edu.pl/~wzab/picadc/picadc.html
Wojciech Zabolotny says
Comments:
Questions:
Interested: