Browse Source

add screw connector for 5v-ext

Thomas Buck 11 months ago
parent
commit
47d2eacb7f
5 changed files with 1085 additions and 885 deletions
  1. 959
    881
      hardware/dispensy.kicad_pcb
  2. 121
    2
      hardware/dispensy.kicad_sch
  3. 3
    0
      hardware/fetch_jlc.sh
  4. 1
    1
      hardware/pi.kicad_sch
  5. 1
    1
      hardware/psu_lm2576.kicad_sch

+ 959
- 881
hardware/dispensy.kicad_pcb
File diff suppressed because it is too large
View File


+ 121
- 2
hardware/dispensy.kicad_sch View File

6
 
6
 
7
   (title_block
7
   (title_block
8
     (title "Dispensy Mainboard")
8
     (title "Dispensy Mainboard")
9
-    (date "2024-01-20")
9
+    (date "2024-01-21")
10
     (rev "0")
10
     (rev "0")
11
     (company "DrinkRobotics")
11
     (company "DrinkRobotics")
12
     (comment 1 "https://git.xythobuz.de/thomas/Dispensy")
12
     (comment 1 "https://git.xythobuz.de/thomas/Dispensy")
395
         )
395
         )
396
       )
396
       )
397
     )
397
     )
398
+    (symbol "jlc:XY300V-A-5_0-2P" (in_bom yes) (on_board yes)
399
+      (property "Reference" "U" (at 0 1.27 0)
400
+        (effects (font (size 1.27 1.27)))
401
+      )
402
+      (property "Value" "XY300V-A-5_0-2P" (at 0 -2.54 0)
403
+        (effects (font (size 1.27 1.27)))
404
+      )
405
+      (property "Footprint" "jlc_footprints:CONN-TH_XY300V-A-5.0-2P" (at 0 -10.16 0)
406
+        (effects (font (size 1.27 1.27) italic) hide)
407
+      )
408
+      (property "Datasheet" "https://atta.szlcsc.com/upload/public/pdf/source/20200527/C557648_4A2FA4132AA24EE423B62B1474E9B5BB.pdf" (at -2.286 0.127 0)
409
+        (effects (font (size 1.27 1.27)) (justify left) hide)
410
+      )
411
+      (property "LCSC" "C557648" (at 0 0 0)
412
+        (effects (font (size 1.27 1.27)) hide)
413
+      )
414
+      (property "ki_keywords" "C557648" (at 0 0 0)
415
+        (effects (font (size 1.27 1.27)) hide)
416
+      )
417
+      (symbol "XY300V-A-5_0-2P_0_1"
418
+        (rectangle (start -2.54 3.81) (end 2.54 -3.81)
419
+          (stroke (width 0) (type default))
420
+          (fill (type background))
421
+        )
422
+        (circle (center -1.27 2.54) (radius 0.381)
423
+          (stroke (width 0) (type default))
424
+          (fill (type background))
425
+        )
426
+        (pin unspecified line (at -5.08 1.27 0) (length 2.54)
427
+          (name "1" (effects (font (size 1 1))))
428
+          (number "1" (effects (font (size 1 1))))
429
+        )
430
+        (pin unspecified line (at -5.08 -1.27 0) (length 2.54)
431
+          (name "2" (effects (font (size 1 1))))
432
+          (number "2" (effects (font (size 1 1))))
433
+        )
434
+      )
435
+    )
398
     (symbol "power:+3.3V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
436
     (symbol "power:+3.3V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
399
       (property "Reference" "#PWR" (at 0 -3.81 0)
437
       (property "Reference" "#PWR" (at 0 -3.81 0)
400
         (effects (font (size 1.27 1.27)) hide)
438
         (effects (font (size 1.27 1.27)) hide)
545
     )
583
     )
546
   )
584
   )
547
 
585
 
586
+  (junction (at 134.62 173.99) (diameter 0) (color 0 0 0 0)
587
+    (uuid 186b8fe0-5cfe-464f-83e1-4b2edc2494cf)
588
+  )
548
   (junction (at 44.45 172.72) (diameter 0) (color 0 0 0 0)
589
   (junction (at 44.45 172.72) (diameter 0) (color 0 0 0 0)
549
     (uuid 4d8ba4b0-ac76-430c-a40f-23aa8d7ad825)
590
     (uuid 4d8ba4b0-ac76-430c-a40f-23aa8d7ad825)
550
   )
591
   )
579
     (uuid f9ccfe5c-056c-4847-a3a1-4580069df360)
620
     (uuid f9ccfe5c-056c-4847-a3a1-4580069df360)
580
   )
621
   )
581
 
622
 
623
+  (wire (pts (xy 110.49 184.15) (xy 118.11 184.15))
624
+    (stroke (width 0) (type default))
625
+    (uuid 00e6506f-17b8-4c24-961d-48a63484945f)
626
+  )
582
   (wire (pts (xy 143.51 186.69) (xy 139.7 186.69))
627
   (wire (pts (xy 143.51 186.69) (xy 139.7 186.69))
583
     (stroke (width 0) (type default))
628
     (stroke (width 0) (type default))
584
     (uuid 041f987d-cc46-4039-8428-0ed5f9e0cfca)
629
     (uuid 041f987d-cc46-4039-8428-0ed5f9e0cfca)
723
     (stroke (width 0) (type default))
768
     (stroke (width 0) (type default))
724
     (uuid 5303b72d-8784-4828-b4fe-324e24496731)
769
     (uuid 5303b72d-8784-4828-b4fe-324e24496731)
725
   )
770
   )
771
+  (wire (pts (xy 118.11 180.34) (xy 134.62 180.34))
772
+    (stroke (width 0) (type default))
773
+    (uuid 533e6a99-02b7-4815-a0d6-de01990603df)
774
+  )
726
   (wire (pts (xy 90.17 78.74) (xy 101.6 78.74))
775
   (wire (pts (xy 90.17 78.74) (xy 101.6 78.74))
727
     (stroke (width 0) (type default))
776
     (stroke (width 0) (type default))
728
     (uuid 55b97038-f1b7-4c14-ae8b-89a648dbf62f)
777
     (uuid 55b97038-f1b7-4c14-ae8b-89a648dbf62f)
751
     (stroke (width 0) (type default))
800
     (stroke (width 0) (type default))
752
     (uuid 5b0f1b22-1a7e-4d4c-9a99-bbefc1c6451e)
801
     (uuid 5b0f1b22-1a7e-4d4c-9a99-bbefc1c6451e)
753
   )
802
   )
803
+  (wire (pts (xy 110.49 186.69) (xy 113.03 186.69))
804
+    (stroke (width 0) (type default))
805
+    (uuid 5b9dcbd7-201c-4336-9b00-a750c74f8760)
806
+  )
754
   (wire (pts (xy 88.9 132.08) (xy 90.17 132.08))
807
   (wire (pts (xy 88.9 132.08) (xy 90.17 132.08))
755
     (stroke (width 0) (type default))
808
     (stroke (width 0) (type default))
756
     (uuid 5bb89b07-73f8-42ae-8f92-b197a3a28aa6)
809
     (uuid 5bb89b07-73f8-42ae-8f92-b197a3a28aa6)
771
     (stroke (width 0) (type default))
824
     (stroke (width 0) (type default))
772
     (uuid 68bd7ce0-9a46-4fec-b13d-b509d8fa285c)
825
     (uuid 68bd7ce0-9a46-4fec-b13d-b509d8fa285c)
773
   )
826
   )
827
+  (wire (pts (xy 134.62 180.34) (xy 134.62 173.99))
828
+    (stroke (width 0) (type default))
829
+    (uuid 6c016f77-a4fe-43dc-9a55-7d4e9c088feb)
830
+  )
774
   (wire (pts (xy 99.06 76.2) (xy 99.06 69.85))
831
   (wire (pts (xy 99.06 76.2) (xy 99.06 69.85))
775
     (stroke (width 0) (type default))
832
     (stroke (width 0) (type default))
776
     (uuid 6c3815b1-389c-4003-bfae-9ff019bdf5be)
833
     (uuid 6c3815b1-389c-4003-bfae-9ff019bdf5be)
915
     (stroke (width 0) (type default))
972
     (stroke (width 0) (type default))
916
     (uuid bb58b0e6-2400-4e1f-a1d5-0decfca34566)
973
     (uuid bb58b0e6-2400-4e1f-a1d5-0decfca34566)
917
   )
974
   )
975
+  (wire (pts (xy 134.62 173.99) (xy 146.05 173.99))
976
+    (stroke (width 0) (type default))
977
+    (uuid bcc55c15-92f2-4b59-8714-4c7f99a92377)
978
+  )
918
   (wire (pts (xy 46.99 175.26) (xy 44.45 175.26))
979
   (wire (pts (xy 46.99 175.26) (xy 44.45 175.26))
919
     (stroke (width 0) (type default))
980
     (stroke (width 0) (type default))
920
     (uuid bd7c0247-bcb6-4dd5-8c09-71e8057ee655)
981
     (uuid bd7c0247-bcb6-4dd5-8c09-71e8057ee655)
939
     (stroke (width 0) (type default))
1000
     (stroke (width 0) (type default))
940
     (uuid c4ad8dc8-4621-475d-a307-71193b1934a0)
1001
     (uuid c4ad8dc8-4621-475d-a307-71193b1934a0)
941
   )
1002
   )
942
-  (wire (pts (xy 130.81 173.99) (xy 146.05 173.99))
1003
+  (wire (pts (xy 130.81 173.99) (xy 134.62 173.99))
943
     (stroke (width 0) (type default))
1004
     (stroke (width 0) (type default))
944
     (uuid c61c883b-caf4-4f28-bf8c-362090af7bde)
1005
     (uuid c61c883b-caf4-4f28-bf8c-362090af7bde)
945
   )
1006
   )
1051
     (stroke (width 0) (type default))
1112
     (stroke (width 0) (type default))
1052
     (uuid ecff3b94-55aa-4b3a-9efd-dcf909637e83)
1113
     (uuid ecff3b94-55aa-4b3a-9efd-dcf909637e83)
1053
   )
1114
   )
1115
+  (wire (pts (xy 118.11 184.15) (xy 118.11 180.34))
1116
+    (stroke (width 0) (type default))
1117
+    (uuid efec10f3-2d2c-48d1-9d00-df3cb20aa201)
1118
+  )
1054
   (wire (pts (xy 143.51 186.69) (xy 146.05 186.69))
1119
   (wire (pts (xy 143.51 186.69) (xy 146.05 186.69))
1055
     (stroke (width 0) (type default))
1120
     (stroke (width 0) (type default))
1056
     (uuid f23cd734-f245-4be6-80cf-35fcd379b40d)
1121
     (uuid f23cd734-f245-4be6-80cf-35fcd379b40d)
1384
     )
1449
     )
1385
   )
1450
   )
1386
 
1451
 
1452
+  (symbol (lib_id "jlc:XY300V-A-5_0-2P") (at 105.41 185.42 180) (unit 1)
1453
+    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
1454
+    (uuid 5d77193b-eb49-4e71-a8a5-7fe6d08c238e)
1455
+    (property "Reference" "U18" (at 105.41 177.5927 0)
1456
+      (effects (font (size 1.27 1.27)))
1457
+    )
1458
+    (property "Value" "XY300V-A-5_0-2P" (at 105.41 180.0169 0)
1459
+      (effects (font (size 1.27 1.27)))
1460
+    )
1461
+    (property "Footprint" "jlc_footprints:CONN-TH_XY300V-A-5.0-2P" (at 105.41 175.26 0)
1462
+      (effects (font (size 1.27 1.27) italic) hide)
1463
+    )
1464
+    (property "Datasheet" "https://atta.szlcsc.com/upload/public/pdf/source/20200527/C557648_4A2FA4132AA24EE423B62B1474E9B5BB.pdf" (at 107.696 185.547 0)
1465
+      (effects (font (size 1.27 1.27)) (justify left) hide)
1466
+    )
1467
+    (property "LCSC" "C557648" (at 105.41 185.42 0)
1468
+      (effects (font (size 1.27 1.27)) hide)
1469
+    )
1470
+    (pin "2" (uuid c5422714-d619-41ca-9145-82b6b4d46931))
1471
+    (pin "1" (uuid 39682e73-6b61-4916-8a3c-95ed7b288ca7))
1472
+    (instances
1473
+      (project "dispensy"
1474
+        (path "/a50b51f9-900f-4bbb-8934-4acbc429c37b"
1475
+          (reference "U18") (unit 1)
1476
+        )
1477
+      )
1478
+    )
1479
+  )
1480
+
1387
   (symbol (lib_id "jlc:CR-02FL6---10K") (at 95.25 107.95 0) (unit 1)
1481
   (symbol (lib_id "jlc:CR-02FL6---10K") (at 95.25 107.95 0) (unit 1)
1388
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
1482
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
1389
     (uuid 62175efd-56d0-4f3f-bf21-32d55d3238a3)
1483
     (uuid 62175efd-56d0-4f3f-bf21-32d55d3238a3)
1557
     )
1651
     )
1558
   )
1652
   )
1559
 
1653
 
1654
+  (symbol (lib_id "power:GND") (at 113.03 186.69 90) (unit 1)
1655
+    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
1656
+    (uuid 7d40ef7f-4046-478a-8202-835e982a50d1)
1657
+    (property "Reference" "#PWR073" (at 119.38 186.69 0)
1658
+      (effects (font (size 1.27 1.27)) hide)
1659
+    )
1660
+    (property "Value" "GND" (at 116.205 186.69 90)
1661
+      (effects (font (size 1.27 1.27)) (justify right))
1662
+    )
1663
+    (property "Footprint" "" (at 113.03 186.69 0)
1664
+      (effects (font (size 1.27 1.27)) hide)
1665
+    )
1666
+    (property "Datasheet" "" (at 113.03 186.69 0)
1667
+      (effects (font (size 1.27 1.27)) hide)
1668
+    )
1669
+    (pin "1" (uuid 6a73e148-839b-4b7f-a556-5ccab0d327f6))
1670
+    (instances
1671
+      (project "dispensy"
1672
+        (path "/a50b51f9-900f-4bbb-8934-4acbc429c37b"
1673
+          (reference "#PWR073") (unit 1)
1674
+        )
1675
+      )
1676
+    )
1677
+  )
1678
+
1560
   (symbol (lib_id "Mechanical:MountingHole") (at 21.59 27.94 0) (unit 1)
1679
   (symbol (lib_id "Mechanical:MountingHole") (at 21.59 27.94 0) (unit 1)
1561
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
1680
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
1562
     (uuid 8245835b-6904-4b68-a5aa-8efe32ec8b78)
1681
     (uuid 8245835b-6904-4b68-a5aa-8efe32ec8b78)

+ 3
- 0
hardware/fetch_jlc.sh View File

26
 # | source.                                                                      |
26
 # | source.                                                                      |
27
 #  ------------------------------------------------------------------------------
27
 #  ------------------------------------------------------------------------------
28
 
28
 
29
+# Depends on:
29
 # https://github.com/TousstNicolas/JLC2KiCad_lib
30
 # https://github.com/TousstNicolas/JLC2KiCad_lib
31
+# (or https://github.com/Xyntexx/JLC2KiCad_lib/tree/footprint_alignment_workarounds)
30
 
32
 
31
 # enter directory of script
33
 # enter directory of script
32
 cd "$(dirname "$0")"
34
 cd "$(dirname "$0")"
73
     C310843  `# 1000uF 16V Electrolytic Capacitor` \
75
     C310843  `# 1000uF 16V Electrolytic Capacitor` \
74
     C496132  `# 1x4P Barrier Block 7.62mm 20A 300V` \
76
     C496132  `# 1x4P Barrier Block 7.62mm 20A 300V` \
75
     C347222  `# AMS1117-3.3 3.3V 1A LDO` \
77
     C347222  `# AMS1117-3.3 3.3V 1A LDO` \
78
+    C557648  `# 1x2P 10A 300V 5mm Screw terminal` \
76
     -dir jlc_lib \
79
     -dir jlc_lib \
77
     -symbol_lib jlc_schematics \
80
     -symbol_lib jlc_schematics \
78
     -symbol_lib_dir Schematic \
81
     -symbol_lib_dir Schematic \

+ 1
- 1
hardware/pi.kicad_sch View File

6
 
6
 
7
   (title_block
7
   (title_block
8
     (title "Pi RP2040 MCU")
8
     (title "Pi RP2040 MCU")
9
-    (date "2024-01-20")
9
+    (date "2024-01-21")
10
     (rev "0")
10
     (rev "0")
11
     (company "DrinkRobotics")
11
     (company "DrinkRobotics")
12
     (comment 1 "https://git.xythobuz.de/thomas/Dispensy")
12
     (comment 1 "https://git.xythobuz.de/thomas/Dispensy")

+ 1
- 1
hardware/psu_lm2576.kicad_sch View File

6
 
6
 
7
   (title_block
7
   (title_block
8
     (title "LM2576 5V Power Supply")
8
     (title "LM2576 5V Power Supply")
9
-    (date "2024-01-20")
9
+    (date "2024-01-21")
10
     (rev "0")
10
     (rev "0")
11
     (company "DrinkRobotics")
11
     (company "DrinkRobotics")
12
     (comment 1 "https://git.xythobuz.de/thomas/Dispensy")
12
     (comment 1 "https://git.xythobuz.de/thomas/Dispensy")

Loading…
Cancel
Save