Przeglądaj źródła

Use power symbols in programming jig schematic

The power lines had been drawn as regular wires with net labels.  That's
not great, so I changed them to use power symbols.  It's better now!
Clara Hobbs 7 lat temu
rodzic
commit
89987c9b94

+ 28
- 0
programming-jig/programming-jig-cache.lib Wyświetl plik

@@ -90,6 +90,19 @@ X P10 10 250 -200 150 L 50 50 1 1 P
90 90
 ENDDRAW
91 91
 ENDDEF
92 92
 #
93
+# GND
94
+#
95
+DEF GND #PWR 0 0 Y Y 1 F P
96
+F0 "#PWR" 0 -250 50 H I C CNN
97
+F1 "GND" 0 -150 50 H V C CNN
98
+F2 "" 0 0 50 H I C CNN
99
+F3 "" 0 0 50 H I C CNN
100
+DRAW
101
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
102
+X GND 1 0 0 0 D 50 50 1 1 W N
103
+ENDDRAW
104
+ENDDEF
105
+#
93 106
 # Mounting_Hole
94 107
 #
95 108
 DEF Mounting_Hole MK 0 40 Y Y 1 F N
@@ -217,4 +230,19 @@ X GND B12 100 -1600 200 U 50 50 1 1 W
217 230
 ENDDRAW
218 231
 ENDDEF
219 232
 #
233
+# VBUS
234
+#
235
+DEF VBUS #PWR 0 0 Y Y 1 F P
236
+F0 "#PWR" 0 -150 50 H I C CNN
237
+F1 "VBUS" 0 150 50 H V C CNN
238
+F2 "" 0 0 50 H I C CNN
239
+F3 "" 0 0 50 H I C CNN
240
+DRAW
241
+P 2 0 1 0 -30 50 0 100 N
242
+P 2 0 1 0 0 0 0 100 N
243
+P 2 0 1 0 0 100 30 50 N
244
+X VBUS 1 0 0 0 U 50 50 1 1 W N
245
+ENDDRAW
246
+ENDDEF
247
+#
220 248
 #End Library

+ 34
- 34
programming-jig/programming-jig.kicad_pcb Wyświetl plik

@@ -120,10 +120,10 @@
120 120
   (net 22 "Net-(J5-PadA10)")
121 121
   (net 23 "Net-(J5-PadA8)")
122 122
   (net 24 "Net-(J5-PadA11)")
123
-  (net 25 /VBUS)
124
-  (net 26 /GND)
125
-  (net 27 "Net-(J5-PadB6)")
126
-  (net 28 "Net-(J5-PadB7)")
123
+  (net 25 "Net-(J5-PadB6)")
124
+  (net 26 "Net-(J5-PadB7)")
125
+  (net 27 VBUS)
126
+  (net 28 GND)
127 127
 
128 128
   (net_class Default "This is the default net class."
129 129
     (clearance 0.2)
@@ -132,8 +132,7 @@
132 132
     (via_drill 0.4)
133 133
     (uvia_dia 0.3)
134 134
     (uvia_drill 0.1)
135
-    (add_net /GND)
136
-    (add_net /VBUS)
135
+    (add_net GND)
137 136
     (add_net "Net-(J1-Pad1)")
138 137
     (add_net "Net-(J1-Pad2)")
139 138
     (add_net "Net-(J1-Pad3)")
@@ -160,6 +159,7 @@
160 159
     (add_net "Net-(J5-PadB6)")
161 160
     (add_net "Net-(J5-PadB7)")
162 161
     (add_net "Net-(J5-PadB8)")
162
+    (add_net VBUS)
163 163
   )
164 164
 
165 165
   (module pd-buddy:Pogo_Pin_Straight_1x05_Pitch1.27mm (layer F.Cu) (tedit 591875A2) (tstamp 591881E8)
@@ -333,17 +333,17 @@
333 333
     (fp_line (start -4.59 -0.91) (end 4.59 -0.91) (layer F.Fab) (width 0.12))
334 334
     (fp_line (start -4.59 9.59) (end -4.59 -0.91) (layer F.Fab) (width 0.12))
335 335
     (pad B6 thru_hole circle (at 0.4 0.65 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
336
-      (net 27 "Net-(J5-PadB6)"))
336
+      (net 25 "Net-(J5-PadB6)"))
337 337
     (pad B7 thru_hole circle (at -0.4 0.65 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
338
-      (net 28 "Net-(J5-PadB7)"))
338
+      (net 26 "Net-(J5-PadB7)"))
339 339
     (pad S1 thru_hole circle (at -4.13 1.25 270) (size 1.4 1.4) (drill 1.1) (layers *.Cu *.Mask)
340
-      (net 26 /GND))
340
+      (net 28 GND))
341 341
     (pad B9 thru_hole circle (at -1.2 0.65 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
342
-      (net 25 /VBUS))
342
+      (net 27 VBUS))
343 343
     (pad B4 thru_hole circle (at 1.2 0.65 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
344
-      (net 25 /VBUS))
344
+      (net 27 VBUS))
345 345
     (pad B12 thru_hole circle (at -2.8 0.65 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
346
-      (net 26 /GND))
346
+      (net 28 GND))
347 347
     (pad B5 thru_hole circle (at 0.8 1.35 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
348 348
       (net 13 "Net-(J5-PadB5)"))
349 349
     (pad B8 thru_hole circle (at -0.8 1.35 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
@@ -357,13 +357,13 @@
357 357
     (pad B11 thru_hole circle (at -2.4 1.35 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
358 358
       (net 18 "Net-(J5-PadB11)"))
359 359
     (pad A1 smd rect (at -2.75 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
360
-      (net 26 /GND))
360
+      (net 28 GND))
361 361
     (pad A2 smd rect (at -2.25 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
362 362
       (net 19 "Net-(J5-PadA2)"))
363 363
     (pad A3 smd rect (at -1.75 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
364 364
       (net 20 "Net-(J5-PadA3)"))
365 365
     (pad A4 smd rect (at -1.25 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
366
-      (net 25 /VBUS))
366
+      (net 27 VBUS))
367 367
     (pad A5 smd rect (at -0.75 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
368 368
       (net 21 "Net-(J5-PadA5)"))
369 369
     (pad A6 smd rect (at -0.25 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
@@ -371,23 +371,23 @@
371 371
     (pad A7 smd rect (at 0.25 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
372 372
       (net 12 "Net-(J5-PadA7)"))
373 373
     (pad A12 smd rect (at 2.75 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
374
-      (net 26 /GND))
374
+      (net 28 GND))
375 375
     (pad A10 smd rect (at 1.75 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
376 376
       (net 22 "Net-(J5-PadA10)"))
377 377
     (pad A9 smd rect (at 1.25 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
378
-      (net 25 /VBUS))
378
+      (net 27 VBUS))
379 379
     (pad A8 smd rect (at 0.75 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
380 380
       (net 23 "Net-(J5-PadA8)"))
381 381
     (pad A11 smd rect (at 2.25 -0.66 270) (size 0.3 0.7) (layers F.Cu F.Paste F.Mask)
382 382
       (net 24 "Net-(J5-PadA11)"))
383 383
     (pad B1 thru_hole circle (at 2.8 0.65 270) (size 0.65 0.65) (drill 0.4) (layers *.Cu *.Mask)
384
-      (net 26 /GND))
384
+      (net 28 GND))
385 385
     (pad S1 thru_hole circle (at 4.13 1.25 270) (size 1.4 1.4) (drill 1.1) (layers *.Cu *.Mask)
386
-      (net 26 /GND))
386
+      (net 28 GND))
387 387
     (pad S1 thru_hole circle (at 4.49 7.2 270) (size 1.4 1.4) (drill 1.1) (layers *.Cu *.Mask)
388
-      (net 26 /GND))
388
+      (net 28 GND))
389 389
     (pad S1 thru_hole circle (at -4.49 7.2 270) (size 1.4 1.4) (drill 1.1) (layers *.Cu *.Mask)
390
-      (net 26 /GND))
390
+      (net 28 GND))
391 391
     (pad "" np_thru_hole circle (at 3.6 0 270) (size 0.95 0.95) (drill 0.95) (layers *.Cu *.Mask))
392 392
     (pad "" np_thru_hole circle (at -3.6 0 270) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
393 393
   )
@@ -452,7 +452,7 @@
452 452
     (pad 1 smd rect (at -0.95 0 90) (size 0.7 1.3) (layers F.Cu F.Paste F.Mask)
453 453
       (net 13 "Net-(J5-PadB5)"))
454 454
     (pad 2 smd rect (at 0.95 0 90) (size 0.7 1.3) (layers F.Cu F.Paste F.Mask)
455
-      (net 26 /GND))
455
+      (net 28 GND))
456 456
     (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_0805.wrl
457 457
       (at (xyz 0 0 0))
458 458
       (scale (xyz 1 1 1))
@@ -488,7 +488,7 @@
488 488
     (pad 1 smd rect (at -0.95 0 90) (size 0.7 1.3) (layers F.Cu F.Paste F.Mask)
489 489
       (net 21 "Net-(J5-PadA5)"))
490 490
     (pad 2 smd rect (at 0.95 0 90) (size 0.7 1.3) (layers F.Cu F.Paste F.Mask)
491
-      (net 26 /GND))
491
+      (net 28 GND))
492 492
     (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_0805.wrl
493 493
       (at (xyz 0 0 0))
494 494
       (scale (xyz 1 1 1))
@@ -525,9 +525,9 @@
525 525
       (effects (font (size 1 1) (thickness 0.15)))
526 526
     )
527 527
     (pad 1 thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 0.762) (layers *.Cu *.Mask)
528
-      (net 25 /VBUS))
528
+      (net 27 VBUS))
529 529
     (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 0.762) (layers *.Cu *.Mask)
530
-      (net 26 /GND))
530
+      (net 28 GND))
531 531
     (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x02_Pitch2.54mm.wrl
532 532
       (at (xyz 0 -0.05 0))
533 533
       (scale (xyz 1 1 1))
@@ -620,16 +620,16 @@
620 620
   (segment (start 95.25 112.5) (end 94.25 112.5) (width 0.25) (layer B.Cu) (net 21))
621 621
   (segment (start 94.25 112.5) (end 94.25 111.7) (width 0.25) (layer F.Cu) (net 21))
622 622
   (via (at 94.25 112.5) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 21))
623
-  (segment (start 92.25 109.8) (end 92.25 109) (width 0.25) (layer F.Cu) (net 26))
624
-  (via (at 92.25 109) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 26))
625
-  (segment (start 94.25 109.8) (end 94.25 109) (width 0.25) (layer F.Cu) (net 26))
626
-  (via (at 94.25 109) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 26))
627
-  (segment (start 96.91 122.5) (end 95.65 122.5) (width 0.25) (layer F.Cu) (net 26))
628
-  (segment (start 95.65 122.5) (end 95.6 122.55) (width 0.25) (layer F.Cu) (net 26))
629
-  (segment (start 96.91 117) (end 95.65 117) (width 0.25) (layer F.Cu) (net 26))
630
-  (segment (start 95.65 117) (end 95.6 116.95) (width 0.25) (layer F.Cu) (net 26))
623
+  (segment (start 92.25 109.8) (end 92.25 109) (width 0.25) (layer F.Cu) (net 28))
624
+  (via (at 92.25 109) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 28))
625
+  (segment (start 94.25 109.8) (end 94.25 109) (width 0.25) (layer F.Cu) (net 28))
626
+  (via (at 94.25 109) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 28))
627
+  (segment (start 96.91 122.5) (end 95.65 122.5) (width 0.25) (layer F.Cu) (net 28))
628
+  (segment (start 95.65 122.5) (end 95.6 122.55) (width 0.25) (layer F.Cu) (net 28))
629
+  (segment (start 96.91 117) (end 95.65 117) (width 0.25) (layer F.Cu) (net 28))
630
+  (segment (start 95.65 117) (end 95.6 116.95) (width 0.25) (layer F.Cu) (net 28))
631 631
 
632
-  (zone (net 26) (net_name /GND) (layer B.Cu) (tstamp 0) (hatch edge 0.508)
632
+  (zone (net 28) (net_name GND) (layer B.Cu) (tstamp 0) (hatch edge 0.508)
633 633
     (priority 1)
634 634
     (connect_pads (clearance 0.2))
635 635
     (min_thickness 0.2)
@@ -776,7 +776,7 @@
776 776
       )
777 777
     )
778 778
   )
779
-  (zone (net 25) (net_name /VBUS) (layer F.Cu) (tstamp 0) (hatch edge 0.508)
779
+  (zone (net 27) (net_name VBUS) (layer F.Cu) (tstamp 0) (hatch edge 0.508)
780 780
     (priority 1)
781 781
     (connect_pads yes (clearance 0.2))
782 782
     (min_thickness 0.2)

+ 88
- 47
programming-jig/programming-jig.sch Wyświetl plik

@@ -193,64 +193,36 @@ Connection ~ 2000 5700
193 193
 Connection ~ 2100 5700
194 194
 Connection ~ 2200 5700
195 195
 Wire Wire Line
196
-	2800 2800 2800 2900
197
-Wire Wire Line
198
-	2800 2900 2800 3000
199
-Wire Wire Line
200
-	2800 3000 2800 3100
196
+	2800 2700 2800 3100
201 197
 Connection ~ 2800 3000
202 198
 Connection ~ 2800 2900
203 199
 $Comp
204 200
 L PWR_FLAG #FLG01
205 201
 U 1 1 5917BAD1
206
-P 2800 2800
207
-F 0 "#FLG01" H 2800 2875 50  0001 C CNN
208
-F 1 "PWR_FLAG" H 2800 2950 50  0000 C CNN
209
-F 2 "" H 2800 2800 50  0001 C CNN
210
-F 3 "" H 2800 2800 50  0001 C CNN
211
-	1    2800 2800
212
-	1    0    0    -1  
202
+P 2800 2700
203
+F 0 "#FLG01" H 2800 2775 50  0001 C CNN
204
+F 1 "PWR_FLAG" H 2800 2850 50  0000 C CNN
205
+F 2 "" H 2800 2700 50  0001 C CNN
206
+F 3 "" H 2800 2700 50  0001 C CNN
207
+	1    2800 2700
208
+	0    1    1    0   
213 209
 $EndComp
214 210
 $Comp
215 211
 L PWR_FLAG #FLG02
216 212
 U 1 1 5917BAFB
217
-P 2300 5700
218
-F 0 "#FLG02" H 2300 5775 50  0001 C CNN
219
-F 1 "PWR_FLAG" H 2300 5850 50  0000 C CNN
220
-F 2 "" H 2300 5700 50  0001 C CNN
221
-F 3 "" H 2300 5700 50  0001 C CNN
222
-	1    2300 5700
223
-	-1   0    0    1   
213
+P 2300 5800
214
+F 0 "#FLG02" H 2300 5875 50  0001 C CNN
215
+F 1 "PWR_FLAG" H 2300 5950 50  0000 C CNN
216
+F 2 "" H 2300 5800 50  0001 C CNN
217
+F 3 "" H 2300 5800 50  0001 C CNN
218
+	1    2300 5800
219
+	0    1    1    0   
224 220
 $EndComp
225
-Text Label 2800 2900 0    60   ~ 0
226
-VBUS
227
-Text Label 2300 5700 0    60   ~ 0
228
-GND
229 221
 NoConn ~ 2800 3900
230 222
 NoConn ~ 2800 3800
231 223
 NoConn ~ 2800 3700
232 224
 NoConn ~ 2800 3600
233
-Wire Wire Line
234
-	1900 5700 2000 5700
235
-Wire Wire Line
236
-	2000 5700 2100 5700
237
-Wire Wire Line
238
-	2100 5700 2200 5700
239
-Wire Wire Line
240
-	2200 5700 2300 5700
241
-Wire Wire Line
242
-	2300 5700 3300 5700
243
-Wire Wire Line
244
-	3300 5700 3500 5700
245
-Wire Wire Line
246
-	3500 5700 4500 5700
247
-Wire Wire Line
248
-	4500 5700 4500 1900
249 225
 Connection ~ 2300 5700
250
-Wire Wire Line
251
-	4400 1900 4400 2900
252
-Wire Wire Line
253
-	4400 2900 2800 2900
254 226
 $Comp
255 227
 L R R1
256 228
 U 1 1 591890F5
@@ -281,10 +253,79 @@ Wire Wire Line
281 253
 	2800 3400 3300 3400
282 254
 Wire Wire Line
283 255
 	3300 3400 3300 3500
256
+Connection ~ 2800 2800
257
+$Comp
258
+L VBUS #PWR?
259
+U 1 1 592B59CF
260
+P 2800 2700
261
+F 0 "#PWR?" H 2800 2550 50  0001 C CNN
262
+F 1 "VBUS" H 2800 2850 50  0000 C CNN
263
+F 2 "" H 2800 2700 50  0001 C CNN
264
+F 3 "" H 2800 2700 50  0001 C CNN
265
+	1    2800 2700
266
+	1    0    0    -1  
267
+$EndComp
268
+Wire Wire Line
269
+	1900 5700 2300 5700
284 270
 Wire Wire Line
285
-	3300 3800 3300 5700
286
-Connection ~ 3300 5700
271
+	2300 5700 2300 5800
272
+$Comp
273
+L GND #PWR?
274
+U 1 1 592B5BC0
275
+P 2300 5800
276
+F 0 "#PWR?" H 2300 5550 50  0001 C CNN
277
+F 1 "GND" H 2300 5650 50  0000 C CNN
278
+F 2 "" H 2300 5800 50  0001 C CNN
279
+F 3 "" H 2300 5800 50  0001 C CNN
280
+	1    2300 5800
281
+	1    0    0    -1  
282
+$EndComp
283
+$Comp
284
+L GND #PWR?
285
+U 1 1 592B5F56
286
+P 3500 4000
287
+F 0 "#PWR?" H 3500 3750 50  0001 C CNN
288
+F 1 "GND" H 3500 3850 50  0000 C CNN
289
+F 2 "" H 3500 4000 50  0001 C CNN
290
+F 3 "" H 3500 4000 50  0001 C CNN
291
+	1    3500 4000
292
+	1    0    0    -1  
293
+$EndComp
294
+Wire Wire Line
295
+	3500 3800 3500 4000
296
+Wire Wire Line
297
+	3300 3800 3300 3900
298
+Wire Wire Line
299
+	3300 3900 3500 3900
300
+Connection ~ 3500 3900
287 301
 Wire Wire Line
288
-	3500 3800 3500 5700
289
-Connection ~ 3500 5700
302
+	4400 1900 4400 2000
303
+Wire Wire Line
304
+	4400 2000 4100 2000
305
+Wire Wire Line
306
+	4100 2000 4100 1900
307
+Wire Wire Line
308
+	4500 1900 4500 2000
309
+$Comp
310
+L GND #PWR?
311
+U 1 1 592B68D9
312
+P 4500 2000
313
+F 0 "#PWR?" H 4500 1750 50  0001 C CNN
314
+F 1 "GND" H 4500 1850 50  0000 C CNN
315
+F 2 "" H 4500 2000 50  0001 C CNN
316
+F 3 "" H 4500 2000 50  0001 C CNN
317
+	1    4500 2000
318
+	1    0    0    -1  
319
+$EndComp
320
+$Comp
321
+L VBUS #PWR?
322
+U 1 1 592B68FF
323
+P 4100 1900
324
+F 0 "#PWR?" H 4100 1750 50  0001 C CNN
325
+F 1 "VBUS" H 4100 2050 50  0000 C CNN
326
+F 2 "" H 4100 1900 50  0001 C CNN
327
+F 3 "" H 4100 1900 50  0001 C CNN
328
+	1    4100 1900
329
+	1    0    0    -1  
330
+$EndComp
290 331
 $EndSCHEMATC

Ładowanie…
Anuluj
Zapisz