1
%!PS-Adobe-3.0 EPSF-3.0
2
%%Title: tmp/serialport_circuit.ps
3
%%Creator: Xcircuit v3.1
4
%%CreationDate: Tue May 13 20:53:13 2003
6
%%BoundingBox: 68 68 598 337
7
%%DocumentNeededResources: font Helvetica font Times-Roman
11
% PostScript prolog for output from xcircuit
14
% Electrical circuit (and otherwise general) drawing program
16
% Written by Tim Edwards 8/5/93--1/15/03 (tim@bach.ece.jhu.edu)
17
% The Johns Hopkins University
19
%%BeginResource: procset XCIRCproc 2.4 2
20
% supporting definitions --- these are the primary xcircuit types.
23
/topmat matrix currentmatrix def
25
/fontslant { /slant exch def [1 0 slant 1 0 0]
26
exch findfont exch makefont dup length dict /ndict exch def
27
{ 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
ndict definefont pop} def
29
/ul { dup type /stringtype eq showflag 1 eq and { gsave
30
currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
31
false charpath flattenpath pathbbox grestore exch pop 1 index
32
sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
33
rlineto stroke moveto } if } def
34
/ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
35
currentpoint topmat setmatrix 2 index stringwidth pop 3 index
36
true charpath flattenpath pathbbox grestore exch pop
37
exch pop topmat setmatrix (_) true charpath pathbbox grestore
38
exch pop 1 index sub setlinewidth exch pop currentpoint
39
exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
/stW { gsave currentpoint newpath moveto true charpath flattenpath
42
pathbbox pop exch pop sub grestore } def
43
/Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
44
0 currentpoint pop put} def
45
/Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
46
/Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
47
{currentpoint exch pop moveto exit} {pop} ifelse } for } def
48
/Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
49
{currentpoint exch pop moveto exit} {pop} ifelse } for } def
50
/qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
53
/cf0 { scalefont setfont } bind def
54
/Kn { dup kY add /kY exch def rmoveto } bind def
55
/ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
/Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
/ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
60
/CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
61
/cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
62
{ 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
63
{fscale0 mul fscale mul cf0} ifelse } def
64
/ctmk { counttomark dup 2 add -1 roll pop } bind def
65
/label { gsave translate 0 0 moveto dup scale neg /rotval exch def
66
/just exch def just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
67
gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
68
gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
69
{pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
70
rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
71
exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
72
4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
73
/fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
74
/kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
75
{exch dup type /stringtype eq {true charpath flattenpath} {exec}
76
ifelse } repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
77
1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
78
mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
79
and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
80
ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
81
translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
82
1.0 def /kY 0 def {dup type /stringtype eq {show}{exec} ifelse}
84
/pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
85
/pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
86
/pinglobal { pinlabel } def
87
/infolabel { pinlabel } def
89
/scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
90
/cRedef {/defColor currentcolor 3 array astore def} def
91
/begingate { /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
92
astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
94
/makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
95
1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
96
/beginparm { -1 1 {makeparm exch def} for
97
dup type /arraytype eq { aload length -1 1 {makeparm exch def}
98
for } if begingate } bind def
99
/endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
103
/tmpa [1 0 0 1 0 0] def
104
/gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
105
{8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
106
{8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
107
{8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
108
{8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
109
{8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
110
{8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
111
/ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
112
neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
113
gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
114
{ 3 index exch 5 exch put dup -8 3 index { 3 index
115
exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
currentlinewidth mul setlinewidth /style exch def
118
style 1 and 0 gt not {closepath} if
119
style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
120
style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
121
gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
122
7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
123
{3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
124
{dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
125
{style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
126
style 512 eq or {newpath} {stroke} ifelse grestore} def
128
/polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
129
/xcarc { gsave newpath arc setstyles } def
130
/elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
131
3 index div 1 scale } def
132
/ele { 0 4 1 roll 0 4 1 roll } bind def
133
/ellipse { gsave elb newpath ele arc setmatrix setstyles } def
134
/pellip { elb ele arc setmatrix } def
135
/nellip { elb ele arcn setmatrix } def
136
/spline { gsave moveto curveto setstyles } def
137
/polyc { {lineto} repeat } bind def
138
/beginpath { gsave moveto } bind def
139
/endpath { setstyles } bind def
140
/bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
141
/psinsertion {/PSobj save def /showpage {} def bop rotate translate dup scale} def
142
/end_insert {PSobj restore} def
143
/setpagemat {/pagemat matrix currentmatrix def} def
144
/inchscale {setpagemat 0.375 mul dup scale} def
145
/cmscale {setpagemat 0.35433071 mul dup scale} def
150
% XCircuit output starts here.
154
1 1.00 0 64 0 36 2 polygon
155
1 1.00 0 -64 0 -36 2 polygon
156
1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
157
1.000 0.000 0.000 scb
158
(r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
159
(r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
160
0.180 0.545 0.341 scb
161
(spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
162
(sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
168
248 1.00 -18 -16 0 16 18 -16 3 polygon
169
1 1.00 0 -48 0 -16 2 polygon
170
1 1.00 0 48 0 16 2 polygon
171
1 1.00 -18 16 18 16 2 polygon
172
1.000 0.000 0.000 scb
173
(d.m) {/Times-Roman cf} 2 9 0 1.00 0 48 pinlabel
174
(d.p) {/Times-Roman cf} 2 13 0 1.00 0 -48 pinlabel
182
3 -18 3 -15 0 0 curveto
183
-3 -15 -3 -18 -8 -28 curveto
184
-2 -26 2 -26 8 -28 curveto
191
1 1.00 -48 0 -64 0 2 polygon
192
1 1.00 -48 48 -48 -48 2 polygon
193
1 1.00 0 48 -48 22 2 polygon
194
1 1.00 0 48 0 64 2 polygon
195
1 1.00 0 -48 -48 -22 2 polygon
196
1 1.00 0 -48 0 -64 2 polygon
197
1.00 120 0 -48 arrowhead
198
1.000 0.000 0.000 scb
199
(C) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
200
(B) {/Times-Roman cf} 2 7 0 1.00 -64 0 pinlabel
201
(E) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
202
0.180 0.545 0.341 scb
203
(spice:Q%i %pC %pB %pE npn) {/Times-Roman cf} 2 4 0 1.00 -244 -139 infolabel
204
(sim:b %pB %pE %pC) {/Times-Roman cf} 2 4 0 1.00 -244 -187 infolabel
211
1 1.00 16 0 6 0.00 360.00 xcarc
212
1 1.00 0 0 10 0 2 polygon
213
1.000 0.000 0.000 scb
214
(out) {/Times-Roman cf} 2 4 0 1.00 16 0 pinlabel
215
(out) {/Times-Roman cf} 2 7 0 1.00 0 0 pinlabel
220
%%PageOrientation: Portrait
226
(DTR) {/Helvetica cf} 2 16 0 1.00 320 736 label
227
(GROUND) {/Helvetica cf} 2 16 0 1.00 272 608 label
228
(\(pin 4\)) {/Helvetica cf} 2 16 0 1.00 304 704 label
229
(\(pin 5\)) {/Helvetica cf} 2 16 0 1.00 304 576 label
230
(CW out to TRX) {/Helvetica cf} 2 16 0 1.00 1296 800 label
231
(GROUND) {/Helvetica cf} 2 16 0 1.00 1296 608 label
232
(DIODES: 1N4148 etc) {/Helvetica cf} 2 16 0 1.00 656 192 label
233
1.00 270 576 736 resistor
234
(4k7) {/Helvetica cf} 2 16 0 1.00 544 768 label
236
1 1.00 640 736 896 736 2 polygon
237
1.00 0 816 672 resistor
238
(4k7) {/Helvetica cf} 2 16 0 1.00 832 656 label
240
1 1.00 960 800 1200 800 2 polygon
241
1.00 0 1104 672 diode
242
1.00 0 1232 800 circle
243
1 1.00 1232 800 1200 800 2 polygon
244
1 1.00 1104 720 1104 800 2 polygon
245
1 1.00 512 608 1200 608 2 polygon
246
1 1.00 1232 608 1200 608 2 polygon
247
1.00 0 1232 608 circle
248
1 1.00 960 672 960 608 2 polygon
249
1 1.00 1104 624 1104 608 2 polygon
250
1 1.00 720 720 720 736 2 polygon
251
1 1.00 720 624 720 608 2 polygon
252
-1.00 0 480 608 circle
253
1 1.00 480 608 512 608 2 polygon
254
1 1.00 480 736 512 736 2 polygon
255
-1.00 0 480 736 circle
256
1.00 270 576 400 resistor
257
(4k7) {/Helvetica cf} 2 16 0 1.00 544 432 label
259
1 1.00 640 400 896 400 2 polygon
260
1.00 0 816 336 resistor
261
(4k7) {/Helvetica cf} 2 16 0 1.00 832 320 label
263
1 1.00 960 464 1200 464 2 polygon
264
1.00 0 1104 336 diode
265
1.00 0 1232 464 circle
266
1 1.00 1232 464 1200 464 2 polygon
267
1 1.00 1104 384 1104 464 2 polygon
268
1 1.00 960 336 960 272 2 polygon
269
1 1.00 1104 288 1104 272 2 polygon
270
1 1.00 720 384 720 400 2 polygon
271
1 1.00 720 288 720 272 2 polygon
272
1 1.00 480 400 512 400 2 polygon
273
-1.00 0 480 400 circle
274
1 1.00 496 608 496 272 512 272 3 polygon
275
1 1.00 512 272 1104 272 2 polygon
276
(PTT out to TRX) {/Helvetica cf} 2 16 0 1.00 1296 448 label
277
(RTS) {/Helvetica cf} 2 16 0 1.00 320 416 label
278
(\(pin 7\)) {/Helvetica cf} 2 16 0 1.00 304 384 label
279
(DB9 connector) {/Helvetica cf} 2 16 0 1.00 192 272 label
280
(T1) {/Helvetica cf} 2 16 0 1.00 976 720 label
281
(T2) {/Helvetica cf} 2 16 0 1.00 976 384 label
282
(T1, T2: BC547, 2N2222 etc) {/Helvetica cf} 2 16 0 1.00 592 864 label
283
pgsave restore showpage