-
Notifications
You must be signed in to change notification settings - Fork 2
/
stfu-cache.lib
504 lines (504 loc) · 10.5 KB
/
stfu-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
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
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
EESchema-LIBRARY Version 2.3 Date: 7/20/2012 2:32:56 PM
#encoding utf-8
#
# +6V
#
DEF +6V #PWR 0 0 Y Y 1 F N
F0 "#PWR" 0 130 20 H I C CNN
F1 "+6V" 0 100 30 H V C CNN
DRAW
X +6V 1 0 0 0 U 20 20 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
#
# 7805
#
DEF 7805 U 0 30 N Y 1 F N
F0 "U" 150 -196 60 H V C CNN
F1 "7805" 0 200 60 H V C CNN
ALIAS LM7805 LM7812 78L05
DRAW
S -200 -150 200 150 0 1 0 N
X VI VI -400 50 200 R 40 40 1 1 I
X VO VO 400 50 200 L 40 40 1 1 w
X GND GND 0 -250 100 U 40 40 1 1 I
ENDDRAW
ENDDEF
#
# ATMEGA8-P
#
DEF ATMEGA8-P IC 0 40 Y Y 1 F N
F0 "IC" -700 1250 50 H V L BNN
F1 "ATMEGA8-P" 250 -1400 50 H V L BNN
F2 "DIL28" 500 -1475 50 H I C CNN
$FPLIST
28DIP-ELL600
28dip600
$ENDFPLIST
DRAW
P 2 1 0 0 -700 -1300 -700 1200 N
P 2 1 0 0 -700 1200 800 1200 N
P 2 1 0 0 800 -1300 -700 -1300 N
P 2 1 0 0 800 1200 800 -1300 N
X PC6(/RESET) 1 -900 1100 200 R 40 40 1 1 B I
X PD0(RXD) 2 1000 200 200 L 40 40 1 1 B
X PD1(TXD) 3 1000 100 200 L 40 40 1 1 B
X PD2(INT0) 4 1000 0 200 L 40 40 1 1 B
X PD3(INT1)/PWM 5 1000 -100 200 L 40 40 1 1 B
X PD4(XCK/T0) 6 1000 -200 200 L 40 40 1 1 B
X VCC 7 0 1400 200 D 40 40 1 1 W
X GND 8 0 -1500 200 U 40 40 1 1 W
X PB6(XTAL1/TOSC1) 9 -900 400 200 R 40 40 1 1 B
X PB7(XTAL2/TOSC2) 10 -900 200 200 R 40 40 1 1 B
X AVCC 20 -900 700 200 R 40 40 1 1 W
X PD5(T1)/PWM 11 1000 -300 200 L 40 40 1 1 B
X AREF 21 -900 800 200 R 40 40 1 1 W
X PD6(AIN0)/PWM 12 1000 -400 200 L 40 40 1 1 B
X AGND 22 -900 900 200 R 40 40 1 1 W
X PD7(AIN1) 13 1000 -500 200 L 40 40 1 1 B
X PC0(ADC0) 23 1000 1100 200 L 40 40 1 1 B
X PB0(ICP) 14 1000 -700 200 L 40 40 1 1 B
X PC1(ADC1) 24 1000 1000 200 L 40 40 1 1 B
X PB1(OC1A)/PWM 15 1000 -800 200 L 40 40 1 1 B
X PC2(ADC2) 25 1000 900 200 L 40 40 1 1 B
X PB2(SS/OC1B)/PWM 16 1000 -900 200 L 40 40 1 1 B
X PC3(ADC3) 26 1000 800 200 L 40 40 1 1 B
X PB3(MOSI/OC2)/PWM 17 1000 -1000 200 L 40 40 1 1 B
X PC4(ADC4/SDA) 27 1000 700 200 L 40 40 1 1 B
X PB4(MISO) 18 1000 -1100 200 L 40 40 1 1 B
X PC5(ADC5/SCL) 28 1000 600 200 L 40 40 1 1 B
X PB5(SCK) 19 1000 -1200 200 L 40 40 1 1 B
ENDDRAW
ENDDEF
#
# Batt_Li-Po
#
DEF Batt_Li-Po BT 0 0 Y Y 1 F N
F0 "BT" 0 200 50 H V C CNN
F1 "Batt_Li-Po" 0 -190 50 H V C CNN
DRAW
P 2 0 1 0 -50 0 -100 0 N
P 2 0 1 6 -50 90 -50 -89 N
P 2 0 1 0 0 0 50 0 N
P 2 0 1 6 0 50 0 -50 N
X + 1 -250 0 150 R 50 50 1 1 P
X - 2 200 0 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 50 100 50 H V L CNN
F1 "C" 50 -100 50 H V L CNN
$FPLIST
SM*
C?
C1-1
$ENDFPLIST
DRAW
P 2 0 1 10 -100 -30 100 -30 N
P 2 0 1 10 -100 30 100 30 N
X ~ 1 0 200 170 D 40 40 1 1 P
X ~ 2 0 -200 170 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# CONN_1
#
DEF ~CONN_1 P 0 30 N N 1 F N
F0 "P" 80 0 40 H V L CNN
F1 "CONN_1" 0 55 30 H I C CNN
DRAW
C 0 0 31 0 1 0 N
P 2 0 1 0 -30 0 -50 0 N
X 1 1 -150 0 100 R 60 60 1 1 P
ENDDRAW
ENDDEF
#
# CONN_2
#
DEF CONN_2 P 0 40 Y N 1 F N
F0 "P" -50 0 40 V V C CNN
F1 "CONN_2" 50 0 40 V V C CNN
DRAW
S -100 150 100 -150 0 1 0 N
X P1 1 -350 100 250 R 60 60 1 1 P I
X PM 2 -350 -100 250 R 60 60 1 1 P I
ENDDRAW
ENDDEF
#
# CONN_3
#
DEF CONN_3 K 0 40 Y N 1 F N
F0 "K" -50 0 50 V V C CNN
F1 "CONN_3" 50 0 40 V V C CNN
DRAW
S -100 150 100 -150 0 1 0 N
X P1 1 -350 100 250 R 60 60 1 1 P I
X PM 2 -350 0 250 R 60 60 1 1 P I
X P3 3 -350 -100 250 R 60 60 1 1 P I
ENDDRAW
ENDDEF
#
# CONN_4
#
DEF CONN_4 P 0 40 Y N 1 F N
F0 "P" -50 0 50 V V C CNN
F1 "CONN_4" 50 0 50 V V C CNN
DRAW
S -100 200 100 -200 0 1 0 N
X P1 1 -350 150 250 R 50 50 1 1 P I
X P2 2 -350 50 250 R 50 50 1 1 P I
X P3 3 -350 -50 250 R 50 50 1 1 P I
X P4 4 -350 -150 250 R 50 50 1 1 P I
ENDDRAW
ENDDEF
#
# CONN_6
#
DEF CONN_6 P 0 30 Y N 1 F N
F0 "P" -50 0 60 V V C CNN
F1 "CONN_6" 50 0 60 V V C CNN
DRAW
S -100 300 100 -300 0 1 0 N
X 1 1 -350 250 250 R 60 60 1 1 P I
X 2 2 -350 150 250 R 60 60 1 1 P I
X 3 3 -350 50 250 R 60 60 1 1 P I
X 4 4 -350 -50 250 R 60 60 1 1 P I
X 5 5 -350 -150 250 R 60 60 1 1 P I
X 6 6 -350 -250 250 R 60 60 1 1 P I
ENDDRAW
ENDDEF
#
# CP1
#
DEF CP1 C 0 10 N N 1 F N
F0 "C" 50 100 50 H V L CNN
F1 "CP1" 50 -100 50 H V L CNN
$FPLIST
CP*
SM*
$ENDFPLIST
DRAW
T 0 -50 100 80 0 0 0 + Normal 0 C C
A 0 -200 180 563 1236 0 1 15 N 100 -50 -100 -50
P 4 0 1 15 -100 50 100 50 50 50 50 50 N
X ~ 1 0 200 150 D 40 40 1 1 P
X ~ 2 0 -200 180 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# CRYSTAL
#
DEF CRYSTAL X 0 40 N N 1 F N
F0 "X" 0 150 60 H V C CNN
F1 "CRYSTAL" 0 -150 60 H V C CNN
DRAW
P 2 0 1 16 -100 100 -100 -100 N
P 2 0 1 16 100 100 100 -100 N
P 5 0 1 12 -50 50 50 50 50 -50 -50 -50 -50 50 f
X 1 1 -300 0 200 R 40 40 1 1 P
X 2 2 300 0 200 L 40 40 1 1 P
X 3 ~ 0 -250 200 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# DIODE_ZENER
#
DEF DIODE_ZENER D 0 40 N N 1 F N
F0 "D" 0 200 40 H V C CNN
F1 "DIODE_ZENER" 0 -200 40 H V C CNN
$FPLIST
D?
S*
$ENDFPLIST
DRAW
P 4 0 1 0 0 0 -50 50 -50 -50 0 0 F
P 4 0 1 0 50 50 50 0 50 -50 0 0 N
X A 1 -200 0 150 R 40 40 1 1 P
X K 2 200 0 150 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
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
#
# GNDA
#
DEF GNDA #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 0 40 H I C CNN
F1 "GNDA" 0 -70 40 H V C CNN
DRAW
P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
X GNDA 1 0 0 0 U 40 40 1 1 W N
ENDDRAW
ENDDEF
#
# HEF4051B
#
DEF HEF4051B U 0 40 Y Y 1 F N
F0 "U" -250 150 60 H V C CNN
F1 "HEF4051B" -100 50 60 H V C CNN
DRAW
X VEE 7 100 -550 200 U 60 60 0 0 W
X VDD 16 0 1050 200 D 60 60 0 0 W
S -350 850 400 -350 0 1 0 N
X Y4 1 600 400 200 L 60 60 1 1 O
X Y6 2 600 200 200 L 60 60 1 1 O
X Z 3 600 -100 200 L 60 60 1 1 O
X Y7 4 600 100 200 L 60 60 1 1 O
X Y5 5 600 300 200 L 60 60 1 1 O
X ~E 6 -550 -100 200 R 60 60 1 1 I
X VSS 8 -100 -550 200 U 60 60 1 1 I
X S3 9 -550 600 200 R 60 60 1 1 I
X S2 10 -550 700 200 R 60 60 1 1 I
X S1 11 -550 800 200 R 60 60 1 1 I
X Y3 12 600 500 200 L 60 60 1 1 O
X Y0 13 600 800 200 L 60 60 1 1 O
X Y1 14 600 700 200 L 60 60 1 1 O
X Y2 15 600 600 200 L 60 60 1 1 O
ENDDRAW
ENDDEF
#
# IRSENSOR
#
DEF IRSENSOR IR 0 40 Y Y 1 F N
F0 "IR" -25 575 40 H V C CNN
F1 "IRSENSOR" -25 475 40 H V C CNN
DRAW
A 0 299 49 -900 11 0 1 0 N 0 250 50 300
A 0 300 75 1800 900 0 1 0 N -75 300 0 375
A 0 300 75 -900 0 0 1 0 N 0 225 75 300
A 0 301 49 900 -1788 0 1 0 N 0 350 -50 300
C 0 300 100 0 1 0 N
S -150 0 150 425 0 1 0 N
P 2 0 1 0 150 175 -150 175 N
X DAT 1 -75 -100 100 U 40 40 1 1 I
X GND 2 0 -100 100 U 40 40 1 1 I
X +5V 3 75 -100 100 U 40 40 1 1 I
ENDDRAW
ENDDEF
#
# LED
#
DEF LED D 0 40 Y N 1 F N
F0 "D" 100 100 50 H V C CNN
F1 "LED" -150 -50 50 H V C CNN
$FPLIST
LED-3MM
LED-5MM
LED-10MM
LED-0603
LED-0805
LED-1206
LEDV
$ENDFPLIST
DRAW
P 2 0 1 0 50 50 50 -50 N
P 3 0 1 0 -50 50 50 0 -50 -50 F
P 3 0 1 0 65 -40 110 -80 105 -55 N
P 3 0 1 0 80 -25 125 -65 120 -40 N
X A 1 -200 0 150 R 40 40 1 1 P
X K 2 200 0 150 L 40 40 1 1 P
ENDDRAW
ENDDEF
#
# NE555
#
DEF NE555 U 0 40 Y Y 1 F N
F0 "U" 375 450 60 H V C CNN
F1 "NE555" 450 350 60 H V C CNN
DRAW
S -300 400 300 -400 0 1 0 N
X GND 1 0 -600 200 U 50 50 1 1 W
X TRIG 2 -500 -150 200 R 50 50 1 1 P
X OUT 3 500 100 200 L 50 50 1 1 P
X RST 4 -500 300 200 R 50 50 1 1 P
X CON 5 -500 -300 200 R 50 50 1 1 P
X THR 6 -500 0 200 R 50 50 1 1 P
X DIS 7 -500 150 200 R 50 50 1 1 P
X VCC 8 0 600 200 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
# NPN
#
DEF NPN Q 0 0 Y Y 1 F N
F0 "Q" 0 -150 60 H V R CNN
F1 "NPN" 0 150 60 H V R CNN
DRAW
C 50 0 111 0 1 10 N
P 2 0 1 0 0 0 100 -100 N
P 2 0 1 0 0 0 100 100 N
P 3 0 1 10 0 75 0 -75 0 -75 F
P 4 0 1 0 75 -75 50 -25 25 -50 75 -75 F
X B 1 -200 0 200 R 40 40 1 1 I
X C 2 100 200 100 D 40 40 1 1 P
X E 3 100 -200 100 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# PCB
#
DEF PCB PCB 0 40 Y Y 1 F N
F0 "PCB" 0 300 60 H V C CNN
F1 "PCB" 0 -300 60 H V C CNN
DRAW
S -250 250 250 -250 0 1 0 F
ENDDRAW
ENDDEF
#
# PNP
#
DEF PNP Q 0 0 Y Y 1 F N
F0 "Q" 0 -150 60 H V R CNN
F1 "PNP" 0 150 60 H V R CNN
DRAW
C 50 0 111 0 1 10 N
P 2 0 1 0 0 0 100 100 N
P 3 0 1 10 0 75 0 -75 0 -75 F
P 3 0 1 0 25 -25 0 0 0 0 N
P 3 0 1 0 100 -100 65 -65 65 -65 N
P 5 0 1 0 25 -25 50 -75 75 -50 25 -25 25 -25 F
X B 1 -200 0 200 R 40 40 1 1 I
X C 2 100 200 100 D 40 40 1 1 P
X E 3 100 -200 100 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 270 30 H I C CNN
F1 "PWR_FLAG" 0 230 30 H V C CNN
DRAW
X pwr 1 0 0 0 U 20 20 0 0 w
P 3 0 1 0 0 0 0 100 0 100 N
P 5 0 1 0 0 100 -100 150 0 200 100 150 0 100 N
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
$FPLIST
R?
SM0603
SM0805
R?-*
SM1206
$ENDFPLIST
DRAW
S -40 150 40 -150 0 1 12 N
X ~ 1 0 250 100 D 60 60 1 1 P
X ~ 2 0 -250 100 U 60 60 1 1 P
ENDDRAW
ENDDEF
#
# RVAR
#
DEF RVAR R 0 0 N Y 1 F N
F0 "R" 80 -50 50 V V C CNN
F1 "RVAR" -100 0 50 V V C CNN
DRAW
S -50 150 40 -150 0 1 0 N
P 6 0 1 0 50 0 50 50 -50 0 50 -50 50 0 50 0 F
X 1 1 0 250 100 D 40 40 1 1 P
X 2 2 150 0 100 L 40 40 1 1 P
X 3 3 0 -250 100 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# SW_PUSH
#
DEF SW_PUSH SW 0 40 N N 1 F N
F0 "SW" 150 110 50 H V C CNN
F1 "SW_PUSH" 0 -80 50 H V C CNN
F2 "SW_PB_V" 50 10 60 H I C CNN
F3 "http://industrial.panasonic.com/www-data/pdf/ATK0000/ATK0000CE32.pdf" 150 110 60 H I C CNN
F4 "P10884S-ND" 250 210 60 H I C CNN "DigiKey"
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
#
# ULN2803
#
DEF ULN2803 U 0 40 Y Y 1 F N
F0 "U" 0 100 70 H V C CNN
F1 "ULN2803" 0 -100 70 H V C CNN
DRAW
S -350 -600 350 500 0 1 0 N
X I1 1 -550 400 200 R 60 60 1 1 I
X I2 2 -550 300 200 R 60 60 1 1 I
X I3 3 -550 200 200 R 60 60 1 1 I
X I4 4 -550 100 200 R 60 60 1 1 I
X I5 5 -550 0 200 R 60 60 1 1 I
X I6 6 -550 -100 200 R 60 60 1 1 I
X I7 7 -550 -200 200 R 60 60 1 1 I
X I8 8 -550 -300 200 R 60 60 1 1 I
X GND_M 9 -550 -500 200 R 60 60 1 1 W
X COM 10 650 -500 300 L 60 60 1 1 I
X O8 11 650 -300 300 L 60 60 1 1 C I
X O7 12 650 -200 300 L 60 60 1 1 C I
X O6 13 650 -100 300 L 60 60 1 1 C I
X O5 14 650 0 300 L 60 60 1 1 C I
X O4 15 650 100 300 L 60 60 1 1 C I
X O3 16 650 200 300 L 60 60 1 1 C I
X O2 17 650 300 300 L 60 60 1 1 C I
X O1 18 650 400 300 L 60 60 1 1 C I
ENDDRAW
ENDDEF
#
# VCC
#
DEF VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 100 30 H I C CNN
F1 "VCC" 0 100 30 H V C CNN
DRAW
X VCC 1 0 0 0 U 20 20 0 0 W N
C 0 50 20 0 1 0 N
P 3 0 1 0 0 0 0 30 0 30 N
ENDDRAW
ENDDEF
#
# VDD
#
DEF VDD #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 100 30 H I C CNN
F1 "VDD" 0 110 30 H V C CNN
DRAW
X VDD 1 0 0 0 U 40 40 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
#
# VSS
#
DEF VSS #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 0 30 H I C CNN
F1 "VSS" 0 -70 30 H V C CNN
DRAW
P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
X VSS 1 0 0 0 U 30 30 1 1 W N
ENDDRAW
ENDDEF
#
#End Library