Add new lineups

This commit is contained in:
foostan 2018-08-03 02:43:11 +09:00
parent a095ee55fc
commit 84d8ee25a3
34 changed files with 56605 additions and 1 deletions

View File

@ -1,6 +1,12 @@
# Corne keyboard
Corne keyboard, a split keyboard with 3x6 vertically staggered keys and 3 thumb keys, based on [Helix](https://github.com/MakotoKurauchi/helix).
Corne keyboard, a split keyboard with 3x6 column staggered keys and 3 thumb keys, based on [Helix](https://github.com/MakotoKurauchi/helix).
## Corne lineup
- crkbd
- [wip] crkbd+h: Hotswappable crkbd by kailh PCB sockets.
- [wip] crkbd++: Next generation crkbd.
## Photos
![01](https://user-images.githubusercontent.com/736191/43596506-7628b2aa-96ba-11e8-9799-a18d90477979.png)
![02](https://user-images.githubusercontent.com/736191/43596513-7c342d46-96ba-11e8-8794-0e2cc396ed81.png)
![03](https://user-images.githubusercontent.com/736191/43596530-8330e31e-96ba-11e8-8aee-4956470d2c3b.png)

12030
crkbd++/pcb/crkbd.kicad_pcb Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

77
crkbd+h/pcb/crkbd Normal file
View File

@ -0,0 +1,77 @@
Reference, Value, Footprint, Datasheet
"U1","ProMicro","promicro:ProMicro",""
"SW6","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D6","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW11","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D11","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW16","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW21","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW26","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW31","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D16","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D21","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D26","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D31","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW1","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D1","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW7","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D7","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW12","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D12","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW17","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW22","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW27","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW32","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D17","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D22","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D27","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D32","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW2","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D2","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW8","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D8","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW13","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D13","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW18","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW23","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW28","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW33","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D18","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D23","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D28","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D33","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW3","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D3","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW9","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D9","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW14","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D14","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW19","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW24","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW29","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW34","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D19","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D24","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D29","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D34","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW4","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D4","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW10","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D10","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW15","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D15","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW20","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW25","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW30","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW35","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D20","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D25","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D30","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D35","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW5","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D5","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"RSW1","SW_PUSH","footprint:SKHL",""
"J1","5PIN","library:trrs_jack",""
"R2","R","footprint:RESISTOR",""
"R1","R","footprint:RESISTOR",""
"JP1","Jumper_NO_Small","library:jumper_smd_2dub",""

280
crkbd+h/pcb/crkbd-cache.lib Normal file
View File

@ -0,0 +1,280 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# Conn_01x01
#
DEF Conn_01x01 J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Conn_01x01" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 5 0 -5 1 1 6 N
S -50 50 50 -50 1 1 10 f
X Pin_1 1 -200 0 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x03
#
DEF Conn_01x03 J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Conn_01x03" 0 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 50 -150 1 1 10 f
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 -200 0 150 R 50 50 1 1 P
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x04
#
DEF Conn_01x04 J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Conn_01x04" 0 -300 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 50 -250 1 1 10 f
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 -200 0 150 R 50 50 1 1 P
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
X Pin_4 4 -200 -200 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D
#
DEF D D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "D" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*SingleDiode
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 8 -50 50 -50 -50 N
P 2 0 1 0 50 0 -50 0 N
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# Jumper
#
DEF Jumper JP 0 30 Y N 1 F N
F0 "JP" 0 150 50 H V C CNN
F1 "Jumper" 0 -80 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A 0 -26 125 1426 373 0 1 0 N -98 50 99 50
C -100 0 35 0 1 0 N
C 100 0 35 0 1 0 N
X 1 1 -300 0 165 R 50 50 0 1 P
X 2 2 300 0 165 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# Jumper_NO_Small
#
DEF Jumper_NO_Small JP 0 30 N N 1 F N
F0 "JP" 0 80 50 H V C CNN
F1 "Jumper_NO_Small" 10 -60 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C -40 0 20 0 1 0 N
C 40 0 20 0 1 0 N
X 1 1 -100 0 40 R 50 50 0 1 P
X 2 2 100 0 40 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# MJ-4PP-9
#
DEF MJ-4PP-9 J 0 40 Y Y 1 F N
F0 "J" 0 150 50 H V C CNN
F1 "MJ-4PP-9" 0 -150 50 H V C CNN
F2 "" 275 175 50 H I C CNN
F3 "" 275 175 50 H I C CNN
DRAW
S -75 -75 -125 50 0 1 0 N
S 125 100 -150 -100 0 1 12 N
P 3 0 1 0 -100 50 -100 75 125 75 N
P 4 0 1 0 -50 -75 -25 -50 0 -75 125 -75 N
P 4 0 1 0 0 -25 25 0 50 -25 125 -25 N
P 4 0 1 0 50 25 75 50 100 25 125 25 N
X ~ A 200 75 79 L 28 20 1 1 I
X ~ B 200 -75 79 L 28 20 1 1 I
X ~ C 200 -25 79 L 28 20 1 1 I
X ~ D 200 25 79 L 28 20 1 1 I
ENDDRAW
ENDDEF
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 75 50 H I C CNN
F1 "PWR_FLAG" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
X pwr 1 0 0 0 U 50 50 0 0 w
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
ENDDRAW
ENDDEF
#
# ProMicro
#
DEF ProMicro U 0 40 Y Y 1 F N
F0 "U" 0 950 60 H V C CNN
F1 "ProMicro" 0 -550 60 H V C CNN
F2 "" 100 -1050 60 H V C CNN
F3 "" 100 -1050 60 H V C CNN
DRAW
S -500 850 500 -450 0 1 0 N
X TX 1 -700 750 200 R 50 50 1 1 B
X RX 2 -700 650 200 R 50 50 1 1 B
X GND 3 -700 550 200 R 50 50 1 1 W
X GND 4 -700 450 200 R 50 50 1 1 W
X SDA 5 -700 350 200 R 50 50 1 1 B
X SCL 6 -700 250 200 R 50 50 1 1 B
X D4 7 -700 150 200 R 50 50 1 1 B
X C6 8 -700 50 200 R 50 50 1 1 B
X D7 9 -700 -50 200 R 50 50 1 1 B
X E6 10 -700 -150 200 R 50 50 1 1 B
X F4 20 700 350 200 L 50 50 1 1 B
X B4 11 -700 -250 200 R 50 50 1 1 B
X VCC 21 700 450 200 L 50 50 1 1 W
X B5 12 -700 -350 200 R 50 50 1 1 B
X RST 22 700 550 200 L 50 50 1 1 I
X B6 13 700 -350 200 L 50 50 1 1 B
X GND 23 700 650 200 L 50 50 1 1 W
X B2 14 700 -250 200 L 50 50 1 1 B
X RAW 24 700 750 200 L 50 50 1 1 w
X B3 15 700 -150 200 L 50 50 1 1 B
X B1 16 700 -50 200 L 50 50 1 1 B
X F7 17 700 50 200 L 50 50 1 1 B
X F6 18 700 150 200 L 50 50 1 1 B
X F5 19 700 250 200 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SK6812MINI
#
DEF SK6812MINI L 0 40 Y Y 1 F N
F0 "L" 0 0 51 H V C CNN
F1 "SK6812MINI" 0 -50 16 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
S -150 150 150 -150 0 1 0 N
X DOUT 1 -200 100 47 R 28 28 1 1 O
X VSS 2 -200 -100 47 R 28 28 1 1 W
X DIN 3 200 -100 47 L 28 28 1 1 I
X VDD 4 200 100 47 L 28 28 1 1 W
ENDDRAW
ENDDEF
#
# SW_PUSH
#
DEF SW_PUSH SW 0 40 N N 1 F N
F0 "SW" 150 110 50 H V C CNN
F1 "SW_PUSH" 0 -80 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
S -170 50 170 60 0 1 0 N
P 4 0 1 0 -40 60 -30 90 30 90 40 60 N
X 1 1 -300 0 200 R 50 50 0 1 P I
X 2 2 300 0 200 L 50 50 0 1 P I
ENDDRAW
ENDDEF
#
# VCC
#
DEF VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 0 75 25 0 1 0 N
P 2 0 1 0 0 0 0 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library

12030
crkbd+h/pcb/crkbd.kicad_pcb Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1024
crkbd+h/pcb/crkbd.net Normal file

File diff suppressed because it is too large Load Diff

61
crkbd+h/pcb/crkbd.pro Normal file
View File

@ -0,0 +1,61 @@
update=2018年04月11日水曜日 01:21:50
version=1
last_client=kicad
[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
[general]
version=1
[eeschema]
version=1
LibDir=../../kbd/labrary
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
LibName30=/Users/adachi-kousuke/src/github.com/foostan/kbd/labrary/kbd

1847
crkbd+h/pcb/crkbd.sch Normal file

File diff suppressed because it is too large Load Diff

965
crkbd+h/pcb/crkbd.xml Normal file
View File

@ -0,0 +1,965 @@
<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
<design>
<source>/Users/adachi-kousuke/src/github.com/foostan/blockbd/blockbd.sch</source>
<date>2018年01月19日金曜日 23:37:58</date>
<tool>Eeschema 4.0.7</tool>
<sheet number="1" name="/" tstamps="/">
<title_block>
<title>Blockbd</title>
<company>foostan</company>
<rev>0.0.1</rev>
<date/>
<source>blockbd.sch</source>
<comment number="1" value=""/>
<comment number="2" value=""/>
<comment number="3" value=""/>
<comment number="4" value=""/>
</title_block>
</sheet>
</design>
<components>
<comp ref="U1">
<value>ProMicro</value>
<footprint>promicro:ProMicro</footprint>
<libsource lib="promicro" part="ProMicro"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E14C2</tstamp>
</comp>
<comp ref="SW6">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2699</tstamp>
</comp>
<comp ref="D6">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E26C6</tstamp>
</comp>
<comp ref="SW11">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E27F9</tstamp>
</comp>
<comp ref="D11">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E281F</tstamp>
</comp>
<comp ref="SW16">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2908</tstamp>
</comp>
<comp ref="SW21">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2933</tstamp>
</comp>
<comp ref="SW26">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E295E</tstamp>
</comp>
<comp ref="SW31">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E298D</tstamp>
</comp>
<comp ref="D16">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E29BF</tstamp>
</comp>
<comp ref="D21">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E29F2</tstamp>
</comp>
<comp ref="D26">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2A33</tstamp>
</comp>
<comp ref="D31">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2A75</tstamp>
</comp>
<comp ref="SW1">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2B19</tstamp>
</comp>
<comp ref="D1">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2B5B</tstamp>
</comp>
<comp ref="SW7">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D26</tstamp>
</comp>
<comp ref="D7">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D2C</tstamp>
</comp>
<comp ref="SW12">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D32</tstamp>
</comp>
<comp ref="D12">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D38</tstamp>
</comp>
<comp ref="SW17">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D3E</tstamp>
</comp>
<comp ref="SW22">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D44</tstamp>
</comp>
<comp ref="SW27">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D4A</tstamp>
</comp>
<comp ref="SW32">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D50</tstamp>
</comp>
<comp ref="D17">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D56</tstamp>
</comp>
<comp ref="D22">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D5C</tstamp>
</comp>
<comp ref="D27">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D62</tstamp>
</comp>
<comp ref="D32">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D68</tstamp>
</comp>
<comp ref="SW2">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D6E</tstamp>
</comp>
<comp ref="D2">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D74</tstamp>
</comp>
<comp ref="SW8">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35B1</tstamp>
</comp>
<comp ref="D8">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35B7</tstamp>
</comp>
<comp ref="SW13">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35BD</tstamp>
</comp>
<comp ref="D13">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35C3</tstamp>
</comp>
<comp ref="SW18">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35C9</tstamp>
</comp>
<comp ref="SW23">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35CF</tstamp>
</comp>
<comp ref="SW28">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35D5</tstamp>
</comp>
<comp ref="SW33">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35DB</tstamp>
</comp>
<comp ref="D18">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35E1</tstamp>
</comp>
<comp ref="D23">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35E7</tstamp>
</comp>
<comp ref="D28">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35ED</tstamp>
</comp>
<comp ref="D33">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35F3</tstamp>
</comp>
<comp ref="SW3">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35F9</tstamp>
</comp>
<comp ref="D3">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35FF</tstamp>
</comp>
<comp ref="SW9">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37A4</tstamp>
</comp>
<comp ref="D9">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37AA</tstamp>
</comp>
<comp ref="SW14">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37B0</tstamp>
</comp>
<comp ref="D14">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37B6</tstamp>
</comp>
<comp ref="SW19">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37BC</tstamp>
</comp>
<comp ref="SW24">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37C2</tstamp>
</comp>
<comp ref="SW29">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37C8</tstamp>
</comp>
<comp ref="SW34">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37CE</tstamp>
</comp>
<comp ref="D19">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37D4</tstamp>
</comp>
<comp ref="D24">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37DA</tstamp>
</comp>
<comp ref="D29">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37E0</tstamp>
</comp>
<comp ref="D34">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37E6</tstamp>
</comp>
<comp ref="SW4">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37EC</tstamp>
</comp>
<comp ref="D4">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37F2</tstamp>
</comp>
<comp ref="SW10">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C85</tstamp>
</comp>
<comp ref="D10">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C8B</tstamp>
</comp>
<comp ref="SW15">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C91</tstamp>
</comp>
<comp ref="D15">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C97</tstamp>
</comp>
<comp ref="SW20">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C9D</tstamp>
</comp>
<comp ref="SW25">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CA3</tstamp>
</comp>
<comp ref="SW30">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CA9</tstamp>
</comp>
<comp ref="SW35">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CAF</tstamp>
</comp>
<comp ref="D20">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CB5</tstamp>
</comp>
<comp ref="D25">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CBB</tstamp>
</comp>
<comp ref="D30">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CC1</tstamp>
</comp>
<comp ref="D35">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CC7</tstamp>
</comp>
<comp ref="SW5">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CCD</tstamp>
</comp>
<comp ref="D5">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CD3</tstamp>
</comp>
<comp ref="RSW1">
<value>SW_PUSH</value>
<footprint>footprint:SKHL</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5EB9E2</tstamp>
</comp>
<comp ref="J1">
<value>5PIN</value>
<footprint>library:trrs_jack</footprint>
<libsource lib="ergo42" part="5PIN"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5ECD17</tstamp>
</comp>
<comp ref="R2">
<value>R</value>
<footprint>footprint:RESISTOR</footprint>
<libsource lib="device" part="R"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5EEC14</tstamp>
</comp>
<comp ref="R1">
<value>R</value>
<footprint>footprint:RESISTOR</footprint>
<libsource lib="device" part="R"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5F1617</tstamp>
</comp>
<comp ref="JP1">
<value>Jumper_NO_Small</value>
<footprint>library:jumper_smd_2dub</footprint>
<libsource lib="device" part="Jumper_NO_Small"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5F1A29</tstamp>
</comp>
</components>
<libparts>
<libpart lib="ergo42" part="5PIN">
<fields>
<field name="Reference">J</field>
<field name="Value">5PIN</field>
</fields>
<pins>
<pin num="1" name="1" type="power_in"/>
<pin num="2" name="2" type="BiDi"/>
<pin num="3" name="3" type="BiDi"/>
<pin num="4" name="4" type="power_in"/>
<pin num="5" name="5" type="power_in"/>
</pins>
</libpart>
<libpart lib="device" part="D">
<description>Diode</description>
<footprints>
<fp>TO-???*</fp>
<fp>*SingleDiode</fp>
<fp>*_Diode_*</fp>
<fp>*SingleDiode*</fp>
<fp>D_*</fp>
</footprints>
<fields>
<field name="Reference">D</field>
<field name="Value">D</field>
</fields>
<pins>
<pin num="1" name="K" type="passive"/>
<pin num="2" name="A" type="passive"/>
</pins>
</libpart>
<libpart lib="device" part="Jumper_NO_Small">
<description>Jumper, normally open</description>
<fields>
<field name="Reference">JP</field>
<field name="Value">Jumper_NO_Small</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
<pin num="2" name="2" type="passive"/>
</pins>
</libpart>
<libpart lib="promicro" part="ProMicro">
<fields>
<field name="Reference">U</field>
<field name="Value">ProMicro</field>
</fields>
<pins>
<pin num="1" name="TX" type="BiDi"/>
<pin num="2" name="RX" type="BiDi"/>
<pin num="3" name="GND" type="power_in"/>
<pin num="4" name="GND" type="power_in"/>
<pin num="5" name="SCL" type="BiDi"/>
<pin num="6" name="SDA" type="BiDi"/>
<pin num="7" name="D4" type="BiDi"/>
<pin num="8" name="C6" type="BiDi"/>
<pin num="9" name="D7" type="BiDi"/>
<pin num="10" name="E6" type="BiDi"/>
<pin num="11" name="B4" type="BiDi"/>
<pin num="12" name="B5" type="BiDi"/>
<pin num="13" name="B6" type="BiDi"/>
<pin num="14" name="B2" type="BiDi"/>
<pin num="15" name="B3" type="BiDi"/>
<pin num="16" name="B1" type="BiDi"/>
<pin num="17" name="F7" type="BiDi"/>
<pin num="18" name="F6" type="BiDi"/>
<pin num="19" name="F5" type="BiDi"/>
<pin num="20" name="F4" type="BiDi"/>
<pin num="21" name="VCC" type="power_in"/>
<pin num="22" name="RST" type="input"/>
<pin num="23" name="GND" type="power_in"/>
<pin num="24" name="RAW" type="power_out"/>
</pins>
</libpart>
<libpart lib="device" part="R">
<description>Resistor</description>
<footprints>
<fp>R_*</fp>
<fp>R_*</fp>
</footprints>
<fields>
<field name="Reference">R</field>
<field name="Value">R</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="lets_split-cache" part="SW_PUSH">
<fields>
<field name="Reference">SW</field>
<field name="Value">SW_PUSH</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
<pin num="2" name="2" type="passive"/>
</pins>
</libpart>
</libparts>
<libraries>
<library logical="promicro">
<uri>/Users/adachi-kousuke/src/github.com/Biacco42/Ergo42/ergo42/promicro_library/promicro.lib</uri>
</library>
<library logical="lets_split-cache">
<uri>/Users/adachi-kousuke/src/github.com/climbalima/let-s-Split-v2/lets_split/lets_split-cache.lib</uri>
</library>
<library logical="ergo42">
<uri>/Users/adachi-kousuke/src/github.com/Biacco42/Ergo42/ergo42/library/ergo42.lib</uri>
</library>
<library logical="device">
<uri>/Users/adachi-kousuke/src/github.com/KiCad/kicad-library/library/device.lib</uri>
</library>
</libraries>
<nets>
<net code="1" name="VCC">
<node ref="J1" pin="1"/>
<node ref="R1" pin="1"/>
<node ref="R2" pin="1"/>
<node ref="U1" pin="21"/>
</net>
<net code="2" name="GND">
<node ref="J1" pin="4"/>
<node ref="J1" pin="5"/>
<node ref="RSW1" pin="2"/>
<node ref="U1" pin="3"/>
<node ref="U1" pin="4"/>
<node ref="U1" pin="23"/>
</net>
<net code="3" name="xtradata">
<node ref="JP1" pin="2"/>
<node ref="J1" pin="2"/>
</net>
<net code="4" name="scl">
<node ref="U1" pin="5"/>
<node ref="JP1" pin="1"/>
<node ref="R1" pin="2"/>
</net>
<net code="5" name="sda">
<node ref="U1" pin="6"/>
<node ref="J1" pin="3"/>
<node ref="R2" pin="2"/>
</net>
<net code="6" name="Net-(U1-Pad7)">
<node ref="U1" pin="7"/>
</net>
<net code="7" name="Net-(U1-Pad2)">
<node ref="U1" pin="2"/>
</net>
<net code="8" name="Net-(U1-Pad1)">
<node ref="U1" pin="1"/>
</net>
<net code="9" name="Net-(U1-Pad20)">
<node ref="U1" pin="20"/>
</net>
<net code="10" name="Net-(U1-Pad24)">
<node ref="U1" pin="24"/>
</net>
<net code="11" name="Net-(RSW1-Pad1)">
<node ref="RSW1" pin="1"/>
<node ref="U1" pin="22"/>
</net>
<net code="12" name="Net-(D12-Pad2)">
<node ref="D12" pin="2"/>
<node ref="SW12" pin="2"/>
</net>
<net code="13" name="Net-(D7-Pad2)">
<node ref="D7" pin="2"/>
<node ref="SW7" pin="2"/>
</net>
<net code="14" name="Net-(D1-Pad2)">
<node ref="SW1" pin="2"/>
<node ref="D1" pin="2"/>
</net>
<net code="15" name="Net-(D31-Pad2)">
<node ref="D31" pin="2"/>
<node ref="SW31" pin="2"/>
</net>
<net code="16" name="Net-(D26-Pad2)">
<node ref="SW26" pin="2"/>
<node ref="D26" pin="2"/>
</net>
<net code="17" name="Net-(D21-Pad2)">
<node ref="SW21" pin="2"/>
<node ref="D21" pin="2"/>
</net>
<net code="18" name="Net-(D16-Pad2)">
<node ref="SW16" pin="2"/>
<node ref="D16" pin="2"/>
</net>
<net code="19" name="Net-(D8-Pad2)">
<node ref="D8" pin="2"/>
<node ref="SW8" pin="2"/>
</net>
<net code="20" name="Net-(D2-Pad2)">
<node ref="SW2" pin="2"/>
<node ref="D2" pin="2"/>
</net>
<net code="21" name="Net-(D32-Pad2)">
<node ref="D32" pin="2"/>
<node ref="SW32" pin="2"/>
</net>
<net code="22" name="Net-(D27-Pad2)">
<node ref="D27" pin="2"/>
<node ref="SW27" pin="2"/>
</net>
<net code="23" name="Net-(D22-Pad2)">
<node ref="D22" pin="2"/>
<node ref="SW22" pin="2"/>
</net>
<net code="24" name="Net-(D17-Pad2)">
<node ref="SW17" pin="2"/>
<node ref="D17" pin="2"/>
</net>
<net code="25" name="row1">
<node ref="D12" pin="1"/>
<node ref="D7" pin="1"/>
<node ref="U1" pin="9"/>
<node ref="D17" pin="1"/>
<node ref="D22" pin="1"/>
<node ref="D27" pin="1"/>
<node ref="D32" pin="1"/>
<node ref="D2" pin="1"/>
</net>
<net code="26" name="Net-(D11-Pad2)">
<node ref="D11" pin="2"/>
<node ref="SW11" pin="2"/>
</net>
<net code="27" name="Net-(D6-Pad2)">
<node ref="D6" pin="2"/>
<node ref="SW6" pin="2"/>
</net>
<net code="28" name="row0">
<node ref="D21" pin="1"/>
<node ref="D26" pin="1"/>
<node ref="U1" pin="8"/>
<node ref="D31" pin="1"/>
<node ref="D16" pin="1"/>
<node ref="D11" pin="1"/>
<node ref="D6" pin="1"/>
<node ref="D1" pin="1"/>
</net>
<net code="29" name="Net-(D15-Pad2)">
<node ref="D15" pin="2"/>
<node ref="SW15" pin="2"/>
</net>
<net code="30" name="Net-(D10-Pad2)">
<node ref="SW10" pin="2"/>
<node ref="D10" pin="2"/>
</net>
<net code="31" name="Net-(D4-Pad2)">
<node ref="SW4" pin="2"/>
<node ref="D4" pin="2"/>
</net>
<net code="32" name="Net-(D34-Pad2)">
<node ref="D34" pin="2"/>
<node ref="SW34" pin="2"/>
</net>
<net code="33" name="Net-(D29-Pad2)">
<node ref="D29" pin="2"/>
<node ref="SW29" pin="2"/>
</net>
<net code="34" name="Net-(D24-Pad2)">
<node ref="D24" pin="2"/>
<node ref="SW24" pin="2"/>
</net>
<net code="35" name="Net-(D19-Pad2)">
<node ref="D19" pin="2"/>
<node ref="SW19" pin="2"/>
</net>
<net code="36" name="Net-(D5-Pad2)">
<node ref="SW5" pin="2"/>
<node ref="D5" pin="2"/>
</net>
<net code="37" name="Net-(D35-Pad2)">
<node ref="SW35" pin="2"/>
<node ref="D35" pin="2"/>
</net>
<net code="38" name="Net-(D30-Pad2)">
<node ref="D30" pin="2"/>
<node ref="SW30" pin="2"/>
</net>
<net code="39" name="Net-(D25-Pad2)">
<node ref="SW25" pin="2"/>
<node ref="D25" pin="2"/>
</net>
<net code="40" name="Net-(D20-Pad2)">
<node ref="D20" pin="2"/>
<node ref="SW20" pin="2"/>
</net>
<net code="41" name="row4">
<node ref="D15" pin="1"/>
<node ref="U1" pin="12"/>
<node ref="D10" pin="1"/>
<node ref="D5" pin="1"/>
<node ref="D35" pin="1"/>
<node ref="D30" pin="1"/>
<node ref="D20" pin="1"/>
<node ref="D25" pin="1"/>
</net>
<net code="42" name="Net-(D28-Pad2)">
<node ref="D28" pin="2"/>
<node ref="SW28" pin="2"/>
</net>
<net code="43" name="Net-(D23-Pad2)">
<node ref="D23" pin="2"/>
<node ref="SW23" pin="2"/>
</net>
<net code="44" name="Net-(D18-Pad2)">
<node ref="SW18" pin="2"/>
<node ref="D18" pin="2"/>
</net>
<net code="45" name="Net-(D33-Pad2)">
<node ref="D33" pin="2"/>
<node ref="SW33" pin="2"/>
</net>
<net code="46" name="Net-(D13-Pad2)">
<node ref="SW13" pin="2"/>
<node ref="D13" pin="2"/>
</net>
<net code="47" name="col6">
<node ref="SW31" pin="1"/>
<node ref="SW32" pin="1"/>
<node ref="SW33" pin="1"/>
<node ref="SW35" pin="1"/>
<node ref="SW34" pin="1"/>
<node ref="U1" pin="13"/>
</net>
<net code="48" name="col5">
<node ref="SW26" pin="1"/>
<node ref="SW29" pin="1"/>
<node ref="SW30" pin="1"/>
<node ref="U1" pin="14"/>
<node ref="SW28" pin="1"/>
<node ref="SW27" pin="1"/>
</net>
<net code="49" name="col4">
<node ref="SW25" pin="1"/>
<node ref="SW21" pin="1"/>
<node ref="SW23" pin="1"/>
<node ref="SW22" pin="1"/>
<node ref="U1" pin="15"/>
<node ref="SW24" pin="1"/>
</net>
<net code="50" name="col3">
<node ref="SW18" pin="1"/>
<node ref="SW20" pin="1"/>
<node ref="U1" pin="16"/>
<node ref="SW19" pin="1"/>
<node ref="SW17" pin="1"/>
<node ref="SW16" pin="1"/>
</net>
<net code="51" name="Net-(D14-Pad2)">
<node ref="D14" pin="2"/>
<node ref="SW14" pin="2"/>
</net>
<net code="52" name="col2">
<node ref="SW13" pin="1"/>
<node ref="SW12" pin="1"/>
<node ref="SW14" pin="1"/>
<node ref="SW15" pin="1"/>
<node ref="SW11" pin="1"/>
<node ref="U1" pin="17"/>
</net>
<net code="53" name="Net-(D9-Pad2)">
<node ref="D9" pin="2"/>
<node ref="SW9" pin="2"/>
</net>
<net code="54" name="row3">
<node ref="D19" pin="1"/>
<node ref="D24" pin="1"/>
<node ref="D29" pin="1"/>
<node ref="D34" pin="1"/>
<node ref="D4" pin="1"/>
<node ref="D14" pin="1"/>
<node ref="U1" pin="11"/>
<node ref="D9" pin="1"/>
</net>
<net code="55" name="col1">
<node ref="SW9" pin="1"/>
<node ref="SW8" pin="1"/>
<node ref="SW10" pin="1"/>
<node ref="SW7" pin="1"/>
<node ref="U1" pin="18"/>
<node ref="SW6" pin="1"/>
</net>
<net code="56" name="Net-(D3-Pad2)">
<node ref="SW3" pin="2"/>
<node ref="D3" pin="2"/>
</net>
<net code="57" name="row2">
<node ref="U1" pin="10"/>
<node ref="D8" pin="1"/>
<node ref="D13" pin="1"/>
<node ref="D33" pin="1"/>
<node ref="D3" pin="1"/>
<node ref="D18" pin="1"/>
<node ref="D23" pin="1"/>
<node ref="D28" pin="1"/>
</net>
<net code="58" name="col0">
<node ref="U1" pin="19"/>
<node ref="SW3" pin="1"/>
<node ref="SW2" pin="1"/>
<node ref="SW1" pin="1"/>
<node ref="SW4" pin="1"/>
<node ref="SW5" pin="1"/>
</net>
</nets>
</export>

BIN
crkbd+h/pcb/gerber.zip Normal file

Binary file not shown.

108
crkbd+h/pcb/pcbnew.py Normal file
View File

@ -0,0 +1,108 @@
# execfile '/tmp/pcbnew.py'
import pcbnew
OFFSET_X = float(70)
OFFSET_Y = float(70)
PITCH = float(19)
def set_position(ref, xp, yp, orientation = 0):
module = pcb.FindModuleByReference(ref)
module.SetPosition(pcbnew.wxPointMM(xp + OFFSET_X, yp + OFFSET_Y))
module.SetOrientation( orientation * 10.0 )
def set_matrix_position(ref_prefix, matrix):
i = 0
for yi, rows in enumerate(matrix):
for xi, p in enumerate(rows):
i += 1
ref = "%s%s" % (ref_prefix, i)
xp = xi * PITCH + p[0]
yp = yi * PITCH + p[1]
orientation = p[2]
set_position(ref, xp, yp, orientation)
xp = xi * PITCH + p[0]
yp = yi * PITCH + p[1]
orientation = p[2]
set_position(ref, xp, yp, orientation)
module = pcb.FindModuleByReference(ref)
module.SetPosition(pcbnew.wxPointMM(xp + OFFSET_X, yp + OFFSET_Y))
module.SetOrientation( orientation * 10.0 )
#-------------
pcb = pcbnew.GetBoard()
# ProMicro
#set_position('U1', 115.25, 20.25, 0)
# OLED
#set_position('J2', 110.75, 38.5, 0)
# OLED JP
#set_position('JP2', 118.375, 35.25, -90)
#set_position('JP3', 115.875, 35.25, -90)
#set_position('JP4', 113.375, 35.25, -90)
#set_position('JP5', 110.875, 35.25, -90)
#set_position('JP6', 118.375, 35.25, -90)
#set_position('JP7', 115.875, 35.25, -90)
#set_position('JP8', 113.375, 35.25, -90)
#set_position('JP9', 110.875, 35.25, -90)
# Undergrow LED
#set_position('J3', 102, 29.5, 0)
# TRRS Jack
#set_position('J1', 124.75, 45, -90)
# Reset Switch
#set_position('RSW1', 120, 51, 0)
# R
#set_position('R1', 105.5, 46, 90)
#set_position('R2', 108, 46, 90)
# JP1
#set_position('JP1', 105.5, 41, 0)
# Switch
set_matrix_position('SW', [
[[0, 0.375*PITCH, 180], [0, 0.375*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0.25*PITCH, 180]],
[[0, 0.375*PITCH, 180], [0, 0.375*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0.25*PITCH, 180]],
[[0, 0.375*PITCH, 180], [0, 0.375*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0.25*PITCH, 180]],
[[3.5*PITCH, 0*PITCH+3, 180], [3.5*PITCH+2, 0.25*PITCH+1, 160], [3.5*PITCH+5.25, 0.25*PITCH+4.75, 240]]
])
# Diode
set_matrix_position('D', [
[[-8, 0.375*PITCH, 270], [8, 0.375*PITCH, 270], [8, 0.125*PITCH, 270], [8, 0*PITCH, 270], [8, 0.125*PITCH, 270], [-8, 0.25*PITCH-2.375, 270]],
[[-8, 0.375*PITCH, 270], [8, 0.375*PITCH, 270], [8, 0.125*PITCH, 270], [8, 0*PITCH, 270], [8, 0.125*PITCH, 270], [-8, 0.25*PITCH-2.375, 270]],
[[-8, 0.375*PITCH, 270], [8, 0.375*PITCH, 270], [8, 0.125*PITCH, 270], [8, 0*PITCH, 270], [8, 0.125*PITCH, 270], [-8, 0.25*PITCH-2.375, 270]],
[[3.5*PITCH-8, 0*PITCH+3, 270], [3.5*PITCH-11, 0.25*PITCH-2, 270], [3.5*PITCH-27, 0.25*PITCH-2, 270]]
])
# LED
set_matrix_position('L', [
[[0, 0.375*PITCH-5.5, 0], [0, 0.375*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0.25*PITCH-5.5, 0]],
[[0, 0.375*PITCH-5.5, 0], [0, 0.375*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0.25*PITCH-5.5, 0]],
[[0, 0.375*PITCH-5.5, 0], [0, 0.375*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0.25*PITCH-5.5, 0]],
[[3.5*PITCH, 0*PITCH-5.5+3, 0], [3.5*PITCH+3.5, 0.25*PITCH-5.25+1, 165], [3.5*PITCH+0.5, 0.25*PITCH+8.5-6.5, 240]]
])
#hole_xn = 8
#hole_yn = 6
#hole_ox = float(60.5)
#hole_oy = float(60.5)
#pitch = float(19)
#
#for hole_i in range(0, hole_xn * hole_yn):
# hole_xi = (hole_i / hole_yn)
# hole_yi = (hole_i % hole_yn) - 1
#
# hole_px = hole_ox + pitch * hole_xi
# hole_py = hole_oy + pitch * hole_yi
#
# hole_module = pcb.FindModuleByReference("H%s" % (hole_i+1))
# hole_module.SetPosition(pcbnew.wxPointMM(0, 0))

77
crkbd/pcb/crkbd Normal file
View File

@ -0,0 +1,77 @@
Reference, Value, Footprint, Datasheet
"U1","ProMicro","promicro:ProMicro",""
"SW6","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D6","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW11","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D11","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW16","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW21","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW26","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW31","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D16","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D21","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D26","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D31","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW1","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D1","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW7","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D7","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW12","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D12","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW17","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW22","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW27","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW32","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D17","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D22","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D27","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D32","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW2","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D2","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW8","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D8","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW13","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D13","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW18","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW23","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW28","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW33","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D18","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D23","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D28","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D33","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW3","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D3","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW9","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D9","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW14","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D14","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW19","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW24","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW29","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW34","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D19","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D24","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D29","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D34","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW4","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D4","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW10","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D10","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW15","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D15","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW20","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW25","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW30","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"SW35","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D20","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D25","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D30","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"D35","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"SW5","SW_PUSH","footprint:MXALPS_FLIP_HOLES",""
"D5","D","Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal",""
"RSW1","SW_PUSH","footprint:SKHL",""
"J1","5PIN","library:trrs_jack",""
"R2","R","footprint:RESISTOR",""
"R1","R","footprint:RESISTOR",""
"JP1","Jumper_NO_Small","library:jumper_smd_2dub",""

280
crkbd/pcb/crkbd-cache.lib Normal file
View File

@ -0,0 +1,280 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# Conn_01x01
#
DEF Conn_01x01 J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Conn_01x01" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 5 0 -5 1 1 6 N
S -50 50 50 -50 1 1 10 f
X Pin_1 1 -200 0 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x03
#
DEF Conn_01x03 J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Conn_01x03" 0 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 50 -150 1 1 10 f
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 -200 0 150 R 50 50 1 1 P
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x04
#
DEF Conn_01x04 J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Conn_01x04" 0 -300 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 50 -250 1 1 10 f
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 -200 0 150 R 50 50 1 1 P
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
X Pin_4 4 -200 -200 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D
#
DEF D D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "D" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*SingleDiode
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 8 -50 50 -50 -50 N
P 2 0 1 0 50 0 -50 0 N
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# Jumper
#
DEF Jumper JP 0 30 Y N 1 F N
F0 "JP" 0 150 50 H V C CNN
F1 "Jumper" 0 -80 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A 0 -26 125 1426 373 0 1 0 N -98 50 99 50
C -100 0 35 0 1 0 N
C 100 0 35 0 1 0 N
X 1 1 -300 0 165 R 50 50 0 1 P
X 2 2 300 0 165 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# Jumper_NO_Small
#
DEF Jumper_NO_Small JP 0 30 N N 1 F N
F0 "JP" 0 80 50 H V C CNN
F1 "Jumper_NO_Small" 10 -60 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C -40 0 20 0 1 0 N
C 40 0 20 0 1 0 N
X 1 1 -100 0 40 R 50 50 0 1 P
X 2 2 100 0 40 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# MJ-4PP-9
#
DEF MJ-4PP-9 J 0 40 Y Y 1 F N
F0 "J" 0 150 50 H V C CNN
F1 "MJ-4PP-9" 0 -150 50 H V C CNN
F2 "" 275 175 50 H I C CNN
F3 "" 275 175 50 H I C CNN
DRAW
S -75 -75 -125 50 0 1 0 N
S 125 100 -150 -100 0 1 12 N
P 3 0 1 0 -100 50 -100 75 125 75 N
P 4 0 1 0 -50 -75 -25 -50 0 -75 125 -75 N
P 4 0 1 0 0 -25 25 0 50 -25 125 -25 N
P 4 0 1 0 50 25 75 50 100 25 125 25 N
X ~ A 200 75 79 L 28 20 1 1 I
X ~ B 200 -75 79 L 28 20 1 1 I
X ~ C 200 -25 79 L 28 20 1 1 I
X ~ D 200 25 79 L 28 20 1 1 I
ENDDRAW
ENDDEF
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 75 50 H I C CNN
F1 "PWR_FLAG" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
X pwr 1 0 0 0 U 50 50 0 0 w
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
ENDDRAW
ENDDEF
#
# ProMicro
#
DEF ProMicro U 0 40 Y Y 1 F N
F0 "U" 0 950 60 H V C CNN
F1 "ProMicro" 0 -550 60 H V C CNN
F2 "" 100 -1050 60 H V C CNN
F3 "" 100 -1050 60 H V C CNN
DRAW
S -500 850 500 -450 0 1 0 N
X TX 1 -700 750 200 R 50 50 1 1 B
X RX 2 -700 650 200 R 50 50 1 1 B
X GND 3 -700 550 200 R 50 50 1 1 W
X GND 4 -700 450 200 R 50 50 1 1 W
X SDA 5 -700 350 200 R 50 50 1 1 B
X SCL 6 -700 250 200 R 50 50 1 1 B
X D4 7 -700 150 200 R 50 50 1 1 B
X C6 8 -700 50 200 R 50 50 1 1 B
X D7 9 -700 -50 200 R 50 50 1 1 B
X E6 10 -700 -150 200 R 50 50 1 1 B
X F4 20 700 350 200 L 50 50 1 1 B
X B4 11 -700 -250 200 R 50 50 1 1 B
X VCC 21 700 450 200 L 50 50 1 1 W
X B5 12 -700 -350 200 R 50 50 1 1 B
X RST 22 700 550 200 L 50 50 1 1 I
X B6 13 700 -350 200 L 50 50 1 1 B
X GND 23 700 650 200 L 50 50 1 1 W
X B2 14 700 -250 200 L 50 50 1 1 B
X RAW 24 700 750 200 L 50 50 1 1 w
X B3 15 700 -150 200 L 50 50 1 1 B
X B1 16 700 -50 200 L 50 50 1 1 B
X F7 17 700 50 200 L 50 50 1 1 B
X F6 18 700 150 200 L 50 50 1 1 B
X F5 19 700 250 200 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SK6812MINI
#
DEF SK6812MINI L 0 40 Y Y 1 F N
F0 "L" 0 0 51 H V C CNN
F1 "SK6812MINI" 0 -50 16 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
S -150 150 150 -150 0 1 0 N
X DOUT 1 -200 100 47 R 28 28 1 1 O
X VSS 2 -200 -100 47 R 28 28 1 1 W
X DIN 3 200 -100 47 L 28 28 1 1 I
X VDD 4 200 100 47 L 28 28 1 1 W
ENDDRAW
ENDDEF
#
# SW_PUSH
#
DEF SW_PUSH SW 0 40 N N 1 F N
F0 "SW" 150 110 50 H V C CNN
F1 "SW_PUSH" 0 -80 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
DRAW
S -170 50 170 60 0 1 0 N
P 4 0 1 0 -40 60 -30 90 30 90 40 60 N
X 1 1 -300 0 200 R 50 50 0 1 P I
X 2 2 300 0 200 L 50 50 0 1 P I
ENDDRAW
ENDDEF
#
# VCC
#
DEF VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 0 75 25 0 1 0 N
P 2 0 1 0 0 0 0 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library

1024
crkbd/pcb/crkbd.net Normal file

File diff suppressed because it is too large Load Diff

61
crkbd/pcb/crkbd.pro Normal file
View File

@ -0,0 +1,61 @@
update=2018年04月11日水曜日 01:21:50
version=1
last_client=kicad
[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
[general]
version=1
[eeschema]
version=1
LibDir=../../kbd/labrary
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
LibName30=/Users/adachi-kousuke/src/github.com/foostan/kbd/labrary/kbd

1847
crkbd/pcb/crkbd.sch Normal file

File diff suppressed because it is too large Load Diff

965
crkbd/pcb/crkbd.xml Normal file
View File

@ -0,0 +1,965 @@
<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
<design>
<source>/Users/adachi-kousuke/src/github.com/foostan/blockbd/blockbd.sch</source>
<date>2018年01月19日金曜日 23:37:58</date>
<tool>Eeschema 4.0.7</tool>
<sheet number="1" name="/" tstamps="/">
<title_block>
<title>Blockbd</title>
<company>foostan</company>
<rev>0.0.1</rev>
<date/>
<source>blockbd.sch</source>
<comment number="1" value=""/>
<comment number="2" value=""/>
<comment number="3" value=""/>
<comment number="4" value=""/>
</title_block>
</sheet>
</design>
<components>
<comp ref="U1">
<value>ProMicro</value>
<footprint>promicro:ProMicro</footprint>
<libsource lib="promicro" part="ProMicro"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E14C2</tstamp>
</comp>
<comp ref="SW6">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2699</tstamp>
</comp>
<comp ref="D6">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E26C6</tstamp>
</comp>
<comp ref="SW11">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E27F9</tstamp>
</comp>
<comp ref="D11">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E281F</tstamp>
</comp>
<comp ref="SW16">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2908</tstamp>
</comp>
<comp ref="SW21">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2933</tstamp>
</comp>
<comp ref="SW26">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E295E</tstamp>
</comp>
<comp ref="SW31">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E298D</tstamp>
</comp>
<comp ref="D16">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E29BF</tstamp>
</comp>
<comp ref="D21">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E29F2</tstamp>
</comp>
<comp ref="D26">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2A33</tstamp>
</comp>
<comp ref="D31">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2A75</tstamp>
</comp>
<comp ref="SW1">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2B19</tstamp>
</comp>
<comp ref="D1">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2B5B</tstamp>
</comp>
<comp ref="SW7">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D26</tstamp>
</comp>
<comp ref="D7">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D2C</tstamp>
</comp>
<comp ref="SW12">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D32</tstamp>
</comp>
<comp ref="D12">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D38</tstamp>
</comp>
<comp ref="SW17">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D3E</tstamp>
</comp>
<comp ref="SW22">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D44</tstamp>
</comp>
<comp ref="SW27">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D4A</tstamp>
</comp>
<comp ref="SW32">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D50</tstamp>
</comp>
<comp ref="D17">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D56</tstamp>
</comp>
<comp ref="D22">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D5C</tstamp>
</comp>
<comp ref="D27">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D62</tstamp>
</comp>
<comp ref="D32">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D68</tstamp>
</comp>
<comp ref="SW2">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D6E</tstamp>
</comp>
<comp ref="D2">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E2D74</tstamp>
</comp>
<comp ref="SW8">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35B1</tstamp>
</comp>
<comp ref="D8">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35B7</tstamp>
</comp>
<comp ref="SW13">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35BD</tstamp>
</comp>
<comp ref="D13">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35C3</tstamp>
</comp>
<comp ref="SW18">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35C9</tstamp>
</comp>
<comp ref="SW23">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35CF</tstamp>
</comp>
<comp ref="SW28">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35D5</tstamp>
</comp>
<comp ref="SW33">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35DB</tstamp>
</comp>
<comp ref="D18">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35E1</tstamp>
</comp>
<comp ref="D23">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35E7</tstamp>
</comp>
<comp ref="D28">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35ED</tstamp>
</comp>
<comp ref="D33">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35F3</tstamp>
</comp>
<comp ref="SW3">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35F9</tstamp>
</comp>
<comp ref="D3">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E35FF</tstamp>
</comp>
<comp ref="SW9">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37A4</tstamp>
</comp>
<comp ref="D9">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37AA</tstamp>
</comp>
<comp ref="SW14">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37B0</tstamp>
</comp>
<comp ref="D14">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37B6</tstamp>
</comp>
<comp ref="SW19">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37BC</tstamp>
</comp>
<comp ref="SW24">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37C2</tstamp>
</comp>
<comp ref="SW29">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37C8</tstamp>
</comp>
<comp ref="SW34">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37CE</tstamp>
</comp>
<comp ref="D19">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37D4</tstamp>
</comp>
<comp ref="D24">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37DA</tstamp>
</comp>
<comp ref="D29">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37E0</tstamp>
</comp>
<comp ref="D34">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37E6</tstamp>
</comp>
<comp ref="SW4">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37EC</tstamp>
</comp>
<comp ref="D4">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E37F2</tstamp>
</comp>
<comp ref="SW10">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C85</tstamp>
</comp>
<comp ref="D10">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C8B</tstamp>
</comp>
<comp ref="SW15">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C91</tstamp>
</comp>
<comp ref="D15">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C97</tstamp>
</comp>
<comp ref="SW20">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3C9D</tstamp>
</comp>
<comp ref="SW25">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CA3</tstamp>
</comp>
<comp ref="SW30">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CA9</tstamp>
</comp>
<comp ref="SW35">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CAF</tstamp>
</comp>
<comp ref="D20">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CB5</tstamp>
</comp>
<comp ref="D25">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CBB</tstamp>
</comp>
<comp ref="D30">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CC1</tstamp>
</comp>
<comp ref="D35">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CC7</tstamp>
</comp>
<comp ref="SW5">
<value>SW_PUSH</value>
<footprint>footprint:MXALPS_FLIP_HOLES</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CCD</tstamp>
</comp>
<comp ref="D5">
<value>D</value>
<footprint>Diodes_THT:D_DO-35_SOD27_P10.16mm_Horizontal</footprint>
<libsource lib="device" part="D"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5E3CD3</tstamp>
</comp>
<comp ref="RSW1">
<value>SW_PUSH</value>
<footprint>footprint:SKHL</footprint>
<libsource lib="lets_split-cache" part="SW_PUSH"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5EB9E2</tstamp>
</comp>
<comp ref="J1">
<value>5PIN</value>
<footprint>library:trrs_jack</footprint>
<libsource lib="ergo42" part="5PIN"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5ECD17</tstamp>
</comp>
<comp ref="R2">
<value>R</value>
<footprint>footprint:RESISTOR</footprint>
<libsource lib="device" part="R"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5EEC14</tstamp>
</comp>
<comp ref="R1">
<value>R</value>
<footprint>footprint:RESISTOR</footprint>
<libsource lib="device" part="R"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5F1617</tstamp>
</comp>
<comp ref="JP1">
<value>Jumper_NO_Small</value>
<footprint>library:jumper_smd_2dub</footprint>
<libsource lib="device" part="Jumper_NO_Small"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5A5F1A29</tstamp>
</comp>
</components>
<libparts>
<libpart lib="ergo42" part="5PIN">
<fields>
<field name="Reference">J</field>
<field name="Value">5PIN</field>
</fields>
<pins>
<pin num="1" name="1" type="power_in"/>
<pin num="2" name="2" type="BiDi"/>
<pin num="3" name="3" type="BiDi"/>
<pin num="4" name="4" type="power_in"/>
<pin num="5" name="5" type="power_in"/>
</pins>
</libpart>
<libpart lib="device" part="D">
<description>Diode</description>
<footprints>
<fp>TO-???*</fp>
<fp>*SingleDiode</fp>
<fp>*_Diode_*</fp>
<fp>*SingleDiode*</fp>
<fp>D_*</fp>
</footprints>
<fields>
<field name="Reference">D</field>
<field name="Value">D</field>
</fields>
<pins>
<pin num="1" name="K" type="passive"/>
<pin num="2" name="A" type="passive"/>
</pins>
</libpart>
<libpart lib="device" part="Jumper_NO_Small">
<description>Jumper, normally open</description>
<fields>
<field name="Reference">JP</field>
<field name="Value">Jumper_NO_Small</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
<pin num="2" name="2" type="passive"/>
</pins>
</libpart>
<libpart lib="promicro" part="ProMicro">
<fields>
<field name="Reference">U</field>
<field name="Value">ProMicro</field>
</fields>
<pins>
<pin num="1" name="TX" type="BiDi"/>
<pin num="2" name="RX" type="BiDi"/>
<pin num="3" name="GND" type="power_in"/>
<pin num="4" name="GND" type="power_in"/>
<pin num="5" name="SCL" type="BiDi"/>
<pin num="6" name="SDA" type="BiDi"/>
<pin num="7" name="D4" type="BiDi"/>
<pin num="8" name="C6" type="BiDi"/>
<pin num="9" name="D7" type="BiDi"/>
<pin num="10" name="E6" type="BiDi"/>
<pin num="11" name="B4" type="BiDi"/>
<pin num="12" name="B5" type="BiDi"/>
<pin num="13" name="B6" type="BiDi"/>
<pin num="14" name="B2" type="BiDi"/>
<pin num="15" name="B3" type="BiDi"/>
<pin num="16" name="B1" type="BiDi"/>
<pin num="17" name="F7" type="BiDi"/>
<pin num="18" name="F6" type="BiDi"/>
<pin num="19" name="F5" type="BiDi"/>
<pin num="20" name="F4" type="BiDi"/>
<pin num="21" name="VCC" type="power_in"/>
<pin num="22" name="RST" type="input"/>
<pin num="23" name="GND" type="power_in"/>
<pin num="24" name="RAW" type="power_out"/>
</pins>
</libpart>
<libpart lib="device" part="R">
<description>Resistor</description>
<footprints>
<fp>R_*</fp>
<fp>R_*</fp>
</footprints>
<fields>
<field name="Reference">R</field>
<field name="Value">R</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="lets_split-cache" part="SW_PUSH">
<fields>
<field name="Reference">SW</field>
<field name="Value">SW_PUSH</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
<pin num="2" name="2" type="passive"/>
</pins>
</libpart>
</libparts>
<libraries>
<library logical="promicro">
<uri>/Users/adachi-kousuke/src/github.com/Biacco42/Ergo42/ergo42/promicro_library/promicro.lib</uri>
</library>
<library logical="lets_split-cache">
<uri>/Users/adachi-kousuke/src/github.com/climbalima/let-s-Split-v2/lets_split/lets_split-cache.lib</uri>
</library>
<library logical="ergo42">
<uri>/Users/adachi-kousuke/src/github.com/Biacco42/Ergo42/ergo42/library/ergo42.lib</uri>
</library>
<library logical="device">
<uri>/Users/adachi-kousuke/src/github.com/KiCad/kicad-library/library/device.lib</uri>
</library>
</libraries>
<nets>
<net code="1" name="VCC">
<node ref="J1" pin="1"/>
<node ref="R1" pin="1"/>
<node ref="R2" pin="1"/>
<node ref="U1" pin="21"/>
</net>
<net code="2" name="GND">
<node ref="J1" pin="4"/>
<node ref="J1" pin="5"/>
<node ref="RSW1" pin="2"/>
<node ref="U1" pin="3"/>
<node ref="U1" pin="4"/>
<node ref="U1" pin="23"/>
</net>
<net code="3" name="xtradata">
<node ref="JP1" pin="2"/>
<node ref="J1" pin="2"/>
</net>
<net code="4" name="scl">
<node ref="U1" pin="5"/>
<node ref="JP1" pin="1"/>
<node ref="R1" pin="2"/>
</net>
<net code="5" name="sda">
<node ref="U1" pin="6"/>
<node ref="J1" pin="3"/>
<node ref="R2" pin="2"/>
</net>
<net code="6" name="Net-(U1-Pad7)">
<node ref="U1" pin="7"/>
</net>
<net code="7" name="Net-(U1-Pad2)">
<node ref="U1" pin="2"/>
</net>
<net code="8" name="Net-(U1-Pad1)">
<node ref="U1" pin="1"/>
</net>
<net code="9" name="Net-(U1-Pad20)">
<node ref="U1" pin="20"/>
</net>
<net code="10" name="Net-(U1-Pad24)">
<node ref="U1" pin="24"/>
</net>
<net code="11" name="Net-(RSW1-Pad1)">
<node ref="RSW1" pin="1"/>
<node ref="U1" pin="22"/>
</net>
<net code="12" name="Net-(D12-Pad2)">
<node ref="D12" pin="2"/>
<node ref="SW12" pin="2"/>
</net>
<net code="13" name="Net-(D7-Pad2)">
<node ref="D7" pin="2"/>
<node ref="SW7" pin="2"/>
</net>
<net code="14" name="Net-(D1-Pad2)">
<node ref="SW1" pin="2"/>
<node ref="D1" pin="2"/>
</net>
<net code="15" name="Net-(D31-Pad2)">
<node ref="D31" pin="2"/>
<node ref="SW31" pin="2"/>
</net>
<net code="16" name="Net-(D26-Pad2)">
<node ref="SW26" pin="2"/>
<node ref="D26" pin="2"/>
</net>
<net code="17" name="Net-(D21-Pad2)">
<node ref="SW21" pin="2"/>
<node ref="D21" pin="2"/>
</net>
<net code="18" name="Net-(D16-Pad2)">
<node ref="SW16" pin="2"/>
<node ref="D16" pin="2"/>
</net>
<net code="19" name="Net-(D8-Pad2)">
<node ref="D8" pin="2"/>
<node ref="SW8" pin="2"/>
</net>
<net code="20" name="Net-(D2-Pad2)">
<node ref="SW2" pin="2"/>
<node ref="D2" pin="2"/>
</net>
<net code="21" name="Net-(D32-Pad2)">
<node ref="D32" pin="2"/>
<node ref="SW32" pin="2"/>
</net>
<net code="22" name="Net-(D27-Pad2)">
<node ref="D27" pin="2"/>
<node ref="SW27" pin="2"/>
</net>
<net code="23" name="Net-(D22-Pad2)">
<node ref="D22" pin="2"/>
<node ref="SW22" pin="2"/>
</net>
<net code="24" name="Net-(D17-Pad2)">
<node ref="SW17" pin="2"/>
<node ref="D17" pin="2"/>
</net>
<net code="25" name="row1">
<node ref="D12" pin="1"/>
<node ref="D7" pin="1"/>
<node ref="U1" pin="9"/>
<node ref="D17" pin="1"/>
<node ref="D22" pin="1"/>
<node ref="D27" pin="1"/>
<node ref="D32" pin="1"/>
<node ref="D2" pin="1"/>
</net>
<net code="26" name="Net-(D11-Pad2)">
<node ref="D11" pin="2"/>
<node ref="SW11" pin="2"/>
</net>
<net code="27" name="Net-(D6-Pad2)">
<node ref="D6" pin="2"/>
<node ref="SW6" pin="2"/>
</net>
<net code="28" name="row0">
<node ref="D21" pin="1"/>
<node ref="D26" pin="1"/>
<node ref="U1" pin="8"/>
<node ref="D31" pin="1"/>
<node ref="D16" pin="1"/>
<node ref="D11" pin="1"/>
<node ref="D6" pin="1"/>
<node ref="D1" pin="1"/>
</net>
<net code="29" name="Net-(D15-Pad2)">
<node ref="D15" pin="2"/>
<node ref="SW15" pin="2"/>
</net>
<net code="30" name="Net-(D10-Pad2)">
<node ref="SW10" pin="2"/>
<node ref="D10" pin="2"/>
</net>
<net code="31" name="Net-(D4-Pad2)">
<node ref="SW4" pin="2"/>
<node ref="D4" pin="2"/>
</net>
<net code="32" name="Net-(D34-Pad2)">
<node ref="D34" pin="2"/>
<node ref="SW34" pin="2"/>
</net>
<net code="33" name="Net-(D29-Pad2)">
<node ref="D29" pin="2"/>
<node ref="SW29" pin="2"/>
</net>
<net code="34" name="Net-(D24-Pad2)">
<node ref="D24" pin="2"/>
<node ref="SW24" pin="2"/>
</net>
<net code="35" name="Net-(D19-Pad2)">
<node ref="D19" pin="2"/>
<node ref="SW19" pin="2"/>
</net>
<net code="36" name="Net-(D5-Pad2)">
<node ref="SW5" pin="2"/>
<node ref="D5" pin="2"/>
</net>
<net code="37" name="Net-(D35-Pad2)">
<node ref="SW35" pin="2"/>
<node ref="D35" pin="2"/>
</net>
<net code="38" name="Net-(D30-Pad2)">
<node ref="D30" pin="2"/>
<node ref="SW30" pin="2"/>
</net>
<net code="39" name="Net-(D25-Pad2)">
<node ref="SW25" pin="2"/>
<node ref="D25" pin="2"/>
</net>
<net code="40" name="Net-(D20-Pad2)">
<node ref="D20" pin="2"/>
<node ref="SW20" pin="2"/>
</net>
<net code="41" name="row4">
<node ref="D15" pin="1"/>
<node ref="U1" pin="12"/>
<node ref="D10" pin="1"/>
<node ref="D5" pin="1"/>
<node ref="D35" pin="1"/>
<node ref="D30" pin="1"/>
<node ref="D20" pin="1"/>
<node ref="D25" pin="1"/>
</net>
<net code="42" name="Net-(D28-Pad2)">
<node ref="D28" pin="2"/>
<node ref="SW28" pin="2"/>
</net>
<net code="43" name="Net-(D23-Pad2)">
<node ref="D23" pin="2"/>
<node ref="SW23" pin="2"/>
</net>
<net code="44" name="Net-(D18-Pad2)">
<node ref="SW18" pin="2"/>
<node ref="D18" pin="2"/>
</net>
<net code="45" name="Net-(D33-Pad2)">
<node ref="D33" pin="2"/>
<node ref="SW33" pin="2"/>
</net>
<net code="46" name="Net-(D13-Pad2)">
<node ref="SW13" pin="2"/>
<node ref="D13" pin="2"/>
</net>
<net code="47" name="col6">
<node ref="SW31" pin="1"/>
<node ref="SW32" pin="1"/>
<node ref="SW33" pin="1"/>
<node ref="SW35" pin="1"/>
<node ref="SW34" pin="1"/>
<node ref="U1" pin="13"/>
</net>
<net code="48" name="col5">
<node ref="SW26" pin="1"/>
<node ref="SW29" pin="1"/>
<node ref="SW30" pin="1"/>
<node ref="U1" pin="14"/>
<node ref="SW28" pin="1"/>
<node ref="SW27" pin="1"/>
</net>
<net code="49" name="col4">
<node ref="SW25" pin="1"/>
<node ref="SW21" pin="1"/>
<node ref="SW23" pin="1"/>
<node ref="SW22" pin="1"/>
<node ref="U1" pin="15"/>
<node ref="SW24" pin="1"/>
</net>
<net code="50" name="col3">
<node ref="SW18" pin="1"/>
<node ref="SW20" pin="1"/>
<node ref="U1" pin="16"/>
<node ref="SW19" pin="1"/>
<node ref="SW17" pin="1"/>
<node ref="SW16" pin="1"/>
</net>
<net code="51" name="Net-(D14-Pad2)">
<node ref="D14" pin="2"/>
<node ref="SW14" pin="2"/>
</net>
<net code="52" name="col2">
<node ref="SW13" pin="1"/>
<node ref="SW12" pin="1"/>
<node ref="SW14" pin="1"/>
<node ref="SW15" pin="1"/>
<node ref="SW11" pin="1"/>
<node ref="U1" pin="17"/>
</net>
<net code="53" name="Net-(D9-Pad2)">
<node ref="D9" pin="2"/>
<node ref="SW9" pin="2"/>
</net>
<net code="54" name="row3">
<node ref="D19" pin="1"/>
<node ref="D24" pin="1"/>
<node ref="D29" pin="1"/>
<node ref="D34" pin="1"/>
<node ref="D4" pin="1"/>
<node ref="D14" pin="1"/>
<node ref="U1" pin="11"/>
<node ref="D9" pin="1"/>
</net>
<net code="55" name="col1">
<node ref="SW9" pin="1"/>
<node ref="SW8" pin="1"/>
<node ref="SW10" pin="1"/>
<node ref="SW7" pin="1"/>
<node ref="U1" pin="18"/>
<node ref="SW6" pin="1"/>
</net>
<net code="56" name="Net-(D3-Pad2)">
<node ref="SW3" pin="2"/>
<node ref="D3" pin="2"/>
</net>
<net code="57" name="row2">
<node ref="U1" pin="10"/>
<node ref="D8" pin="1"/>
<node ref="D13" pin="1"/>
<node ref="D33" pin="1"/>
<node ref="D3" pin="1"/>
<node ref="D18" pin="1"/>
<node ref="D23" pin="1"/>
<node ref="D28" pin="1"/>
</net>
<net code="58" name="col0">
<node ref="U1" pin="19"/>
<node ref="SW3" pin="1"/>
<node ref="SW2" pin="1"/>
<node ref="SW1" pin="1"/>
<node ref="SW4" pin="1"/>
<node ref="SW5" pin="1"/>
</net>
</nets>
</export>

108
crkbd/pcb/pcbnew.py Normal file
View File

@ -0,0 +1,108 @@
# execfile '/tmp/pcbnew.py'
import pcbnew
OFFSET_X = float(70)
OFFSET_Y = float(70)
PITCH = float(19)
def set_position(ref, xp, yp, orientation = 0):
module = pcb.FindModuleByReference(ref)
module.SetPosition(pcbnew.wxPointMM(xp + OFFSET_X, yp + OFFSET_Y))
module.SetOrientation( orientation * 10.0 )
def set_matrix_position(ref_prefix, matrix):
i = 0
for yi, rows in enumerate(matrix):
for xi, p in enumerate(rows):
i += 1
ref = "%s%s" % (ref_prefix, i)
xp = xi * PITCH + p[0]
yp = yi * PITCH + p[1]
orientation = p[2]
set_position(ref, xp, yp, orientation)
xp = xi * PITCH + p[0]
yp = yi * PITCH + p[1]
orientation = p[2]
set_position(ref, xp, yp, orientation)
module = pcb.FindModuleByReference(ref)
module.SetPosition(pcbnew.wxPointMM(xp + OFFSET_X, yp + OFFSET_Y))
module.SetOrientation( orientation * 10.0 )
#-------------
pcb = pcbnew.GetBoard()
# ProMicro
#set_position('U1', 115.25, 20.25, 0)
# OLED
#set_position('J2', 110.75, 38.5, 0)
# OLED JP
#set_position('JP2', 118.375, 35.25, -90)
#set_position('JP3', 115.875, 35.25, -90)
#set_position('JP4', 113.375, 35.25, -90)
#set_position('JP5', 110.875, 35.25, -90)
#set_position('JP6', 118.375, 35.25, -90)
#set_position('JP7', 115.875, 35.25, -90)
#set_position('JP8', 113.375, 35.25, -90)
#set_position('JP9', 110.875, 35.25, -90)
# Undergrow LED
#set_position('J3', 102, 29.5, 0)
# TRRS Jack
#set_position('J1', 124.75, 45, -90)
# Reset Switch
#set_position('RSW1', 120, 51, 0)
# R
#set_position('R1', 105.5, 46, 90)
#set_position('R2', 108, 46, 90)
# JP1
#set_position('JP1', 105.5, 41, 0)
# Switch
set_matrix_position('SW', [
[[0, 0.375*PITCH, 180], [0, 0.375*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0.25*PITCH, 180]],
[[0, 0.375*PITCH, 180], [0, 0.375*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0.25*PITCH, 180]],
[[0, 0.375*PITCH, 180], [0, 0.375*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0*PITCH, 180], [0, 0.125*PITCH, 180], [0, 0.25*PITCH, 180]],
[[3.5*PITCH, 0*PITCH+3, 180], [3.5*PITCH+2, 0.25*PITCH+1, 160], [3.5*PITCH+5.25, 0.25*PITCH+4.75, 240]]
])
# Diode
set_matrix_position('D', [
[[-8, 0.375*PITCH, 270], [8, 0.375*PITCH, 270], [8, 0.125*PITCH, 270], [8, 0*PITCH, 270], [8, 0.125*PITCH, 270], [-8, 0.25*PITCH-2.375, 270]],
[[-8, 0.375*PITCH, 270], [8, 0.375*PITCH, 270], [8, 0.125*PITCH, 270], [8, 0*PITCH, 270], [8, 0.125*PITCH, 270], [-8, 0.25*PITCH-2.375, 270]],
[[-8, 0.375*PITCH, 270], [8, 0.375*PITCH, 270], [8, 0.125*PITCH, 270], [8, 0*PITCH, 270], [8, 0.125*PITCH, 270], [-8, 0.25*PITCH-2.375, 270]],
[[3.5*PITCH-8, 0*PITCH+3, 270], [3.5*PITCH-11, 0.25*PITCH-2, 270], [3.5*PITCH-27, 0.25*PITCH-2, 270]]
])
# LED
set_matrix_position('L', [
[[0, 0.375*PITCH-5.5, 0], [0, 0.375*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0.25*PITCH-5.5, 0]],
[[0, 0.375*PITCH-5.5, 0], [0, 0.375*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0.25*PITCH-5.5, 0]],
[[0, 0.375*PITCH-5.5, 0], [0, 0.375*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0*PITCH-5.5, 0], [0, 0.125*PITCH-5.5, 0], [0, 0.25*PITCH-5.5, 0]],
[[3.5*PITCH, 0*PITCH-5.5+3, 0], [3.5*PITCH+3.5, 0.25*PITCH-5.25+1, 165], [3.5*PITCH+0.5, 0.25*PITCH+8.5-6.5, 240]]
])
#hole_xn = 8
#hole_yn = 6
#hole_ox = float(60.5)
#hole_oy = float(60.5)
#pitch = float(19)
#
#for hole_i in range(0, hole_xn * hole_yn):
# hole_xi = (hole_i / hole_yn)
# hole_yi = (hole_i % hole_yn) - 1
#
# hole_px = hole_ox + pitch * hole_xi
# hole_py = hole_oy + pitch * hole_yi
#
# hole_module = pcb.FindModuleByReference("H%s" % (hole_i+1))
# hole_module.SetPosition(pcbnew.wxPointMM(0, 0))