Browse Source

add project for new pcb

Thomas Buck 1 month ago
parent
commit
06f5750269

+ 5
- 0
.gitignore View File

@@ -8,6 +8,11 @@ pcb/plot
8 8
 pcb/fabrication
9 9
 pcb/fab.zip
10 10
 
11
+pcb2/lars2-backups
12
+pcb2/plot
13
+pcb2/fabrication
14
+pcb2/fab.zip
15
+
11 16
 docs/book
12 17
 docs/src/plot
13 18
 docs/src/stl

+ 3
- 0
.gitmodules View File

@@ -7,3 +7,6 @@
7 7
 [submodule "docs/svg-pan-zoom"]
8 8
 	path = docs/svg-pan-zoom
9 9
 	url = https://github.com/WebSVG/svg-pan-zoom
10
+[submodule "pcb2/KiCad-RP-Pico"]
11
+	path = pcb2/KiCad-RP-Pico
12
+	url = https://github.com/xythobuz/KiCad-RP-Pico-SMD

+ 13
- 6
docs/generate_docs.sh View File

@@ -26,8 +26,8 @@
26 26
 # | source.                                                                      |
27 27
 #  ------------------------------------------------------------------------------
28 28
 
29
-INSCH="drumkit.kicad_sch"
30
-INPCB="drumkit.kicad_pcb"
29
+INSCH="../pcb/drumkit.kicad_sch ../pcb2/lars2.kicad_sch"
30
+INPCB="../pcb/drumkit.kicad_pcb ../pcb2/lars2.kicad_pcb"
31 31
 
32 32
 cd "$(dirname "$0")"
33 33
 
@@ -37,6 +37,11 @@ rm -rf src/plot
37 37
 cp -r ../pcb/plot src
38 38
 #echo
39 39
 
40
+#echo "Generating plots 2"
41
+#../pcb/generate_plot.sh
42
+cp -r ../pcb2/plot/* src/plot/
43
+#echo
44
+
40 45
 #echo "Generating stls"
41 46
 rm -rf src/stl
42 47
 #../3dprint/generate_stls.sh
@@ -45,8 +50,9 @@ cp -r ../3dprint/stl src
45 50
 
46 51
 INSTL=`ls ../3dprint/stl/*.stl`
47 52
 
48
-for IN in $INSCH
53
+for path in $INSCH
49 54
 do
55
+    IN=`echo $path | sed "s:../pcb.\\?/::g"`
50 56
     o="src/inc_$IN.md"
51 57
     echo "Include for $IN at $o"
52 58
 
@@ -95,8 +101,9 @@ plot_3d() {
95 101
     echo '</script>' >> $1
96 102
 }
97 103
 
98
-for IN in $INPCB
104
+for path in $INPCB
99 105
 do
106
+    IN=`echo $path | sed "s:../pcb.\\?/::g"`
100 107
     o="src/inc_$IN.md"
101 108
     file="plot/$IN.wrl"
102 109
     name=`echo $file | sed "s:plot/::g" | sed 's:.wrl::g'`
@@ -104,8 +111,8 @@ do
104 111
     rm -rf $o
105 112
 
106 113
     plot_3d $o $name $file
107
-    echo
108 114
 done
115
+echo
109 116
 
110 117
 for IN in $INSTL
111 118
 do
@@ -116,8 +123,8 @@ do
116 123
     rm -rf $o
117 124
 
118 125
     plot_3d $o $name $file
119
-    echo
120 126
 done
127
+echo
121 128
 
122 129
 echo "Generating docs"
123 130
 if [ "$1" = "serve" ] ; then

+ 3
- 0
docs/src/SUMMARY.md View File

@@ -10,3 +10,6 @@
10 10
 - [Prototype](./pcb1.md)
11 11
   - [Schematics](./pcb1_sch.md)
12 12
   - [PCB Layout](./pcb1_pcb.md)
13
+- [LARS V2](./pcb2.md)
14
+  - [Schematics](./pcb2_sch.md)
15
+  - [PCB Layout](./pcb2_pcb.md)

+ 3
- 0
docs/src/pcb2.md View File

@@ -0,0 +1,3 @@
1
+# LARS V2
2
+
3
+**TODO** this is a work in progress

+ 43
- 0
docs/src/pcb2_pcb.md View File

@@ -0,0 +1,43 @@
1
+# LARS V2 PCB Layout
2
+
3
+This page shows the current version of the PCB layout as SVG graphics.
4
+
5
+## 2D PCB Layout
6
+
7
+You can also view the [2D PCB layout as PDF](./plot/lars2.kicad_pcb.pdf).
8
+
9
+<script src="js/svg-pan-zoom.js" charset="UTF-8"></script>
10
+<div style="background-color: white; border: 1px solid black;">
11
+    <embed type="image/svg+xml" src="./plot/lars2.kicad_pcb.svg" id="pz_drumkit0" style="width: 100%;"/>
12
+    <script>
13
+        document.getElementById('pz_drumkit0').addEventListener('load', function(){
14
+            svgPanZoom(document.getElementById('pz_drumkit0'), {controlIconsEnabled: true, minZoom: 1.0});
15
+        })
16
+    </script>
17
+</div>
18
+
19
+[Direct link to this file](./plot/lars2.kicad_pcb.svg).
20
+
21
+## DIY Version
22
+
23
+The DIY version is suitable for etching at home, it only needs the bottom copper layer.
24
+Be aware that there is one track on the top layer, for a safety diode that was added later.
25
+This connection should be done with a wire by hand.
26
+
27
+You can also view the [DIY layout as PDF](./plot/lars2.kicad_pcb_diy.pdf).
28
+
29
+<script src="js/svg-pan-zoom.js" charset="UTF-8"></script>
30
+<div style="background-color: white; border: 1px solid black;">
31
+    <embed type="image/svg+xml" src="./plot/lars2.kicad_pcb_diy.svg" id="pz_drumkit1" style="width: 100%;"/>
32
+    <script>
33
+        document.getElementById('pz_drumkit1').addEventListener('load', function(){
34
+            svgPanZoom(document.getElementById('pz_drumkit1'), {controlIconsEnabled: true, minZoom: 1.0});
35
+        })
36
+    </script>
37
+</div>
38
+
39
+[Direct link to this file](./plot/lars2.kicad_pcb_diy.svg).
40
+
41
+## 3D PCB Layout
42
+
43
+{{#include inc_lars2.kicad_pcb.md}}

+ 7
- 0
docs/src/pcb2_sch.md View File

@@ -0,0 +1,7 @@
1
+# LARS V2 Schematics
2
+
3
+This page shows the current version of the schematics as SVG graphics.
4
+
5
+You can also view the [schematics as PDF](./plot/lars2.kicad_sch.pdf).
6
+
7
+{{#include inc_lars2.kicad_sch.md}}

+ 6
- 0
pcb/drumkit.kicad_prl View File

@@ -67,6 +67,12 @@
67 67
     "visible_layers": "fffffff_ffffffff",
68 68
     "zone_display_mode": 0
69 69
   },
70
+  "git": {
71
+    "repo_password": "",
72
+    "repo_type": "",
73
+    "repo_username": "",
74
+    "ssh_key": ""
75
+  },
70 76
   "meta": {
71 77
     "filename": "drumkit.kicad_prl",
72 78
     "version": 3

+ 10
- 0
pcb/drumkit.kicad_pro View File

@@ -184,6 +184,13 @@
184 184
       ],
185 185
       "zones_allow_external_fillets": false
186 186
     },
187
+    "ipc2581": {
188
+      "dist": "",
189
+      "distpn": "",
190
+      "internal_id": "",
191
+      "mfg": "",
192
+      "mpn": ""
193
+    },
187 194
     "layer_presets": [],
188 195
     "viewports": []
189 196
   },
@@ -442,8 +449,11 @@
442 449
       "gencad": "",
443 450
       "idf": "",
444 451
       "netlist": "",
452
+      "plot": "",
453
+      "pos_files": "",
445 454
       "specctra_dsn": "",
446 455
       "step": "",
456
+      "svg": "",
447 457
       "vrml": ""
448 458
     },
449 459
     "page_layout_descr_file": ""

+ 1
- 0
pcb2/KiCad-RP-Pico

@@ -0,0 +1 @@
1
+Subproject commit 2ad50bdb5813614a2bb7c51d5f8d98d08ba826eb

+ 94809
- 0
pcb2/fp-info-cache
File diff suppressed because it is too large
View File


+ 5
- 0
pcb2/fp-lib-table View File

@@ -0,0 +1,5 @@
1
+(fp_lib_table
2
+  (version 7)
3
+  (lib (name "chinese_modules")(type "KiCad")(uri "${KIPRJMOD}/../pcb/chinese_modules.pretty")(options "")(descr ""))
4
+  (lib (name "KiCad-RP-Pico")(type "KiCad")(uri "${KIPRJMOD}/KiCad-RP-Pico/RP-Pico Libraries/MCU_RaspberryPi_and_Boards.pretty")(options "")(descr ""))
5
+)

+ 55
- 0
pcb2/generate_fab.sh View File

@@ -0,0 +1,55 @@
1
+#!/bin/bash
2
+
3
+# SPDX-FileCopyrightText: 2024 Thomas Buck <thomas@xythobuz.de>
4
+# SPDX-License-Identifier: CERN-OHL-S-2.0+
5
+#
6
+#  ------------------------------------------------------------------------------
7
+# | Copyright (c) 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/drumkit                      |
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="lars2.kicad_pcb"
32
+INFILE_SCH="lars2.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

+ 100
- 0
pcb2/generate_plot.sh View File

@@ -0,0 +1,100 @@
1
+#!/bin/bash
2
+
3
+# SPDX-FileCopyrightText: 2024 Thomas Buck <thomas@xythobuz.de>
4
+# SPDX-License-Identifier: CERN-OHL-S-2.0+
5
+#
6
+#  ------------------------------------------------------------------------------
7
+# | Copyright (c) 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/drumkit                      |
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
+INSCH="lars2.kicad_sch"
30
+INPCB="lars2.kicad_pcb"
31
+OUTDIR="plot"
32
+LAYER_F="F.Cu,F.Mask,F.Paste,F.Silkscreen,Edge.Cuts,User.Drawings"
33
+LAYER_B="B.Cu,B.Mask,B.Paste,B.Silkscreen,Edge.Cuts,User.Drawings"
34
+LAYER_MANUAL="B.Cu,Edge.Cuts"
35
+
36
+cd "$(dirname "$0")"
37
+rm -rf $OUTDIR
38
+mkdir -p $OUTDIR
39
+
40
+#  --------------
41
+# | 2D Schematic |
42
+#  --------------
43
+
44
+for IN in $INSCH
45
+do
46
+    echo "Exporting schematic $IN"
47
+
48
+    for TYPE in pdf svg
49
+    do
50
+        echo "Exporting schematic $TYPE"
51
+        rm -rf $OUTDIR/$IN.$TYPE
52
+        kicad-cli sch export $TYPE \
53
+            -t "KiCad Default" \
54
+            -o $OUTDIR/$IN.$TYPE \
55
+            $IN
56
+        echo
57
+    done
58
+done
59
+
60
+for IN in $INPCB
61
+do
62
+    echo "Exporting board $IN"
63
+
64
+    #  -----------
65
+    # | 2D Layout |
66
+    #  -----------
67
+
68
+    for TYPE in pdf svg
69
+    do
70
+        rm -rf $OUTDIR/$IN.$TYPE
71
+
72
+        echo "Exporting board $TYPE"
73
+        kicad-cli pcb export $TYPE \
74
+            -t "KiCad Classic"  \
75
+            -l $LAYER_F,$LAYER_B \
76
+            -o $OUTDIR/$IN.$TYPE \
77
+            $IN
78
+        echo
79
+
80
+        echo "Exporting DIY board $VAR"
81
+        rm -rf $OUTDIR/${IN}_diy.$TYPE
82
+        kicad-cli pcb export $TYPE \
83
+            -t "KiCad Default"  \
84
+            -l $LAYER_MANUAL \
85
+            --black-and-white \
86
+            --negative \
87
+            -o $OUTDIR/${IN}_diy.$TYPE \
88
+            $IN
89
+        echo
90
+    done
91
+
92
+    #  -----------
93
+    # | 3D Layout |
94
+    #  -----------
95
+    echo "Exporting board 3D"
96
+    kicad-cli pcb export vrml \
97
+        -o $OUTDIR/$IN.wrl \
98
+        $IN
99
+    echo
100
+done

+ 2324
- 0
pcb2/lars2.kicad_pcb
File diff suppressed because it is too large
View File


+ 83
- 0
pcb2/lars2.kicad_prl View File

@@ -0,0 +1,83 @@
1
+{
2
+  "board": {
3
+    "active_layer": 44,
4
+    "active_layer_preset": "All Layers",
5
+    "auto_track_width": true,
6
+    "hidden_netclasses": [],
7
+    "hidden_nets": [],
8
+    "high_contrast_mode": 0,
9
+    "net_color_mode": 1,
10
+    "opacity": {
11
+      "images": 0.6,
12
+      "pads": 1.0,
13
+      "tracks": 1.0,
14
+      "vias": 1.0,
15
+      "zones": 0.6
16
+    },
17
+    "selection_filter": {
18
+      "dimensions": true,
19
+      "footprints": true,
20
+      "graphics": true,
21
+      "keepouts": true,
22
+      "lockedItems": false,
23
+      "otherItems": true,
24
+      "pads": true,
25
+      "text": true,
26
+      "tracks": true,
27
+      "vias": true,
28
+      "zones": true
29
+    },
30
+    "visible_items": [
31
+      0,
32
+      1,
33
+      2,
34
+      3,
35
+      4,
36
+      5,
37
+      8,
38
+      9,
39
+      10,
40
+      11,
41
+      12,
42
+      13,
43
+      15,
44
+      16,
45
+      17,
46
+      18,
47
+      19,
48
+      20,
49
+      21,
50
+      22,
51
+      23,
52
+      24,
53
+      25,
54
+      26,
55
+      27,
56
+      28,
57
+      29,
58
+      30,
59
+      32,
60
+      33,
61
+      34,
62
+      35,
63
+      36,
64
+      39,
65
+      40
66
+    ],
67
+    "visible_layers": "fffffff_ffffffff",
68
+    "zone_display_mode": 0
69
+  },
70
+  "git": {
71
+    "repo_password": "",
72
+    "repo_type": "",
73
+    "repo_username": "",
74
+    "ssh_key": ""
75
+  },
76
+  "meta": {
77
+    "filename": "lars2.kicad_prl",
78
+    "version": 3
79
+  },
80
+  "project": {
81
+    "files": []
82
+  }
83
+}

+ 582
- 0
pcb2/lars2.kicad_pro View File

@@ -0,0 +1,582 @@
1
+{
2
+  "board": {
3
+    "3dviewports": [],
4
+    "design_settings": {
5
+      "defaults": {
6
+        "apply_defaults_to_fp_fields": false,
7
+        "apply_defaults_to_fp_shapes": false,
8
+        "apply_defaults_to_fp_text": false,
9
+        "board_outline_line_width": 0.05,
10
+        "copper_line_width": 0.2,
11
+        "copper_text_italic": false,
12
+        "copper_text_size_h": 1.5,
13
+        "copper_text_size_v": 1.5,
14
+        "copper_text_thickness": 0.3,
15
+        "copper_text_upright": false,
16
+        "courtyard_line_width": 0.05,
17
+        "dimension_precision": 4,
18
+        "dimension_units": 3,
19
+        "dimensions": {
20
+          "arrow_length": 1270000,
21
+          "extension_offset": 500000,
22
+          "keep_text_aligned": true,
23
+          "suppress_zeroes": false,
24
+          "text_position": 0,
25
+          "units_format": 1
26
+        },
27
+        "fab_line_width": 0.1,
28
+        "fab_text_italic": false,
29
+        "fab_text_size_h": 1.0,
30
+        "fab_text_size_v": 1.0,
31
+        "fab_text_thickness": 0.15,
32
+        "fab_text_upright": false,
33
+        "other_line_width": 0.1,
34
+        "other_text_italic": false,
35
+        "other_text_size_h": 1.0,
36
+        "other_text_size_v": 1.0,
37
+        "other_text_thickness": 0.15,
38
+        "other_text_upright": false,
39
+        "pads": {
40
+          "drill": 0.762,
41
+          "height": 1.524,
42
+          "width": 1.524
43
+        },
44
+        "silk_line_width": 0.1,
45
+        "silk_text_italic": false,
46
+        "silk_text_size_h": 1.0,
47
+        "silk_text_size_v": 1.0,
48
+        "silk_text_thickness": 0.1,
49
+        "silk_text_upright": false,
50
+        "zones": {
51
+          "min_clearance": 0.5
52
+        }
53
+      },
54
+      "diff_pair_dimensions": [],
55
+      "drc_exclusions": [],
56
+      "meta": {
57
+        "version": 2
58
+      },
59
+      "rule_severities": {
60
+        "annular_width": "error",
61
+        "clearance": "error",
62
+        "connection_width": "warning",
63
+        "copper_edge_clearance": "error",
64
+        "copper_sliver": "warning",
65
+        "courtyards_overlap": "error",
66
+        "diff_pair_gap_out_of_range": "error",
67
+        "diff_pair_uncoupled_length_too_long": "error",
68
+        "drill_out_of_range": "error",
69
+        "duplicate_footprints": "warning",
70
+        "extra_footprint": "warning",
71
+        "footprint": "error",
72
+        "footprint_symbol_mismatch": "warning",
73
+        "footprint_type_mismatch": "ignore",
74
+        "hole_clearance": "error",
75
+        "hole_near_hole": "error",
76
+        "invalid_outline": "error",
77
+        "isolated_copper": "warning",
78
+        "item_on_disabled_layer": "error",
79
+        "items_not_allowed": "error",
80
+        "length_out_of_range": "error",
81
+        "lib_footprint_issues": "warning",
82
+        "lib_footprint_mismatch": "warning",
83
+        "malformed_courtyard": "error",
84
+        "microvia_drill_out_of_range": "error",
85
+        "missing_courtyard": "ignore",
86
+        "missing_footprint": "warning",
87
+        "net_conflict": "warning",
88
+        "npth_inside_courtyard": "ignore",
89
+        "padstack": "warning",
90
+        "pth_inside_courtyard": "ignore",
91
+        "shorting_items": "error",
92
+        "silk_edge_clearance": "warning",
93
+        "silk_over_copper": "warning",
94
+        "silk_overlap": "warning",
95
+        "skew_out_of_range": "error",
96
+        "solder_mask_bridge": "error",
97
+        "starved_thermal": "error",
98
+        "text_height": "warning",
99
+        "text_thickness": "warning",
100
+        "through_hole_pad_without_hole": "error",
101
+        "too_many_vias": "error",
102
+        "track_dangling": "warning",
103
+        "track_width": "error",
104
+        "tracks_crossing": "error",
105
+        "unconnected_items": "error",
106
+        "unresolved_variable": "error",
107
+        "via_dangling": "warning",
108
+        "zones_intersect": "error"
109
+      },
110
+      "rules": {
111
+        "max_error": 0.005,
112
+        "min_clearance": 0.0,
113
+        "min_connection": 0.0,
114
+        "min_copper_edge_clearance": 0.5,
115
+        "min_hole_clearance": 0.25,
116
+        "min_hole_to_hole": 0.25,
117
+        "min_microvia_diameter": 0.2,
118
+        "min_microvia_drill": 0.1,
119
+        "min_resolved_spokes": 2,
120
+        "min_silk_clearance": 0.0,
121
+        "min_text_height": 0.8,
122
+        "min_text_thickness": 0.08,
123
+        "min_through_hole_diameter": 0.3,
124
+        "min_track_width": 0.0,
125
+        "min_via_annular_width": 0.1,
126
+        "min_via_diameter": 0.5,
127
+        "solder_mask_to_copper_clearance": 0.0,
128
+        "use_height_for_length_calcs": true
129
+      },
130
+      "teardrop_options": [
131
+        {
132
+          "td_onpadsmd": true,
133
+          "td_onroundshapesonly": false,
134
+          "td_ontrackend": false,
135
+          "td_onviapad": true
136
+        }
137
+      ],
138
+      "teardrop_parameters": [
139
+        {
140
+          "td_allow_use_two_tracks": true,
141
+          "td_curve_segcount": 0,
142
+          "td_height_ratio": 1.0,
143
+          "td_length_ratio": 0.5,
144
+          "td_maxheight": 2.0,
145
+          "td_maxlen": 1.0,
146
+          "td_on_pad_in_zone": false,
147
+          "td_target_name": "td_round_shape",
148
+          "td_width_to_size_filter_ratio": 0.9
149
+        },
150
+        {
151
+          "td_allow_use_two_tracks": true,
152
+          "td_curve_segcount": 0,
153
+          "td_height_ratio": 1.0,
154
+          "td_length_ratio": 0.5,
155
+          "td_maxheight": 2.0,
156
+          "td_maxlen": 1.0,
157
+          "td_on_pad_in_zone": false,
158
+          "td_target_name": "td_rect_shape",
159
+          "td_width_to_size_filter_ratio": 0.9
160
+        },
161
+        {
162
+          "td_allow_use_two_tracks": true,
163
+          "td_curve_segcount": 0,
164
+          "td_height_ratio": 1.0,
165
+          "td_length_ratio": 0.5,
166
+          "td_maxheight": 2.0,
167
+          "td_maxlen": 1.0,
168
+          "td_on_pad_in_zone": false,
169
+          "td_target_name": "td_track_end",
170
+          "td_width_to_size_filter_ratio": 0.9
171
+        }
172
+      ],
173
+      "track_widths": [],
174
+      "tuning_pattern_settings": {
175
+        "diff_pair_defaults": {
176
+          "corner_radius_percentage": 80,
177
+          "corner_style": 1,
178
+          "max_amplitude": 1.0,
179
+          "min_amplitude": 0.2,
180
+          "single_sided": false,
181
+          "spacing": 1.0
182
+        },
183
+        "diff_pair_skew_defaults": {
184
+          "corner_radius_percentage": 80,
185
+          "corner_style": 1,
186
+          "max_amplitude": 1.0,
187
+          "min_amplitude": 0.2,
188
+          "single_sided": false,
189
+          "spacing": 0.6
190
+        },
191
+        "single_track_defaults": {
192
+          "corner_radius_percentage": 80,
193
+          "corner_style": 1,
194
+          "max_amplitude": 1.0,
195
+          "min_amplitude": 0.2,
196
+          "single_sided": false,
197
+          "spacing": 0.6
198
+        }
199
+      },
200
+      "via_dimensions": [],
201
+      "zones_allow_external_fillets": false
202
+    },
203
+    "ipc2581": {
204
+      "dist": "",
205
+      "distpn": "",
206
+      "internal_id": "",
207
+      "mfg": "",
208
+      "mpn": ""
209
+    },
210
+    "layer_presets": [],
211
+    "viewports": []
212
+  },
213
+  "boards": [],
214
+  "cvpcb": {
215
+    "equivalence_files": []
216
+  },
217
+  "erc": {
218
+    "erc_exclusions": [],
219
+    "meta": {
220
+      "version": 0
221
+    },
222
+    "pin_map": [
223
+      [
224
+        0,
225
+        0,
226
+        0,
227
+        0,
228
+        0,
229
+        0,
230
+        1,
231
+        0,
232
+        0,
233
+        0,
234
+        0,
235
+        2
236
+      ],
237
+      [
238
+        0,
239
+        2,
240
+        0,
241
+        1,
242
+        0,
243
+        0,
244
+        1,
245
+        0,
246
+        2,
247
+        2,
248
+        2,
249
+        2
250
+      ],
251
+      [
252
+        0,
253
+        0,
254
+        0,
255
+        0,
256
+        0,
257
+        0,
258
+        1,
259
+        0,
260
+        1,
261
+        0,
262
+        1,
263
+        2
264
+      ],
265
+      [
266
+        0,
267
+        1,
268
+        0,
269
+        0,
270
+        0,
271
+        0,
272
+        1,
273
+        1,
274
+        2,
275
+        1,
276
+        1,
277
+        2
278
+      ],
279
+      [
280
+        0,
281
+        0,
282
+        0,
283
+        0,
284
+        0,
285
+        0,
286
+        1,
287
+        0,
288
+        0,
289
+        0,
290
+        0,
291
+        2
292
+      ],
293
+      [
294
+        0,
295
+        0,
296
+        0,
297
+        0,
298
+        0,
299
+        0,
300
+        0,
301
+        0,
302
+        0,
303
+        0,
304
+        0,
305
+        2
306
+      ],
307
+      [
308
+        1,
309
+        1,
310
+        1,
311
+        1,
312
+        1,
313
+        0,
314
+        1,
315
+        1,
316
+        1,
317
+        1,
318
+        1,
319
+        2
320
+      ],
321
+      [
322
+        0,
323
+        0,
324
+        0,
325
+        1,
326
+        0,
327
+        0,
328
+        1,
329
+        0,
330
+        0,
331
+        0,
332
+        0,
333
+        2
334
+      ],
335
+      [
336
+        0,
337
+        2,
338
+        1,
339
+        2,
340
+        0,
341
+        0,
342
+        1,
343
+        0,
344
+        2,
345
+        2,
346
+        2,
347
+        2
348
+      ],
349
+      [
350
+        0,
351
+        2,
352
+        0,
353
+        1,
354
+        0,
355
+        0,
356
+        1,
357
+        0,
358
+        2,
359
+        0,
360
+        0,
361
+        2
362
+      ],
363
+      [
364
+        0,
365
+        2,
366
+        1,
367
+        1,
368
+        0,
369
+        0,
370
+        1,
371
+        0,
372
+        2,
373
+        0,
374
+        0,
375
+        2
376
+      ],
377
+      [
378
+        2,
379
+        2,
380
+        2,
381
+        2,
382
+        2,
383
+        2,
384
+        2,
385
+        2,
386
+        2,
387
+        2,
388
+        2,
389
+        2
390
+      ]
391
+    ],
392
+    "rule_severities": {
393
+      "bus_definition_conflict": "error",
394
+      "bus_entry_needed": "error",
395
+      "bus_to_bus_conflict": "error",
396
+      "bus_to_net_conflict": "error",
397
+      "conflicting_netclasses": "error",
398
+      "different_unit_footprint": "error",
399
+      "different_unit_net": "error",
400
+      "duplicate_reference": "error",
401
+      "duplicate_sheet_names": "error",
402
+      "endpoint_off_grid": "warning",
403
+      "extra_units": "error",
404
+      "global_label_dangling": "warning",
405
+      "hier_label_mismatch": "error",
406
+      "label_dangling": "error",
407
+      "lib_symbol_issues": "warning",
408
+      "missing_bidi_pin": "warning",
409
+      "missing_input_pin": "warning",
410
+      "missing_power_pin": "error",
411
+      "missing_unit": "warning",
412
+      "multiple_net_names": "warning",
413
+      "net_not_bus_member": "warning",
414
+      "no_connect_connected": "warning",
415
+      "no_connect_dangling": "warning",
416
+      "pin_not_connected": "error",
417
+      "pin_not_driven": "error",
418
+      "pin_to_pin": "warning",
419
+      "power_pin_not_driven": "error",
420
+      "similar_labels": "warning",
421
+      "simulation_model_issue": "ignore",
422
+      "unannotated": "error",
423
+      "unit_value_mismatch": "error",
424
+      "unresolved_variable": "error",
425
+      "wire_dangling": "error"
426
+    }
427
+  },
428
+  "libraries": {
429
+    "pinned_footprint_libs": [],
430
+    "pinned_symbol_libs": []
431
+  },
432
+  "meta": {
433
+    "filename": "lars2.kicad_pro",
434
+    "version": 1
435
+  },
436
+  "net_settings": {
437
+    "classes": [
438
+      {
439
+        "bus_width": 12,
440
+        "clearance": 0.2,
441
+        "diff_pair_gap": 0.25,
442
+        "diff_pair_via_gap": 0.25,
443
+        "diff_pair_width": 0.2,
444
+        "line_style": 0,
445
+        "microvia_diameter": 0.3,
446
+        "microvia_drill": 0.1,
447
+        "name": "Default",
448
+        "pcb_color": "rgba(0, 0, 0, 0.000)",
449
+        "schematic_color": "rgba(0, 0, 0, 0.000)",
450
+        "track_width": 0.2,
451
+        "via_diameter": 0.6,
452
+        "via_drill": 0.3,
453
+        "wire_width": 6
454
+      }
455
+    ],
456
+    "meta": {
457
+      "version": 3
458
+    },
459
+    "net_colors": null,
460
+    "netclass_assignments": null,
461
+    "netclass_patterns": []
462
+  },
463
+  "pcbnew": {
464
+    "last_paths": {
465
+      "gencad": "",
466
+      "idf": "",
467
+      "netlist": "",
468
+      "plot": "",
469
+      "pos_files": "",
470
+      "specctra_dsn": "",
471
+      "step": "",
472
+      "svg": "",
473
+      "vrml": ""
474
+    },
475
+    "page_layout_descr_file": ""
476
+  },
477
+  "schematic": {
478
+    "annotate_start_num": 0,
479
+    "bom_fmt_presets": [],
480
+    "bom_fmt_settings": {
481
+      "field_delimiter": ",",
482
+      "keep_line_breaks": false,
483
+      "keep_tabs": false,
484
+      "name": "CSV",
485
+      "ref_delimiter": ",",
486
+      "ref_range_delimiter": "",
487
+      "string_delimiter": "\""
488
+    },
489
+    "bom_presets": [],
490
+    "bom_settings": {
491
+      "exclude_dnp": false,
492
+      "fields_ordered": [
493
+        {
494
+          "group_by": false,
495
+          "label": "Reference",
496
+          "name": "Reference",
497
+          "show": true
498
+        },
499
+        {
500
+          "group_by": true,
501
+          "label": "Value",
502
+          "name": "Value",
503
+          "show": true
504
+        },
505
+        {
506
+          "group_by": false,
507
+          "label": "Datasheet",
508
+          "name": "Datasheet",
509
+          "show": true
510
+        },
511
+        {
512
+          "group_by": false,
513
+          "label": "Footprint",
514
+          "name": "Footprint",
515
+          "show": true
516
+        },
517
+        {
518
+          "group_by": false,
519
+          "label": "Qty",
520
+          "name": "${QUANTITY}",
521
+          "show": true
522
+        },
523
+        {
524
+          "group_by": true,
525
+          "label": "DNP",
526
+          "name": "${DNP}",
527
+          "show": true
528
+        }
529
+      ],
530
+      "filter_string": "",
531
+      "group_symbols": true,
532
+      "name": "Grouped By Value",
533
+      "sort_asc": true,
534
+      "sort_field": "Reference"
535
+    },
536
+    "connection_grid_size": 50.0,
537
+    "drawing": {
538
+      "dashed_lines_dash_length_ratio": 12.0,
539
+      "dashed_lines_gap_length_ratio": 3.0,
540
+      "default_line_thickness": 6.0,
541
+      "default_text_size": 50.0,
542
+      "field_names": [],
543
+      "intersheets_ref_own_page": false,
544
+      "intersheets_ref_prefix": "",
545
+      "intersheets_ref_short": false,
546
+      "intersheets_ref_show": false,
547
+      "intersheets_ref_suffix": "",
548
+      "junction_size_choice": 3,
549
+      "label_size_ratio": 0.375,
550
+      "operating_point_overlay_i_precision": 3,
551
+      "operating_point_overlay_i_range": "~A",
552
+      "operating_point_overlay_v_precision": 3,
553
+      "operating_point_overlay_v_range": "~V",
554
+      "overbar_offset_ratio": 1.23,
555
+      "pin_symbol_size": 25.0,
556
+      "text_offset_ratio": 0.15
557
+    },
558
+    "legacy_lib_dir": "",
559
+    "legacy_lib_list": [],
560
+    "meta": {
561
+      "version": 1
562
+    },
563
+    "net_format_name": "",
564
+    "page_layout_descr_file": "",
565
+    "plot_directory": "",
566
+    "spice_current_sheet_as_root": false,
567
+    "spice_external_command": "spice \"%I\"",
568
+    "spice_model_current_sheet_as_root": true,
569
+    "spice_save_all_currents": false,
570
+    "spice_save_all_dissipations": false,
571
+    "spice_save_all_voltages": false,
572
+    "subpart_first_id": 65,
573
+    "subpart_id_separator": 0
574
+  },
575
+  "sheets": [
576
+    [
577
+      "a25473f4-1652-4b35-af21-cda37f55b27b",
578
+      "Root"
579
+    ]
580
+  ],
581
+  "text_variables": {}
582
+}

+ 1052
- 0
pcb2/lars2.kicad_sch
File diff suppressed because it is too large
View File


+ 5
- 0
pcb2/sym-lib-table View File

@@ -0,0 +1,5 @@
1
+(sym_lib_table
2
+  (version 7)
3
+  (lib (name "chinese_modules")(type "KiCad")(uri "${KIPRJMOD}/../pcb/chinese_modules.kicad_sym")(options "")(descr ""))
4
+  (lib (name "KiCad-RP-Pico")(type "KiCad")(uri "${KIPRJMOD}/KiCad-RP-Pico/RP-Pico Libraries/MCU_RaspberryPi_and_Boards.kicad_sym")(options "")(descr ""))
5
+)

Loading…
Cancel
Save