-
Notifications
You must be signed in to change notification settings - Fork 0
/
matrix-cache.lib
307 lines (307 loc) · 7.1 KB
/
matrix-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
EESchema-LIBRARY Version 2.3 Date: 2015.02.26 21:15:30
#encoding utf-8
#
# ANYTHING
#
DEF ANYTHING ANY 0 40 N N 1 F N
F0 "ANY" 0 50 40 H V C CNN
F1 "ANYTHING" 0 -50 40 H V C CNN
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V C CNN
DRAW
S -150 100 150 -100 0 1 0 N
X GND 0 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# ASX4
#
DEF ASX4 X 0 40 N N 1 F N
F0 "X" 0 -200 60 H V C CNN
F1 "ASX4" 0 200 60 H V C CNN
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V C CNN
$FPLIST
aker
$ENDFPLIST
DRAW
S -150 150 150 -150 0 1 0 N
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 -250 0 100 R 40 40 1 1 P
X GND 2 -100 -250 100 U 50 50 1 1 W
X 2 3 250 0 100 L 40 40 1 1 P
X GND 4 100 -250 100 U 50 50 1 1 W
ENDDRAW
ENDDEF
#
# ATMEGA32U4
#
DEF ATMEGA32U4 IC 0 40 Y Y 1 F N
F0 "IC" -800 1830 50 H V L BNN
F1 "ATMEGA32U4" 250 -1900 50 H V L BNN
F2 "TQFP44" 500 -1975 50 H I C CNN
F3 "~" 0 0 60 H V C CNN
$FPLIST
TQFP44
$ENDFPLIST
DRAW
S -800 1800 800 -1800 0 1 12 f
X (INT6/AIN0)PE6 1 1000 -750 200 L 40 40 1 1 B
X UVcc 2 -1000 -650 200 R 40 40 1 1 W
X D- 3 -1000 -850 200 R 40 40 1 1 B
X D+ 4 -1000 -950 200 R 40 40 1 1 B
X UGnd 5 -1000 -1450 200 R 40 40 1 1 W
X Ucap 6 -1000 -1250 200 R 40 40 1 1 I
X VBus 7 -1000 -1150 200 R 40 40 1 1 I
X (SS/PCINT0)PB0 8 1000 750 200 L 40 40 1 1 B
X (PCINT1/SCLK)PB1 9 1000 850 200 L 40 40 1 1 B
X (PDI/PCINT2/MOSI)PB2 10 1000 950 200 L 40 40 1 1 B
X (RXD1/INT2)PD2 20 1000 -250 200 L 40 40 1 1 B
X (PCINT6/OC1B/OC4B/ADC13)PB6 30 1000 1350 200 L 40 40 1 1 B
X (ADC1)PF1 40 1000 -1350 200 L 40 40 1 1 B
X (PDO/PCINT3/MISO)PB3 11 1000 1050 200 L 40 40 1 1 B
X (TXD1/INT3)PD3 21 1000 -150 200 L 40 40 1 1 B
X (OC3A/~OC4A~)PC6 31 1000 450 200 L 40 40 1 1 B
X (ADC0)PF0 41 1000 -1450 200 L 40 40 1 1 B
X (PCINT7/OC0A/OC1C/~RTS~)PB7 12 1000 1450 200 L 40 40 1 1 B
X (XCK1/~CTS~)PD5 22 1000 50 200 L 40 40 1 1 B
X (ICP3/CLK0/OC4A)PC7 32 1000 550 200 L 40 40 1 1 B
X AREF 42 -1000 -200 200 R 40 40 1 1 I
X ~RESET~ 13 -1000 1700 200 R 40 40 1 1 I I
X GND 23 50 -2000 200 U 40 40 1 1 W
X (~HWB~)PE2 33 1000 -650 200 L 40 40 1 1 B
X GND 43 -150 -2000 200 U 40 40 1 1 W
X VCC 14 -200 2000 200 D 40 40 1 1 W
X AVCC 24 200 2000 200 D 40 40 1 1 W
X VCC 34 -100 2000 200 D 40 40 1 1 W
X AVCC 44 100 2000 200 D 40 40 1 1 W
X GND 15 150 -2000 200 U 40 40 1 1 W
X (ICP1/ADC8)PD4 25 1000 -50 200 L 40 40 1 1 B
X GND 35 -50 -2000 200 U 40 40 1 1 W
X XTAL2 16 -1000 1300 200 R 40 40 1 1 B
X (T1/~OC4D~/ADC9)PD6 26 1000 150 200 L 40 40 1 1 B
X (ADC7/TDI)PF7 36 1000 -950 200 L 40 40 1 1 B
X XTAL1 17 -1000 900 200 R 40 40 1 1 B
X (T0/OC4D/ADC10)PD7 27 1000 250 200 L 40 40 1 1 B
X (ADC6/TDO)PF6 37 1000 -1050 200 L 40 40 1 1 B
X (OC0B/SCL/INT0)PD0 18 1000 -450 200 L 40 40 1 1 B
X (PCINT4/ADC11)PB4 28 1000 1150 200 L 40 40 1 1 B
X (ADC5/TMS)PF5 38 1000 -1150 200 L 40 40 1 1 B
X (SDA/INT1)PD1 19 1000 -350 200 L 40 40 1 1 B
X (PCINT5/OC1A/~OC4B~/ADC12)PB5 29 1000 1250 200 L 40 40 1 1 B
X (ADC4/TCK)PF4 39 1000 -1250 200 L 40 40 1 1 B
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
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V C CNN
$FPLIST
SM*
C?
C1-1
$ENDFPLIST
DRAW
P 2 0 1 20 -100 -30 100 -30 N
P 2 0 1 20 -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
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V 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
#
# 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
$FPLIST
D?
S*
$ENDFPLIST
DRAW
P 2 0 1 6 50 50 50 -50 N
P 3 0 1 0 -50 50 50 0 -50 -50 F
X A A -200 0 150 R 40 40 1 1 P
X K C 200 0 150 L 40 40 1 1 P
ENDDRAW
ENDDEF
#
# DTSM-6
#
DEF DTSM-6 S 0 40 Y Y 1 L N
F0 "S" -285 -100 50 V V L BNN
F1 "DTSM-6" -185 125 50 V V L BNN
F2 "switch-tact-DTSM-6" 0 150 50 H I C CNN
F3 "~" 0 0 60 H V C CNN
DRAW
P 2 1 0 0 -175 -75 -125 -75 N
P 2 1 0 0 -175 0 -175 -75 N
P 2 1 0 0 -175 0 -125 0 N
P 2 1 0 0 -175 75 -175 0 N
P 2 1 0 0 -175 75 -125 75 N
P 2 1 0 0 -100 0 -75 0 N
P 2 1 0 0 -50 0 -25 0 N
P 2 1 0 0 0 -100 -50 75 N
P 2 1 0 0 0 75 0 100 N
P 2 1 0 0 100 -100 0 -100 N
P 2 1 0 0 100 100 0 100 N
C 0 -100 5 1 1 0 F
C 0 100 5 1 1 0 F
X 1 1 0 -200 100 U 40 40 1 1 P
X 2 2 100 -200 100 U 40 40 1 1 P
X 3 3 0 200 100 D 40 40 1 1 P
X 4 4 100 200 100 D 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 V C CNN
F3 "~" 0 0 60 H V 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
#
# MX1A
#
DEF MX1A S 0 40 Y Y 1 F N
F0 "S" -150 250 60 H V C CNN
F1 "MX1A" 0 100 60 H V C CNN
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V C CNN
DRAW
P 2 0 1 0 -100 150 50 250 N
P 3 0 1 0 -200 300 -200 150 -100 150 N
X ~ 1 -200 400 100 D 50 50 1 1 P
X ~ 2 200 150 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 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H 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
#
# RESISTOR
#
DEF RESISTOR R 0 0 N Y 1 F N
F0 "R" 0 -100 50 V V C CNN
F1 "RESISTOR" 0 100 50 V V C CNN
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V C CNN
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
#
# RGB_SMD_LED
#
DEF RGB_SMD_LED D 0 40 Y N 1 F N
F0 "D" 0 300 50 H V C CNN
F1 "RGB_SMD_LED" 0 -300 40 H V C CNN
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V C CNN
DRAW
T 0 0 -100 30 0 0 0 B Normal 0 C C
T 0 0 200 30 0 0 0 G Normal 0 C C
T 0 0 50 30 0 0 0 R Normal 0 C C
S -150 250 150 -250 0 1 0 N
P 2 0 1 0 50 -100 50 -200 N
P 2 0 1 0 50 50 50 -50 N
P 2 0 1 0 50 200 50 100 N
P 3 0 1 0 -50 -100 50 -150 -50 -200 F
P 3 0 1 0 -50 50 50 0 -50 -50 F
P 3 0 1 0 -50 200 50 150 -50 100 F
P 3 0 1 0 65 -190 110 -230 105 -205 N
P 3 0 1 0 65 -40 110 -80 105 -55 N
P 3 0 1 0 65 110 110 70 105 95 N
P 3 0 1 0 80 -175 125 -215 120 -190 N
P 3 0 1 0 80 -25 125 -65 120 -40 N
P 3 0 1 0 80 125 125 85 120 110 N
X A-Green 1 -200 150 150 R 40 40 1 1 P
X A-Red 2 -200 0 150 R 40 40 1 1 P
X A-Blue 3 -200 -150 150 R 40 40 1 1 P
X K 4 200 -150 150 L 40 40 1 1 P
X K 5 200 0 150 L 40 40 1 1 P
X K 6 200 150 150 L 40 40 1 1 P
ENDDRAW
ENDDEF
#
# USBMINI_B05
#
DEF ~USBMINI_B05 J 0 40 Y Y 1 F N
F0 "J" -75 300 60 H V C CNN
F1 "USBMINI_B05" -50 -350 60 H I C CNN
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 H V C CNN
DRAW
T 900 -200 0 60 0 0 0 USB Normal 1 C C
P 4 0 1 0 -300 250 0 250 0 -250 -300 -250 N
X VBUS 1 200 200 200 L 50 50 1 1 w
X D- 2 200 100 200 L 50 50 1 1 B
X D+ 3 200 0 200 L 50 50 1 1 B
X ID 4 200 -100 200 L 50 50 1 1 w
X GND 5 200 -200 200 L 50 50 1 1 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
F2 "~" 0 0 60 H V C CNN
F3 "~" 0 0 60 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
#
#End Library