Sie sind auf Seite 1von 1

SMALL CIRCUITSCOLLECTION

Real RS232 for Laptop PCs 031

F. Schröter pin 3 = ground). Current consumption is a modest 4 mA or so


Many Metex DVMs feature a serial interface (RS232) which which has no noticeable negative effect on battery life.
enables measured values to be copied to a PC for processing. The two interface signals TxD and RTS are taken from the lap-
Although this works just fine with most desktop PCs, problems top to the MAX232 driver inputs, pins 8 and 13. Inside the
may arise — as the author found out the hard way — when a lap- MAX232, they are first shaped to proper TTL/CMOS levels and
top PC like the IBM Thinkpad 370C is hooked up to the Metex then applied to the actual level converters. The resultant signal
DVM. The cause of the problems is the limited voltage swing of then reaches +10 V, which is accepted without problems by
just ±5 V on the 370C’s serial interface. This is simply not enough the interface inside the Metex DVM.
for the Metex DVM, which will appear ‘deaf’ to the laptop. The PCB designed for the converter is small and single-sided.
The voltage swing on the serial interface lines is easily increased SMDs are the only option when it comes to fitting it all inside
with the aid of a dedicated interface driver like the MAX232. the adaptor housing. Do observe the polarity of the elec-
With the resultant circuit designed in SMD, it is easily accom- trolytics in this circuit, since an SMD circuit, once built, is dif-
modated on a small double-sided PCB that can be fitted a 9- ficult to troubleshoot and repair. Unfortunately, the PCB for this
way sub-D adaptor housing. The converter receives its +5 V project is not available ready-made.
supply voltage from the PS/2/mouse interface (pin 4 = +5 V, (014099-1)

K1 K2
COMPONENTS LIST Miscellaneous:
1 DCD DCD 1 K1 = 9-way sub-D socket
6 DSR DSR 6
Capacitors: (female), PCB mount,
2 RxD RxD 2
C1-C4 = 10µF 16V (SMD) angled pins
to peripheral

7 RTS RTS 7
from PC

3 TxD TxD 3 K2 = 9-way sub-D plug


8 CTS CTS 8 Semiconductors: (male), PCB mount, angled
4 DTR DTR 4
IC1 = MAX232-CSE (SMD) pins
9 RI RI 9
5 GND GND 5 2 solder pins

SUB D9 SUB D9
C4
10µ

16V
2
V+ 1
+5V 16 C1+ C3

IC1 3 10µ
+5V

C1–
K2
C4

9 8 16V
R1OUT R1IN
014099-1

11 14
IC1

C1

T1IN T1OUT
0V

12 13
R2OUT R2IN
10 7 +
C2

C3

T2IN T2OUT
K1

4
C2+ C2
0V 15 MAX232
5 10µ
C2–
V- 16V

6 ROTKELE )C(
C1 014099-12 (C) ELEKTOR
1-990410 014099-1
10µ
16V 014099 - 11

66 Elektor Electronics 12/2002

Das könnte Ihnen auch gefallen