First working version

This commit is contained in:
Leo Batyuk 2021-09-10 21:19:48 +02:00
parent 31c9554b0a
commit 2d0c17fee0
11 changed files with 5621 additions and 0 deletions

31
README.md Normal file
View file

@ -0,0 +1,31 @@
```
npm run gen
docker run -w /board -v $(pwd):/board --rm 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.ds
docker run -w /board -v $(pwd):/board --rm soundmonster/freerouting_cli:v0.1.0 java -jar /opt/freerouting_cli.jar -de output/pcbs/main.dsn -do output/pcbs/main.ses
docker run -w /board -v $(pwd):/board --rm 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
docker run -w /board -v $(pwd):/board --rm 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/
```
Export DSN
```
docker run -v $(pwd):/foo --rm -it soundmonster/kicad-automation-scripts:latest
/usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/export_dsn.py --record ./pcbs/main.kicad_pcb main.dsn
```
Autoroute
```
docker run -v $(pwd):/foo --rm -it soundmonster/freerouting_cli:v0.1.0 bash
java -jar build/obj/freerouting_cli.jar -de ../../../../../roflkbd/output/pcbs/main.dsn -do ../../../../../roflkbd/output/pcbs/main.ses
```
import SES
```
docker run -v $(pwd):/foo --rm -it soundmonster/kicad-automation-scripts:latest
/usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/import_ses.py /foo/pcbs/main.kicad_pcb /foo/main.ses --output-file /foo/main-routed.kicad_pcb
```

16
build.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
# cri_cmd=podman
cri_cmd=docker
cri_args="-w /board -v $(pwd):/board --rm"
rm -rf output
npm run gen
${cri_cmd} run ${cri_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
${cri_cmd} run ${cri_args} soundmonster/freerouting_cli:v0.1.0 java -jar /opt/freerouting_cli.jar -de output/pcbs/main.dsn -do output/pcbs/main.ses
${cri_cmd} run ${cri_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
${cri_cmd} run ${cri_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/
# pcbdraw also supports a style file as JSON
${cri_cmd} run ${cri_args} yaqwsx/kikit:v0.7 pcbdraw --style builtin:set-white-enig.json output/pcbs/main-routed.kicad_pcb images/left.png
${cri_cmd} run ${cri_args} yaqwsx/kikit:v0.7 pcbdraw -b --style builtin:set-white-enig.json output/pcbs/main-routed.kicad_pcb images/right.png

BIN
images/left.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

BIN
images/right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

View file

@ -0,0 +1,116 @@
** Drc report for output/pcbs/main-routed.kicad_pcb **
** Created on 2021-09-10 19:19:19 **
** Found 36 DRC errors **
ErrType(19): Pad near pad
@ (13.000 mm,-37.750 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S3
@ (14.725 mm,-39.950 mm): Pad 1 on B.Cu, Non-copper of S3
ErrType(19): Pad near pad
@ (13.000 mm,-20.750 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S2
@ (14.725 mm,-22.950 mm): Pad 1 on B.Cu, Non-copper of S2
ErrType(19): Pad near pad
@ (13.000 mm,-3.750 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S1
@ (14.725 mm,-5.950 mm): Pad 1 on B.Cu, Non-copper of S1
ErrType(19): Pad near pad
@ (21.275 mm,-39.950 mm): Pad 1 on F.Cu, Non-copper of S3
@ (23.000 mm,-37.750 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S3
ErrType(19): Pad near pad
@ (21.275 mm,-22.950 mm): Pad 1 on F.Cu, Non-copper of S2
@ (23.000 mm,-20.750 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S2
ErrType(19): Pad near pad
@ (21.275 mm,-5.950 mm): Pad 1 on F.Cu, Non-copper of S1
@ (23.000 mm,-3.750 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S1
ErrType(19): Pad near pad
@ (31.000 mm,-49.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S6
@ (32.725 mm,-51.850 mm): Pad 1 on B.Cu, Non-copper of S6
ErrType(19): Pad near pad
@ (31.000 mm,-32.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S5
@ (32.725 mm,-34.850 mm): Pad 1 on B.Cu, Non-copper of S5
ErrType(19): Pad near pad
@ (31.000 mm,-15.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S4
@ (32.725 mm,-17.850 mm): Pad 1 on B.Cu, Non-copper of S4
ErrType(19): Pad near pad
@ (39.275 mm,-51.850 mm): Pad 1 on F.Cu, Non-copper of S6
@ (41.000 mm,-49.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S6
ErrType(19): Pad near pad
@ (39.275 mm,-34.850 mm): Pad 1 on F.Cu, Non-copper of S5
@ (41.000 mm,-32.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S5
ErrType(19): Pad near pad
@ (39.275 mm,-17.850 mm): Pad 1 on F.Cu, Non-copper of S4
@ (41.000 mm,-15.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S4
ErrType(19): Pad near pad
@ (49.000 mm,-53.050 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S9
@ (50.725 mm,-55.250 mm): Pad 1 on B.Cu, Non-copper of S9
ErrType(19): Pad near pad
@ (49.000 mm,-36.050 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S8
@ (50.725 mm,-38.250 mm): Pad 1 on B.Cu, Non-copper of S8
ErrType(19): Pad near pad
@ (49.000 mm,-19.050 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S7
@ (50.725 mm,-21.250 mm): Pad 1 on B.Cu, Non-copper of S7
ErrType(19): Pad near pad
@ (57.275 mm,-55.250 mm): Pad 1 on F.Cu, Non-copper of S9
@ (59.000 mm,-53.050 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S9
ErrType(19): Pad near pad
@ (57.275 mm,-38.250 mm): Pad 1 on F.Cu, Non-copper of S8
@ (59.000 mm,-36.050 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S8
ErrType(19): Pad near pad
@ (57.275 mm,-21.250 mm): Pad 1 on F.Cu, Non-copper of S7
@ (59.000 mm,-19.050 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S7
ErrType(19): Pad near pad
@ (67.000 mm,-49.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S12
@ (68.725 mm,-51.850 mm): Pad 1 on B.Cu, Non-copper of S12
ErrType(19): Pad near pad
@ (67.000 mm,-32.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S11
@ (68.725 mm,-34.850 mm): Pad 1 on B.Cu, Non-copper of S11
ErrType(19): Pad near pad
@ (67.000 mm,-15.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S10
@ (68.725 mm,-17.850 mm): Pad 1 on B.Cu, Non-copper of S10
ErrType(19): Pad near pad
@ (75.275 mm,-51.850 mm): Pad 1 on F.Cu, Non-copper of S12
@ (77.000 mm,-49.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S12
ErrType(19): Pad near pad
@ (75.275 mm,-34.850 mm): Pad 1 on F.Cu, Non-copper of S11
@ (77.000 mm,-32.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S11
ErrType(19): Pad near pad
@ (75.275 mm,-17.850 mm): Pad 1 on F.Cu, Non-copper of S10
@ (77.000 mm,-15.650 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S10
ErrType(19): Pad near pad
@ (79.034 mm,4.503 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S16
@ (81.270 mm,2.824 mm): Pad 1 on B.Cu, Non-copper of S16
ErrType(19): Pad near pad
@ (85.000 mm,-47.950 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S15
@ (86.725 mm,-50.150 mm): Pad 1 on B.Cu, Non-copper of S15
ErrType(19): Pad near pad
@ (85.000 mm,-30.950 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S14
@ (86.725 mm,-33.150 mm): Pad 1 on B.Cu, Non-copper of S14
ErrType(19): Pad near pad
@ (85.000 mm,-13.950 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S13
@ (86.725 mm,-16.150 mm): Pad 1 on B.Cu, Non-copper of S13
ErrType(19): Pad near pad
@ (87.597 mm,4.519 mm): Pad 1 on F.Cu, Non-copper of S16
@ (88.694 mm,7.091 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S16
ErrType(19): Pad near pad
@ (93.275 mm,-50.150 mm): Pad 1 on F.Cu, Non-copper of S15
@ (95.000 mm,-47.950 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S15
ErrType(19): Pad near pad
@ (93.275 mm,-33.150 mm): Pad 1 on F.Cu, Non-copper of S14
@ (95.000 mm,-30.950 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S14
ErrType(19): Pad near pad
@ (93.275 mm,-16.150 mm): Pad 1 on F.Cu, Non-copper of S13
@ (95.000 mm,-13.950 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S13
ErrType(19): Pad near pad
@ (98.976 mm,11.350 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S17
@ (101.570 mm,10.307 mm): Pad 1 on B.Cu, Non-copper of S17
ErrType(19): Pad near pad
@ (107.242 mm,13.582 mm): Pad 1 on F.Cu, Non-copper of S17
@ (107.636 mm,16.350 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S17
ErrType(19): Pad near pad
@ (116.465 mm,23.125 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S18
@ (119.241 mm,22.789 mm): Pad 1 on B.Cu, Non-copper of S18
ErrType(19): Pad near pad
@ (123.536 mm,30.196 mm): Pad on F.Cu, B.Cu, Internal, Non-copper of S18
@ (123.872 mm,27.421 mm): Pad 1 on F.Cu, Non-copper of S18
** Found 0 unconnected pads **
** End of Report **

File diff suppressed because it is too large Load diff

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]

494
output/pcbs/main.dsn Normal file
View file

@ -0,0 +1,494 @@
(pcb /board/output/pcbs/main.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 62517.6 58731.9 63000 58532.1 63414.2 58214.2 63732.1 57800
63931.9 57317.6 64000 56800 64000 55400 80000 55400 80560.5 55319.9
81076.1 55085.8 81505.4 54716.7 81814.1 54242 81977.4 53699.9
82000 53700 98000 53700 98589.4 53611.2 99126.5 53352.6 99563.5 52947.2
99861.6 52431.1 99994.4 51850 120000 51850 120518 51781.9
121000 51582.1 121414 51264.2 121732 50850 121932 50367.6
122000 49850 122000 -20208.7 129724 -28251.6 130042 -28665.8
130241 -29148.2 130310 -29665.8 130241 -30183.5 130042 -30665.8
129724 -31080.1 119117 -41686.7 118703 -42004.5 118221 -42204.3
117703 -42272.5 117185 -42204.3 116703 -42004.5 116289 -41686.7
72707.1 -16524.7 26000 -9500 10000 -9500 9482.36 -9431.85
9000 -9232.05 8585.79 -8914.21 8267.95 -8500 8068.15 -8017.64
8000 -7500 8000 41500 8068.15 42017.6 8267.95 42500 8585.79 42914.2
9000 43232.1 9482.36 43431.9 10000 43500 26000 43500 26000 53400
26068.1 53917.6 26267.9 54400 26585.8 54814.2 27000 55132.1
27482.4 55331.9 28000 55400 44000 55400 44000 56800 44068.1 57317.6
44267.9 57800 44585.8 58214.2 45000 58532.1 45482.4 58731.9
46000 58800 62000 58800 62517.6 58731.9)
)
(keepout "" (polygon signal 0 109855 -20790.2 109409 -21017.5 109055 -21371.5 108827 -21817.5
108749 -22311.9 108827 -22806.4 109055 -23252.4 109409 -23606.4
109855 -23833.6 110349 -23911.9 110844 -23833.6 111290 -23606.4
111644 -23252.4 111871 -22806.4 111949 -22311.9 111871 -21817.5
111644 -21371.5 111290 -21017.5 110844 -20790.2 110349 -20711.9
109855 -20790.2))
(keepout "" (polygon signal 0 71505.6 -4598.31 71059.5 -4825.57 70705.6 -5179.54
70478.3 -5625.57 70400 -6120 70478.3 -6614.43 70705.6 -7060.46
71059.5 -7414.43 71505.6 -7641.69 72000 -7720 72494.4 -7641.69
72940.5 -7414.43 73294.4 -7060.46 73521.7 -6614.43 73600 -6120
73521.7 -5625.57 73294.4 -5179.54 72940.5 -4825.57 72494.4 -4598.31
72000 -4520 71505.6 -4598.31))
(keepout "" (polygon signal 0 26505.6 1521.69 26059.5 1294.43 25705.6 940.456 25478.3 494.427
25400 0 25478.3 -494.427 25705.6 -940.456 26059.5 -1294.43
26505.6 -1521.69 27000 -1600 27494.4 -1521.69 27940.5 -1294.43
28294.4 -940.456 28521.7 -494.427 28600 0 28521.7 494.427
28294.4 940.456 27940.5 1294.43 27494.4 1521.69 27000 1600
26505.6 1521.69))
(keepout "" (polygon signal 0 26505.6 30421.7 26059.5 30194.4 25705.6 29840.5 25478.3 29394.4
25400 28900 25478.3 28405.6 25705.6 27959.5 26059.5 27605.6
26505.6 27378.3 27000 27300 27494.4 27378.3 27940.5 27605.6
28294.4 27959.5 28521.7 28405.6 28600 28900 28521.7 29394.4
28294.4 29840.5 27940.5 30194.4 27494.4 30421.7 27000 30500
26505.6 30421.7))
(keepout "" (polygon signal 0 80505.6 45721.7 80059.5 45494.4 79705.6 45140.5 79478.3 44694.4
79400 44200 79478.3 43705.6 79705.6 43259.5 80059.5 42905.6
80505.6 42678.3 81000 42600 81494.4 42678.3 81940.5 42905.6
82294.4 43259.5 82521.7 43705.6 82600 44200 82521.7 44694.4
82294.4 45140.5 81940.5 45494.4 81494.4 45721.7 81000 45800
80505.6 45721.7))
(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 18000 0 front 0)
(place S2 18000 17000 front 0)
(place S3 18000 34000 front 0)
(place S4 36000 11900 front 0)
(place S5 36000 28900 front 0)
(place S6 36000 45900 front 0)
(place S7 54000 15300 front 0)
(place S8 54000 32300 front 0)
(place S9 54000 49300 front 0)
(place S10 72000 11900 front 0)
(place S11 72000 28900 front 0)
(place S12 72000 45900 front 0)
(place S13 90000 10200 front 0)
(place S14 90000 27200 front 0)
(place S15 90000 44200 front 0)
(place S16 82893.3 -9419 front 345)
(place S17 101431 -17097.5 front 330)
(place S18 117349 -29312.3 front 315)
)
(component ComboDiode
(place D1 18000 -5000 front 0)
(place D2 18000 12000 front 0)
(place D3 18000 29000 front 0)
(place D4 36000 6900 front 0)
(place D5 36000 23900 front 0)
(place D6 36000 40900 front 0)
(place D7 54000 10300 front 0)
(place D8 54000 27300 front 0)
(place D9 54000 44300 front 0)
(place D10 72000 6900 front 0)
(place D11 72000 23900 front 0)
(place D12 72000 40900 front 0)
(place D13 90000 5200 front 0)
(place D14 90000 22200 front 0)
(place D15 90000 39200 front 0)
(place D17 98930.9 -21427.7 front 330)
(place D18 113814 -32847.8 front 315)
)
(component ComboDiode::1
(place D16 81599.2 -14248.6 front 345)
)
(component ProMicro
(place MCU1 110000 33200 front 270)
)
(component ProMicro::1
(place MCU2 112500 31950 front 270)
)
(component "TRRS-PJ-320A-dual"
(place REF** 120000 2200 front 270 (PN "TRRS-PJ-320A-dual"))
)
)
(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 ComboDiode
(outline (path signal 100 250 0 750 0))
(outline (path signal 100 250 -400 -350 0))
(outline (path signal 100 250 400 250 -400))
(outline (path signal 100 -350 0 250 400))
(outline (path signal 100 -350 0 -350 -550))
(outline (path signal 100 -350 0 -350 550))
(outline (path signal 100 -750 0 -350 0))
(outline (path signal 100 250 0 750 0))
(outline (path signal 100 250 -400 -350 0))
(outline (path signal 100 250 400 250 -400))
(outline (path signal 100 -350 0 250 400))
(outline (path signal 100 -350 0 -350 -550))
(outline (path signal 100 -350 0 -350 550))
(outline (path signal 100 -750 0 -350 0))
(pin Rect[T]Pad_900x1200_um 1 -1650 0)
(pin Rect[B]Pad_900x1200_um 2 1650 0)
(pin Rect[B]Pad_900x1200_um 1@1 -1650 0)
(pin Rect[T]Pad_900x1200_um 2@1 1650 0)
(pin Round[A]Pad_1905_um 1@2 3810 0)
(pin Rect[A]Pad_1778x1778_um 2@2 -3810 0)
)
(image ComboDiode::1
(outline (path signal 100 250 0 750 0))
(outline (path signal 100 250 -400 -350 0))
(outline (path signal 100 250 400 250 -400))
(outline (path signal 100 -350 0 250 400))
(outline (path signal 100 -350 0 -350 -550))
(outline (path signal 100 -350 0 -350 550))
(outline (path signal 100 -750 0 -350 0))
(outline (path signal 100 250 0 750 0))
(outline (path signal 100 250 -400 -350 0))
(outline (path signal 100 250 400 250 -400))
(outline (path signal 100 -350 0 250 400))
(outline (path signal 100 -350 0 -350 -550))
(outline (path signal 100 -350 0 -350 550))
(outline (path signal 100 -750 0 -350 0))
(pin Rect[T]Pad_900x1200_um 1 -1650 -0.001)
(pin Rect[B]Pad_900x1200_um 2 1650 0.001)
(pin Rect[B]Pad_900x1200_um 1@1 -1650 -0.001)
(pin Rect[T]Pad_900x1200_um 2@1 1650 0.001)
(pin Round[A]Pad_1905_um 1@2 3810 -0.001)
(pin Rect[A]Pad_1778x1778_um 2@2 -3810 0.001)
)
(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)
)
(image ProMicro::1
(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)
)
(image "TRRS-PJ-320A-dual"
(outline (path signal 150 500 2000 -5100 2000))
(outline (path signal 150 -5100 0 -5100 2000))
(outline (path signal 150 500 0 500 2000))
(outline (path signal 150 -5350 0 -5350 -12100))
(outline (path signal 150 750 0 750 -12100))
(outline (path signal 150 750 -12100 -5350 -12100))
(outline (path signal 150 750 0 -5350 0))
(pin Oval[A]Pad_1600x2200_um 1 0 -11300)
(pin Oval[A]Pad_1600x2200_um 2 -4600 -10200)
(pin Oval[A]Pad_1600x2200_um 3 -4600 -6200)
(pin Oval[A]Pad_1600x2200_um 4 -4600 -3200)
(pin Oval[A]Pad_1600x2200_um 1@1 -4600 -11300)
(pin Oval[A]Pad_1600x2200_um 2@1 0 -10200)
(pin Oval[A]Pad_1600x2200_um 3@1 0 -6200)
(pin Oval[A]Pad_1600x2200_um 4@1 0 -3200)
(keepout "" (circle F.Cu 1500 -2300 -8600))
(keepout "" (circle B.Cu 1500 -2300 -8600))
(keepout "" (circle F.Cu 1500 -2300 -1600))
(keepout "" (circle B.Cu 1500 -2300 -1600))
)
(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_1905_um
(shape (circle F.Cu 1905))
(shape (circle B.Cu 1905))
(attach off)
)
(padstack Oval[A]Pad_1600x2200_um
(shape (path F.Cu 1600 0 -300 0 300))
(shape (path B.Cu 1600 0 -300 0 300))
(attach off)
)
(padstack Rect[B]Pad_2600x2600_um
(shape (rect B.Cu -1300 -1300 1300 1300))
(attach off)
)
(padstack Rect[B]Pad_900x1200_um
(shape (rect B.Cu -450 -600 450 600))
(attach off)
)
(padstack Rect[T]Pad_2600x2600_um
(shape (rect F.Cu -1300 -1300 1300 1300))
(attach off)
)
(padstack Rect[T]Pad_900x1200_um
(shape (rect F.Cu -450 -600 450 600))
(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 Rect[A]Pad_1778x1778_um
(shape (rect F.Cu -889 -889 889 889))
(shape (rect B.Cu -889 -889 889 889))
(attach off)
)
(padstack "Via[0-1]_800:400_um"
(shape (circle F.Cu 800))
(shape (circle B.Cu 800))
(attach off)
)
)
(network
(net pinky_bottom
(pins S1-1 S1-1@1 D1-2 D1-2@1 D1-1@2)
)
(net P21
(pins S1-2 S1-2@1 S2-2 S2-2@1 S3-2 S3-2@1 MCU1-5 MCU2-5)
)
(net P7
(pins D1-1 D1-1@1 D1-2@2 D4-1 D4-1@1 D4-2@2 D7-1 D7-1@1 D7-2@2 D10-1 D10-1@1
D10-2@2 D13-1 D13-1@1 D13-2@2 MCU1-22 MCU2-22)
)
(net pinky_home
(pins S2-1 S2-1@1 D2-2 D2-2@1 D2-1@2)
)
(net P6
(pins D2-1 D2-1@1 D2-2@2 D5-1 D5-1@1 D5-2@2 D8-1 D8-1@1 D8-2@2 D11-1 D11-1@1
D11-2@2 D14-1 D14-1@1 D14-2@2 MCU1-21 MCU2-21)
)
(net pinky_top
(pins S3-1 S3-1@1 D3-2 D3-2@1 D3-1@2)
)
(net P5
(pins D3-1 D3-1@1 D3-2@2 D6-1 D6-1@1 D6-2@2 D9-1 D9-1@1 D9-2@2 D12-1 D12-1@1
D12-2@2 D15-1 D15-1@1 D15-2@2 MCU1-20 MCU2-20)
)
(net ring_bottom
(pins S4-1 S4-1@1 D4-2 D4-2@1 D4-1@2)
)
(net P20
(pins S4-2 S4-2@1 S5-2 S5-2@1 S6-2 S6-2@1 MCU1-6 MCU2-6)
)
(net ring_home
(pins S5-1 S5-1@1 D5-2 D5-2@1 D5-1@2)
)
(net ring_top
(pins S6-1 S6-1@1 D6-2 D6-2@1 D6-1@2)
)
(net middle_bottom
(pins S7-1 S7-1@1 D7-2 D7-2@1 D7-1@2)
)
(net P19
(pins S7-2 S7-2@1 S8-2 S8-2@1 S9-2 S9-2@1 S16-2 S16-2@1 MCU1-7 MCU2-7)
)
(net middle_home
(pins S8-1 S8-1@1 D8-2 D8-2@1 D8-1@2)
)
(net middle_top
(pins S9-1 S9-1@1 D9-2 D9-2@1 D9-1@2)
)
(net index_bottom
(pins S10-1 S10-1@1 D10-2 D10-2@1 D10-1@2)
)
(net P18
(pins S10-2 S10-2@1 S11-2 S11-2@1 S12-2 S12-2@1 S17-2 S17-2@1 MCU1-8 MCU2-8)
)
(net index_home
(pins S11-1 S11-1@1 D11-2 D11-2@1 D11-1@2)
)
(net index_top
(pins S12-1 S12-1@1 D12-2 D12-2@1 D12-1@2)
)
(net inner_bottom
(pins S13-1 S13-1@1 D13-2 D13-2@1 D13-1@2)
)
(net P15
(pins S13-2 S13-2@1 S14-2 S14-2@1 S15-2 S15-2@1 S18-2 S18-2@1 MCU1-9 MCU2-9)
)
(net inner_home
(pins S14-1 S14-1@1 D14-2 D14-2@1 D14-1@2)
)
(net inner_top
(pins S15-1 S15-1@1 D15-2 D15-2@1 D15-1@2)
)
(net near_thumb
(pins S16-1 S16-1@1 D16-2 D16-2@1 D16-1@2)
)
(net P4
(pins D16-1 D16-1@1 D16-2@2 D17-1 D17-1@1 D17-2@2 D18-1 D18-1@1 D18-2@2 MCU1-19
MCU2-19)
)
(net home_thumb
(pins S17-1 S17-1@1 D17-2 D17-2@1 D17-1@2)
)
(net far_thumb
(pins S18-1 S18-1@1 D18-2 D18-2@1 D18-1@2)
)
(net RAW
(pins MCU1-1 MCU2-1)
)
(net GND
(pins MCU1-2 MCU1-15 MCU1-16 MCU2-2 MCU2-15 MCU2-16 REF**-3 REF**-3@1)
)
(net RST
(pins MCU1-3 MCU2-3)
)
(net VCC
(pins MCU1-4 MCU2-4 REF**-4 REF**-4@1)
)
(net P14
(pins MCU1-10 MCU2-10)
)
(net P16
(pins MCU1-11 MCU2-11)
)
(net P10
(pins MCU1-12 MCU2-12)
)
(net P1
(pins MCU1-13 MCU2-13)
)
(net P0
(pins MCU1-14 MCU2-14 REF**-1 REF**-2 REF**-1@1 REF**-2@1)
)
(net P2
(pins MCU1-17 MCU2-17)
)
(net P3
(pins MCU1-18 MCU2-18)
)
(net P8
(pins MCU1-23 MCU2-23)
)
(net P9
(pins MCU1-24 MCU2-24)
)
(class kicad_default "" GND P0 P1 P10 P14 P15 P16 P18 P19 P2 P20 P21 P3
P4 P5 P6 P7 P8 P9 RAW RST VCC far_thumb home_thumb index_bottom index_home
index_top inner_bottom inner_home inner_top middle_bottom middle_home
middle_top near_thumb pinky_bottom pinky_home pinky_top ring_bottom
ring_home ring_top
(circuit
(use_via Via[0-1]_800:400_um)
)
(rule
(width 250)
(clearance 200.1)
)
)
)
(wiring
)
)

33
output/pcbs/main.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]

2397
output/pcbs/main.ses Normal file

File diff suppressed because it is too large Load diff

0
pcb_style.json Normal file
View file