aboutsummaryrefslogtreecommitdiff
path: root/center-control/center.net
blob: d543fc926909a06ba24a0724857898a9993bc240 (plain)
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
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
(export (version D)
  (design
    (source /home/user/toys/led_tape_display/center/center.sch)
    (date "Sat Feb  2 12:23:06 2019")
    (tool "Eeschema (5.0.1)")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source center.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref U2)
      (value STM32F030F4P6)
      (footprint Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm)
      (datasheet http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00088500.pdf)
      (libsource (lib MCU_ST_STM32F0) (part STM32F030F4Px) (description "ARM Cortex-M0 MCU, 16KB flash, 4KB RAM, 48MHz, 2.4-3.6V, 15 GPIO, TSSOP-20"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1966AA))
    (comp (ref U1)
      (value AP1117-33)
      (footprint TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2)
      (datasheet http://www.diodes.com/datasheets/AP1117.pdf)
      (libsource (lib Regulator_Linear) (part AP1117-33) (description "1A Low Dropout regulator, positive, 3.3V fixed output, SOT-223"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C19682A))
    (comp (ref J1)
      (value "top left")
      (footprint footprints:led_tape_3528_2835)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x02) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C196961))
    (comp (ref J2)
      (value "top right")
      (footprint footprints:led_tape_3528_2835)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x02) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C196B9D))
    (comp (ref J3)
      (value "bottom right")
      (footprint footprints:led_tape_3528_2835)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x02) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C196C4D))
    (comp (ref J4)
      (value "bottom left")
      (footprint footprints:led_tape_3528_2835)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x02) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C196D8E))
    (comp (ref D1)
      (value SS510)
      (footprint Diodes_SMD:D_SMB_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Schottky) (description "Schottky diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1985B1))
    (comp (ref D3)
      (value SS510)
      (footprint Diodes_SMD:D_SMB_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Schottky) (description "Schottky diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C19926C))
    (comp (ref D2)
      (value SS510)
      (footprint Diodes_SMD:D_SMB_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Schottky) (description "Schottky diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C199CCC))
    (comp (ref D4)
      (value SS510)
      (footprint Diodes_SMD:D_SMB_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Schottky) (description "Schottky diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C199DAE))
    (comp (ref C1)
      (value 1000uF)
      (footprint Capacitor_THT:CP_Radial_D10.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part CP_Small) (description "Polarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1A6A7D))
    (comp (ref C4)
      (value 470uF)
      (footprint Capacitor_THT:CP_Radial_D10.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part CP_Small) (description "Polarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1A7520))
    (comp (ref C2)
      (value 10u)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1AAFA9))
    (comp (ref C3)
      (value 100n)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1AF3BD))
    (comp (ref C5)
      (value 10u)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1AFB91))
    (comp (ref C6)
      (value 100n)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1B07A6))
    (comp (ref R1)
      (value 10k)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1B72F8))
    (comp (ref R2)
      (value 10k)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1BABDF))
    (comp (ref R4)
      (value 3k3)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1BB077))
    (comp (ref R3)
      (value 3k3)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1BC19C))
    (comp (ref D6)
      (value D_Schottky)
      (footprint Diodes_SMD:D_MiniMELF_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Schottky) (description "Schottky diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1CFB2A))
    (comp (ref D5)
      (value D_Schottky)
      (footprint Diodes_SMD:D_MiniMELF_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Schottky) (description "Schottky diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1D3E90))
    (comp (ref R10)
      (value 620)
      (footprint Resistors_SMD:R_2512_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C1F9EE6))
    (comp (ref R11)
      (value 0)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C234E1F))
    (comp (ref C12)
      (value 0)
      (footprint Capacitors_SMD:C_0805)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C23632F))
    (comp (ref R12)
      (value 0)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C24FD4B))
    (comp (ref C13)
      (value 0)
      (footprint Capacitors_SMD:C_0805)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C24FD51))
    (comp (ref R6)
      (value 0)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C265A68))
    (comp (ref C8)
      (value 0)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C265A6E))
    (comp (ref Q2)
      (value AO3401)
      (footprint TO_SOT_Packages_SMD:SOT-23)
      (datasheet https://www.infineon.com/dgdl/irlml6402pbf.pdf?fileId=5546d462533600a401535668d5c2263c)
      (libsource (lib Transistor_FET) (part IRLML6402) (description "-3.7A Id, -20V Vds, P-channel MOSFET, 65mOhm Rds, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C26D08A))
    (comp (ref R7)
      (value 10k)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C270B70))
    (comp (ref C7)
      (value 0)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C27E2DD))
    (comp (ref D7)
      (value 8V2)
      (footprint Diodes_SMD:D_MiniMELF_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Zener_Small_ALT) (description "Zener diode, small symbol, filled shape"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C280B09))
    (comp (ref R9)
      (value 0)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C2AA0AC))
    (comp (ref Q5)
      (value AO3401)
      (footprint TO_SOT_Packages_SMD:SOT-23)
      (datasheet https://www.infineon.com/dgdl/irlml6402pbf.pdf?fileId=5546d462533600a401535668d5c2263c)
      (libsource (lib Transistor_FET) (part IRLML6402) (description "-3.7A Id, -20V Vds, P-channel MOSFET, 65mOhm Rds, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C2DA7FA))
    (comp (ref R13)
      (value 10k)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C2DA800))
    (comp (ref C11)
      (value 0)
      (footprint Capacitors_SMD:C_0805)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C2DA813))
    (comp (ref D8)
      (value 8V2)
      (footprint Diodes_SMD:D_MiniMELF_Handsoldering)
      (datasheet ~)
      (libsource (lib Device) (part D_Zener_Small_ALT) (description "Zener diode, small symbol, filled shape"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C2DA819))
    (comp (ref R14)
      (value 0)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C2DA825))
    (comp (ref Y1)
      (value 8MHz)
      (footprint Crystals:Crystal_SMD_3225-4pin_3.2x2.5mm)
      (datasheet ~)
      (libsource (lib Device) (part Crystal_GND24_Small) (description "Four pin crystal, GND on pins 2 and 4, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C30EB37))
    (comp (ref C10)
      (value 12p)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C310CD7))
    (comp (ref C9)
      (value 12p)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C31388F))
    (comp (ref R5)
      (value 0)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C36FD60))
    (comp (ref R8)
      (value 0)
      (footprint Resistors_SMD:R_0603_HandSoldering)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C382D39))
    (comp (ref J5)
      (value SWD)
      (footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C3B6CB2))
    (comp (ref TP1)
      (value TestPoint)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector) (part TestPoint) (description "test point"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C453DE6))
    (comp (ref TP2)
      (value TestPoint)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector) (part TestPoint) (description "test point"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C45EF40))
    (comp (ref TP3)
      (value TestPoint)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector) (part TestPoint) (description "test point"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C45F33E))
    (comp (ref TP4)
      (value TestPoint)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector) (part TestPoint) (description "test point"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C45FC76))
    (comp (ref Q1)
      (value AO3400)
      (footprint Package_TO_SOT_SMD:SOT-23)
      (datasheet http://www.farnell.com/datasheets/1835997.pdf)
      (libsource (lib Transistor_FET) (part BSS83P) (description "-0.33A Id, -60V Vds, P-Channel MOSFET, SOT-23-3"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C577582))
    (comp (ref Q3)
      (value AO3400)
      (footprint Package_TO_SOT_SMD:SOT-23)
      (datasheet http://www.farnell.com/datasheets/1835997.pdf)
      (libsource (lib Transistor_FET) (part BSS83P) (description "-0.33A Id, -60V Vds, P-Channel MOSFET, SOT-23-3"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C57CF20))
    (comp (ref Q4)
      (value AO3400)
      (footprint Package_TO_SOT_SMD:SOT-23)
      (datasheet http://www.farnell.com/datasheets/1835997.pdf)
      (libsource (lib Transistor_FET) (part BSS83P) (description "-0.33A Id, -60V Vds, P-Channel MOSFET, SOT-23-3"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C57D930)))
  (libparts
    (libpart (lib Connector) (part TestPoint)
      (description "test point")
      (docs ~)
      (footprints
        (fp Pin*)
        (fp Test*))
      (fields
        (field (name Reference) TP)
        (field (name Value) TestPoint))
      (pins
        (pin (num 1) (name 1) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_01x02)
      (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x02))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_01x04)
      (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x04))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))))
    (libpart (lib Device) (part CP_Small)
      (description "Polarized capacitor, small symbol")
      (docs ~)
      (footprints
        (fp CP_*))
      (fields
        (field (name Reference) C)
        (field (name Value) CP_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part C_Small)
      (description "Unpolarized capacitor, small symbol")
      (docs ~)
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part Crystal_GND24_Small)
      (description "Four pin crystal, GND on pins 2 and 4, small symbol")
      (docs ~)
      (footprints
        (fp Crystal*))
      (fields
        (field (name Reference) Y)
        (field (name Value) Crystal_GND24_Small))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))
        (pin (num 3) (name 3) (type passive))
        (pin (num 4) (name 4) (type passive))))
    (libpart (lib Device) (part D_Schottky)
      (description "Schottky diode")
      (docs ~)
      (footprints
        (fp TO-???*)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_Schottky))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part D_Zener_Small_ALT)
      (description "Zener diode, small symbol, filled shape")
      (docs ~)
      (footprints
        (fp TO-???*)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_Zener_Small_ALT))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part R_Small)
      (description "Resistor, small symbol")
      (docs ~)
      (footprints
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib MCU_ST_STM32F0) (part STM32F030F4Px)
      (description "ARM Cortex-M0 MCU, 16KB flash, 4KB RAM, 48MHz, 2.4-3.6V, 15 GPIO, TSSOP-20")
      (docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00088500.pdf)
      (footprints
        (fp TSSOP*4.4x6.5mm*P0.65mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) STM32F030F4Px)
        (field (name Footprint) Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm))
      (pins
        (pin (num 1) (name BOOT0) (type input))
        (pin (num 2) (name PF0) (type input))
        (pin (num 3) (name PF1) (type input))
        (pin (num 4) (name NRST) (type input))
        (pin (num 5) (name VDDA) (type power_in))
        (pin (num 6) (name PA0) (type BiDi))
        (pin (num 7) (name PA1) (type BiDi))
        (pin (num 8) (name PA2) (type BiDi))
        (pin (num 9) (name PA3) (type BiDi))
        (pin (num 10) (name PA4) (type BiDi))
        (pin (num 11) (name PA5) (type BiDi))
        (pin (num 12) (name PA6) (type BiDi))
        (pin (num 13) (name PA7) (type BiDi))
        (pin (num 14) (name PB1) (type BiDi))
        (pin (num 15) (name VSS) (type power_in))
        (pin (num 16) (name VDD) (type power_in))
        (pin (num 17) (name PA9) (type BiDi))
        (pin (num 18) (name PA10) (type BiDi))
        (pin (num 19) (name PA13) (type BiDi))
        (pin (num 20) (name PA14) (type BiDi))))
    (libpart (lib Regulator_Linear) (part AP1117-15)
      (aliases
        (alias AP1117-18)
        (alias AP1117-25)
        (alias AP1117-33)
        (alias AP1117-50)
        (alias LD1117S33TR_SOT223)
        (alias LD1117S12TR_SOT223)
        (alias LD1117S18TR_SOT223)
        (alias LD1117S25TR_SOT223)
        (alias LD1117S50TR_SOT223)
        (alias NCP1117-12_SOT223)
        (alias NCP1117-1.5_SOT223)
        (alias NCP1117-1.8_SOT223)
        (alias NCP1117-2.0_SOT223)
        (alias NCP1117-2.5_SOT223)
        (alias NCP1117-2.85_SOT223)
        (alias NCP1117-3.3_SOT223)
        (alias NCP1117-5.0_SOT223)
        (alias AMS1117-1.5)
        (alias AMS1117-1.8)
        (alias AMS1117-2.5)
        (alias AMS1117-2.85)
        (alias AMS1117-3.3)
        (alias AMS1117-5.0))
      (description "1A Low Dropout regulator, positive, 1.5V fixed output, SOT-223")
      (docs http://www.diodes.com/datasheets/AP1117.pdf)
      (footprints
        (fp SOT?223*TabPin2*))
      (fields
        (field (name Reference) U)
        (field (name Value) AP1117-15)
        (field (name Footprint) Package_TO_SOT_SMD:SOT-223-3_TabPin2))
      (pins
        (pin (num 1) (name GND) (type power_in))
        (pin (num 2) (name VO) (type power_out))
        (pin (num 3) (name VI) (type power_in))))
    (libpart (lib Transistor_FET) (part TP0610T)
      (aliases
        (alias VP0610T)
        (alias BSS84)
        (alias NTR2101P)
        (alias BSS83P)
        (alias Si2319CDS)
        (alias IRLML6402))
      (description "-0.18A Id, -60V Vds, P-Channel MOSFET, SOT-23-3")
      (docs http://www.vishay.com/docs/70209/70209.pdf)
      (footprints
        (fp SOT?23*))
      (fields
        (field (name Reference) Q)
        (field (name Value) TP0610T)
        (field (name Footprint) Package_TO_SOT_SMD:SOT-23))
      (pins
        (pin (num 1) (name G) (type input))
        (pin (num 2) (name S) (type passive))
        (pin (num 3) (name D) (type passive)))))
  (libraries
    (library (logical Connector)
      (uri /home/user/ref/kicad-symbols/Connector.lib))
    (library (logical Connector_Generic)
      (uri /home/user/ref/kicad-symbols/Connector_Generic.lib))
    (library (logical Device)
      (uri /home/user/ref/kicad-symbols/Device.lib))
    (library (logical MCU_ST_STM32F0)
      (uri /home/user/ref/kicad-symbols/MCU_ST_STM32F0.lib))
    (library (logical Regulator_Linear)
      (uri /home/user/ref/kicad-symbols/Regulator_Linear.lib))
    (library (logical Transistor_FET)
      (uri /home/user/ref/kicad-symbols/Transistor_FET.lib)))
  (nets
    (net (code 1) (name "Net-(C7-Pad2)")
      (node (ref R7) (pin 1))
      (node (ref Q2) (pin 1))
      (node (ref C7) (pin 2))
      (node (ref R9) (pin 1)))
    (net (code 2) (name /CH2)
      (node (ref D7) (pin 2))
      (node (ref U2) (pin 12)))
    (net (code 3) (name "Net-(D7-Pad1)")
      (node (ref D7) (pin 1))
      (node (ref R9) (pin 2)))
    (net (code 4) (name /Q2)
      (node (ref Q2) (pin 3))
      (node (ref J1) (pin 1)))
    (net (code 5) (name /Q3)
      (node (ref J3) (pin 1))
      (node (ref Q5) (pin 3)))
    (net (code 6) (name "Net-(D8-Pad1)")
      (node (ref R14) (pin 2))
      (node (ref D8) (pin 1)))
    (net (code 7) (name "Net-(C11-Pad2)")
      (node (ref R14) (pin 1))
      (node (ref R13) (pin 1))
      (node (ref Q5) (pin 1))
      (node (ref C11) (pin 2)))
    (net (code 8) (name +12V)
      (node (ref C7) (pin 1))
      (node (ref R7) (pin 2))
      (node (ref Q2) (pin 2))
      (node (ref Q5) (pin 2))
      (node (ref U1) (pin 3))
      (node (ref D2) (pin 1))
      (node (ref D1) (pin 1))
      (node (ref C3) (pin 1))
      (node (ref R10) (pin 1))
      (node (ref C2) (pin 1))
      (node (ref C1) (pin 1))
      (node (ref C11) (pin 1))
      (node (ref R13) (pin 2)))
    (net (code 9) (name /Q0)
      (node (ref Q1) (pin 3))
      (node (ref J2) (pin 1)))
    (net (code 10) (name /Q1)
      (node (ref J4) (pin 1))
      (node (ref Q4) (pin 3)))
    (net (code 11) (name /CH1)
      (node (ref U2) (pin 13))
      (node (ref R12) (pin 2)))
    (net (code 12) (name "Net-(C13-Pad1)")
      (node (ref Q4) (pin 1))
      (node (ref R12) (pin 1))
      (node (ref C13) (pin 1)))
    (net (code 13) (name /LOAD)
      (node (ref U2) (pin 8))
      (node (ref R11) (pin 2)))
    (net (code 14) (name /CH0)
      (node (ref U2) (pin 9))
      (node (ref R6) (pin 2)))
    (net (code 15) (name "Net-(C8-Pad1)")
      (node (ref Q1) (pin 1))
      (node (ref R6) (pin 1))
      (node (ref C8) (pin 1)))
    (net (code 16) (name GND)
      (node (ref C3) (pin 2))
      (node (ref C5) (pin 2))
      (node (ref C6) (pin 2))
      (node (ref C4) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref C2) (pin 2))
      (node (ref R3) (pin 2))
      (node (ref R4) (pin 2))
      (node (ref D5) (pin 2))
      (node (ref D6) (pin 2))
      (node (ref U2) (pin 15))
      (node (ref D4) (pin 2))
      (node (ref D3) (pin 2))
      (node (ref U1) (pin 1))
      (node (ref C12) (pin 2))
      (node (ref C13) (pin 2))
      (node (ref R8) (pin 2))
      (node (ref C8) (pin 2))
      (node (ref Y1) (pin 2))
      (node (ref Y1) (pin 4))
      (node (ref C10) (pin 2))
      (node (ref J5) (pin 3))
      (node (ref Q4) (pin 2))
      (node (ref Q3) (pin 2))
      (node (ref C9) (pin 2))
      (node (ref Q1) (pin 2)))
    (net (code 17) (name /SWDIO)
      (node (ref U2) (pin 19))
      (node (ref J5) (pin 4)))
    (net (code 18) (name /SWCLK)
      (node (ref U2) (pin 20))
      (node (ref J5) (pin 2)))
    (net (code 19) (name +3V3)
      (node (ref J5) (pin 1))
      (node (ref R5) (pin 2))
      (node (ref C4) (pin 1))
      (node (ref C5) (pin 1))
      (node (ref C6) (pin 1))
      (node (ref U1) (pin 2))
      (node (ref U2) (pin 5))
      (node (ref U2) (pin 16)))
    (net (code 20) (name "Net-(R8-Pad1)")
      (node (ref R8) (pin 1))
      (node (ref U2) (pin 1)))
    (net (code 21) (name "Net-(TP1-Pad1)")
      (node (ref U2) (pin 11))
      (node (ref TP1) (pin 1)))
    (net (code 22) (name "Net-(TP2-Pad1)")
      (node (ref U2) (pin 17))
      (node (ref TP2) (pin 1)))
    (net (code 23) (name "Net-(TP3-Pad1)")
      (node (ref U2) (pin 18))
      (node (ref TP3) (pin 1)))
    (net (code 24) (name "Net-(TP4-Pad1)")
      (node (ref U2) (pin 14))
      (node (ref TP4) (pin 1)))
    (net (code 25) (name "Net-(C9-Pad1)")
      (node (ref C9) (pin 1))
      (node (ref U2) (pin 3))
      (node (ref Y1) (pin 1)))
    (net (code 26) (name "Net-(C10-Pad1)")
      (node (ref U2) (pin 2))
      (node (ref Y1) (pin 3))
      (node (ref C10) (pin 1)))
    (net (code 27) (name /CH3)
      (node (ref U2) (pin 10))
      (node (ref D8) (pin 2)))
    (net (code 28) (name "Net-(R5-Pad1)")
      (node (ref R5) (pin 1))
      (node (ref U2) (pin 4)))
    (net (code 29) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref D3) (pin 1))
      (node (ref J3) (pin 2))
      (node (ref J1) (pin 2))
      (node (ref R1) (pin 1)))
    (net (code 30) (name /Vmeas_B)
      (node (ref R4) (pin 1))
      (node (ref D6) (pin 1))
      (node (ref R2) (pin 2))
      (node (ref U2) (pin 7)))
    (net (code 31) (name /Vmeas_A)
      (node (ref R1) (pin 2))
      (node (ref R3) (pin 1))
      (node (ref U2) (pin 6))
      (node (ref D5) (pin 1)))
    (net (code 32) (name "Net-(D2-Pad2)")
      (node (ref R2) (pin 1))
      (node (ref J4) (pin 2))
      (node (ref D2) (pin 2))
      (node (ref D4) (pin 1))
      (node (ref J2) (pin 2)))
    (net (code 33) (name "Net-(Q3-Pad3)")
      (node (ref Q3) (pin 3))
      (node (ref R10) (pin 2)))
    (net (code 34) (name "Net-(C12-Pad1)")
      (node (ref R11) (pin 1))
      (node (ref C12) (pin 1))
      (node (ref Q3) (pin 1)))))