Browse Source

rename parts.

Thomas Buck 10 months ago
parent
commit
0394d2dd6c
4 changed files with 7571 additions and 7132 deletions
  1. 1
    1
      fetch_jlc.sh
  2. 55
    0
      generate_fab.sh
  3. 7487
    7103
      osci-video.kicad_pcb
  4. 28
    28
      osci-video.kicad_sch

+ 1
- 1
fetch_jlc.sh View File

@@ -18,7 +18,7 @@
18 18
 # | PARTICULAR PURPOSE. Please see the CERN-OHL-S v2 (or any later version)      |
19 19
 # | for applicable conditions.                                                   |
20 20
 # |                                                                              |
21
-# | Source location: https://github.com/drinkrobotics/dispensy                   |
21
+# | Source location: https://git.xythobuz.de/thomas/osci-video-pcb               |
22 22
 # |                                                                              |
23 23
 # | As per CERN-OHL-S v2 section 4, should You produce hardware based on this    |
24 24
 # | source, You must where practicable maintain the Source Location visible      |

+ 55
- 0
generate_fab.sh View File

@@ -0,0 +1,55 @@
1
+#!/bin/bash
2
+
3
+# SPDX-FileCopyrightText: 2023 - 2024 Thomas Buck <thomas@xythobuz.de>
4
+# SPDX-License-Identifier: CERN-OHL-S-2.0+
5
+#
6
+#  ------------------------------------------------------------------------------
7
+# | Copyright (c) 2023 - 2024 Thomas Buck <thomas@xythobuz.de>                   |
8
+# |                                                                              |
9
+# | This source describes Open Hardware and is licensed under the CERN-OHL-S v2  |
10
+# | or any later version.                                                        |
11
+# |                                                                              |
12
+# | You may redistribute and modify this source and make products using it under |
13
+# | the terms of the CERN-OHL-S v2 (https://ohwr.org/cern_ohl_s_v2.txt)          |
14
+# | or any later version.                                                        |
15
+# |                                                                              |
16
+# | This source is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY,          |
17
+# | INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A         |
18
+# | PARTICULAR PURPOSE. Please see the CERN-OHL-S v2 (or any later version)      |
19
+# | for applicable conditions.                                                   |
20
+# |                                                                              |
21
+# | Source location: https://git.xythobuz.de/thomas/osci-video-pcb               |
22
+# |                                                                              |
23
+# | As per CERN-OHL-S v2 section 4, should You produce hardware based on this    |
24
+# | source, You must where practicable maintain the Source Location visible      |
25
+# | on the external case of the Gizmo or other products you make using this      |
26
+# | source.                                                                      |
27
+#  ------------------------------------------------------------------------------
28
+
29
+cd "$(dirname "$0")"
30
+
31
+INFILE="osci-video.kicad_pcb"
32
+INFILE_SCH="osci-video.kicad_sch"
33
+OUTDIR="fabrication"
34
+OUTZIP="fab"
35
+
36
+echo "Creating output directory"
37
+rm -rf $OUTDIR
38
+mkdir -p $OUTDIR
39
+
40
+echo "Exporting drill files"
41
+#kicad-cli pcb export drill -o $OUTDIR/ --format excellon --generate-map --map-format pdf $INFILE
42
+kicad-cli pcb export drill -o $OUTDIR/ --format gerber --generate-map --map-format gerberx2 $INFILE
43
+
44
+echo "Exporting gerber files"
45
+#kicad-cli pcb export gerbers -o $OUTDIR/ $INFILE
46
+kicad-cli pcb export gerbers -o $OUTDIR/ -l F.Cu,B.Cu,F.Mask,B.Mask,F.Paste,B.Paste,F.Silkscreen,B.Silkscreen,Edge.Cuts $INFILE
47
+
48
+echo "Exporting BOM files"
49
+kicad-cli sch export python-bom -o $OUTDIR/bom.xml $INFILE_SCH
50
+
51
+# TODO convert BOM XML to proper format for JLCPCB
52
+
53
+echo "Compressing archive"
54
+rm -rf $OUTZIP.zip
55
+zip -r $OUTZIP fabrication

+ 7487
- 7103
osci-video.kicad_pcb
File diff suppressed because it is too large
View File


+ 28
- 28
osci-video.kicad_sch View File

@@ -1850,7 +1850,7 @@
1850 1850
   (symbol (lib_id "jlc:AV-5") (at 41.91 88.9 90) (mirror x) (unit 1)
1851 1851
     (in_bom yes) (on_board yes) (dnp no)
1852 1852
     (uuid 49bb8110-180b-41fb-83d8-1e832845c8fd)
1853
-    (property "Reference" "U5" (at 36.83 95.25 90)
1853
+    (property "Reference" "Y2" (at 36.83 95.25 90)
1854 1854
       (effects (font (size 1.27 1.27)) (justify right))
1855 1855
     )
1856 1856
     (property "Value" "Composite-In" (at 36.83 83.82 90)
@@ -1870,7 +1870,7 @@
1870 1870
     (instances
1871 1871
       (project "osci-video"
1872 1872
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
1873
-          (reference "U5") (unit 1)
1873
+          (reference "Y2") (unit 1)
1874 1874
         )
1875 1875
       )
1876 1876
     )
@@ -1879,7 +1879,7 @@
1879 1879
   (symbol (lib_id "jlc:AV-5") (at 120.65 49.53 0) (mirror y) (unit 1)
1880 1880
     (in_bom yes) (on_board yes) (dnp no)
1881 1881
     (uuid 504c3d54-56b7-4a86-bd0f-19f5b753b218)
1882
-    (property "Reference" "U6" (at 114.3 44.45 90)
1882
+    (property "Reference" "Y3" (at 114.3 44.45 90)
1883 1883
       (effects (font (size 1.27 1.27)) (justify right))
1884 1884
     )
1885 1885
     (property "Value" "Z-Out" (at 125.73 44.45 90)
@@ -1899,7 +1899,7 @@
1899 1899
     (instances
1900 1900
       (project "osci-video"
1901 1901
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
1902
-          (reference "U6") (unit 1)
1902
+          (reference "Y3") (unit 1)
1903 1903
         )
1904 1904
       )
1905 1905
     )
@@ -1937,7 +1937,7 @@
1937 1937
   (symbol (lib_id "jlc:XY300V-A-5_0-2P") (at 57.15 64.77 180) (unit 1)
1938 1938
     (in_bom yes) (on_board yes) (dnp no)
1939 1939
     (uuid 57d278be-cf0c-460a-855a-41c96442811b)
1940
-    (property "Reference" "U16" (at 57.15 55.88 0)
1940
+    (property "Reference" "Y1" (at 57.15 55.88 0)
1941 1941
       (effects (font (size 1.27 1.27)))
1942 1942
     )
1943 1943
     (property "Value" "Power-In" (at 57.15 58.42 0)
@@ -1957,7 +1957,7 @@
1957 1957
     (instances
1958 1958
       (project "osci-video"
1959 1959
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
1960
-          (reference "U16") (unit 1)
1960
+          (reference "Y1") (unit 1)
1961 1961
         )
1962 1962
       )
1963 1963
     )
@@ -2024,7 +2024,7 @@
2024 2024
   (symbol (lib_id "jlc:CD1E106MC9BER2F100") (at 88.9 86.36 0) (unit 1)
2025 2025
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2026 2026
     (uuid 5f69b6a3-6f75-4baa-a43c-1a3daef00748)
2027
-    (property "Reference" "U9" (at 88.9 80.01 0)
2027
+    (property "Reference" "C10" (at 88.9 80.01 0)
2028 2028
       (effects (font (size 1.27 1.27)))
2029 2029
     )
2030 2030
     (property "Value" "10u" (at 88.9 82.55 0)
@@ -2044,7 +2044,7 @@
2044 2044
     (instances
2045 2045
       (project "osci-video"
2046 2046
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2047
-          (reference "U9") (unit 1)
2047
+          (reference "C10") (unit 1)
2048 2048
         )
2049 2049
       )
2050 2050
     )
@@ -2082,7 +2082,7 @@
2082 2082
   (symbol (lib_name "152EC0410_1") (lib_id "jlc:152EC0410") (at 240.03 132.08 270) (unit 1)
2083 2083
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2084 2084
     (uuid 75e24f31-c21b-48b1-a49d-03471f8672bf)
2085
-    (property "Reference" "U15" (at 242.57 130.8099 90)
2085
+    (property "Reference" "C6" (at 242.57 130.8099 90)
2086 2086
       (effects (font (size 1.27 1.27)) (justify left))
2087 2087
     )
2088 2088
     (property "Value" "100u" (at 242.57 133.3499 90)
@@ -2102,7 +2102,7 @@
2102 2102
     (instances
2103 2103
       (project "osci-video"
2104 2104
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2105
-          (reference "U15") (unit 1)
2105
+          (reference "C6") (unit 1)
2106 2106
         )
2107 2107
       )
2108 2108
     )
@@ -2111,7 +2111,7 @@
2111 2111
   (symbol (lib_id "jlc:450BXC1MEFC8X11_5") (at 229.87 119.38 0) (unit 1)
2112 2112
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2113 2113
     (uuid 776d9683-3491-4d33-9973-c97bedc89c03)
2114
-    (property "Reference" "U14" (at 229.87 113.03 0)
2114
+    (property "Reference" "C7" (at 229.87 113.03 0)
2115 2115
       (effects (font (size 1.27 1.27)))
2116 2116
     )
2117 2117
     (property "Value" "1u" (at 229.87 115.57 0)
@@ -2131,7 +2131,7 @@
2131 2131
     (instances
2132 2132
       (project "osci-video"
2133 2133
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2134
-          (reference "U14") (unit 1)
2134
+          (reference "C7") (unit 1)
2135 2135
         )
2136 2136
       )
2137 2137
     )
@@ -2140,7 +2140,7 @@
2140 2140
   (symbol (lib_name "152EC0410_1") (lib_id "jlc:152EC0410") (at 217.17 71.12 270) (unit 1)
2141 2141
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2142 2142
     (uuid 79813a3d-fc80-43bf-bd44-6d0298cfdf74)
2143
-    (property "Reference" "U13" (at 219.71 69.8499 90)
2143
+    (property "Reference" "C8" (at 219.71 69.8499 90)
2144 2144
       (effects (font (size 1.27 1.27)) (justify left))
2145 2145
     )
2146 2146
     (property "Value" "100u" (at 219.71 72.3899 90)
@@ -2160,7 +2160,7 @@
2160 2160
     (instances
2161 2161
       (project "osci-video"
2162 2162
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2163
-          (reference "U13") (unit 1)
2163
+          (reference "C8") (unit 1)
2164 2164
         )
2165 2165
       )
2166 2166
     )
@@ -2340,7 +2340,7 @@
2340 2340
   (symbol (lib_id "jlc:152EC0410") (at 167.64 71.12 270) (unit 1)
2341 2341
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2342 2342
     (uuid a3b79abd-d899-463a-b01b-f8bdcdeb7d2a)
2343
-    (property "Reference" "U10" (at 170.18 69.8499 90)
2343
+    (property "Reference" "C9" (at 170.18 69.8499 90)
2344 2344
       (effects (font (size 1.27 1.27)) (justify left))
2345 2345
     )
2346 2346
     (property "Value" "100u" (at 170.18 72.3899 90)
@@ -2360,7 +2360,7 @@
2360 2360
     (instances
2361 2361
       (project "osci-video"
2362 2362
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2363
-          (reference "U10") (unit 1)
2363
+          (reference "C9") (unit 1)
2364 2364
         )
2365 2365
       )
2366 2366
     )
@@ -2369,7 +2369,7 @@
2369 2369
   (symbol (lib_id "jlc:MF1_4W-82Ω±1%_T52") (at 157.48 71.12 90) (unit 1)
2370 2370
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2371 2371
     (uuid b6297a12-f721-4426-8866-1efe364d64f8)
2372
-    (property "Reference" "U4" (at 160.02 69.85 90)
2372
+    (property "Reference" "R13" (at 160.02 69.85 90)
2373 2373
       (effects (font (size 1.27 1.27)) (justify right))
2374 2374
     )
2375 2375
     (property "Value" "82R" (at 160.02 72.39 90)
@@ -2389,7 +2389,7 @@
2389 2389
     (instances
2390 2390
       (project "osci-video"
2391 2391
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2392
-          (reference "U4") (unit 1)
2392
+          (reference "R13") (unit 1)
2393 2393
         )
2394 2394
       )
2395 2395
     )
@@ -2398,7 +2398,7 @@
2398 2398
   (symbol (lib_id "jlc:BC557B_C713617") (at 203.2 111.76 0) (unit 1)
2399 2399
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2400 2400
     (uuid b71591a7-d778-406b-970e-20bc239316fe)
2401
-    (property "Reference" "U12" (at 204.47 110.49 0)
2401
+    (property "Reference" "U3" (at 204.47 110.49 0)
2402 2402
       (effects (font (size 1.27 1.27)) (justify left))
2403 2403
     )
2404 2404
     (property "Value" "BC557B" (at 204.47 113.03 0)
@@ -2419,7 +2419,7 @@
2419 2419
     (instances
2420 2420
       (project "osci-video"
2421 2421
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2422
-          (reference "U12") (unit 1)
2422
+          (reference "U3") (unit 1)
2423 2423
         )
2424 2424
       )
2425 2425
     )
@@ -2486,7 +2486,7 @@
2486 2486
   (symbol (lib_id "jlc:AV-5") (at 261.62 116.84 270) (mirror x) (unit 1)
2487 2487
     (in_bom yes) (on_board yes) (dnp no)
2488 2488
     (uuid c0b39bdd-736c-4fe1-a25a-36c92e80a0d7)
2489
-    (property "Reference" "U8" (at 266.7 110.49 90)
2489
+    (property "Reference" "Y5" (at 266.7 110.49 90)
2490 2490
       (effects (font (size 1.27 1.27)) (justify right))
2491 2491
     )
2492 2492
     (property "Value" "Y-Out" (at 266.7 121.92 90)
@@ -2506,7 +2506,7 @@
2506 2506
     (instances
2507 2507
       (project "osci-video"
2508 2508
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2509
-          (reference "U8") (unit 1)
2509
+          (reference "Y5") (unit 1)
2510 2510
         )
2511 2511
       )
2512 2512
     )
@@ -2515,7 +2515,7 @@
2515 2515
   (symbol (lib_id "jlc:AV-5") (at 184.15 49.53 0) (mirror y) (unit 1)
2516 2516
     (in_bom yes) (on_board yes) (dnp no)
2517 2517
     (uuid c8324d96-e5d2-460d-ba1e-e6630f1138f9)
2518
-    (property "Reference" "U7" (at 177.8 44.45 90)
2518
+    (property "Reference" "Y4" (at 177.8 44.45 90)
2519 2519
       (effects (font (size 1.27 1.27)) (justify right))
2520 2520
     )
2521 2521
     (property "Value" "X-Out" (at 189.23 44.45 90)
@@ -2535,7 +2535,7 @@
2535 2535
     (instances
2536 2536
       (project "osci-video"
2537 2537
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2538
-          (reference "U7") (unit 1)
2538
+          (reference "Y4") (unit 1)
2539 2539
         )
2540 2540
       )
2541 2541
     )
@@ -2573,7 +2573,7 @@
2573 2573
   (symbol (lib_id "jlc:RN_2WS_22R_F_T_B_A1") (at 113.03 133.35 90) (unit 1)
2574 2574
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2575 2575
     (uuid cfb0c90a-76f7-48df-9454-8c4ebbd36daf)
2576
-    (property "Reference" "U3" (at 115.57 132.08 90)
2576
+    (property "Reference" "R11" (at 115.57 132.08 90)
2577 2577
       (effects (font (size 1.27 1.27)) (justify right))
2578 2578
     )
2579 2579
     (property "Value" "22R" (at 115.57 134.62 90)
@@ -2593,7 +2593,7 @@
2593 2593
     (instances
2594 2594
       (project "osci-video"
2595 2595
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2596
-          (reference "U3") (unit 1)
2596
+          (reference "R11") (unit 1)
2597 2597
         )
2598 2598
       )
2599 2599
     )
@@ -2761,7 +2761,7 @@
2761 2761
   (symbol (lib_id "jlc:MFR-25FTE52-100K") (at 177.8 71.12 90) (unit 1)
2762 2762
     (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
2763 2763
     (uuid fecccea8-f104-4198-a840-b8e7097e3e2b)
2764
-    (property "Reference" "U11" (at 180.34 69.85 90)
2764
+    (property "Reference" "R12" (at 180.34 69.85 90)
2765 2765
       (effects (font (size 1.27 1.27)) (justify right))
2766 2766
     )
2767 2767
     (property "Value" "100K" (at 180.34 72.39 90)
@@ -2781,7 +2781,7 @@
2781 2781
     (instances
2782 2782
       (project "osci-video"
2783 2783
         (path "/b55e0164-5a1f-4383-81f7-ffdb0299d4dd"
2784
-          (reference "U11") (unit 1)
2784
+          (reference "R12") (unit 1)
2785 2785
         )
2786 2786
       )
2787 2787
     )

Loading…
Cancel
Save