Replace footprints for double hotswapable
This commit is contained in:
parent
f02d086c87
commit
3296c88b6f
7649
crkbd-mix/pcb/_autosave-crkbd-mix.kicad_pcb
Normal file
7649
crkbd-mix/pcb/_autosave-crkbd-mix.kicad_pcb
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,46 @@
|
||||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# Connector_Generic:Conn_01x01
|
||||
#
|
||||
DEF Connector_Generic:Conn_01x01 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "Connector_Generic: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*:*
|
||||
$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
|
||||
#
|
||||
# Connector_Generic:Conn_01x04
|
||||
#
|
||||
DEF Connector_Generic:Conn_01x04 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 200 50 H V C CNN
|
||||
F1 "Connector_Generic: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*:*_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
|
||||
#
|
||||
# Device:D
|
||||
#
|
||||
DEF Device:D D 0 40 N N 1 F N
|
||||
@ -128,22 +168,6 @@ X D7 9 -700 -50 200 R 50 50 1 1 B
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# kbd:SK6812MINI
|
||||
#
|
||||
DEF kbd:SK6812MINI L 0 40 Y Y 1 F N
|
||||
F0 "L" 0 0 51 H V C CNN
|
||||
F1 "kbd: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
|
||||
#
|
||||
# kbd:SW_PUSH
|
||||
#
|
||||
DEF kbd:SW_PUSH SW 0 40 N N 1 F N
|
||||
|
File diff suppressed because it is too large
Load Diff
7649
crkbd-mix/pcb/crkbd-mix.kicad_pcb-bak
Normal file
7649
crkbd-mix/pcb/crkbd-mix.kicad_pcb-bak
Normal file
File diff suppressed because it is too large
Load Diff
684
crkbd-mix/pcb/crkbd-mix.net
Normal file
684
crkbd-mix/pcb/crkbd-mix.net
Normal file
@ -0,0 +1,684 @@
|
||||
(export (version D)
|
||||
(design
|
||||
(source /Users/adachi-kousuke/src/github.com/foostan/crkbd/crkbd-mix/pcb/crkbd-mix.sch)
|
||||
(date "2018年08月10日金曜日 15:04:53")
|
||||
(tool "Eeschema (5.0.0-3-g5ebb6b6)")
|
||||
(sheet (number 1) (name /) (tstamps /)
|
||||
(title_block
|
||||
(title "Mix Corne Keyboard")
|
||||
(company foostan)
|
||||
(rev 2.0-mix)
|
||||
(date 2018-08-10)
|
||||
(source crkbd-mix.sch)
|
||||
(comment (number 1) (value ""))
|
||||
(comment (number 2) (value ""))
|
||||
(comment (number 3) (value ""))
|
||||
(comment (number 4) (value "")))))
|
||||
(components
|
||||
(comp (ref U1)
|
||||
(value ProMicro)
|
||||
(footprint kbd:ProMicro_v2)
|
||||
(libsource (lib kbd) (part ProMicro) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E14C2))
|
||||
(comp (ref SW2)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2699))
|
||||
(comp (ref D2)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E26C6))
|
||||
(comp (ref SW3)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E27F9))
|
||||
(comp (ref D3)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E281F))
|
||||
(comp (ref SW4)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2908))
|
||||
(comp (ref SW5)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2933))
|
||||
(comp (ref SW6)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E295E))
|
||||
(comp (ref D4)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E29BF))
|
||||
(comp (ref D5)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E29F2))
|
||||
(comp (ref D6)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2A33))
|
||||
(comp (ref SW1)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2B19))
|
||||
(comp (ref D1)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2B5B))
|
||||
(comp (ref SW8)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D26))
|
||||
(comp (ref D8)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D2C))
|
||||
(comp (ref SW9)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D32))
|
||||
(comp (ref D9)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D38))
|
||||
(comp (ref SW10)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D3E))
|
||||
(comp (ref SW11)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D44))
|
||||
(comp (ref SW12)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D4A))
|
||||
(comp (ref D10)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D56))
|
||||
(comp (ref D11)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D5C))
|
||||
(comp (ref D12)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D62))
|
||||
(comp (ref SW7)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D6E))
|
||||
(comp (ref D7)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E2D74))
|
||||
(comp (ref SW14)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35B1))
|
||||
(comp (ref D14)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35B7))
|
||||
(comp (ref SW15)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35BD))
|
||||
(comp (ref D15)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35C3))
|
||||
(comp (ref SW16)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35C9))
|
||||
(comp (ref SW17)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35CF))
|
||||
(comp (ref SW18)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35D5))
|
||||
(comp (ref D16)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35E1))
|
||||
(comp (ref D17)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35E7))
|
||||
(comp (ref D18)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35ED))
|
||||
(comp (ref SW13)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35F9))
|
||||
(comp (ref D13)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E35FF))
|
||||
(comp (ref SW20)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E37A4))
|
||||
(comp (ref D20)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E37AA))
|
||||
(comp (ref SW21)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E37B0))
|
||||
(comp (ref D21)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E37B6))
|
||||
(comp (ref SW19)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:CherryMX_KailhLowProfile_Hotswap)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E37EC))
|
||||
(comp (ref D19)
|
||||
(value D)
|
||||
(footprint kbd:D3_SMD)
|
||||
(libsource (lib Device) (part D) (description Diode))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5E37F2))
|
||||
(comp (ref RSW1)
|
||||
(value SW_PUSH)
|
||||
(footprint kbd:ResetSW)
|
||||
(libsource (lib kbd) (part SW_PUSH) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A5EB9E2))
|
||||
(comp (ref JP1)
|
||||
(value " ")
|
||||
(footprint kbd:JPC2)
|
||||
(libsource (lib Device) (part Jumper) (description "Jumper, generic, normally closed"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A7600BC))
|
||||
(comp (ref J2)
|
||||
(value OLED)
|
||||
(footprint kbd:OLED)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A91DA4B))
|
||||
(comp (ref JP2)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A91E324))
|
||||
(comp (ref JP3)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A91EDE5))
|
||||
(comp (ref JP4)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A91EF6D))
|
||||
(comp (ref JP5)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A91F0F9))
|
||||
(comp (ref JP6)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A9200B6))
|
||||
(comp (ref JP7)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A92024B))
|
||||
(comp (ref JP8)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A9203DF))
|
||||
(comp (ref JP9)
|
||||
(value " ")
|
||||
(footprint kbd:Jumper)
|
||||
(libsource (lib Device) (part Jumper_NO_Small) (description "Jumper, normally open"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5A920576))
|
||||
(comp (ref R1)
|
||||
(value R)
|
||||
(footprint kbd:R)
|
||||
(libsource (lib Device) (part R) (description Resistor))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5AA6D1F3))
|
||||
(comp (ref R2)
|
||||
(value R)
|
||||
(footprint kbd:R)
|
||||
(libsource (lib Device) (part R) (description Resistor))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5AA6D2A6))
|
||||
(comp (ref J1)
|
||||
(value MJ-4PP-9)
|
||||
(footprint kbd:MJ-4PP-9)
|
||||
(libsource (lib kbd) (part MJ-4PP-9) (description "4-pin (audio) jack receptable (stereo + 4th pin/TRRS connector)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5ACD605D))
|
||||
(comp (ref P2)
|
||||
(value i2c-pin)
|
||||
(footprint kbd:1pin_conn)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5AD20E0A))
|
||||
(comp (ref P1)
|
||||
(value i2c-pin)
|
||||
(footprint kbd:1pin_conn)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5AD21C5C)))
|
||||
(libparts
|
||||
(libpart (lib Connector_Generic) (part Conn_01x01)
|
||||
(description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x01))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))))
|
||||
(libpart (lib Connector_Generic) (part Conn_01x04)
|
||||
(description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*_1x??_*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x04))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))
|
||||
(pin (num 4) (name Pin_4) (type passive))))
|
||||
(libpart (lib Device) (part D)
|
||||
(description Diode)
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp TO-???*)
|
||||
(fp *_Diode_*)
|
||||
(fp *SingleDiode*)
|
||||
(fp D_*))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) D))
|
||||
(pins
|
||||
(pin (num 1) (name K) (type passive))
|
||||
(pin (num 2) (name A) (type passive))))
|
||||
(libpart (lib Device) (part Jumper)
|
||||
(description "Jumper, generic, normally closed")
|
||||
(docs ~)
|
||||
(fields
|
||||
(field (name Reference) JP)
|
||||
(field (name Value) Jumper))
|
||||
(pins
|
||||
(pin (num 1) (name 1) (type passive))
|
||||
(pin (num 2) (name 2) (type passive))))
|
||||
(libpart (lib Device) (part Jumper_NO_Small)
|
||||
(description "Jumper, normally open")
|
||||
(docs ~)
|
||||
(fields
|
||||
(field (name Reference) JP)
|
||||
(field (name Value) Jumper_NO_Small))
|
||||
(pins
|
||||
(pin (num 1) (name 1) (type passive))
|
||||
(pin (num 2) (name 2) (type passive))))
|
||||
(libpart (lib Device) (part R)
|
||||
(description Resistor)
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp R_*))
|
||||
(fields
|
||||
(field (name Reference) R)
|
||||
(field (name Value) R))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib kbd) (part MJ-4PP-9)
|
||||
(description "4-pin (audio) jack receptable (stereo + 4th pin/TRRS connector)")
|
||||
(docs ~)
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) MJ-4PP-9))
|
||||
(pins
|
||||
(pin (num A) (name ~) (type input))
|
||||
(pin (num B) (name ~) (type input))
|
||||
(pin (num C) (name ~) (type input))
|
||||
(pin (num D) (name ~) (type input))))
|
||||
(libpart (lib kbd) (part ProMicro)
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) ProMicro))
|
||||
(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 SDA) (type BiDi))
|
||||
(pin (num 6) (name SCL) (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))))
|
||||
(libpart (lib kbd) (part SW_PUSH)
|
||||
(fields
|
||||
(field (name Reference) SW)
|
||||
(field (name Value) SW_PUSH))
|
||||
(pins
|
||||
(pin (num 1) (name 1) (type passive))
|
||||
(pin (num 2) (name 2) (type passive)))))
|
||||
(libraries
|
||||
(library (logical Connector_Generic)
|
||||
(uri "/Library/Application Support/kicad/library/Connector_Generic.lib"))
|
||||
(library (logical Device)
|
||||
(uri "/Library/Application Support/kicad/library/Device.lib"))
|
||||
(library (logical kbd)
|
||||
(uri /Users/adachi-kousuke/src/github.com/foostan/kbd/labrary/kbd.lib)))
|
||||
(nets
|
||||
(net (code 1) (name LED)
|
||||
(node (ref U1) (pin 1)))
|
||||
(net (code 2) (name data)
|
||||
(node (ref U1) (pin 2))
|
||||
(node (ref JP1) (pin 1)))
|
||||
(net (code 3) (name SDA)
|
||||
(node (ref U1) (pin 5))
|
||||
(node (ref JP5) (pin 1))
|
||||
(node (ref JP6) (pin 1))
|
||||
(node (ref R1) (pin 2)))
|
||||
(net (code 4) (name SCL)
|
||||
(node (ref U1) (pin 6))
|
||||
(node (ref JP4) (pin 1))
|
||||
(node (ref JP7) (pin 1))
|
||||
(node (ref R2) (pin 2)))
|
||||
(net (code 5) (name "Net-(U1-Pad11)")
|
||||
(node (ref U1) (pin 11)))
|
||||
(net (code 6) (name "Net-(U1-Pad12)")
|
||||
(node (ref U1) (pin 12)))
|
||||
(net (code 7) (name reset)
|
||||
(node (ref U1) (pin 22))
|
||||
(node (ref RSW1) (pin 1)))
|
||||
(net (code 8) (name "Net-(U1-Pad13)")
|
||||
(node (ref U1) (pin 13)))
|
||||
(net (code 9) (name "Net-(U1-Pad14)")
|
||||
(node (ref U1) (pin 14)))
|
||||
(net (code 10) (name "Net-(U1-Pad24)")
|
||||
(node (ref U1) (pin 24)))
|
||||
(net (code 11) (name "Net-(D2-Pad2)")
|
||||
(node (ref D2) (pin 2))
|
||||
(node (ref SW2) (pin 2)))
|
||||
(net (code 12) (name "Net-(D3-Pad2)")
|
||||
(node (ref D3) (pin 2))
|
||||
(node (ref SW3) (pin 2)))
|
||||
(net (code 13) (name "Net-(D4-Pad2)")
|
||||
(node (ref D4) (pin 2))
|
||||
(node (ref SW4) (pin 2)))
|
||||
(net (code 14) (name "Net-(D5-Pad2)")
|
||||
(node (ref D5) (pin 2))
|
||||
(node (ref SW5) (pin 2)))
|
||||
(net (code 15) (name "Net-(D6-Pad2)")
|
||||
(node (ref D6) (pin 2))
|
||||
(node (ref SW6) (pin 2)))
|
||||
(net (code 16) (name "Net-(D1-Pad2)")
|
||||
(node (ref SW1) (pin 2))
|
||||
(node (ref D1) (pin 2)))
|
||||
(net (code 17) (name "Net-(D8-Pad2)")
|
||||
(node (ref SW8) (pin 2))
|
||||
(node (ref D8) (pin 2)))
|
||||
(net (code 18) (name "Net-(D9-Pad2)")
|
||||
(node (ref SW9) (pin 2))
|
||||
(node (ref D9) (pin 2)))
|
||||
(net (code 19) (name "Net-(D10-Pad2)")
|
||||
(node (ref SW10) (pin 2))
|
||||
(node (ref D10) (pin 2)))
|
||||
(net (code 20) (name "Net-(D11-Pad2)")
|
||||
(node (ref SW11) (pin 2))
|
||||
(node (ref D11) (pin 2)))
|
||||
(net (code 21) (name "Net-(D12-Pad2)")
|
||||
(node (ref SW12) (pin 2))
|
||||
(node (ref D12) (pin 2)))
|
||||
(net (code 22) (name "Net-(D7-Pad2)")
|
||||
(node (ref D7) (pin 2))
|
||||
(node (ref SW7) (pin 2)))
|
||||
(net (code 23) (name "Net-(D14-Pad2)")
|
||||
(node (ref D14) (pin 2))
|
||||
(node (ref SW14) (pin 2)))
|
||||
(net (code 24) (name "Net-(D15-Pad2)")
|
||||
(node (ref D15) (pin 2))
|
||||
(node (ref SW15) (pin 2)))
|
||||
(net (code 25) (name "Net-(D16-Pad2)")
|
||||
(node (ref D16) (pin 2))
|
||||
(node (ref SW16) (pin 2)))
|
||||
(net (code 26) (name "Net-(D17-Pad2)")
|
||||
(node (ref D17) (pin 2))
|
||||
(node (ref SW17) (pin 2)))
|
||||
(net (code 27) (name "Net-(D18-Pad2)")
|
||||
(node (ref SW18) (pin 2))
|
||||
(node (ref D18) (pin 2)))
|
||||
(net (code 28) (name "Net-(D13-Pad2)")
|
||||
(node (ref D13) (pin 2))
|
||||
(node (ref SW13) (pin 2)))
|
||||
(net (code 29) (name "Net-(D20-Pad2)")
|
||||
(node (ref D20) (pin 2))
|
||||
(node (ref SW20) (pin 2)))
|
||||
(net (code 30) (name "Net-(D21-Pad2)")
|
||||
(node (ref D21) (pin 2))
|
||||
(node (ref SW21) (pin 2)))
|
||||
(net (code 31) (name "Net-(D19-Pad2)")
|
||||
(node (ref D19) (pin 2))
|
||||
(node (ref SW19) (pin 2)))
|
||||
(net (code 32) (name col1)
|
||||
(node (ref SW14) (pin 1))
|
||||
(node (ref SW2) (pin 1))
|
||||
(node (ref SW8) (pin 1))
|
||||
(node (ref U1) (pin 19)))
|
||||
(net (code 33) (name col0)
|
||||
(node (ref SW13) (pin 1))
|
||||
(node (ref U1) (pin 20))
|
||||
(node (ref SW1) (pin 1))
|
||||
(node (ref SW7) (pin 1)))
|
||||
(net (code 34) (name col2)
|
||||
(node (ref SW15) (pin 1))
|
||||
(node (ref U1) (pin 18))
|
||||
(node (ref SW9) (pin 1))
|
||||
(node (ref SW3) (pin 1)))
|
||||
(net (code 35) (name col3)
|
||||
(node (ref SW4) (pin 1))
|
||||
(node (ref SW16) (pin 1))
|
||||
(node (ref SW10) (pin 1))
|
||||
(node (ref SW19) (pin 1))
|
||||
(node (ref U1) (pin 17)))
|
||||
(net (code 36) (name col4)
|
||||
(node (ref SW20) (pin 1))
|
||||
(node (ref SW11) (pin 1))
|
||||
(node (ref SW5) (pin 1))
|
||||
(node (ref SW17) (pin 1))
|
||||
(node (ref U1) (pin 16)))
|
||||
(net (code 37) (name col5)
|
||||
(node (ref SW18) (pin 1))
|
||||
(node (ref SW6) (pin 1))
|
||||
(node (ref U1) (pin 15))
|
||||
(node (ref SW21) (pin 1))
|
||||
(node (ref SW12) (pin 1)))
|
||||
(net (code 38) (name row0)
|
||||
(node (ref D1) (pin 1))
|
||||
(node (ref D6) (pin 1))
|
||||
(node (ref D5) (pin 1))
|
||||
(node (ref U1) (pin 7))
|
||||
(node (ref D4) (pin 1))
|
||||
(node (ref D3) (pin 1))
|
||||
(node (ref D2) (pin 1)))
|
||||
(net (code 39) (name row1)
|
||||
(node (ref U1) (pin 8))
|
||||
(node (ref D7) (pin 1))
|
||||
(node (ref D8) (pin 1))
|
||||
(node (ref D12) (pin 1))
|
||||
(node (ref D11) (pin 1))
|
||||
(node (ref D10) (pin 1))
|
||||
(node (ref D9) (pin 1)))
|
||||
(net (code 40) (name row2)
|
||||
(node (ref D14) (pin 1))
|
||||
(node (ref D15) (pin 1))
|
||||
(node (ref D16) (pin 1))
|
||||
(node (ref D17) (pin 1))
|
||||
(node (ref D18) (pin 1))
|
||||
(node (ref D13) (pin 1))
|
||||
(node (ref U1) (pin 9)))
|
||||
(net (code 41) (name row3)
|
||||
(node (ref D20) (pin 1))
|
||||
(node (ref D21) (pin 1))
|
||||
(node (ref D19) (pin 1))
|
||||
(node (ref U1) (pin 10)))
|
||||
(net (code 42) (name GND)
|
||||
(node (ref JP2) (pin 1))
|
||||
(node (ref U1) (pin 3))
|
||||
(node (ref U1) (pin 4))
|
||||
(node (ref RSW1) (pin 2))
|
||||
(node (ref U1) (pin 23))
|
||||
(node (ref JP9) (pin 1))
|
||||
(node (ref J1) (pin C)))
|
||||
(net (code 43) (name VCC)
|
||||
(node (ref J1) (pin D))
|
||||
(node (ref JP8) (pin 1))
|
||||
(node (ref U1) (pin 21))
|
||||
(node (ref R2) (pin 1))
|
||||
(node (ref R1) (pin 1))
|
||||
(node (ref JP3) (pin 1)))
|
||||
(net (code 44) (name "Net-(J2-Pad4)")
|
||||
(node (ref J2) (pin 4))
|
||||
(node (ref JP2) (pin 2))
|
||||
(node (ref JP6) (pin 2)))
|
||||
(net (code 45) (name "Net-(J2-Pad3)")
|
||||
(node (ref J2) (pin 3))
|
||||
(node (ref JP7) (pin 2))
|
||||
(node (ref JP3) (pin 2)))
|
||||
(net (code 46) (name "Net-(J2-Pad2)")
|
||||
(node (ref J2) (pin 2))
|
||||
(node (ref JP8) (pin 2))
|
||||
(node (ref JP4) (pin 2)))
|
||||
(net (code 47) (name "Net-(J2-Pad1)")
|
||||
(node (ref JP5) (pin 2))
|
||||
(node (ref JP9) (pin 2))
|
||||
(node (ref J2) (pin 1)))
|
||||
(net (code 48) (name "Net-(J1-PadB)")
|
||||
(node (ref P2) (pin 1))
|
||||
(node (ref JP1) (pin 2))
|
||||
(node (ref J1) (pin B)))
|
||||
(net (code 49) (name "Net-(J1-PadA)")
|
||||
(node (ref P1) (pin 1))
|
||||
(node (ref J1) (pin A)))))
|
File diff suppressed because it is too large
Load Diff
@ -69,26 +69,18 @@ pcb = pcbnew.GetBoard()
|
||||
|
||||
# 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]]
|
||||
[[0, 0.375*PITCH, 0], [0, 0.375*PITCH, 0], [0, 0.125*PITCH, 0], [0, 0*PITCH, 0], [0, 0.125*PITCH, 0], [0, 0.25*PITCH, 0]],
|
||||
[[0, 0.375*PITCH, 0], [0, 0.375*PITCH, 0], [0, 0.125*PITCH, 0], [0, 0*PITCH, 0], [0, 0.125*PITCH, 0], [0, 0.25*PITCH, 0]],
|
||||
[[0, 0.375*PITCH, 0], [0, 0.375*PITCH, 0], [0, 0.125*PITCH, 0], [0, 0*PITCH, 0], [0, 0.125*PITCH, 0], [0, 0.25*PITCH, 0]],
|
||||
[[3.5*PITCH, 0*PITCH+3, 0], [3.5*PITCH+2, 0.25*PITCH+1, 345], [3.5*PITCH+5.25, 0.25*PITCH+4.75, 60]]
|
||||
])
|
||||
|
||||
# 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]]
|
||||
[[0, 0.375*PITCH-8, 0], [0, 0.375*PITCH-8, 0], [0, 0.125*PITCH-8, 0], [0, 0*PITCH-8, 0], [0, 0.125*PITCH-8, 0], [0, 0.25*PITCH-8, 0]],
|
||||
[[0, 0.375*PITCH-8, 0], [0, 0.375*PITCH-8, 0], [0, 0.125*PITCH-8, 0], [0, 0*PITCH-8, 0], [0, 0.125*PITCH-8, 0], [0, 0.25*PITCH-8, 0]],
|
||||
[[0, 0.375*PITCH-8, 0], [0, 0.375*PITCH-8, 0], [0, 0.125*PITCH-8, 0], [0, 0*PITCH-8, 0], [0, 0.125*PITCH-8, 0], [0, 0.25*PITCH-8, 0]],
|
||||
[[3.5*PITCH, 0*PITCH-8+3, 0], [3.5*PITCH-8, 0.25*PITCH-8, 0], [3.5*PITCH-27, 0.25*PITCH-11, 0]]
|
||||
])
|
||||
|
||||
#hole_xn = 8
|
||||
|
Loading…
Reference in New Issue
Block a user