forked from coseyfannitutti/mysterium
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mysterium-pcb-cache.lib
415 lines (415 loc) · 9.72 KB
/
mysterium-pcb-cache.lib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# Connector_Generic_Conn_01x04
#
DEF Connector_Generic_Conn_01x04 J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Connector_Generic_Conn_01x04" 0 -300 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_1x??_*
$ENDFPLIST
DRAW
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 50 -250 1 1 10 f
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 -200 0 150 R 50 50 1 1 P
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
X Pin_4 4 -200 -200 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_CP1_Small
#
DEF Device_CP1_Small C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "Device_CP1_Small" 10 -80 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
CP_*
$ENDFPLIST
DRAW
A 0 -140 125 1186 614 0 1 12 N -60 -30 60 -30
P 2 0 1 12 -60 20 60 20 N
P 2 0 1 0 -50 60 -30 60 N
P 2 0 1 0 -40 50 -40 70 N
X ~ 1 0 100 80 D 50 50 1 1 P
X ~ 2 0 -100 80 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_C_Small
#
DEF Device_C_Small C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "Device_C_Small" 10 -80 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 13 -60 -20 60 -20 N
P 2 0 1 12 -60 20 60 20 N
X ~ 1 0 100 80 D 50 50 1 1 P
X ~ 2 0 -100 80 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_Crystal
#
DEF Device_Crystal Y 0 40 N N 1 F N
F0 "Y" 0 150 50 H V C CNN
F1 "Device_Crystal" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Crystal*
$ENDFPLIST
DRAW
S -45 100 45 -100 0 1 12 N
P 2 0 1 0 -100 0 -75 0 N
P 2 0 1 20 -75 -50 -75 50 N
P 2 0 1 20 75 -50 75 50 N
P 2 0 1 0 100 0 75 0 N
X 1 1 -150 0 50 R 50 50 1 1 P
X 2 2 150 0 50 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_D_Small
#
DEF Device_D_Small D 0 10 N N 1 F N
F0 "D" -50 80 50 H V L CNN
F1 "Device_D_Small" -150 -80 50 H V L CNN
F2 "" 0 0 50 V I C CNN
F3 "" 0 0 50 V I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 10 -30 -40 -30 40 N
P 2 0 1 0 -30 0 30 0 N
P 4 0 1 10 30 -40 -30 0 30 40 30 -40 N
X K 1 -100 0 70 R 50 50 1 1 P
X A 2 100 0 70 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_D_Zener_Small
#
DEF Device_D_Zener_Small D 0 10 N N 1 F N
F0 "D" 0 90 50 H V C CNN
F1 "Device_D_Zener_Small" 0 -90 50 H V C CNN
F2 "" 0 0 50 V I C CNN
F3 "" 0 0 50 V I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 0 30 0 -30 0 N
P 3 0 1 10 -10 40 -30 40 -30 -40 N
P 4 0 1 10 30 40 -30 0 30 -40 30 40 N
X K 1 -100 0 70 R 50 50 1 1 P
X A 2 100 0 70 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_LED
#
DEF Device_LED D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "Device_LED" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
LED*
LED_SMD:*
LED_THT:*
$ENDFPLIST
DRAW
P 2 0 1 10 -50 -50 -50 50 N
P 2 0 1 0 -50 0 50 0 N
P 4 0 1 10 50 -50 50 50 -50 0 50 -50 N
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_Polyfuse_Small
#
DEF Device_Polyfuse_Small F 0 0 N Y 1 F N
F0 "F" -75 0 50 V V C CNN
F1 "Device_Polyfuse_Small" 75 0 50 V V C CNN
F2 "" 50 -200 50 H I L CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
*polyfuse*
*PTC*
$ENDFPLIST
DRAW
S -20 50 20 -50 0 1 0 N
P 2 0 1 0 0 100 0 -100 N
P 4 0 1 0 -40 50 -40 30 40 -30 40 -50 N
X ~ 1 0 100 25 D 50 50 1 1 P
X ~ 2 0 -100 25 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R_Small
#
DEF Device_R_Small R 0 10 N N 1 F N
F0 "R" 30 20 50 H V L CNN
F1 "Device_R_Small" 30 -40 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
$ENDFPLIST
DRAW
S -30 70 30 -70 0 1 8 N
X ~ 1 0 100 30 D 50 50 1 1 P
X ~ 2 0 -100 30 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_Rotary_Encoder_Switch
#
DEF Device_Rotary_Encoder_Switch SW 0 10 Y N 1 F N
F0 "SW" 0 260 50 H V C CNN
F1 "Device_Rotary_Encoder_Switch" 0 -260 50 H V C CNN
F2 "" -150 160 50 H I C CNN
F3 "" 0 260 50 H I C CNN
$FPLIST
RotaryEncoder*Switch*
$ENDFPLIST
DRAW
A -15 -2 108 -899 899 0 1 10 N -15 -110 -15 105
C -150 0 10 0 1 0 F
C -15 0 75 0 1 10 N
C 170 -40 5 0 1 10 N
C 170 40 5 0 1 10 N
S -200 200 200 -200 0 1 10 f
P 2 0 1 10 -25 -70 -25 70 N
P 2 0 1 10 -15 -70 -15 70 N
P 2 0 1 10 -5 70 -5 -70 N
P 2 0 1 10 150 0 135 0 N
P 2 0 1 10 150 40 150 -40 N
P 3 0 1 0 -200 -100 -150 -100 -150 -80 N
P 3 0 1 0 -200 100 -150 100 -150 80 N
P 3 0 1 10 10 -120 -20 -110 5 -95 N
P 3 0 1 10 10 115 -20 105 5 90 N
P 3 0 1 10 200 -100 170 -100 170 -40 N
P 3 0 1 10 200 100 170 100 170 40 N
P 4 0 1 0 -200 0 -150 0 -150 -40 -130 -80 N
P 4 0 1 0 -170 0 -150 0 -150 40 -130 80 N
X A A -300 100 100 R 50 50 1 1 P
X B B -300 -100 100 R 50 50 1 1 P
X C C -300 0 100 R 50 50 1 1 P
X S1 S1 300 100 100 L 50 50 1 1 P
X S2 S2 300 -100 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# mysterium-pcb-rescue_ATmega32A-PU-MCU_Microchip_ATmega
#
DEF mysterium-pcb-rescue_ATmega32A-PU-MCU_Microchip_ATmega U 0 20 Y Y 1 F N
F0 "U" -500 1950 50 H V L BNN
F1 "mysterium-pcb-rescue_ATmega32A-PU-MCU_Microchip_ATmega" 100 -1950 50 H V L TNN
F2 "Package_DIP:DIP-40_W15.24mm" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
$FPLIST
DIP*W15.24mm*
$ENDFPLIST
DRAW
S -500 -1900 500 1900 0 1 10 f
X PB0 1 600 800 100 L 50 50 1 1 T
X VCC 10 0 2000 100 D 50 50 1 1 W
X GND 11 0 -2000 100 U 50 50 1 1 W
X XTAL2 12 -600 1300 100 R 50 50 1 1 O
X XTAL1 13 -600 1500 100 R 50 50 1 1 I
X PD0 14 600 -1000 100 L 50 50 1 1 T
X PD1 15 600 -1100 100 L 50 50 1 1 T
X PD2 16 600 -1200 100 L 50 50 1 1 T
X PD3 17 600 -1300 100 L 50 50 1 1 T
X PD4 18 600 -1400 100 L 50 50 1 1 T
X PD5 19 600 -1500 100 L 50 50 1 1 T
X PB1 2 600 700 100 L 50 50 1 1 T
X PD6 20 600 -1600 100 L 50 50 1 1 T
X PD7 21 600 -1700 100 L 50 50 1 1 T
X PC0 22 600 -100 100 L 50 50 1 1 T
X PC1 23 600 -200 100 L 50 50 1 1 T
X PC2 24 600 -300 100 L 50 50 1 1 T
X PC3 25 600 -400 100 L 50 50 1 1 T
X PC4 26 600 -500 100 L 50 50 1 1 T
X PC5 27 600 -600 100 L 50 50 1 1 T
X PC6 28 600 -700 100 L 50 50 1 1 T
X PC7 29 600 -800 100 L 50 50 1 1 T
X PB2 3 600 600 100 L 50 50 1 1 T
X AVCC 30 100 2000 100 D 50 50 1 1 W
X GND 31 0 -2000 100 U 50 50 1 1 P N
X AREF 32 -600 1100 100 R 50 50 1 1 P
X PA7 33 600 1000 100 L 50 50 1 1 T
X PA6 34 600 1100 100 L 50 50 1 1 T
X PA5 35 600 1200 100 L 50 50 1 1 T
X PA4 36 600 1300 100 L 50 50 1 1 T
X PA3 37 600 1400 100 L 50 50 1 1 T
X PA2 38 600 1500 100 L 50 50 1 1 T
X PA1 39 600 1600 100 L 50 50 1 1 T
X PB3 4 600 500 100 L 50 50 1 1 T
X PA0 40 600 1700 100 L 50 50 1 1 T
X PB4 5 600 400 100 L 50 50 1 1 T
X PB5 6 600 300 100 L 50 50 1 1 T
X PB6 7 600 200 100 L 50 50 1 1 T
X PB7 8 600 100 100 L 50 50 1 1 T
X ~RESET 9 -600 1700 100 R 50 50 1 1 I
ENDDRAW
ENDDEF
#
# mysterium-pcb-rescue_AVR-ISP-6-Connector
#
DEF mysterium-pcb-rescue_AVR-ISP-6-Connector J 0 40 Y Y 1 F N
F0 "J" 0 400 50 H V L CNN
F1 "mysterium-pcb-rescue_AVR-ISP-6-Connector" 0 -300 50 H V L CNN
F2 "" -250 50 50 V I C CNN
F3 "" -1275 -550 50 H I C CNN
$FPLIST
IDC?Header*2x03*
Pin?Header*2x03*
$ENDFPLIST
DRAW
S -105 -220 -95 -250 0 1 0 N
S -105 350 -95 320 0 1 0 N
S 250 -95 220 -105 0 1 0 N
S 250 5 220 -5 0 1 0 N
S 250 105 220 95 0 1 0 N
S 250 205 220 195 0 1 0 N
S 250 350 -250 -250 0 1 10 f
X MISO 1 400 200 150 L 50 50 1 1 P
X VCC 2 -100 500 150 D 50 50 1 1 W
X SCK 3 400 0 150 L 50 50 1 1 P
X MOSI 4 400 100 150 L 50 50 1 1 P
X ~RST 5 400 -100 150 L 50 50 1 1 P
X GND 6 -100 -400 150 U 50 50 1 1 W
ENDDRAW
ENDDEF
#
# mysterium-pcb-rescue_KEYSW-keyboard_parts
#
DEF mysterium-pcb-rescue_KEYSW-keyboard_parts K? 0 40 Y Y 1 F N
F0 "K?" -50 0 60 H V C CNN
F1 "mysterium-pcb-rescue_KEYSW-keyboard_parts" 0 -100 60 H I C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
C -200 0 50 0 1 0 N
C 200 0 50 0 1 0 N
P 2 0 1 10 -200 50 150 150 N
X ~ 1 300 0 50 L 60 60 1 1 P
X ~ 2 -300 0 50 R 60 60 1 1 P
ENDDRAW
ENDDEF
#
# mysterium-pcb-rescue_SW_PUSH-keyboard_parts
#
DEF mysterium-pcb-rescue_SW_PUSH-keyboard_parts SW 0 40 N N 1 F N
F0 "SW" 150 110 50 H V C CNN
F1 "mysterium-pcb-rescue_SW_PUSH-keyboard_parts" 0 -80 50 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S -170 50 170 60 0 1 0 N
P 4 0 1 0 -40 60 -30 90 30 90 40 60 N
X 1 1 -300 0 200 R 60 60 0 1 P I
X 2 2 300 0 200 L 60 60 0 1 P I
ENDDRAW
ENDDEF
#
# mysterium-pcb-rescue_USB_C_GCT_USB4085-Type-C
#
DEF mysterium-pcb-rescue_USB_C_GCT_USB4085-Type-C USB 0 40 Y Y 1 F N
F0 "USB" -200 900 60 H V C CNN
F1 "mysterium-pcb-rescue_USB_C_GCT_USB4085-Type-C" -400 -50 60 V V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
S -450 850 -350 -1000 0 1 0 f
S 0 -1000 -350 850 0 1 0 f
X GND A1 100 750 100 L 50 50 1 1 I
X GND A12 100 -650 100 L 50 50 1 1 I
X VBUS A4 100 550 100 L 50 50 1 1 I
X CC1 A5 100 250 100 L 50 50 1 1 I
X DP1 A6 100 50 100 L 50 50 1 1 I
X DN1 A7 100 -50 100 L 50 50 1 1 I
X SBU1 A8 100 -250 100 L 50 50 1 1 I
X VBUS A9 100 -450 100 L 50 50 1 1 I
X GND B1 100 -750 100 L 50 50 1 1 I
X GND B12 100 650 100 L 50 50 1 1 I
X VBUS B4 100 -550 100 L 50 50 1 1 I
X CC2 B5 100 -350 100 L 50 50 1 1 I
X DP2 B6 100 -150 100 L 50 50 1 1 I
X DN2 B7 100 150 100 L 50 50 1 1 I
X SBU2 B8 100 350 100 L 50 50 1 1 I
X VBUS B9 100 450 100 L 50 50 1 1 I
X SHIELD S1 100 -850 100 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
# power_+5V
#
DEF power_+5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_+5V" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +5V 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_VCC
#
DEF power_VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library