Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Mike said:One method using the least number of components simply involves connecting a 1K0 resistor between the PIC TX pin and the RX pin on the PC serial port however the signal is not inverted with this method and you'll need to bit bang your serial TX data in the PIC...
Another method simply involves using an open-drain MOSFET (2N7000 or BS170) and a pull-up resistor connected to one of the RS-232 "high" level pins as shown in the drawing below... This method inverts the signals and allows use of the PIC built-in UART peripheral directly...
Regards, Mike
<added>
If you don't have a MOSFET, there are plenty of bipolar transistor circuits around (try PICList)...
Someone Electro said:Thats becose of you have an newer COM port. Old ones need 10V to get high but newer ones only 2V(5V is way above that)