-
Notifications
You must be signed in to change notification settings - Fork 0
/
lvlshifter.kicad_sch
469 lines (457 loc) · 15.4 KB
/
lvlshifter.kicad_sch
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
(kicad_sch (version 20211123) (generator eeschema)
(uuid 143ed874-a01f-4ced-ba4e-bbb66ddd1f70)
(paper "A4")
(title_block
(title "PMOD levelshifter")
(date "2021-11-03")
(rev "v1.0a")
(comment 1 "Made by mole99")
)
(lib_symbols
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (id 0) (at 2.032 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "R" (id 1) (at 0 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at -1.778 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "R res resistor" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Resistor" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "R_*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "R_0_1"
(rectangle (start -1.016 -2.54) (end 1.016 2.54)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "R_1_1"
(pin passive line (at 0 3.81 270) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Transistor_FET:BSS138" (pin_names hide) (in_bom yes) (on_board yes)
(property "Reference" "Q" (id 0) (at 5.08 1.905 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "BSS138" (id 1) (at 5.08 0 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Package_TO_SOT_SMD:SOT-23" (id 2) (at 5.08 -1.905 0)
(effects (font (size 1.27 1.27) italic) (justify left) hide)
)
(property "Datasheet" "https://www.onsemi.com/pub/Collateral/BSS138-D.PDF" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) (justify left) hide)
)
(property "ki_keywords" "N-Channel MOSFET" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "50V Vds, 0.22A Id, N-Channel MOSFET, SOT-23" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "SOT?23*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "BSS138_0_1"
(polyline
(pts
(xy 0.254 0)
(xy -2.54 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.254 1.905)
(xy 0.254 -1.905)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 -1.27)
(xy 0.762 -2.286)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 0.508)
(xy 0.762 -0.508)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 2.286)
(xy 0.762 1.27)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 2.54 2.54)
(xy 2.54 1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 2.54 -2.54)
(xy 2.54 0)
(xy 0.762 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 -1.778)
(xy 3.302 -1.778)
(xy 3.302 1.778)
(xy 0.762 1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 1.016 0)
(xy 2.032 0.381)
(xy 2.032 -0.381)
(xy 1.016 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
(polyline
(pts
(xy 2.794 0.508)
(xy 2.921 0.381)
(xy 3.683 0.381)
(xy 3.81 0.254)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 3.302 0.381)
(xy 2.921 -0.254)
(xy 3.683 -0.254)
(xy 3.302 0.381)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle (center 1.651 0) (radius 2.794)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle (center 2.54 -1.778) (radius 0.254)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
(circle (center 2.54 1.778) (radius 0.254)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
)
(symbol "BSS138_1_1"
(pin input line (at -5.08 0 0) (length 2.54)
(name "G" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 -5.08 90) (length 2.54)
(name "S" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 5.08 270) (length 2.54)
(name "D" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:+3.3V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3.3V" (id 1) (at 0 3.556 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"+3.3V\"" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "+3.3V_0_1"
(polyline
(pts
(xy -0.762 1.27)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 0)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 2.54)
(xy 0.762 1.27)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "+3.3V_1_1"
(pin power_in line (at 0 0 90) (length 0) hide
(name "+3V3" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:+5V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+5V" (id 1) (at 0 3.556 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"+5V\"" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "+5V_0_1"
(polyline
(pts
(xy -0.762 1.27)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 0)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 2.54)
(xy 0.762 1.27)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "+5V_1_1"
(pin power_in line (at 0 0 90) (length 0) hide
(name "+5V" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 137.16 80.01) (diameter 0) (color 0 0 0 0)
(uuid 8fcec304-c6b1-4655-8326-beacd0476953)
)
(junction (at 137.16 91.44) (diameter 0) (color 0 0 0 0)
(uuid 997c2f12-73ba-4c01-9ee0-42e37cbab790)
)
(junction (at 152.4 91.44) (diameter 0) (color 0 0 0 0)
(uuid b09666f9-12f1-4ee9-8877-2292c94258ca)
)
(wire (pts (xy 144.78 83.82) (xy 144.78 80.01))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 0520f61d-4522-4301-a3fa-8ed0bf060f69)
)
(wire (pts (xy 137.16 91.44) (xy 139.7 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 1199146e-a60b-416a-b503-e77d6d2892f9)
)
(wire (pts (xy 144.78 80.01) (xy 137.16 80.01))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 411d4270-c66c-4318-b7fb-1470d34862b8)
)
(wire (pts (xy 152.4 91.44) (xy 154.94 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 477892a1-722e-4cda-bb6c-fcdb8ba5f93e)
)
(wire (pts (xy 152.4 88.9) (xy 152.4 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 479331ff-c540-41f4-84e6-b48d65171e59)
)
(wire (pts (xy 137.16 80.01) (xy 137.16 78.74))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 795e68e2-c9ba-45cf-9bff-89b8fae05b5a)
)
(wire (pts (xy 137.16 88.9) (xy 137.16 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid afd38b10-2eca-4abe-aed1-a96fb07ffdbe)
)
(wire (pts (xy 152.4 78.74) (xy 152.4 81.28))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid bc0dbc57-3ae8-4ce5-a05c-2d6003bba475)
)
(wire (pts (xy 137.16 81.28) (xy 137.16 80.01))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c8b92953-cd23-44e6-85ce-083fb8c3f20f)
)
(wire (pts (xy 134.62 91.44) (xy 137.16 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c8fd9dd3-06ad-4146-9239-0065013959ef)
)
(wire (pts (xy 149.86 91.44) (xy 152.4 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid cc15f583-a41b-43af-ba94-a75455506a96)
)
(hierarchical_label "LV" (shape input) (at 134.62 91.44 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 2454fd1b-3484-4838-8b7e-d26357238fe1)
)
(hierarchical_label "HV" (shape input) (at 154.94 91.44 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 45884597-7014-4461-83ee-9975c42b9a53)
)
(symbol (lib_id "power:+5V") (at 152.4 78.74 0)
(in_bom yes) (on_board yes)
(uuid 00000000-0000-0000-0000-0000617bf573)
(property "Reference" "#PWR0115" (id 0) (at 152.4 82.55 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+5V" (id 1) (at 152.781 74.3458 0))
(property "Footprint" "" (id 2) (at 152.4 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 152.4 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 42dcf4c2-601f-4248-9d68-3b40103215d8))
)
(symbol (lib_id "power:+3.3V") (at 137.16 78.74 0)
(in_bom yes) (on_board yes)
(uuid 00000000-0000-0000-0000-0000617bf579)
(property "Reference" "#PWR0116" (id 0) (at 137.16 82.55 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3.3V" (id 1) (at 137.541 74.3458 0))
(property "Footprint" "" (id 2) (at 137.16 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 137.16 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid e088e136-162b-4e55-9397-52a31b91d4c3))
)
(symbol (lib_id "Device:R") (at 152.4 85.09 0)
(in_bom yes) (on_board yes)
(uuid 00000000-0000-0000-0000-0000617bf589)
(property "Reference" "R10" (id 0) (at 154.178 83.9216 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "10k" (id 1) (at 154.178 86.233 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Resistor_SMD:R_0805_2012Metric" (id 2) (at 150.622 85.09 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 152.4 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 9b712c8b-80c9-40c1-b2c0-b449d4092371))
(pin "2" (uuid df422a13-79b7-4c3f-8840-775e7ac0c613))
)
(symbol (lib_id "Device:R") (at 137.16 85.09 0)
(in_bom yes) (on_board yes)
(uuid 00000000-0000-0000-0000-0000617bf58f)
(property "Reference" "R9" (id 0) (at 138.938 83.9216 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "10k" (id 1) (at 138.938 86.233 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Resistor_SMD:R_0805_2012Metric" (id 2) (at 135.382 85.09 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 137.16 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 3f8c4ada-3193-43a5-9868-069b43dbca60))
(pin "2" (uuid 8db05113-bb5d-40cb-916f-5b0147562482))
)
(symbol (lib_id "Transistor_FET:BSS138") (at 144.78 88.9 270)
(in_bom yes) (on_board yes)
(uuid 00000000-0000-0000-0000-0000617bf599)
(property "Reference" "Q5" (id 0) (at 144.78 95.2246 90))
(property "Value" "BSS138" (id 1) (at 144.78 97.536 90))
(property "Footprint" "Package_TO_SOT_SMD:SOT-23" (id 2) (at 142.875 93.98 0)
(effects (font (size 1.27 1.27) italic) (justify left) hide)
)
(property "Datasheet" "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" (id 3) (at 144.78 88.9 0)
(effects (font (size 1.27 1.27)) (justify left) hide)
)
(property "Spice_Primitive" "X" (id 4) (at 144.78 88.9 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Spice_Model" "BSS138/ZTX" (id 5) (at 144.78 88.9 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Spice_Netlist_Enabled" "Y" (id 6) (at 144.78 88.9 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Spice_Lib_File" "spice/BSS138.spice" (id 7) (at 144.78 88.9 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 47d0e121-9040-4b4c-9cb2-92cb3ddca634))
(pin "2" (uuid 152462ae-8941-4aed-aaec-87510e0adfc2))
(pin "3" (uuid ca0dd4ea-33e1-45ac-ac40-e969c4627703))
)
)