e02ch31.pdf

(83 KB) Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
SMALL CIRCUITS COLLECTION
031
Real RS232 for Laptop PCs
F. Schröter
pin 3 = ground). Current consumption is a modest 4 mA or so
which has no noticeable negative effect on battery life.
The two interface signals TxD and RTS are taken from the lap-
top to the MAX232 driver inputs, pins 8 and 13. Inside the
MAX232, they are first shaped to proper TTL/CMOS levels and
then applied to the actual level converters. The resultant signal
then reaches +10 V, which is accepted without problems by
the interface inside the Metex DVM.
The PCB designed for the converter is small and single-sided.
SMDs are the only option when it comes to fitting it all inside
the adaptor housing. Do observe the polarity of the elec-
trolytics in this circuit, since an SMD circuit, once built, is dif-
ficult to troubleshoot and repair. Unfortunately, the PCB for this
project is not available ready-made.
Many Metex DVMs feature a serial interface (RS232) which
enables measured values to be copied to a PC for processing.
Although this works just fine with most desktop PCs, problems
may arise — as the author found out the hard way — when a lap-
top PC like the IBM Thinkpad 370C is hooked up to the Metex
DVM. The cause of the problems is the limited voltage swing of
just ± 5V on the 370C’s serial interface. This is simply not enough
for the Metex DVM, which will appear ‘deaf’ to the laptop.
The voltage swing on the serial interface lines is easily increased
with the aid of a dedicated interface driver like the MAX232.
With the resultant circuit designed in SMD, it is easily accom-
modated on a small double-sided PCB that can be fitted a 9-
way sub-D adaptor housing. The converter receives its +5 V
supply voltage from the PS/2/mouse interface (pin 4 = +5 V,
(014099-1)
COMPONENTS LIST
Miscellaneous:
K1 = 9-way sub-D socket
(female), PCB mount,
angled pins
K2 = 9-way sub-D plug
(male), PCB mount, angled
pins
2 solder pins
K1
K2
1
DCD
DSR
RxD
RTS
TxD
CTS
DTR
RI
GND
DCD
DSR
RxD
RTS
TxD
CTS
DTR
RI
GND
1
6
6
Capacitors:
C1-C4 = 10
2
2
µ
F 16V (SMD)
7
7
3
3
Semiconductors:
IC1 = MAX232-CSE (SMD)
8
8
4
4
9
9
5
5
SUB D9
SUB D9
C4
10 µ
16V
2
V+
1
+5V
C1+
16
C3
IC1
3
10
µ
16V
C1–
9
8
R1OUT
R1IN
11
12
10
14
T1IN
T1OUT
13
R2OUT
R2IN
+
7
T2IN
T2OUT
4
C2+
C2
0V
MAX232
15
5
10
µ
16V
C2–
V-
6
C1
(C) ELEKTOR
014099-1
014099-12
10 µ
16V
014099 - 11
66
Elektor Electronics
12/2002
855731290.034.png 855731290.035.png 855731290.036.png 855731290.037.png 855731290.001.png 855731290.002.png 855731290.003.png 855731290.004.png 855731290.005.png 855731290.006.png 855731290.007.png 855731290.008.png 855731290.009.png 855731290.010.png 855731290.011.png 855731290.012.png 855731290.013.png 855731290.014.png 855731290.015.png 855731290.016.png 855731290.017.png 855731290.018.png 855731290.019.png 855731290.020.png 855731290.021.png 855731290.022.png 855731290.023.png 855731290.024.png 855731290.025.png 855731290.026.png 855731290.027.png 855731290.028.png 855731290.029.png 855731290.030.png 855731290.031.png 855731290.032.png 855731290.033.png
 
Zgłoś jeśli naruszono regulamin