-
Notifications
You must be signed in to change notification settings - Fork 1
/
oled_footprint.lib
469 lines (469 loc) · 11.4 KB
/
oled_footprint.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
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# +3.3V
#
DEF +3.3V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -40 30 H I C CNN
F1 "+3.3V" 0 110 30 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
ALIAS +3,3V
DRAW
X +3.3V 1 0 0 0 U 30 30 0 0 W N
C 0 60 20 0 1 0 N
P 3 0 1 0 0 0 0 40 0 40 N
ENDDRAW
ENDDEF
#
# +5V
#
DEF +5V #PWR 0 40 Y Y 1 F P
F0 "#PWR" 0 90 20 H I C CNN
F1 "+5V" 0 90 30 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
X +5V 1 0 0 0 U 20 20 0 0 W N
C 0 50 20 0 1 0 N
P 4 0 1 0 0 0 0 30 0 30 0 30 N
ENDDRAW
ENDDEF
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 50 10 50 H V L CNN
F1 "C" 50 -60 50 H V L CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
ALIAS cap_np
DRAW
P 3 0 1 0 -50 0 50 0 50 0 N
P 3 0 1 0 50 -50 -50 -50 -50 -50 N
X ~ 1 0 50 50 D 40 40 1 1 P
X ~ 2 0 -100 50 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# CP1_Small
#
DEF CP1_Small C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "CP1_Small" 10 -80 50 H V L CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
CP*
C_Axial*
C_Radial*
TantalC*
C*elec
c_elec*
SMD*_Pol
$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
#
# DIODE
#
DEF DIODE D 0 40 N N 1 F N
F0 "D" 0 100 40 H V C CNN
F1 "DIODE" 0 -100 40 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
P 3 0 1 0 50 -25 50 25 50 25 N
P 4 0 1 0 50 0 0 25 0 -25 0 -25 F
X A 1 -50 0 50 R 40 40 1 1 P
X K 2 100 0 50 L 40 40 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF ~GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 0 30 H I C CNN
F1 "GND" 0 -70 30 H I C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
X GND 1 0 0 0 U 30 30 1 1 W N
ENDDRAW
ENDDEF
#
# HEADER_1
#
DEF HEADER_1 J 0 0 Y Y 1 F N
F0 "J" 0 150 60 H V C CNN
F1 "HEADER_1" 0 -150 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S 100 50 0 -50 0 1 0 N
X ~ 1 -100 0 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# HEADER_14
#
DEF HEADER_14 J 0 0 Y Y 1 F N
F0 "J" 0 750 60 H V C CNN
F1 "HEADER_14" 0 -750 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S 100 700 0 -700 0 1 0 N
X ~ 1 -100 650 100 R 35 50 1 1 P
X ~ 2 -100 550 100 R 35 50 1 1 P
X ~ 3 -100 450 100 R 35 50 1 1 P
X ~ 4 -100 350 100 R 35 50 1 1 P
X ~ 5 -100 250 100 R 35 50 1 1 P
X ~ 6 -100 150 100 R 35 50 1 1 P
X ~ 7 -100 50 100 R 35 50 1 1 P
X ~ 8 -100 -50 100 R 35 50 1 1 P
X ~ 9 -100 -150 100 R 35 50 1 1 P
X ~ 10 -100 -250 100 R 35 50 1 1 P
X ~ 11 -100 -350 100 R 35 50 1 1 P
X ~ 12 -100 -450 100 R 35 50 1 1 P
X ~ 13 -100 -550 100 R 35 50 1 1 P
X ~ 14 -100 -650 100 R 35 50 1 1 P
ENDDRAW
ENDDEF
#
# HEADER_3
#
DEF HEADER_3 J 0 0 Y Y 1 F N
F0 "J" 0 200 60 H V C CNN
F1 "HEADER_3" 0 -200 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S 100 150 0 -150 0 1 0 N
X ~ 1 -100 100 100 R 35 50 1 1 P
X ~ 2 -100 0 100 R 35 50 1 1 P
X ~ 3 -100 -100 100 R 35 50 1 1 P
ENDDRAW
ENDDEF
#
# LED
#
DEF LED D 0 40 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "LED" 0 -100 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
LED*
$ENDFPLIST
DRAW
P 2 0 1 8 -50 -50 -50 50 N
P 2 0 1 0 -50 0 50 0 N
P 4 0 1 8 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
#
# LTV-817
#
DEF LTV-817 U 0 40 Y Y 1 F N
F0 "U" -200 200 50 H V L CNN
F1 "LTV-817" 0 200 50 H V L CNN
F2 "DIP-4" -200 -200 50 H V L CIN
F3 "" 0 -100 50 H V L CNN
$FPLIST
DIP-4*
$ENDFPLIST
DRAW
S -200 150 200 -150 0 1 10 f
P 2 0 1 10 -125 -25 -75 -25 N
P 2 0 1 0 100 25 175 100 N
P 2 0 1 0 175 -100 100 -25 F
P 2 0 1 0 175 -100 200 -100 N
P 2 0 1 0 175 100 200 100 N
P 3 0 1 0 -200 100 -100 100 -100 25 N
P 3 0 1 0 -100 -25 -100 -100 -200 -100 N
P 3 0 1 20 100 75 100 -75 100 -75 N
P 4 0 1 10 -100 -25 -125 25 -75 25 -100 -25 F
P 4 0 1 0 -20 10 1 30 1 10 31 40 N
P 4 0 1 0 31 40 11 30 21 20 31 40 N
P 5 0 1 0 120 -65 140 -45 160 -85 120 -65 120 -65 F
P 7 0 1 0 -20 -30 1 -10 1 -30 31 0 11 -10 21 -20 31 0 N
X ~ 1 -300 100 100 R 50 50 1 1 P
X ~ 2 -300 -100 100 R 50 50 1 1 P
X ~ 3 300 -100 100 L 50 50 1 1 P
X ~ 4 300 100 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
F2 "" -70 0 50 V V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
R_*
Resistor_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# RELAY_HJR-3FF_Z
#
DEF RELAY_HJR-3FF_Z RLY 0 40 Y Y 1 F N
F0 "RLY" 0 250 60 H V C CNN
F1 "RELAY_HJR-3FF_Z" 0 -235 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
$FPLIST
relay_HJR-3FF_Z
$ENDFPLIST
DRAW
A -45 150 15 1 1799 0 1 0 N -30 150 -60 150
A -15 150 15 1 1799 0 1 0 N 0 150 -30 150
A 15 150 15 1 1799 0 1 0 N 30 150 0 150
A 45 150 15 1 1799 0 1 0 N 60 150 30 150
C 70 -150 10 0 1 0 N
C 70 -50 10 0 1 0 N
P 3 0 1 0 -70 130 -50 130 -50 130 N
P 3 0 1 0 -60 -100 -100 -100 -100 -100 N
P 3 0 1 0 -60 150 -100 150 -100 150 N
P 3 0 1 0 -40 130 -20 130 -20 130 N
P 3 0 1 0 -10 130 10 130 10 130 N
P 3 0 1 0 0 -50 0 -70 0 -70 N
P 3 0 1 0 0 -20 0 -40 0 -40 N
P 3 0 1 0 0 10 0 -10 0 -10 N
P 3 0 1 0 0 40 0 20 0 20 N
P 3 0 1 0 0 70 0 50 0 50 N
P 3 0 1 0 0 100 0 80 0 80 N
P 3 0 1 0 0 130 0 110 0 110 N
P 3 0 1 0 20 130 40 130 40 130 N
P 3 0 1 0 50 130 70 130 70 130 N
P 3 0 1 0 60 150 100 150 100 150 N
P 3 0 1 0 100 -150 70 -150 70 -150 N
P 3 0 1 0 100 -50 70 -50 70 -50 N
P 4 0 1 0 -60 -100 -40 -100 80 -60 80 -60 N
X ~ 1 -200 -100 100 R 50 50 1 1 P
X ~ 2 -200 150 100 R 50 50 1 1 P
X ~ 3 200 -150 100 L 50 50 1 1 P
X ~ 4 200 -50 100 L 50 50 1 1 P
X ~ 5 200 150 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# R_Small
#
DEF R_Small R 0 10 N N 1 F N
F0 "R" 30 20 50 H V L CNN
F1 "R_Small" 30 -40 50 H V L CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
Resistor_*
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
#
# Rotary_Encoder_Switch
#
DEF Rotary_Encoder_Switch SW 0 40 Y Y 1 F N
F0 "SW" 0 260 50 H V C CNN
F1 "Rotary_Encoder_Switch" 0 -260 50 H V C CNN
F2 "" -100 160 50 H I C CNN
F3 "" 0 260 50 H I C CNN
DRAW
A 0 0 120 -899 899 0 1 10 N 0 -120 0 120
C 0 0 75 0 1 10 N
C 160 40 5 0 1 10 N
S -200 200 200 -200 0 1 10 f
P 2 0 1 10 -10 -70 -10 70 N
P 2 0 1 10 0 -120 20 -140 N
P 2 0 1 10 0 -120 20 -100 N
P 2 0 1 10 0 -70 0 70 N
P 2 0 1 10 0 120 20 100 N
P 2 0 1 10 10 70 10 -70 N
P 2 0 1 10 20 140 0 120 N
P 2 0 1 10 160 40 180 -35 N
P 3 0 1 10 200 -100 160 -100 160 -40 N
P 3 0 1 10 200 100 160 100 160 40 N
X A 1 -300 100 100 R 50 50 1 1 I
X C 2 -300 0 100 R 50 50 1 1 I
X B 3 -300 -100 100 R 50 50 1 1 I
X ~ 4 300 100 100 L 50 50 1 1 I
X ~ 5 300 -100 100 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
# S8050
#
DEF S8050 Q 0 0 Y Y 1 F N
F0 "Q" 200 75 50 H V L CNN
F1 "S8050" 200 0 50 H V L CNN
F2 "TO-92" 200 -75 50 H V L CIN
F3 "" 0 0 50 H V L CNN
$FPLIST
TO-92*
$ENDFPLIST
DRAW
C 50 0 111 0 1 10 N
P 2 0 1 0 0 0 25 0 N
P 2 0 1 0 25 25 100 100 N
P 3 0 1 0 25 -25 100 -100 100 -100 N
P 3 0 1 20 25 75 25 -75 25 -75 N
P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
X E 1 100 -200 100 U 50 50 1 1 P
X B 2 -200 0 200 R 50 50 1 1 I
X C 3 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# USB_OTG
#
DEF USB_OTG P 0 40 Y Y 1 F N
F0 "P" 325 -125 50 H V C CNN
F1 "USB_OTG" 0 200 50 H V C CNN
F2 "" -50 -100 50 V V C CNN
F3 "" -50 -100 50 V V C CNN
$FPLIST
USB*
$ENDFPLIST
DRAW
S -250 -150 250 150 0 1 0 N
S -205 -150 -195 -120 0 1 0 N
S -105 -150 -95 -120 0 1 0 N
S -5 -150 5 -120 0 1 0 N
S 95 -150 105 -120 0 1 0 N
S 195 -150 205 -120 0 1 0 N
X VBUS 1 -200 -300 150 U 50 50 1 1 w
X D- 2 -100 -300 150 U 50 50 1 1 P
X D+ 3 0 -300 150 U 50 50 1 1 P
X ID 4 100 -300 150 U 50 50 1 1 W
X GND 5 200 -300 150 U 50 50 1 1 W
X shield 6 400 100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# WeMos_mini
#
DEF WeMos_mini U 0 40 Y Y 1 F N
F0 "U" 0 500 60 H V C CNN
F1 "WeMos_mini" 0 -500 60 H V C CNN
F2 "" 550 -700 60 H V C CNN
F3 "" 550 -700 60 H V C CNN
DRAW
S -300 450 300 -550 0 1 0 N
X 5V 1 -500 350 200 R 50 50 1 1 W
X GND 2 -500 250 200 R 50 50 1 1 W
X D4 3 -500 150 200 R 50 50 1 1 B
X D3 4 -500 50 200 R 50 50 1 1 B
X D2 5 -500 -50 200 R 50 50 1 1 B
X D1 6 -500 -150 200 R 50 50 1 1 B
X Rx 7 -500 -250 200 R 50 50 1 1 B
X Tx 8 -500 -350 200 R 50 50 1 1 B
X Rst 9 500 -350 200 L 50 50 1 1 B
X A0 10 500 -250 200 L 50 50 1 1 B
X D0 11 500 -150 200 L 50 50 1 1 B
X D5 12 500 -50 200 L 50 50 1 1 B
X D6 13 500 50 200 L 50 50 1 1 B
X D7 14 500 150 200 L 50 50 1 1 B
X D8 15 500 250 200 L 50 50 1 1 B
X 3.3V 16 500 350 200 L 50 50 1 1 w
ENDDRAW
ENDDEF
#
# oled-0.96-ssd1306
#
DEF oled-0.96-ssd1306 DS 0 40 Y Y 1 F N
F0 "DS" -900 300 50 V V C CNN
F1 "oled-0.96-ssd1306" -400 400 50 H V C CNN
F2 "SSD1306" -450 -100 50 H V C CIN
F3 "" 0 0 50 H V C CNN
DRAW
T 0 -450 50 80 0 0 0 128x64 Normal 1 C C
T 0 -450 200 80 0 0 0 OLED Normal 0 C C
S -850 350 -50 -350 0 0 0 f
S -750 300 -150 -150 0 1 20 N
X GND 1 -550 -500 150 U 40 40 1 1 W
X VCC 2 -450 -500 150 U 40 40 1 1 W
X SCL 3 -350 -500 150 U 40 40 1 1 B
X SDA 4 -250 -500 150 U 40 40 1 1 B
ENDDRAW
ENDDEF
#
# stm32f103c8t6-module-china
#
DEF stm32f103c8t6-module-china U 0 40 Y Y 1 F N
F0 "U" 0 1350 60 H V C CNN
F1 "stm32f103c8t6-module-china" 0 0 60 V V C CNN
F2 "myelin-kicad:stm32f103c8t6-module-china" 0 -1700 60 H I C CNN
F3 "" -400 250 60 H V C CNN
DRAW
T 900 100 -500 60 0 0 0 B5,~C13-15,~A0-7,~B0-1~are~not~5V~tolerant Normal 0 C C
T 0 -500 -400 60 0 0 0 not~5V Normal 0 C C
S -850 1550 850 -1600 0 1 0 N
X B12/NSS2 1 -1050 1400 200 R 50 50 1 1 I
X B13/SCK2 2 -1050 1250 200 R 50 50 1 1 I
X B14/MISO2 3 -1050 1100 200 R 50 50 1 1 I
X B15/MOSI2 4 -1050 950 200 R 50 50 1 1 I
X A8/MCO 5 -1050 800 200 R 50 50 1 1 I
X A9/U1TXa 6 -1050 650 200 R 50 50 1 1 I
X A10/U1RXa 7 -1050 500 200 R 50 50 1 1 I
X A11/CANRX/USBDM 8 -1050 350 200 R 50 50 1 1 I
X A12/CANTX/USBDP 9 -1050 200 200 R 50 50 1 1 I
X A15/JTDI 10 -1050 50 200 R 50 50 1 1 I
X 3V3 20 -1050 -1450 200 R 50 50 1 1 I
X A5/SCK1 30 1050 -100 200 L 50 50 1 1 I
X GND 40 1050 1400 200 L 50 50 1 1 I
X B3/JTDO 11 -1050 -100 200 R 50 50 1 1 I
X VBAT 21 1050 -1450 200 L 50 50 1 1 I
X A6/MISO1 31 1050 50 200 L 50 50 1 1 I
X B4/JnTRST 12 -1050 -250 200 R 50 50 1 1 I
X C13 22 1050 -1300 200 L 50 50 1 1 I
X A7/MOSI1 32 1050 200 200 L 50 50 1 1 I
X B5 13 -1050 -400 200 R 50 50 1 1 I
X C14/OSC32_IN 23 1050 -1150 200 L 50 50 1 1 I
X B0 33 1050 350 200 L 50 50 1 1 I
X B6/SCL1a/U1TXb 14 -1050 -550 200 R 50 50 1 1 I
X C15/OSC32_OUT 24 1050 -1000 200 L 50 50 1 1 I
X B1 34 1050 500 200 L 50 50 1 1 I
X B7/SDA1a/U1RXb 15 -1050 -700 200 R 50 50 1 1 I
X A0/WKUP 25 1050 -850 200 L 50 50 1 1 I
X B10/SCL2/U3TX 35 1050 650 200 L 50 50 1 1 I
X B8/SCL1b/CANRX 16 -1050 -850 200 R 50 50 1 1 I
X A1 26 1050 -700 200 L 50 50 1 1 I
X B11/SDA2/U3RX 36 1050 800 200 L 50 50 1 1 I
X B9/SDA1b/CANTX 17 -1050 -1000 200 R 50 50 1 1 I
X A2/U2TX 27 1050 -550 200 L 50 50 1 1 I
X nRESET 37 1050 950 200 L 50 50 1 1 I
X 5V 18 -1050 -1150 200 R 50 50 1 1 I
X A3/U2RX 28 1050 -400 200 L 50 50 1 1 I
X 3V3 38 1050 1100 200 L 50 50 1 1 I
X GND 19 -1050 -1300 200 R 50 50 1 1 I
X A4/NSS1 29 1050 -250 200 L 50 50 1 1 I
X GND 39 1050 1250 200 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library