Adding diodeless build, requires routing.

This commit is contained in:
Andrew Rae 2022-01-16 14:14:36 -05:00
parent 8752bb5503
commit b9fdf4fe2c
6 changed files with 2845 additions and 46 deletions

2
.gitignore vendored
View file

@ -1,2 +1,2 @@
node_modules node_modules
output /output/outlines/

View file

@ -6,11 +6,11 @@ container_args="-w /board -v $(pwd):/board --rm"
rm -rf output rm -rf output
npm run gen npm run gen
${container_cmd} run ${container_args} soundmonster/kicad-automation-scripts:latest /usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/export_dsn.py output/pcbs/main.kicad_pcb output/pcbs/main.dsn ${container_cmd} run ${container_args} soundmonster/kicad-automation-scripts:latest /usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/export_dsn.py output/pcbs/board.kicad_pcb output/pcbs/board.dsn
# ${container_cmd} run ${container_args} soundmonster/freerouting_cli:v0.1.0 java -jar /opt/freerouting_cli.jar -de output/pcbs/main.dsn -do output/pcbs/main.ses # ${container_cmd} run ${container_args} soundmonster/freerouting_cli:v0.1.0 java -jar /opt/freerouting_cli.jar -de output/pcbs/board.dsn -do output/pcbs/board.ses
# ${container_cmd} run ${container_args} soundmonster/kicad-automation-scripts:latest /usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/import_ses.py output/pcbs/main.kicad_pcb output/pcbs/main.ses --output-file output/pcbs/main-routed.kicad_pcb # ${container_cmd} run ${container_args} soundmonster/kicad-automation-scripts:latest /usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/import_ses.py output/pcbs/board.kicad_pcb output/pcbs/board.ses --output-file output/pcbs/board-routed.kicad_pcb
# ${container_cmd} run ${container_args} soundmonster/kicad-automation-scripts:latest /usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/run_drc.py output/pcbs/main-routed.kicad_pcb output/pcbs/drc/ # ${container_cmd} run ${container_args} soundmonster/kicad-automation-scripts:latest /usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/run_drc.py output/pcbs/board-routed.kicad_pcb output/pcbs/drc/
# pcbdraw also supports a style file as JSON # pcbdraw also supports a style file as JSON
# ${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 pcbdraw --style builtin:set-white-enig.json output/pcbs/main-routed.kicad_pcb images/left.png # ${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 pcbdraw --style builtin:set-white-enig.json output/pcbs/board-routed.kicad_pcb images/left.png
# ${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 pcbdraw -b --style builtin:set-white-enig.json output/pcbs/main-routed.kicad_pcb images/right.png # ${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 pcbdraw -b --style builtin:set-white-enig.json output/pcbs/board-routed.kicad_pcb images/right.png
# ${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 kikit fab jlcpcb --no-assembly output/pcbs/main-routed.kicad_pcb production/pcb/main # ${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 kikit fab jlcpcb --no-assembly output/pcbs/board-routed.kicad_pcb production/pcb/board

606
output/pcbs/board.dsn Normal file
View file

@ -0,0 +1,606 @@
(pcb /board/output/pcbs/board.dsn
(parser
(string_quote ")
(space_in_quoted_tokens on)
(host_cad "KiCad's Pcbnew")
(host_version "5.0.1-33cea8e~67~ubuntu18.04.1")
)
(resolution um 10)
(unit um)
(structure
(layer F.Cu
(type signal)
(property
(index 0)
)
)
(layer B.Cu
(type signal)
(property
(index 1)
)
)
(boundary
(path pcb 0 52150.9 68877.1 52648.8 68720.1 53089.1 68439.5 53441.9 68054.6
53682.9 67591.5 53796 67081.8 53876.9 66156.4 54014.9 65581.5
54315 65072.1 54750.9 64672.7 55284.6 64418.1 55869.3 64330.8
75167.9 64330.8 75685.5 64262.6 76167.9 64062.8 76582.1 63745
76899.9 63330.8 77099.7 62848.4 77167.9 62330.8 77167.9 61497.4
94167.9 61497.4 94776.4 61402.6 95327.2 61127.1 95768.1 60697.1
96057.2 60153.4 96167.2 59547.4 114068 59547.4 114585 59479.3
115068 59279.5 115482 58961.6 115800 58547.4 116000 58065.1
116068 57547.4 116068 1065.97 116158 -571.874 116426 -2190.13
116869 -3769.45 117481 -5290.95 118257 -6736.43 119185 -8088.6
132378 -25213 132696 -25627.2 132896 -26109.5 132964 -26627.2
132896 -27144.8 132696 -27627.2 132378 -28041.4 121772 -38648
121358 -38965.8 120875 -39165.6 120358 -39233.8 119840 -39165.6
119358 -38965.8 118943 -38648 74643.1 -14978.2 73409.9 -14389.9
72128.4 -13916.2 70809 -13561.1 69462.8 -13327.5 26894 -7924.86
25312.9 -7808.65 23728.4 -7859.95 22158.2 -8078.19 20619.8 -8460.92
8090.38 -12291.6 7575.44 -12377.7 7055.73 -12327.7 6566.69 -12144.8
6141.64 -11841.7 5809.54 -11438.8 5593.03 -10963.7 -8791.66 36086.5
-8877.83 36601.4 -8827.79 37121.1 -8644.94 37610.2 -8341.76 38035.2
-7938.89 38367.3 -7463.79 38583.9 11857.3 44490.9 12379.3 44737.7
12809.1 45123.3 13110.8 45615.6 13259.3 46173.6 13242.2 46750.8
11777.6 55056.7 11754.8 55578.3 11867.8 56088 12108.9 56551.1
12461.6 56936.1 12902 57216.6 13399.9 57373.6 32244.8 60696.5
32805.5 60884.1 33286.8 61227.4 33646.7 61696.5 33853.8 62250.3
33889.9 62840.4 33672.8 65321.2 33695.6 65842.8 33852.6 66340.8
34133.1 66781.1 34518.1 67133.8 34981.2 67374.9 35490.9 67487.9
51629.3 68899.8 52150.9 68877.1)
)
(via "Via[0-1]_800:400_um")
(rule
(width 250)
(clearance 200.1)
(clearance 200.1 (type default_smd))
(clearance 50 (type smd_smd))
)
)
(placement
(component PG1350
(place S1 13029.7 -742.819 front 17)
(place S3 8059.36 15514.4 front 17)
(place S5 3089.04 31771.5 front 17)
(place S7 28947.9 15842.5 front 10)
(place S9 25995.9 32584.3 front 10)
(place S11 23043.9 49326 front 10)
(place S13 47360.1 24759.8 front 5)
(place S15 45878.4 41695.1 front 5)
(place S17 44396.8 58630.4 front 5)
(place S19 67067.9 20730.8 front 0)
(place S21 67067.9 37730.8 front 0)
(place S23 67067.9 54730.8 front 0)
(place S25 86067.9 17897.4 front 0)
(place S27 86067.9 34897.4 front 0)
(place S29 86067.9 51897.4 front 0)
(place S31 85547.8 -6380.32 front 345)
(place S33 104085 -14058.8 front 330)
(place S35 120004 -26273.6 front 315)
)
(component PG1350::1
(place S2 13029.7 -742.819 front 197)
(place S4 8059.36 15514.4 front 197)
(place S6 3089.04 31771.5 front 197)
)
(component PG1350::2
(place S8 28947.9 15842.5 front 190)
(place S10 25995.9 32584.3 front 190)
(place S12 23043.9 49326 front 190)
)
(component PG1350::3
(place S14 47360.1 24759.8 front 185)
(place S16 45878.4 41695.1 front 185)
(place S18 44396.8 58630.4 front 185)
)
(component PG1350::4
(place S20 67067.9 20730.8 front 180)
(place S22 67067.9 37730.8 front 180)
(place S24 67067.9 54730.8 front 180)
(place S26 86067.9 17897.4 front 180)
(place S28 86067.9 34897.4 front 180)
(place S30 86067.9 51897.4 front 180)
)
(component PG1350::5
(place S32 85547.8 -6380.32 front 165)
)
(component PG1350::6
(place S34 104085 -14058.8 front 150)
)
(component PG1350::7
(place S36 120004 -26273.6 front 135)
)
(component ProMicro
(place MCU1 106068 40897.4 front 270)
)
(component E73:SPDT_C128955
(place T1 114068 17897.4 front 270)
)
(component E73:SPDT_C128955::1
(place T2 114068 17897.4 front 270)
)
(component kbd:ResetSW
(place B1 113568 3897.42 front 270)
)
)
(library
(image PG1350
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Rect[B]Pad_2600x2600_um 1 -3275 5950)
(pin Rect[B]Pad_2600x2600_um 2 8275 3750)
(pin Rect[T]Pad_2600x2600_um 1@1 3275 5950)
(pin Rect[T]Pad_2600x2600_um 2@1 -8275 3750)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
(keepout "" (circle F.Cu 3000 5000 3750))
(keepout "" (circle B.Cu 3000 5000 3750))
(keepout "" (circle F.Cu 3000 0 5950))
(keepout "" (circle B.Cu 3000 0 5950))
(keepout "" (circle F.Cu 3000 -5000 3750))
(keepout "" (circle B.Cu 3000 -5000 3750))
(keepout "" (circle F.Cu 3000 0 5950))
(keepout "" (circle B.Cu 3000 0 5950))
)
(image PG1350::1
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Round[A]Pad_2032_um (rotate 163) 1 5000 3800)
(pin Round[A]Pad_2032_um (rotate 163) 2 0 5900)
(pin Round[A]Pad_2032_um (rotate 163) 1@1 -5000 3800)
(pin Round[A]Pad_2032_um (rotate 163) 2@1 0 5900)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
)
(image PG1350::2
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Round[A]Pad_2032_um (rotate 170) 1 5000 3800)
(pin Round[A]Pad_2032_um (rotate 170) 2 0 5900)
(pin Round[A]Pad_2032_um (rotate 170) 1@1 -5000 3800)
(pin Round[A]Pad_2032_um (rotate 170) 2@1 0 5900)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
)
(image PG1350::3
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Round[A]Pad_2032_um (rotate 175) 1 5000 3800)
(pin Round[A]Pad_2032_um (rotate 175) 2 0 5900)
(pin Round[A]Pad_2032_um (rotate 175) 1@1 -5000 3800)
(pin Round[A]Pad_2032_um (rotate 175) 2@1 0 5900)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
)
(image PG1350::4
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Round[A]Pad_2032_um (rotate 180) 1 5000 3800)
(pin Round[A]Pad_2032_um (rotate 180) 2 0 5900)
(pin Round[A]Pad_2032_um (rotate 180) 1@1 -5000 3800)
(pin Round[A]Pad_2032_um (rotate 180) 2@1 0 5900)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
)
(image PG1350::5
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Round[A]Pad_2032_um (rotate 195) 1 5000 3800)
(pin Round[A]Pad_2032_um (rotate 195) 2 0 5900)
(pin Round[A]Pad_2032_um (rotate 195) 1@1 -5000 3800)
(pin Round[A]Pad_2032_um (rotate 195) 2@1 0 5900)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
)
(image PG1350::6
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Round[A]Pad_2032_um (rotate 210) 1 5000 3800)
(pin Round[A]Pad_2032_um (rotate 210) 2 0 5900)
(pin Round[A]Pad_2032_um (rotate 210) 1@1 -5000 3800)
(pin Round[A]Pad_2032_um (rotate 210) 2@1 0 5900)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
)
(image PG1350::7
(outline (path signal 150 -7000 6000 -7000 7000))
(outline (path signal 150 -7000 -7000 -6000 -7000))
(outline (path signal 150 -6000 7000 -7000 7000))
(outline (path signal 150 -7000 -7000 -7000 -6000))
(outline (path signal 150 7000 -6000 7000 -7000))
(outline (path signal 150 7000 7000 6000 7000))
(outline (path signal 150 6000 -7000 7000 -7000))
(outline (path signal 150 7000 7000 7000 6000))
(outline (path signal 150 -9000 8500 9000 8500))
(outline (path signal 150 9000 8500 9000 -8500))
(outline (path signal 150 9000 -8500 -9000 -8500))
(outline (path signal 150 -9000 -8500 -9000 8500))
(pin Round[A]Pad_2032_um (rotate 225) 1 5000 3800)
(pin Round[A]Pad_2032_um (rotate 225) 2 0 5900)
(pin Round[A]Pad_2032_um (rotate 225) 1@1 -5000 3800)
(pin Round[A]Pad_2032_um (rotate 225) 2@1 0 5900)
(keepout "" (circle F.Cu 3429))
(keepout "" (circle B.Cu 3429))
(keepout "" (circle F.Cu 1701.8 5500 0))
(keepout "" (circle B.Cu 1701.8 5500 0))
(keepout "" (circle F.Cu 1701.8 -5500 0))
(keepout "" (circle B.Cu 1701.8 -5500 0))
)
(image ProMicro
(outline (path signal 150 -19304 3810 -14224 3810))
(outline (path signal 150 -19304 -3810 -19304 3810))
(outline (path signal 150 -14224 -3810 -19304 -3810))
(outline (path signal 150 -14224 3810 -14224 -3810))
(outline (path signal 150 -17780 -8890 15240 -8890))
(outline (path signal 150 15240 -8890 15240 8890))
(outline (path signal 150 15240 8890 -17780 8890))
(outline (path signal 150 -17780 8890 -17780 -8890))
(outline (path signal 150 -15240 -6350 -12700 -6350))
(outline (path signal 150 -15240 -6350 -15240 -8890))
(outline (path signal 150 -12700 -6350 -12700 -8890))
(pin Rect[A]Pad_1752.6x1752.6_um 1 -13970 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 2 -11430 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 3 -8890 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 4 -6350 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 5 -3810 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 6 -1270 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 7 1270 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 8 3810 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 9 6350 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 10 8890 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 11 11430 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 12 13970 -7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 13 -13970 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 14 -11430 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 15 -8890 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 16 -6350 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 17 -3810 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 18 -1270 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 19 1270 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 20 3810 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 21 6350 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 22 8890 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 23 11430 7620)
(pin Round[A]Pad_1752.6_um (rotate 90) 24 13970 7620)
(pin RoundRect[A]Pad_1500x1500_376.427_um (rotate 90) 25 -16510 -7620)
(pin RoundRect[A]Pad_1500x1500_376.427_um (rotate 90) 25@1 -16510 7620)
)
(image E73:SPDT_C128955
(outline (path signal 150 1950 1350 -1950 1350))
(outline (path signal 150 0 1350 -3300 1350))
(outline (path signal 150 -3300 1350 -3300 -1500))
(outline (path signal 150 -3300 -1500 3300 -1500))
(outline (path signal 150 3300 -1500 3300 1350))
(outline (path signal 150 0 1350 3300 1350))
(outline (path signal 150 -1950 3850 1950 3850))
(outline (path signal 150 1950 3850 1950 1350))
(outline (path signal 150 -1950 1350 -1950 3850))
(pin Round[A]Pad_1000_um (rotate 90) @1 1500 0)
(pin Round[A]Pad_1000_um (rotate 90) @2 -1500 0)
(pin Rect[T]Pad_900x1250_um 1 2250 -2075)
(pin Rect[T]Pad_900x1250_um 2 -750 -2075)
(pin Rect[T]Pad_900x1250_um 3 -2250 -2075)
(pin Rect[T]Pad_900x900_um @3 3700 1100)
(pin Rect[T]Pad_900x900_um @4 3700 -1100)
(pin Rect[T]Pad_900x900_um @5 -3700 -1100)
(pin Rect[T]Pad_900x900_um @6 -3700 1100)
)
(image E73:SPDT_C128955::1
(outline (path signal 150 1950 1350 -1950 1350))
(outline (path signal 150 0 1350 -3300 1350))
(outline (path signal 150 -3300 1350 -3300 -1500))
(outline (path signal 150 -3300 -1500 3300 -1500))
(outline (path signal 150 3300 -1500 3300 1350))
(outline (path signal 150 0 1350 3300 1350))
(outline (path signal 150 -1950 3850 1950 3850))
(outline (path signal 150 1950 3850 1950 1350))
(outline (path signal 150 -1950 1350 -1950 3850))
(pin Round[A]Pad_1000_um (rotate 90) @1 1500 0)
(pin Round[A]Pad_1000_um (rotate 90) @2 -1500 0)
(pin Rect[B]Pad_900x1250_um 1 -2250 -2075)
(pin Rect[B]Pad_900x1250_um 2 750 -2075)
(pin Rect[B]Pad_900x1250_um 3 2250 -2075)
(pin Rect[B]Pad_900x900_um @3 3700 1100)
(pin Rect[B]Pad_900x900_um @4 3700 -1100)
(pin Rect[B]Pad_900x900_um @5 -3700 -1100)
(pin Rect[B]Pad_900x900_um @6 -3700 1100)
)
(image kbd:ResetSW
(outline (path signal 150 3000 -1500 3000 -1750))
(outline (path signal 150 3000 -1750 -3000 -1750))
(outline (path signal 150 -3000 -1750 -3000 -1500))
(outline (path signal 150 -3000 1500 -3000 1750))
(outline (path signal 150 -3000 1750 3000 1750))
(outline (path signal 150 3000 1750 3000 1500))
(outline (path signal 150 -3000 -1750 3000 -1750))
(outline (path signal 150 3000 -1750 3000 -1500))
(outline (path signal 150 -3000 -1750 -3000 -1500))
(outline (path signal 150 -3000 1750 -3000 1500))
(outline (path signal 150 -3000 1750 3000 1750))
(outline (path signal 150 3000 1750 3000 1500))
(pin Round[A]Pad_2000_um 2 -3250 0)
(pin Round[A]Pad_2000_um 1 3250 0)
)
(padstack Round[A]Pad_1000_um
(shape (circle F.Cu 1000))
(shape (circle B.Cu 1000))
(attach off)
)
(padstack Round[A]Pad_1752.6_um
(shape (circle F.Cu 1752.6))
(shape (circle B.Cu 1752.6))
(attach off)
)
(padstack Round[A]Pad_2000_um
(shape (circle F.Cu 2000))
(shape (circle B.Cu 2000))
(attach off)
)
(padstack Round[A]Pad_2032_um
(shape (circle F.Cu 2032))
(shape (circle B.Cu 2032))
(attach off)
)
(padstack RoundRect[A]Pad_1500x1500_376.427_um
(shape (polygon F.Cu 0 440.366 745.708 503.746 728.726 563.213 700.995 616.963 663.36
663.36 616.963 700.995 563.214 728.726 503.746 745.708 440.366
751.427 375 751.427 -375 745.708 -440.366 728.726 -503.746
700.995 -563.213 663.36 -616.963 616.963 -663.36 563.214 -700.995
503.746 -728.726 440.366 -745.708 375 -751.427 -375 -751.427
-440.366 -745.708 -503.746 -728.726 -563.213 -700.995 -616.963 -663.36
-663.36 -616.963 -700.995 -563.214 -728.726 -503.746 -745.708 -440.366
-751.427 -375 -751.427 375 -745.708 440.366 -728.726 503.746
-700.995 563.213 -663.36 616.963 -616.963 663.36 -563.214 700.995
-503.746 728.726 -440.366 745.708 -375 751.427 375 751.427
440.366 745.708))
(shape (polygon B.Cu 0 440.366 745.708 503.746 728.726 563.213 700.995 616.963 663.36
663.36 616.963 700.995 563.214 728.726 503.746 745.708 440.366
751.427 375 751.427 -375 745.708 -440.366 728.726 -503.746
700.995 -563.213 663.36 -616.963 616.963 -663.36 563.214 -700.995
503.746 -728.726 440.366 -745.708 375 -751.427 -375 -751.427
-440.366 -745.708 -503.746 -728.726 -563.213 -700.995 -616.963 -663.36
-663.36 -616.963 -700.995 -563.214 -728.726 -503.746 -745.708 -440.366
-751.427 -375 -751.427 375 -745.708 440.366 -728.726 503.746
-700.995 563.213 -663.36 616.963 -616.963 663.36 -563.214 700.995
-503.746 728.726 -440.366 745.708 -375 751.427 375 751.427
440.366 745.708))
(attach off)
)
(padstack Rect[B]Pad_2600x2600_um
(shape (rect B.Cu -1300 -1300 1300 1300))
(attach off)
)
(padstack Rect[B]Pad_900x900_um
(shape (rect B.Cu -450 -450 450 450))
(attach off)
)
(padstack Rect[B]Pad_900x1250_um
(shape (rect B.Cu -450 -625 450 625))
(attach off)
)
(padstack Rect[T]Pad_2600x2600_um
(shape (rect F.Cu -1300 -1300 1300 1300))
(attach off)
)
(padstack Rect[T]Pad_900x900_um
(shape (rect F.Cu -450 -450 450 450))
(attach off)
)
(padstack Rect[T]Pad_900x1250_um
(shape (rect F.Cu -450 -625 450 625))
(attach off)
)
(padstack Rect[A]Pad_1752.6x1752.6_um
(shape (rect F.Cu -876.3 -876.3 876.3 876.3))
(shape (rect B.Cu -876.3 -876.3 876.3 876.3))
(attach off)
)
(padstack "Via[0-1]_800:400_um"
(shape (circle F.Cu 800))
(shape (circle B.Cu 800))
(attach off)
)
)
(network
(net P6
(pins S1-1 S1-1@1 S2-1 S2-1@1 MCU1-21)
)
(net GND
(pins S1-2 S1-2@1 S2-2 S2-2@1 S3-2 S3-2@1 S4-2 S4-2@1 S5-2 S5-2@1 S6-2 S6-2@1
S7-2 S7-2@1 S8-2 S8-2@1 S9-2 S9-2@1 S10-2 S10-2@1 S11-2 S11-2@1 S12-2 S12-2@1
S13-2 S13-2@1 S14-2 S14-2@1 S15-2 S15-2@1 S16-2 S16-2@1 S17-2 S17-2@1 S18-2
S18-2@1 S19-2 S19-2@1 S20-2 S20-2@1 S21-2 S21-2@1 S22-2 S22-2@1 S23-2 S23-2@1
S24-2 S24-2@1 S25-2 S25-2@1 S26-2 S26-2@1 S27-2 S27-2@1 S28-2 S28-2@1 S29-2
S29-2@1 S30-2 S30-2@1 S31-2 S31-2@1 S32-2 S32-2@1 S33-2 S33-2@1 S34-2 S34-2@1
S35-2 S35-2@1 S36-2 S36-2@1 MCU1-2 MCU1-15 MCU1-16 B1-2)
)
(net P5
(pins S3-1 S3-1@1 S4-1 S4-1@1 MCU1-20)
)
(net P4
(pins S5-1 S5-1@1 S6-1 S6-1@1 MCU1-19)
)
(net P3
(pins S7-1 S7-1@1 S8-1 S8-1@1 MCU1-18)
)
(net P2
(pins S9-1 S9-1@1 S10-1 S10-1@1 MCU1-17)
)
(net P0
(pins S11-1 S11-1@1 S12-1 S12-1@1 MCU1-14)
)
(net P1
(pins S13-1 S13-1@1 S14-1 S14-1@1 MCU1-13)
)
(net P10
(pins S15-1 S15-1@1 S16-1 S16-1@1 MCU1-12)
)
(net P16
(pins S17-1 S17-1@1 S18-1 S18-1@1 MCU1-11)
)
(net P14
(pins S19-1 S19-1@1 S20-1 S20-1@1 MCU1-10)
)
(net P15
(pins S21-1 S21-1@1 S22-1 S22-1@1 MCU1-9)
)
(net P18
(pins S23-1 S23-1@1 S24-1 S24-1@1 MCU1-8)
)
(net P19
(pins S25-1 S25-1@1 S26-1 S26-1@1 MCU1-7)
)
(net P20
(pins S27-1 S27-1@1 S28-1 S28-1@1 MCU1-6)
)
(net P21
(pins S29-1 S29-1@1 S30-1 S30-1@1 MCU1-5)
)
(net P7
(pins S31-1 S31-1@1 S32-1 S32-1@1 MCU1-22)
)
(net P8
(pins S33-1 S33-1@1 S34-1 S34-1@1 MCU1-23)
)
(net P9
(pins S35-1 S35-1@1 S36-1 S36-1@1 MCU1-24)
)
(net RAW
(pins MCU1-1)
)
(net RST
(pins MCU1-3 B1-1)
)
(net VCC
(pins MCU1-4)
)
(net Bplus
(pins MCU1-25 T1-2 T2-2)
)
(net Bminus
(pins MCU1-25@1)
)
(net Braw
(pins T1-1 T2-1)
)
(class kicad_default "" P0 P1 P10 P14 P15 P16 P18 P19 P2 P20 P21 P3 P4
P5 P6 P7 P8 P9 RST
(circuit
(use_via Via[0-1]_800:400_um)
)
(rule
(width 250)
(clearance 200.1)
)
)
(class Power Bminus Bplus Braw GND RAW VCC
(circuit
(use_via Via[0-1]_800:400_um)
)
(rule
(width 500)
(clearance 200.1)
)
)
)
(wiring
)
)

2142
output/pcbs/board.kicad_pcb Normal file

File diff suppressed because it is too large Load diff

33
output/pcbs/board.pro Normal file
View file

@ -0,0 +1,33 @@
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]

View file

@ -6,32 +6,27 @@ units:
points: points:
key: key:
footprints: footprints:
choc_soldered: choc_hotswap:
type: choc
nets:
from: =column_net
to: GND
params:
keycaps: true
reverse: true
hotswap: true
choc:
type: choc type: choc
anchor: anchor:
rotate: 180 rotate: 180
nets:
from: =column_net
to: GND
params: params:
hotswap: false keycaps: true
reverse: true reverse: true
keycaps: true
nets:
# from: P1
# to: P2
from: =colrow
to: =column_net
diode:
type: diode
nets:
# from: P3
# to: P4
from: =colrow
to: =row_net
anchor:
shift: [0, 5]
zones: zones:
matrix: matrix:
# anchor:
# rotate: 5
key.padding: ky key.padding: ky
columns: columns:
pinky: pinky:
@ -40,7 +35,13 @@ points:
origin: [0, -ky] origin: [0, -ky]
key: key:
bind: [0.1, 0.5 kx, 0.1, 0.1] bind: [0.1, 0.5 kx, 0.1, 0.1]
column_net: P20 rows:
bottom:
column_net: P6
home:
column_net: P5
top:
column_net: P4
ring: ring:
spread: 18 spread: 18
stagger: 2 ky /3 stagger: 2 ky /3
@ -48,8 +49,14 @@ points:
origin: [0, -ky] origin: [0, -ky]
key: key:
bind: [0.1, 0.5 kx, 0.1, 0.1] bind: [0.1, 0.5 kx, 0.1, 0.1]
column_net: P19 rows:
middle: bottom:
column_net: P3
home:
column_net: P2
top:
column_net: P0
home:
spread: 18 spread: 18
stagger: ky/3 stagger: ky/3
rotate: -5 rotate: -5
@ -57,7 +64,13 @@ points:
key: key:
bind: [0.1, 0.1, 0.5 kx, 0.1] bind: [0.1, 0.1, 0.5 kx, 0.1]
shift: [0.2, 0] shift: [0.2, 0]
column_net: P18 rows:
bottom:
column_net: P1
home:
column_net: P10
top:
column_net: P16
index: index:
spread: 18 spread: 18
stagger: -ky/3 stagger: -ky/3
@ -65,21 +78,26 @@ points:
origin: [0, -ky] origin: [0, -ky]
key: key:
bind: [0.1, 0.1, 0.5 kx, 0.5 kx] bind: [0.1, 0.1, 0.5 kx, 0.5 kx]
column_net: P15 rows:
bottom:
column_net: P14
home:
column_net: P15
top:
column_net: P18
inner: inner:
spread: 19 spread: 19
stagger: -ky/6 stagger: -ky/6
origin: [0, -ky] origin: [0, -ky]
key: key:
bind: [0.1, 0.1, 0.1, 0.5 kx] bind: [0.1, 0.1, 0.1, 0.5 kx]
column_net: P14 rows:
rows: bottom:
bottom: column_net: P19
row_net: P6 home:
home: column_net: P20
row_net: P5 top:
top: column_net: P21
row_net: P4
thumbfan: thumbfan:
anchor: anchor:
ref: matrix_inner_bottom ref: matrix_inner_bottom
@ -90,19 +108,19 @@ points:
rotate: -15 rotate: -15
origin: [-1.5 kx, -0.5 ky] origin: [-1.5 kx, -0.5 ky]
key: key:
column_net: P18 column_net: P7
home: home:
spread: kx spread: kx
rotate: -15 rotate: -15
origin: [-0.5 kx, -0.5 ky] origin: [-0.5 kx, -0.5 ky]
key: key:
column_net: P15 column_net: P8
far: far:
spread: kx spread: kx
rotate: -15 rotate: -15
origin: [-0.5 kx, -0.5 ky] origin: [-0.5 kx, -0.5 ky]
key: key:
column_net: P14 column_net: P9
rows: rows:
thumb: thumb:
row_net: P7 row_net: P7
@ -165,7 +183,7 @@ pcbs:
mcu_l: mcu_l:
type: promicro type: promicro
params: params:
orientation: up orientation: down
batteryPins: true batteryPins: true
anchor: anchor:
ref: ref:
@ -201,7 +219,7 @@ pcbs:
anchor: anchor:
ref: ref:
- matrix_inner_bottom - matrix_inner_bottom
shift: [27, -14] shift: [27.5, -14]
rotate: 270 rotate: 270
params: params:
variant: 2_pin_th variant: 2_pin_th