as shown in the picture, can anyone explain the capacitor and diode in detail? Thank you!
Electrical – the function of diode and capacitor in RS232 shifter circuit
capacitordiodesrs232ttl
Related Topic
- Op-amp and ideal diode problem: determine Vout as a function of Vin
- Electronic – diode and resistor in parallel connected to voltage source
- Electronic – Capacitor in RS232 level shifter. Data is strictly half-duplex
- Diode capacitor circuit, what is the output across the diode
- Electronic – Diode and capacitor at the Wien Bridge Oscillator
Best Answer
RS232 logic levels are (from memory)
Since your level shifter is interfacing with a device with only a single-ended, positive supply there is a problem sending out a high signal on RX-RS232.
The trick here is to steal some power from the TX signal of the other device when it is high (negative). The diode charges the capacitor to a negative voltage and this is used to bias the RX line negative if the TX-TTL signal is high (which will turn the PNP transistor off).
When the TX-TTL signal is high and the PNP turned off there is a potential divider formed between the three 10k resistors, 1, 2 & 3. The best that can be obtained from this arrangement is that the RX line will be a little more positive (due to the diode drop) than \$ \frac {2}{3}V_{TX} \$. If VTX is weak (close to -3 V) this circuit may not work as the voltage to the other device's RX will be out of specification.