Procházet zdrojové kódy

Added test points, replaced SW1 with R11

More test points will be needed for automated testing, so I've added the
first two I know of.

With firmware version 1.2.0+, there's not much reason to install SW1
anymore.  This commit replaces it with R11, an unpopulated resistor
footprint that does the same thing as bridging the two pins of SW1 used
to do, just in case an upgrade make the `boot` command stop working.
Clara Hobbs před 6 roky
rodič
revize
59cc1e1d18

+ 69
- 72
pd-buddy-sink/microcontroller.sch Zobrazit soubor

@@ -115,17 +115,6 @@ D+
115 115
 Text HLabel 10000 4000 2    60   BiDi ~ 0
116 116
 D-
117 117
 $Comp
118
-L SW_SPDT SW1
119
-U 1 1 589013E6
120
-P 1100 1350
121
-F 0 "SW1" H 1100 1520 50  0000 C CNN
122
-F 1 "Boot" H 1100 1150 50  0000 C CNN
123
-F 2 "Buttons_Switches_SMD:SW_SPDT_PCM12" H 1100 1350 50  0001 C CNN
124
-F 3 "" H 1100 1350 50  0000 C CNN
125
-	1    1100 1350
126
-	0    -1   -1   0   
127
-$EndComp
128
-$Comp
129 118
 L R R2
130 119
 U 1 1 5890164A
131 120
 P 1100 2050
@@ -139,30 +128,19 @@ $EndComp
139 128
 $Comp
140 129
 L +3.3V #PWR08
141 130
 U 1 1 5890170D
142
-P 1200 1150
143
-F 0 "#PWR08" H 1200 1000 50  0001 C CNN
144
-F 1 "+3.3V" H 1200 1290 50  0000 C CNN
145
-F 2 "" H 1200 1150 50  0000 C CNN
146
-F 3 "" H 1200 1150 50  0000 C CNN
147
-	1    1200 1150
131
+P 1100 1300
132
+F 0 "#PWR08" H 1100 1150 50  0001 C CNN
133
+F 1 "+3.3V" H 1100 1440 50  0000 C CNN
134
+F 2 "" H 1100 1300 50  0000 C CNN
135
+F 3 "" H 1100 1300 50  0000 C CNN
136
+	1    1100 1300
148 137
 	1    0    0    -1  
149 138
 $EndComp
150 139
 $Comp
151 140
 L GND #PWR09
152
-U 1 1 58901727
153
-P 700 1150
154
-F 0 "#PWR09" H 700 900 50  0001 C CNN
155
-F 1 "GND" H 700 1000 50  0000 C CNN
156
-F 2 "" H 700 1150 50  0000 C CNN
157
-F 3 "" H 700 1150 50  0000 C CNN
158
-	1    700  1150
159
-	1    0    0    -1  
160
-$EndComp
161
-$Comp
162
-L GND #PWR010
163 141
 U 1 1 58901B1C
164 142
 P 5700 5000
165
-F 0 "#PWR010" H 5700 4750 50  0001 C CNN
143
+F 0 "#PWR09" H 5700 4750 50  0001 C CNN
166 144
 F 1 "GND" H 5700 4850 50  0000 C CNN
167 145
 F 2 "" H 5700 5000 50  0000 C CNN
168 146
 F 3 "" H 5700 5000 50  0000 C CNN
@@ -170,10 +148,10 @@ F 3 "" H 5700 5000 50  0000 C CNN
170 148
 	1    0    0    -1  
171 149
 $EndComp
172 150
 $Comp
173
-L +3.3V #PWR011
151
+L +3.3V #PWR010
174 152
 U 1 1 5891514A
175 153
 P 2000 2000
176
-F 0 "#PWR011" H 2000 1850 50  0001 C CNN
154
+F 0 "#PWR010" H 2000 1850 50  0001 C CNN
177 155
 F 1 "+3.3V" H 2000 2140 50  0000 C CNN
178 156
 F 2 "" H 2000 2000 50  0000 C CNN
179 157
 F 3 "" H 2000 2000 50  0000 C CNN
@@ -181,10 +159,10 @@ F 3 "" H 2000 2000 50  0000 C CNN
181 159
 	1    0    0    -1  
182 160
 $EndComp
183 161
 $Comp
184
-L +3.3V #PWR012
162
+L +3.3V #PWR011
185 163
 U 1 1 58915182
186 164
 P 5700 900
187
-F 0 "#PWR012" H 5700 750 50  0001 C CNN
165
+F 0 "#PWR011" H 5700 750 50  0001 C CNN
188 166
 F 1 "+3.3V" H 5700 1040 50  0000 C CNN
189 167
 F 2 "" H 5700 900 50  0000 C CNN
190 168
 F 3 "" H 5700 900 50  0000 C CNN
@@ -203,10 +181,10 @@ F 3 "" H 1550 1600 50  0000 C CNN
203 181
 	0    -1   -1   0   
204 182
 $EndComp
205 183
 $Comp
206
-L GND #PWR013
184
+L GND #PWR012
207 185
 U 1 1 58915422
208 186
 P 1300 1600
209
-F 0 "#PWR013" H 1300 1350 50  0001 C CNN
187
+F 0 "#PWR012" H 1300 1350 50  0001 C CNN
210 188
 F 1 "GND" H 1300 1450 50  0000 C CNN
211 189
 F 2 "" H 1300 1600 50  0000 C CNN
212 190
 F 3 "" H 1300 1600 50  0000 C CNN
@@ -214,10 +192,10 @@ F 3 "" H 1300 1600 50  0000 C CNN
214 192
 	1    0    0    -1  
215 193
 $EndComp
216 194
 $Comp
217
-L +3.3V #PWR014
195
+L +3.3V #PWR013
218 196
 U 1 1 58916B17
219 197
 P 1600 6000
220
-F 0 "#PWR014" H 1600 5850 50  0001 C CNN
198
+F 0 "#PWR013" H 1600 5850 50  0001 C CNN
221 199
 F 1 "+3.3V" H 1600 6140 50  0000 C CNN
222 200
 F 2 "" H 1600 6000 50  0000 C CNN
223 201
 F 3 "" H 1600 6000 50  0000 C CNN
@@ -225,10 +203,10 @@ F 3 "" H 1600 6000 50  0000 C CNN
225 203
 	1    0    0    -1  
226 204
 $EndComp
227 205
 $Comp
228
-L GND #PWR015
206
+L GND #PWR014
229 207
 U 1 1 58916B2E
230 208
 P 1600 6700
231
-F 0 "#PWR015" H 1600 6450 50  0001 C CNN
209
+F 0 "#PWR014" H 1600 6450 50  0001 C CNN
232 210
 F 1 "GND" H 1600 6550 50  0000 C CNN
233 211
 F 2 "" H 1600 6700 50  0000 C CNN
234 212
 F 3 "" H 1600 6700 50  0000 C CNN
@@ -341,10 +319,10 @@ F 3 "" H 1100 3650 50  0000 C CNN
341 319
 	-1   0    0    1   
342 320
 $EndComp
343 321
 $Comp
344
-L +3.3V #PWR016
322
+L +3.3V #PWR015
345 323
 U 1 1 58924A22
346 324
 P 1100 3300
347
-F 0 "#PWR016" H 1100 3150 50  0001 C CNN
325
+F 0 "#PWR015" H 1100 3150 50  0001 C CNN
348 326
 F 1 "+3.3V" H 1100 3440 50  0000 C CNN
349 327
 F 2 "" H 1100 3300 50  0000 C CNN
350 328
 F 3 "" H 1100 3300 50  0000 C CNN
@@ -365,10 +343,10 @@ F 3 "" H 6800 5800 50  0000 C CNN
365 343
 	0    1    1    0   
366 344
 $EndComp
367 345
 $Comp
368
-L +3.3V #PWR017
346
+L +3.3V #PWR016
369 347
 U 1 1 58928192
370 348
 P 6800 5300
371
-F 0 "#PWR017" H 6800 5150 50  0001 C CNN
349
+F 0 "#PWR016" H 6800 5150 50  0001 C CNN
372 350
 F 1 "+3.3V" H 6800 5440 50  0000 C CNN
373 351
 F 2 "" H 6800 5300 50  0000 C CNN
374 352
 F 3 "" H 6800 5300 50  0000 C CNN
@@ -398,10 +376,10 @@ F 3 "" H 6800 6150 50  0000 C CNN
398 376
 	1    0    0    -1  
399 377
 $EndComp
400 378
 $Comp
401
-L GND #PWR018
379
+L GND #PWR017
402 380
 U 1 1 5892882F
403 381
 P 6800 6500
404
-F 0 "#PWR018" H 6800 6250 50  0001 C CNN
382
+F 0 "#PWR017" H 6800 6250 50  0001 C CNN
405 383
 F 1 "GND" H 6800 6350 50  0000 C CNN
406 384
 F 2 "" H 6800 6500 50  0000 C CNN
407 385
 F 3 "" H 6800 6500 50  0000 C CNN
@@ -443,21 +421,10 @@ NoConn ~ 9700 3600
443 421
 NoConn ~ 9700 3700
444 422
 NoConn ~ 9700 3800
445 423
 $Comp
446
-L CONN_02X05 P1
447
-U 1 1 5892D0FE
448
-P 4850 6200
449
-F 0 "P1" H 4850 6500 50  0000 C CNN
450
-F 1 "SWD" H 4850 5900 50  0000 C CNN
451
-F 2 "Pin_Headers:Pin_Header_Straight_2x05_Pitch1.27mm_SMD" H 4850 5000 50  0001 C CNN
452
-F 3 "" H 4850 5000 50  0000 C CNN
453
-	1    4850 6200
454
-	1    0    0    -1  
455
-$EndComp
456
-$Comp
457
-L GND #PWR019
424
+L GND #PWR018
458 425
 U 1 1 5892D636
459 426
 P 4500 6500
460
-F 0 "#PWR019" H 4500 6250 50  0001 C CNN
427
+F 0 "#PWR018" H 4500 6250 50  0001 C CNN
461 428
 F 1 "GND" H 4500 6350 50  0000 C CNN
462 429
 F 2 "" H 4500 6500 50  0000 C CNN
463 430
 F 3 "" H 4500 6500 50  0000 C CNN
@@ -465,10 +432,10 @@ F 3 "" H 4500 6500 50  0000 C CNN
465 432
 	1    0    0    -1  
466 433
 $EndComp
467 434
 $Comp
468
-L +3.3V #PWR020
435
+L +3.3V #PWR019
469 436
 U 1 1 5892D6D6
470 437
 P 4500 5900
471
-F 0 "#PWR020" H 4500 5750 50  0001 C CNN
438
+F 0 "#PWR019" H 4500 5750 50  0001 C CNN
472 439
 F 1 "+3.3V" H 4500 6040 50  0000 C CNN
473 440
 F 2 "" H 4500 5900 50  0000 C CNN
474 441
 F 3 "" H 4500 5900 50  0000 C CNN
@@ -495,15 +462,9 @@ Wire Wire Line
495 462
 Wire Wire Line
496 463
 	9700 4100 10000 4100
497 464
 Wire Wire Line
498
-	1100 1550 1100 1900
465
+	1100 1700 1100 1900
499 466
 Wire Wire Line
500 467
 	1100 1800 2100 1800
501
-Wire Wire Line
502
-	700  1150 700  1050
503
-Wire Wire Line
504
-	700  1050 1000 1050
505
-Wire Wire Line
506
-	1000 1050 1000 1150
507 468
 Wire Wire Line
508 469
 	6000 4900 6000 4800
509 470
 Wire Wire Line
@@ -608,7 +569,7 @@ Wire Wire Line
608 569
 Wire Wire Line
609 570
 	6800 5800 6800 6000
610 571
 Wire Wire Line
611
-	6700 5900 6800 5900
572
+	6700 5900 6900 5900
612 573
 Connection ~ 6800 5900
613 574
 Wire Wire Line
614 575
 	6800 6300 6800 6500
@@ -673,10 +634,10 @@ Wire Wire Line
673 634
 Wire Wire Line
674 635
 	10000 4400 10000 4500
675 636
 $Comp
676
-L GND #PWR021
637
+L GND #PWR020
677 638
 U 1 1 589313D4
678 639
 P 10000 5300
679
-F 0 "#PWR021" H 10000 5050 50  0001 C CNN
640
+F 0 "#PWR020" H 10000 5050 50  0001 C CNN
680 641
 F 1 "GND" H 10000 5150 50  0000 C CNN
681 642
 F 2 "" H 10000 5300 50  0000 C CNN
682 643
 F 3 "" H 10000 5300 50  0000 C CNN
@@ -699,10 +660,10 @@ NoConn ~ 2100 3500
699 660
 NoConn ~ 2100 3400
700 661
 Connection ~ 1100 1800
701 662
 $Comp
702
-L GND #PWR022
663
+L GND #PWR021
703 664
 U 1 1 58B996F4
704 665
 P 1100 2300
705
-F 0 "#PWR022" H 1100 2050 50  0001 C CNN
666
+F 0 "#PWR021" H 1100 2050 50  0001 C CNN
706 667
 F 1 "GND" H 1100 2150 50  0000 C CNN
707 668
 F 2 "" H 1100 2300 50  0000 C CNN
708 669
 F 3 "" H 1100 2300 50  0000 C CNN
@@ -716,4 +677,40 @@ BOOT
716 677
 Wire Wire Line
717 678
 	6100 4900 6100 4800
718 679
 Connection ~ 6000 4900
680
+$Comp
681
+L R R11
682
+U 1 1 5A935F18
683
+P 1100 1550
684
+F 0 "R11" V 1180 1550 50  0000 C CNN
685
+F 1 "0Ω" V 1100 1550 50  0000 C CNN
686
+F 2 "Resistors_SMD:R_0402" V 1030 1550 50  0001 C CNN
687
+F 3 "" H 1100 1550 50  0001 C CNN
688
+F 4 "DNP" V 1000 1550 60  0000 C CNN "Note"
689
+	1    1100 1550
690
+	-1   0    0    -1  
691
+$EndComp
692
+Wire Wire Line
693
+	1100 1300 1100 1400
694
+$Comp
695
+L Test_Point TP3
696
+U 1 1 5A9367B6
697
+P 6900 5900
698
+F 0 "TP3" H 6900 6170 50  0000 C CNN
699
+F 1 "Setup" H 6900 6100 50  0000 C CNN
700
+F 2 "Measurement_Points:Measurement_Point_Round-SMD-Pad_Small" H 7100 5900 50  0001 C CNN
701
+F 3 "" H 7100 5900 50  0001 C CNN
702
+	1    6900 5900
703
+	0    1    1    0   
704
+$EndComp
705
+$Comp
706
+L Conn_02x05_Odd_Even P1
707
+U 1 1 5A9380E9
708
+P 4800 6200
709
+F 0 "P1" H 4850 6500 50  0000 C CNN
710
+F 1 "SWD" H 4850 5900 50  0000 C CNN
711
+F 2 "Pin_Headers:Pin_Header_Straight_2x05_Pitch1.27mm_SMD" H 4800 6200 50  0001 C CNN
712
+F 3 "" H 4800 6200 50  0001 C CNN
713
+	1    4800 6200
714
+	1    0    0    -1  
715
+$EndComp
719 716
 $EndSCHEMATC

+ 45
- 34
pd-buddy-sink/output.sch Zobrazit soubor

@@ -99,26 +99,15 @@ Comment2 ""
99 99
 Comment3 ""
100 100
 Comment4 ""
101 101
 $EndDescr
102
-$Comp
103
-L Screw_Terminal_1x02 J1
104
-U 1 1 588FA688
105
-P 7000 4050
106
-F 0 "J1" H 7000 4300 50  0000 C TNN
107
-F 1 "5-20 V⎓" V 6850 4050 50  0000 C TNN
108
-F 2 "Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MPT-2.54mm_2pol" H 7000 3825 50  0001 C CNN
109
-F 3 "" H 6975 4050 50  0001 C CNN
110
-	1    7000 4050
111
-	-1   0    0    -1  
112
-$EndComp
113 102
 Text HLabel 4650 4050 0    60   Input ~ 0
114 103
 OUT_CTRL
115 104
 Wire Wire Line
116 105
 	5150 4050 5250 4050
117 106
 $Comp
118
-L GND #PWR023
107
+L GND #PWR022
119 108
 U 1 1 58925B13
120 109
 P 5550 4550
121
-F 0 "#PWR023" H 5550 4300 50  0001 C CNN
110
+F 0 "#PWR022" H 5550 4300 50  0001 C CNN
122 111
 F 1 "GND" H 5550 4400 50  0000 C CNN
123 112
 F 2 "" H 5550 4550 50  0000 C CNN
124 113
 F 3 "" H 5550 4550 50  0000 C CNN
@@ -128,10 +117,10 @@ $EndComp
128 117
 Wire Wire Line
129 118
 	5550 4550 5550 4250
130 119
 $Comp
131
-L GND #PWR024
120
+L GND #PWR023
132 121
 U 1 1 58925CFD
133 122
 P 6500 4550
134
-F 0 "#PWR024" H 6500 4300 50  0001 C CNN
123
+F 0 "#PWR023" H 6500 4300 50  0001 C CNN
135 124
 F 1 "GND" H 6500 4400 50  0000 C CNN
136 125
 F 2 "" H 6500 4550 50  0000 C CNN
137 126
 F 3 "" H 6500 4550 50  0000 C CNN
@@ -143,28 +132,28 @@ Wire Wire Line
143 132
 $Comp
144 133
 L D_Schottky D1
145 134
 U 1 1 58925D4E
146
-P 6500 4050
147
-F 0 "D1" H 6500 4150 50  0000 C CNN
148
-F 1 "B140" H 6500 3950 50  0000 C CNN
149
-F 2 "Diodes_SMD:D_SMA" H 6500 4050 50  0001 C CNN
150
-F 3 "https://www.diodes.com/assets/Datasheets/ds13002.pdf" H 6500 4050 50  0001 C CNN
151
-	1    6500 4050
135
+P 6500 4100
136
+F 0 "D1" H 6500 4200 50  0000 C CNN
137
+F 1 "B140" H 6500 4000 50  0000 C CNN
138
+F 2 "Diodes_SMD:D_SMA" H 6500 4100 50  0001 C CNN
139
+F 3 "https://www.diodes.com/assets/Datasheets/ds13002.pdf" H 6500 4100 50  0001 C CNN
140
+	1    6500 4100
152 141
 	0    1    1    0   
153 142
 $EndComp
154 143
 Wire Wire Line
155
-	6500 3750 6500 3900
144
+	6500 3750 6500 3950
156 145
 Wire Wire Line
157
-	6500 4200 6500 4550
146
+	6500 4250 6500 4550
158 147
 Wire Wire Line
159
-	6500 3850 6800 3850
148
+	6400 3850 6800 3850
160 149
 Wire Wire Line
161
-	6800 3850 6800 3950
150
+	6800 3850 6800 4050
162 151
 Connection ~ 6500 3850
163 152
 Wire Wire Line
164
-	6800 4150 6800 4250
153
+	6800 4150 6800 4350
165 154
 Wire Wire Line
166
-	6800 4250 6500 4250
167
-Connection ~ 6500 4250
155
+	6800 4350 6500 4350
156
+Connection ~ 6500 4350
168 157
 Wire Wire Line
169 158
 	5550 3450 5550 3850
170 159
 Wire Wire Line
@@ -211,10 +200,10 @@ Wire Wire Line
211 200
 	4750 4150 4750 4050
212 201
 Connection ~ 4750 4050
213 202
 $Comp
214
-L GND #PWR025
203
+L GND #PWR024
215 204
 U 1 1 58926FD3
216 205
 P 4750 4550
217
-F 0 "#PWR025" H 4750 4300 50  0001 C CNN
206
+F 0 "#PWR024" H 4750 4300 50  0001 C CNN
218 207
 F 1 "GND" H 4750 4400 50  0000 C CNN
219 208
 F 2 "" H 4750 4550 50  0000 C CNN
220 209
 F 3 "" H 4750 4550 50  0000 C CNN
@@ -226,10 +215,10 @@ Wire Wire Line
226 215
 Text Label 6500 3850 0    60   ~ 0
227 216
 OUT
228 217
 $Comp
229
-L VBUS #PWR026
218
+L VBUS #PWR025
230 219
 U 1 1 592B5EAB
231 220
 P 5550 3050
232
-F 0 "#PWR026" H 5550 2900 50  0001 C CNN
221
+F 0 "#PWR025" H 5550 2900 50  0001 C CNN
233 222
 F 1 "VBUS" H 5550 3200 50  0000 C CNN
234 223
 F 2 "" H 5550 3050 50  0001 C CNN
235 224
 F 3 "" H 5550 3050 50  0001 C CNN
@@ -237,10 +226,10 @@ F 3 "" H 5550 3050 50  0001 C CNN
237 226
 	1    0    0    -1  
238 227
 $EndComp
239 228
 $Comp
240
-L VBUS #PWR027
229
+L VBUS #PWR026
241 230
 U 1 1 592B5EB8
242 231
 P 6500 3050
243
-F 0 "#PWR027" H 6500 2900 50  0001 C CNN
232
+F 0 "#PWR026" H 6500 2900 50  0001 C CNN
244 233
 F 1 "VBUS" H 6500 3200 50  0000 C CNN
245 234
 F 2 "" H 6500 3050 50  0001 C CNN
246 235
 F 3 "" H 6500 3050 50  0001 C CNN
@@ -269,4 +258,26 @@ F 3 "https://www.diodes.com/assets/Datasheets/DMP3017SFG.pdf" H 6600 3600 50  00
269 258
 	1    6400 3550
270 259
 	1    0    0    1   
271 260
 $EndComp
261
+$Comp
262
+L Test_Point TP4
263
+U 1 1 5A937B77
264
+P 6400 3850
265
+F 0 "TP4" H 6400 4120 50  0000 C CNN
266
+F 1 "Output" H 6400 4050 50  0000 C CNN
267
+F 2 "Measurement_Points:Measurement_Point_Round-SMD-Pad_Small" H 6600 3850 50  0001 C CNN
268
+F 3 "" H 6600 3850 50  0001 C CNN
269
+	1    6400 3850
270
+	0    -1   -1   0   
271
+$EndComp
272
+$Comp
273
+L Screw_Terminal_01x02 J1
274
+U 1 1 5A938FC2
275
+P 7000 4050
276
+F 0 "J1" H 7000 4150 50  0000 C CNN
277
+F 1 "5-20 V⎓" H 7000 3850 50  0000 C CNN
278
+F 2 "Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MPT-2.54mm_2pol" H 7000 4050 50  0001 C CNN
279
+F 3 "" H 7000 4050 50  0001 C CNN
280
+	1    7000 4050
281
+	1    0    0    -1  
282
+$EndComp
272 283
 $EndSCHEMATC

+ 56
- 69
pd-buddy-sink/pd-buddy-sink-cache.lib Zobrazit soubor

@@ -77,42 +77,43 @@ X ~ 2 0 -150 110 U 50 50 1 1 P
77 77
 ENDDRAW
78 78
 ENDDEF
79 79
 #
80
-# CONN_02X05
80
+# Conn_02x05_Odd_Even
81 81
 #
82
-DEF CONN_02X05 J 0 1 Y N 1 F N
83
-F0 "J" 0 300 50 H V C CNN
84
-F1 "CONN_02X05" 0 -300 50 H V C CNN
85
-F2 "" 0 -1200 50 H I C CNN
86
-F3 "" 0 -1200 50 H I C CNN
82
+DEF Conn_02x05_Odd_Even J 0 40 Y N 1 F N
83
+F0 "J" 50 300 50 H V C CNN
84
+F1 "Conn_02x05_Odd_Even" 50 -300 50 H V C CNN
85
+F2 "" 0 0 50 H I C CNN
86
+F3 "" 0 0 50 H I C CNN
87 87
 $FPLIST
88
+ Connector*:*2x??x*mm*
89
+ Connector*:*2x???Pitch*
88 90
  Pin_Header_Straight_2X*
89 91
  Pin_Header_Angled_2X*
90 92
  Socket_Strip_Straight_2X*
91 93
  Socket_Strip_Angled_2X*
92
- IDC_Header_Straight_*
93 94
 $ENDFPLIST
94 95
 DRAW
95
-S -100 -195 -50 -205 0 1 0 N
96
-S -100 -95 -50 -105 0 1 0 N
97
-S -100 5 -50 -5 0 1 0 N
98
-S -100 105 -50 95 0 1 0 N
99
-S -100 205 -50 195 0 1 0 N
100
-S -100 250 100 -250 0 1 0 N
101
-S 50 -195 100 -205 0 1 0 N
102
-S 50 -95 100 -105 0 1 0 N
103
-S 50 5 100 -5 0 1 0 N
104
-S 50 105 100 95 0 1 0 N
105
-S 50 205 100 195 0 1 0 N
106
-X P1 1 -250 200 150 R 50 50 1 1 P
107
-X P2 2 250 200 150 L 50 50 1 1 P
108
-X P3 3 -250 100 150 R 50 50 1 1 P
109
-X P4 4 250 100 150 L 50 50 1 1 P
110
-X P5 5 -250 0 150 R 50 50 1 1 P
111
-X P6 6 250 0 150 L 50 50 1 1 P
112
-X P7 7 -250 -100 150 R 50 50 1 1 P
113
-X P8 8 250 -100 150 L 50 50 1 1 P
114
-X P9 9 -250 -200 150 R 50 50 1 1 P
115
-X P10 10 250 -200 150 L 50 50 1 1 P
96
+S -50 -195 0 -205 1 1 6 N
97
+S -50 -95 0 -105 1 1 6 N
98
+S -50 5 0 -5 1 1 6 N
99
+S -50 105 0 95 1 1 6 N
100
+S -50 205 0 195 1 1 6 N
101
+S -50 250 150 -250 1 1 10 f
102
+S 150 -195 100 -205 1 1 6 N
103
+S 150 -95 100 -105 1 1 6 N
104
+S 150 5 100 -5 1 1 6 N
105
+S 150 105 100 95 1 1 6 N
106
+S 150 205 100 195 1 1 6 N
107
+X Pin_1 1 -200 200 150 R 50 50 1 1 P
108
+X Pin_2 2 300 200 150 L 50 50 1 1 P
109
+X Pin_3 3 -200 100 150 R 50 50 1 1 P
110
+X Pin_4 4 300 100 150 L 50 50 1 1 P
111
+X Pin_5 5 -200 0 150 R 50 50 1 1 P
112
+X Pin_6 6 300 0 150 L 50 50 1 1 P
113
+X Pin_7 7 -200 -100 150 R 50 50 1 1 P
114
+X Pin_8 8 300 -100 150 L 50 50 1 1 P
115
+X Pin_9 9 -200 -200 150 R 50 50 1 1 P
116
+X Pin_10 10 300 -200 150 L 50 50 1 1 P
116 117
 ENDDRAW
117 118
 ENDDEF
118 119
 #
@@ -391,58 +392,44 @@ X 2 2 200 0 100 L 50 50 0 1 P
391 392
 ENDDRAW
392 393
 ENDDEF
393 394
 #
394
-# SW_SPDT
395
+# Screw_Terminal_01x02
395 396
 #
396
-DEF SW_SPDT SW 0 0 Y N 1 F N
397
-F0 "SW" 0 170 50 H V C CNN
398
-F1 "SW_SPDT" 0 -200 50 H V C CNN
397
+DEF Screw_Terminal_01x02 J 0 40 Y N 1 F N
398
+F0 "J" 0 100 50 H V C CNN
399
+F1 "Screw_Terminal_01x02" 0 -200 50 H V C CNN
399 400
 F2 "" 0 0 50 H I C CNN
400 401
 F3 "" 0 0 50 H I C CNN
401
-DRAW
402
-C -80 0 20 0 0 0 N
403
-C 80 -100 20 0 0 0 N
404
-C 80 100 20 0 1 0 N
405
-P 2 0 1 0 -60 10 65 90 N
406
-X A 1 200 100 100 L 50 50 1 1 P
407
-X B 2 -200 0 100 R 50 50 1 1 P
408
-X C 3 200 -100 100 L 50 50 1 1 P
409
-ENDDRAW
410
-ENDDEF
411
-#
412
-# Screw_Terminal_1x02
413
-#
414
-DEF Screw_Terminal_1x02 J 0 30 Y N 1 F N
415
-F0 "J" 0 250 50 H V C TNN
416
-F1 "Screw_Terminal_1x02" -150 0 50 V V C TNN
417
-F2 "" 0 -225 50 H I C CNN
418
-F3 "" -25 0 50 H I C CNN
419 402
 $FPLIST
420
- bornier2
421
- TerminalBlock*2pol
403
+ Connector*Terminal*Block*:*
404
+ TerminalBlock*
422 405
 $ENDFPLIST
423 406
 DRAW
424
-C 25 -100 50 0 1 10 N
425
-C 25 100 50 0 1 10 N
426
-S -50 175 100 -175 0 1 10 f
427
-P 2 0 1 10 -15 -75 50 -140 N
428
-P 2 0 1 10 0 140 65 75 N
429
-P 2 0 1 10 50 60 -15 125 N
430
-P 2 0 1 10 65 -125 0 -60 N
431
-X ~ 1 200 100 100 L 50 50 1 1 P
432
-X ~ 2 200 -100 100 L 50 50 1 1 P
407
+C 0 -100 25 1 1 6 N
408
+C 0 0 25 1 1 6 N
409
+S -50 50 50 -150 1 1 10 f
410
+P 2 1 1 6 -21 -87 13 -120 N
411
+P 2 1 1 6 -21 13 13 -20 N
412
+P 2 1 1 6 -14 -80 20 -113 N
413
+P 2 1 1 6 -14 20 20 -13 N
414
+X Pin_1 1 -200 0 150 R 50 50 1 1 P
415
+X Pin_2 2 -200 -100 150 R 50 50 1 1 P
433 416
 ENDDRAW
434 417
 ENDDEF
435 418
 #
436
-# TEST
419
+# Test_Point
437 420
 #
438
-DEF TEST TP 0 40 N N 1 F N
439
-F0 "TP" 0 300 50 H V C BNN
440
-F1 "TEST" 0 250 50 H V C CNN
441
-F2 "" 0 0 50 H I C CNN
442
-F3 "" 0 0 50 H I C CNN
421
+DEF Test_Point TP 0 30 N N 1 F N
422
+F0 "TP" 0 270 50 H V C CNN
423
+F1 "Test_Point" 0 200 50 H V C CNN
424
+F2 "" 200 0 50 H I C CNN
425
+F3 "" 200 0 50 H I C CNN
426
+$FPLIST
427
+ Pin*
428
+ Test*
429
+$ENDFPLIST
443 430
 DRAW
444
-P 6 0 1 0 0 200 -50 150 0 100 50 150 0 200 0 200 N
445
-X ~ 1 0 0 100 U 50 50 1 1 P
431
+C 0 130 30 0 1 0 N
432
+X 1 1 0 0 100 U 50 50 1 1 P
446 433
 ENDDRAW
447 434
 ENDDEF
448 435
 #

+ 642
- 705
pd-buddy-sink/pd-buddy-sink.kicad_pcb
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 14
- 14
pd-buddy-sink/pd_phy.sch Zobrazit soubor

@@ -115,10 +115,10 @@ F 3 "https://www.onsemi.com/pub/Collateral/MM3Z2V4T1-D.PDF" H 5700 3950 50  0001
115 115
 	0    1    1    0   
116 116
 $EndComp
117 117
 $Comp
118
-L GND #PWR028
118
+L GND #PWR027
119 119
 U 1 1 588FB494
120 120
 P 6000 4100
121
-F 0 "#PWR028" H 6000 3850 50  0001 C CNN
121
+F 0 "#PWR027" H 6000 3850 50  0001 C CNN
122 122
 F 1 "GND" H 6000 3950 50  0000 C CNN
123 123
 F 2 "" H 6000 4100 50  0000 C CNN
124 124
 F 3 "" H 6000 4100 50  0000 C CNN
@@ -126,10 +126,10 @@ F 3 "" H 6000 4100 50  0000 C CNN
126 126
 	1    0    0    -1  
127 127
 $EndComp
128 128
 $Comp
129
-L GND #PWR029
129
+L GND #PWR028
130 130
 U 1 1 588FB4C0
131 131
 P 5700 4100
132
-F 0 "#PWR029" H 5700 3850 50  0001 C CNN
132
+F 0 "#PWR028" H 5700 3850 50  0001 C CNN
133 133
 F 1 "GND" H 5700 3950 50  0000 C CNN
134 134
 F 2 "" H 5700 4100 50  0000 C CNN
135 135
 F 3 "" H 5700 4100 50  0000 C CNN
@@ -154,10 +154,10 @@ SCL
154 154
 Text HLabel 3500 3700 0    60   Output ~ 0
155 155
 INT_N
156 156
 $Comp
157
-L +3.3V #PWR030
157
+L +3.3V #PWR029
158 158
 U 1 1 5892A15C
159 159
 P 6800 3200
160
-F 0 "#PWR030" H 6800 3050 50  0001 C CNN
160
+F 0 "#PWR029" H 6800 3050 50  0001 C CNN
161 161
 F 1 "+3.3V" H 6800 3340 50  0000 C CNN
162 162
 F 2 "" H 6800 3200 50  0000 C CNN
163 163
 F 3 "" H 6800 3200 50  0000 C CNN
@@ -165,10 +165,10 @@ F 3 "" H 6800 3200 50  0000 C CNN
165 165
 	1    0    0    -1  
166 166
 $EndComp
167 167
 $Comp
168
-L GND #PWR031
168
+L GND #PWR030
169 169
 U 1 1 5892A162
170 170
 P 6800 3900
171
-F 0 "#PWR031" H 6800 3650 50  0001 C CNN
171
+F 0 "#PWR030" H 6800 3650 50  0001 C CNN
172 172
 F 1 "GND" H 6800 3750 50  0000 C CNN
173 173
 F 2 "" H 6800 3900 50  0000 C CNN
174 174
 F 3 "" H 6800 3900 50  0000 C CNN
@@ -211,10 +211,10 @@ $EndComp
211 211
 NoConn ~ 4500 3200
212 212
 NoConn ~ 4600 3200
213 213
 $Comp
214
-L +3.3V #PWR032
214
+L +3.3V #PWR031
215 215
 U 1 1 590DF433
216 216
 P 4300 3000
217
-F 0 "#PWR032" H 4300 2850 50  0001 C CNN
217
+F 0 "#PWR031" H 4300 2850 50  0001 C CNN
218 218
 F 1 "+3.3V" H 4300 3140 50  0000 C CNN
219 219
 F 2 "" H 4300 3000 50  0000 C CNN
220 220
 F 3 "" H 4300 3000 50  0000 C CNN
@@ -222,10 +222,10 @@ F 3 "" H 4300 3000 50  0000 C CNN
222 222
 	1    0    0    -1  
223 223
 $EndComp
224 224
 $Comp
225
-L GND #PWR033
225
+L GND #PWR032
226 226
 U 1 1 590DF4A2
227 227
 P 4400 4200
228
-F 0 "#PWR033" H 4400 3950 50  0001 C CNN
228
+F 0 "#PWR032" H 4400 3950 50  0001 C CNN
229 229
 F 1 "GND" H 4400 4050 50  0000 C CNN
230 230
 F 2 "" H 4400 4200 50  0000 C CNN
231 231
 F 3 "" H 4400 4200 50  0000 C CNN
@@ -294,10 +294,10 @@ Wire Wire Line
294 294
 Connection ~ 5500 3600
295 295
 Connection ~ 5500 3700
296 296
 $Comp
297
-L VBUS #PWR034
297
+L VBUS #PWR033
298 298
 U 1 1 592B5B08
299 299
 P 5500 3300
300
-F 0 "#PWR034" H 5500 3150 50  0001 C CNN
300
+F 0 "#PWR033" H 5500 3150 50  0001 C CNN
301 301
 F 1 "VBUS" H 5500 3450 50  0000 C CNN
302 302
 F 2 "" H 5500 3300 50  0001 C CNN
303 303
 F 3 "" H 5500 3300 50  0001 C CNN

+ 8
- 8
pd-buddy-sink/usb_type-c.sch Zobrazit soubor

@@ -132,10 +132,10 @@ Wire Wire Line
132 132
 	6600 1850 6700 1850
133 133
 Connection ~ 6700 1850
134 134
 $Comp
135
-L PWR_FLAG #FLG035
135
+L PWR_FLAG #FLG034
136 136
 U 1 1 591479A3
137 137
 P 6700 1750
138
-F 0 "#FLG035" H 6700 1845 50  0001 C CNN
138
+F 0 "#FLG034" H 6700 1845 50  0001 C CNN
139 139
 F 1 "PWR_FLAG" H 6700 1930 50  0000 C CNN
140 140
 F 2 "" H 6700 1750 50  0000 C CNN
141 141
 F 3 "" H 6700 1750 50  0000 C CNN
@@ -177,10 +177,10 @@ Wire Wire Line
177 177
 Wire Wire Line
178 178
 	6100 4750 6100 4950
179 179
 $Comp
180
-L GND #PWR036
180
+L GND #PWR035
181 181
 U 1 1 59147BA2
182 182
 P 6100 4950
183
-F 0 "#PWR036" H 6100 4700 50  0001 C CNN
183
+F 0 "#PWR035" H 6100 4700 50  0001 C CNN
184 184
 F 1 "GND" H 6100 4800 50  0000 C CNN
185 185
 F 2 "" H 6100 4950 50  0000 C CNN
186 186
 F 3 "" H 6100 4950 50  0000 C CNN
@@ -188,10 +188,10 @@ F 3 "" H 6100 4950 50  0000 C CNN
188 188
 	1    0    0    -1  
189 189
 $EndComp
190 190
 $Comp
191
-L PWR_FLAG #FLG037
191
+L PWR_FLAG #FLG036
192 192
 U 1 1 59147BB3
193 193
 P 6100 4950
194
-F 0 "#FLG037" H 6100 5045 50  0001 C CNN
194
+F 0 "#FLG036" H 6100 5045 50  0001 C CNN
195 195
 F 1 "PWR_FLAG" H 6100 5130 50  0000 C CNN
196 196
 F 2 "" H 6100 4950 50  0000 C CNN
197 197
 F 3 "" H 6100 4950 50  0000 C CNN
@@ -209,10 +209,10 @@ Wire Wire Line
209 209
 	5800 4750 5800 4850
210 210
 Connection ~ 5800 4850
211 211
 $Comp
212
-L VBUS #PWR038
212
+L VBUS #PWR037
213 213
 U 1 1 592B5855
214 214
 P 6700 1750
215
-F 0 "#PWR038" H 6700 1600 50  0001 C CNN
215
+F 0 "#PWR037" H 6700 1600 50  0001 C CNN
216 216
 F 1 "VBUS" H 6700 1900 50  0000 C CNN
217 217
 F 2 "" H 6700 1750 50  0001 C CNN
218 218
 F 3 "" H 6700 1750 50  0001 C CNN

+ 2
- 2
pd-buddy-sink/voltage_regulator.sch Zobrazit soubor

@@ -172,7 +172,7 @@ F 3 "" H 4500 3900 50  0000 C CNN
172 172
 	1    0    0    -1  
173 173
 $EndComp
174 174
 $Comp
175
-L TEST TP1
175
+L Test_Point TP1
176 176
 U 1 1 58FBCF4C
177 177
 P 4600 3600
178 178
 F 0 "TP1" H 4600 3900 50  0000 C BNN
@@ -183,7 +183,7 @@ F 3 "" H 4600 3600 50  0001 C CNN
183 183
 	0    1    1    0   
184 184
 $EndComp
185 185
 $Comp
186
-L TEST TP2
186
+L Test_Point TP2
187 187
 U 1 1 58FBD023
188 188
 P 4600 3800
189 189
 F 0 "TP2" H 4600 4100 50  0000 C BNN

Loading…
Zrušit
Uložit