-
Notifications
You must be signed in to change notification settings - Fork 0
/
pwm-controller-cache.lib
398 lines (398 loc) · 9.42 KB
/
pwm-controller-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
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# Connector_Generic_Conn_02x09_Odd_Even
#
DEF Connector_Generic_Conn_02x09_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 500 50 H V C CNN
F1 "Connector_Generic_Conn_02x09_Odd_Even" 50 -500 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_2x??_*
$ENDFPLIST
DRAW
S -50 -395 0 -405 1 1 6 N
S -50 -295 0 -305 1 1 6 N
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 205 0 195 1 1 6 N
S -50 305 0 295 1 1 6 N
S -50 405 0 395 1 1 6 N
S -50 450 150 -450 1 1 10 f
S 150 -395 100 -405 1 1 6 N
S 150 -295 100 -305 1 1 6 N
S 150 -195 100 -205 1 1 6 N
S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
S 150 205 100 195 1 1 6 N
S 150 305 100 295 1 1 6 N
S 150 405 100 395 1 1 6 N
X Pin_1 1 -200 400 150 R 50 50 1 1 P
X Pin_10 10 300 0 150 L 50 50 1 1 P
X Pin_11 11 -200 -100 150 R 50 50 1 1 P
X Pin_12 12 300 -100 150 L 50 50 1 1 P
X Pin_13 13 -200 -200 150 R 50 50 1 1 P
X Pin_14 14 300 -200 150 L 50 50 1 1 P
X Pin_15 15 -200 -300 150 R 50 50 1 1 P
X Pin_16 16 300 -300 150 L 50 50 1 1 P
X Pin_17 17 -200 -400 150 R 50 50 1 1 P
X Pin_18 18 300 -400 150 L 50 50 1 1 P
X Pin_2 2 300 400 150 L 50 50 1 1 P
X Pin_3 3 -200 300 150 R 50 50 1 1 P
X Pin_4 4 300 300 150 L 50 50 1 1 P
X Pin_5 5 -200 200 150 R 50 50 1 1 P
X Pin_6 6 300 200 150 L 50 50 1 1 P
X Pin_7 7 -200 100 150 R 50 50 1 1 P
X Pin_8 8 300 100 150 L 50 50 1 1 P
X Pin_9 9 -200 0 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Screw_Terminal_01x02
#
DEF Connector_Screw_Terminal_01x02 J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Connector_Screw_Terminal_01x02" 0 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TerminalBlock*:*
$ENDFPLIST
DRAW
C 0 -100 25 1 1 6 N
C 0 0 25 1 1 6 N
S -50 50 50 -150 1 1 10 f
P 2 1 1 6 -21 -87 13 -120 N
P 2 1 1 6 -21 13 13 -20 N
P 2 1 1 6 -14 -80 20 -113 N
P 2 1 1 6 -14 20 20 -13 N
X Pin_1 1 -200 0 150 R 50 50 1 1 P
X Pin_2 2 -200 -100 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_TestPoint
#
DEF Connector_TestPoint TP 0 30 N N 1 F N
F0 "TP" 0 270 50 H V C CNN
F1 "Connector_TestPoint" 0 200 50 H V C CNN
F2 "" 200 0 50 H I C CNN
F3 "" 200 0 50 H I C CNN
$FPLIST
Pin*
Test*
$ENDFPLIST
DRAW
C 0 130 30 0 1 0 N
X 1 1 0 0 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_C
#
DEF Device_C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "Device_C" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_D_Schottky
#
DEF Device_D_Schottky D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "Device_D_Schottky" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
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 6 0 1 10 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 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_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_Q_PNP_BEC
#
DEF Device_Q_PNP_BEC Q 0 0 Y N 1 F N
F0 "Q" 200 50 50 H V L CNN
F1 "Device_Q_PNP_BEC" 200 -50 50 H V L CNN
F2 "" 200 100 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 50 0 111 0 1 10 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 90 -70 70 -90 50 -50 90 -70 90 -70 F
X B 1 -200 0 225 R 50 50 1 1 I
X E 2 100 -200 100 U 50 50 1 1 P
X C 3 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R
#
DEF Device_R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "Device_R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
$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
#
# Device_RotaryEncoder_Switch
#
DEF Device_RotaryEncoder_Switch SW 0 10 Y N 1 F N
F0 "SW" 0 260 50 H V C CNN
F1 "Device_RotaryEncoder_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
#
# Mechanical_MountingHole
#
DEF Mechanical_MountingHole H 0 40 Y Y 1 F N
F0 "H" 0 200 50 H V C CNN
F1 "Mechanical_MountingHole" 0 125 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
MountingHole*
$ENDFPLIST
DRAW
C 0 0 50 0 1 50 N
ENDDRAW
ENDDEF
#
# Regulator_Linear_L78L05_SOT89
#
DEF Regulator_Linear_L78L05_SOT89 U 0 10 Y Y 1 F N
F0 "U" -150 125 50 H V C CNN
F1 "Regulator_Linear_L78L05_SOT89" -25 125 50 H V L CNN
F2 "Package_TO_SOT_SMD:SOT-89-3" 0 200 50 H I C CIN
F3 "" 0 -50 50 H I C CNN
ALIAS MC78L08_SOT89 MC78L12_SOT89 L78L33_SOT89 L78L05_SOT89 L78L06_SOT89 L78L08_SOT89 L78L09_SOT89 L78L10_SOT89 L78L12_SOT89 L78L15_SOT89 L78L18_SOT89 L78L24_SOT89 MCP1804x-1802xMB MCP1804x-2502xMB MCP1804x-3002xMB MCP1804x-3302xMB MCP1804x-5002xMB MCP1804x-A002xMB MCP1804x-C002xMB
$FPLIST
SOT?89*
$ENDFPLIST
DRAW
S -200 75 200 -200 0 1 10 f
X OUT 1 300 0 100 L 50 50 1 1 w
X GND 2 0 -300 100 U 50 50 1 1 W
X IN 3 -300 0 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Transistor_BJT_MMBT5551L
#
DEF Transistor_BJT_MMBT5551L Q 0 0 Y N 1 F N
F0 "Q" 200 75 50 H V L CNN
F1 "Transistor_BJT_MMBT5551L" 200 0 50 H V L CNN
F2 "Package_TO_SOT_SMD:SOT-23" 200 -75 50 H I L CIN
F3 "" 0 0 50 H I L CNN
ALIAS BC818 BC846 BC847 BC848 BC849 BC850 MMBT3904 MMBT5550L MMBT5551L
$FPLIST
SOT?23*
$ENDFPLIST
DRAW
C 50 0 111 0 1 10 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 B 1 -200 0 225 R 50 50 1 1 I
X E 2 100 -200 100 U 50 50 1 1 P
X C 3 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# mark_SiS402DN
#
DEF mark_SiS402DN Q 0 0 N Y 1 F N
F0 "Q" 200 50 50 H V L CNN
F1 "mark_SiS402DN" 200 -50 50 H V L CNN
F2 "Package_SO:Vishay_PowerPAK_1212-8_Single" 0 500 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 65 0 110 0 1 10 N
C 100 -70 10 0 1 0 F
C 100 70 10 0 1 0 F
P 2 0 1 0 10 0 -100 0 N
P 2 0 1 10 10 75 10 -75 N
P 2 0 1 10 30 -50 30 -90 N
P 2 0 1 10 30 20 30 -20 N
P 2 0 1 10 30 90 30 50 N
P 2 0 1 0 100 100 100 70 N
P 3 0 1 0 100 -100 100 0 30 0 N
P 4 0 1 0 30 -70 130 -70 130 70 30 70 N
P 4 0 1 0 40 0 80 15 80 -15 40 0 F
P 4 0 1 0 110 20 115 15 145 15 150 10 N
P 4 0 1 0 130 15 115 -10 145 -10 130 15 N
X S 1 100 -200 100 U 50 50 1 1 P
X S 2 100 -200 100 U 50 50 1 1 P
X S 3 100 -200 100 U 50 50 1 1 P
X G 4 -200 0 100 R 50 50 1 1 I
X D 5 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# mcu_STM8S003F3Px
#
DEF mcu_STM8S003F3Px U 0 40 Y Y 4 F N
F0 "U" 0 100 50 H V C CNN
F1 "mcu_STM8S003F3Px" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TSSOP20
$ENDFPLIST
DRAW
S -400 -850 400 850 1 1 10 f
S -400 -200 400 200 2 1 10 f
S -400 -100 400 100 3 1 10 f
S -800 -50 800 50 4 1 10 f
X PD4/INT 1 600 -550 200 L 50 50 1 1 P
X PA3/PWM1 10 600 550 200 L 50 50 1 1 P
X PB5/SDA 11 600 350 200 L 50 50 1 1 P
X PB4/SCL 12 600 450 200 L 50 50 1 1 P
X PC3/RE_B 13 600 250 200 L 50 50 1 1 P
X PC4/RE_Q 14 600 150 200 L 50 50 1 1 P
X PC5/RE_I 15 600 50 200 L 50 50 1 1 P
X PC6/SADD2 16 600 -50 200 L 50 50 1 1 P
X PC7/SADD1 17 600 -150 200 L 50 50 1 1 P
X PD1/SWIM 18 600 -250 200 L 50 50 1 1 P
X PD2/SADD0 19 600 -350 200 L 50 50 1 1 P
X PD5/UTX 2 600 -650 200 L 50 50 1 1 P
X PD3/PWM2 20 600 -450 200 L 50 50 1 1 P
X PD6/URX 3 600 -750 200 L 50 50 1 1 P
X PA1/LED1 5 600 750 200 L 50 50 1 1 P
X PA2/LED2 6 600 650 200 L 50 50 1 1 P
X VSS 7 600 -100 200 L 50 50 2 1 W
X VCAP 8 600 100 200 L 50 50 2 1 W
X VDD 9 600 0 200 L 50 50 2 1 W
X NRST 4 600 0 200 L 50 50 3 1 B
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_PWR_FLAG
#
DEF power_PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 75 50 H I C CNN
F1 "power_PWR_FLAG" 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 -40 75 0 100 40 75 0 50 N
X pwr 1 0 0 0 U 50 50 0 0 w
ENDDRAW
ENDDEF
#
#End Library