Upload files

This commit is contained in:
Oakchris1955 2024-10-20 16:21:43 +03:00
parent 455ef8e868
commit 6773d100f0
No known key found for this signature in database
GPG key ID: 3631B382EAA64076
54 changed files with 124217 additions and 0 deletions

15
hackpads/oakpad/README.md Normal file
View file

@ -0,0 +1,15 @@
# OakPad/OakBoard
I have trouble remembering certain shortcuts when coding in VSCode, so I designed this macropad to assist me
This is my first time designing a PCB, so I know this won't be perfect, but in the end mistakes are made so that we learn from them.
I'd also like to thank HackClub for hosting this YSWS events and giving me the opportunity to work on something I long wanted to
## BOM
- 7x keycaps
- 4x THT 5mm LEDs
- 6x THT diodes
- 1x THT DIN0204 150 Ohm resistor
- 4x M3 metric bolt screws with a length of 13-17.5mm

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,130 @@
print("Starting")
# Basic imports
import board
from kmk.kmk_keyboard import KMKKeyboard
from kmk.scanners.keypad import MatrixScanner, KeysScanner
from kmk.keys import KC
from kmk.scanners import DiodeOrientation
from kmk.modules.macros import Macros, Press, Release, Tap
from kmk.extensions.statusled import statusLED
from kmk.extensions.layers import Layers
class MyKeyboard(KMKKeyboard):
def __init__(self):
self.matrix = [
MatrixScanner(
cols=(board.D0, board.D1),
rows=(board.D10, board.D9, board.D8),
columns_to_anodes = DiodeOrientation.ROW2COL,
),
KeysScanner(
pins=[board.D6]
)
]
self.coord_mapping = [
0, 1, 2,
3, 4, 5, 6
]
'''
Comment Line (single line comment), Go To Line, Multi cursor
Trim trailing whitespace, Cycle tabs, Open command console, Change layer
'''
self.keymap = [
# VSCode (Windows/Linux)
[
KC.LCTL(KC.KP_SLASH),
KC.LCTL(KC.G),
KC.LCTL(KC.LSFT(KC.L)),
KC.MACRO(
Press(KC.LCTL),
Tap(KC.K),
Tap(KC.X),
Release(KC.LCTL)
),
KC.LCTL(KC.TAB),
KC.F1,
KC.DF(1),
],
# VSCode (MacOS)
[
KC.LCTL(KC.KP_SLASH),
KC.LCTL(KC.G),
KC.LGUI(KC.LSFT(KC.L)),
KC.MACRO(
Press(KC.LGUI),
Tap(KC.K),
Tap(KC.X),
Release(KC.LGUI)
),
KC.LCTL(KC.TAB),
KC.F1,
KC.DF(2),
],
# NeoVim
[
# relies on Comment.nvim (https://github.com/numToStr/Comment.nvim)
KC.MACRO(
# enter visual linewise mode
on_press=(Press(KC.LCTL(KC.V))),
# toggle the region using linewise comment
on_release=("gc", Press(KC.ENTER)),
),
KC.MACRO(
on_press=(Press(KC.ESC), ":"),
on_release=(Press(KC.ENTER))
)
# I asked around, they said multicursors aren't necessary on neovim
KC.NO,
# relies on trim.nvim (https://github.com/cappyzawa/trim.nvim)
KC.MACRO(
Press(KC.ESC),
":Trim",
Press(KC.ENTER)
),
KC.NO,
KC.MACRO(KC.ESC, ":")
KC.DF(3),
],
# Intellij IDEA (Mac)
[
KC.LCTL(KC.KP_SLASH),
KC.LCTL(KC.G),
KC.MACRO(
on_press=(Press(KC.LALT), Press(KC.LSHIFT))
on_release=(Release(KC.LALT), Release(KC.LSHIFT))
),
# apparently jetbrains already does this by default
KC.NO,
KC.LCTL(KC.RIGHT)
KC.NO,
KC.DF(0)
],
]
keyboard = MyKeyboard()
# layer
keyboard.modules.append(Layers())
# layer indicators
statusLED = statusLED(led_pins=[board.D2, board.D3, board.D4, board.D5])
keyboard.extensions.append(statusLED)
# macros
macros = Macros()
keyboard.modules.append(macros)
if __name__ == '__main__':
keyboard.go()

View file

@ -0,0 +1,138 @@
(footprint "OakLogo"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(property "Reference" "REF**"
(at 0 -1.75 0)
(unlocked yes)
(layer "F.SilkS")
(hide yes)
(uuid "ba85222a-c9d6-476e-8941-c967b7293375")
(effects
(font
(size 1 1)
(thickness 0.1)
)
)
)
(property "Value" "OakLogo"
(at 0 2.25 0)
(unlocked yes)
(layer "F.Fab")
(uuid "be535e74-17be-44c6-900a-bce3cc08ad76")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "d134df2a-f18e-48e9-acca-831bbcd3b60f")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "35aa79e1-6c0d-4990-bc9a-932d6874c26a")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "ecac0b81-22ee-4957-a64f-e8539045c635")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(fp_rect
(start -1 -1)
(end 1 1)
(stroke
(width 0.1)
(type default)
)
(fill none)
(layer "F.SilkS")
(uuid "b1a24171-50f2-486b-82c3-a8fa8fdeb9af")
)
(fp_rect
(start -1 -0.25)
(end 1 0.5)
(stroke
(width 0.1)
(type default)
)
(fill none)
(layer "F.SilkS")
(uuid "78f1671d-06b6-440c-b74d-b95158f9f886")
)
(fp_rect
(start -0.75 0)
(end -0.25 0.25)
(stroke
(width 0.1)
(type default)
)
(fill none)
(layer "F.SilkS")
(uuid "1085da43-9d67-4de4-bcce-573b5863fbbb")
)
(fp_rect
(start -0.5 0.5)
(end 0.5 0.75)
(stroke
(width 0.1)
(type solid)
)
(fill none)
(layer "F.SilkS")
(uuid "6be1c259-b449-4fd7-b4b6-e18da9f81bcc")
)
(fp_rect
(start 0.25 0)
(end 0.75 0.25)
(stroke
(width 0.1)
(type default)
)
(fill none)
(layer "F.SilkS")
(uuid "11af5cea-07a1-4175-87e6-31a7de07184a")
)
(fp_poly
(pts
(xy -1 -0.25) (xy -0.75 -0.25) (xy -0.75 -0.5) (xy 0.75 -0.5) (xy 0.75 -0.25) (xy 1 -0.25) (xy 1 -1)
(xy -1 -1)
)
(stroke
(width 0.1)
(type solid)
)
(fill solid)
(layer "F.SilkS")
(uuid "eb9637f5-0e64-447f-8976-ac60475929b4")
)
)

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,332 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:43+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Copper,L2,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:43*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,ComponentPad*%
%ADD10C,2.200000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD11R,1.600000X1.600000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD12O,1.600000X1.600000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD13R,1.800000X1.800000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD14C,1.800000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD15C,1.400000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD16O,1.400000X1.400000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD17R,1.700000X1.700000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD18C,1.700000*%
%TD*%
%TA.AperFunction,Conductor*%
%ADD19C,0.250000*%
%TD*%
G04 APERTURE END LIST*
D10*
%TO.P,SW1,1,1*%
%TO.N,/Row1*%
X25465000Y-36345000D03*
%TO.P,SW1,2,2*%
%TO.N,Net-(D1-A)*%
X19115000Y-38885000D03*
%TD*%
D11*
%TO.P,D4,1,K*%
%TO.N,/Column2*%
X31310000Y-74250000D03*
D12*
%TO.P,D4,2,A*%
%TO.N,Net-(D4-A)*%
X23690000Y-74250000D03*
%TD*%
D13*
%TO.P,D10,1,K*%
%TO.N,Net-(D10-K)*%
X48750000Y-20500000D03*
D14*
%TO.P,D10,2,A*%
%TO.N,Net-(D10-A)*%
X48750000Y-17960000D03*
%TD*%
D10*
%TO.P,SW3,1,1*%
%TO.N,/Row3*%
X64565000Y-36345000D03*
%TO.P,SW3,2,2*%
%TO.N,Net-(D3-A)*%
X58215000Y-38885000D03*
%TD*%
%TO.P,SW5,1,1*%
%TO.N,/Row2*%
X45015000Y-55895000D03*
%TO.P,SW5,2,2*%
%TO.N,Net-(D5-A)*%
X38665000Y-58435000D03*
%TD*%
D11*
%TO.P,D1,1,K*%
%TO.N,/Column1*%
X26730000Y-28500000D03*
D12*
%TO.P,D1,2,A*%
%TO.N,Net-(D1-A)*%
X19110000Y-28500000D03*
%TD*%
D13*
%TO.P,D8,1,K*%
%TO.N,Net-(D10-K)*%
X33750000Y-20500000D03*
D14*
%TO.P,D8,2,A*%
%TO.N,Net-(D8-A)*%
X33750000Y-17960000D03*
%TD*%
D10*
%TO.P,SW7,1,1*%
%TO.N,GND*%
X87515000Y-55895000D03*
%TO.P,SW7,2,2*%
%TO.N,Net-(U1-PB08_A6_D6_TX)*%
X81165000Y-58435000D03*
%TD*%
D11*
%TO.P,D2,1,K*%
%TO.N,/Column1*%
X46310000Y-28500000D03*
D12*
%TO.P,D2,2,A*%
%TO.N,Net-(D2-A)*%
X38690000Y-28500000D03*
%TD*%
D11*
%TO.P,D6,1,K*%
%TO.N,/Column2*%
X65810000Y-74040000D03*
D12*
%TO.P,D6,2,A*%
%TO.N,Net-(D6-A)*%
X58190000Y-74040000D03*
%TD*%
D15*
%TO.P,R1,1*%
%TO.N,Net-(D10-K)*%
X55840000Y-20500000D03*
D16*
%TO.P,R1,2*%
%TO.N,GND*%
X60920000Y-20500000D03*
%TD*%
D11*
%TO.P,D3,1,K*%
%TO.N,/Column1*%
X65730000Y-28500000D03*
D12*
%TO.P,D3,2,A*%
%TO.N,Net-(D3-A)*%
X58110000Y-28500000D03*
%TD*%
D10*
%TO.P,SW2,1,1*%
%TO.N,/Row2*%
X45015000Y-36345000D03*
%TO.P,SW2,2,2*%
%TO.N,Net-(D2-A)*%
X38665000Y-38885000D03*
%TD*%
D13*
%TO.P,D7,1,K*%
%TO.N,Net-(D10-K)*%
X26250000Y-20500000D03*
D14*
%TO.P,D7,2,A*%
%TO.N,Net-(D7-A)*%
X26250000Y-17960000D03*
%TD*%
D10*
%TO.P,SW4,1,1*%
%TO.N,/Row1*%
X25465000Y-55895000D03*
%TO.P,SW4,2,2*%
%TO.N,Net-(D4-A)*%
X19115000Y-58435000D03*
%TD*%
D17*
%TO.P,U1,1,PA02_A0_D0*%
%TO.N,/Column1*%
X74770250Y-18092015D03*
D18*
%TO.P,U1,2,PA4_A1_D1*%
%TO.N,/Column2*%
X74770250Y-20632015D03*
%TO.P,U1,3,PA10_A2_D2*%
%TO.N,Net-(D7-A)*%
X74770250Y-23172015D03*
%TO.P,U1,4,PA11_A3_D3*%
%TO.N,Net-(D8-A)*%
X74770250Y-25712015D03*
%TO.P,U1,5,PA8_A4_D4_SDA*%
%TO.N,Net-(D9-A)*%
X74770250Y-28252015D03*
%TO.P,U1,6,PA9_A5_D5_SCL*%
%TO.N,Net-(D10-A)*%
X74770250Y-30792015D03*
%TO.P,U1,7,PB08_A6_D6_TX*%
%TO.N,Net-(U1-PB08_A6_D6_TX)*%
X74770250Y-33332015D03*
%TO.P,U1,8,PB09_A7_D7_RX*%
%TO.N,unconnected-(U1-PB09_A7_D7_RX-Pad8)*%
X90020250Y-33332015D03*
%TO.P,U1,9,PA7_A8_D8_SCK*%
%TO.N,/Row3*%
X90020250Y-30792015D03*
%TO.P,U1,10,PA5_A9_D9_MISO*%
%TO.N,/Row2*%
X90020250Y-28252015D03*
%TO.P,U1,11,PA6_A10_D10_MOSI*%
%TO.N,/Row1*%
X90020250Y-25712015D03*
%TO.P,U1,12,3V3*%
%TO.N,unconnected-(U1-3V3-Pad12)*%
X90020250Y-23172015D03*
%TO.P,U1,13,GND*%
%TO.N,GND*%
X90020250Y-20632015D03*
%TO.P,U1,14,5V*%
%TO.N,+5V*%
X90020250Y-18092015D03*
%TD*%
D10*
%TO.P,SW6,1,1*%
%TO.N,/Row3*%
X64565000Y-55895000D03*
%TO.P,SW6,2,2*%
%TO.N,Net-(D6-A)*%
X58215000Y-58435000D03*
%TD*%
D11*
%TO.P,D5,1,K*%
%TO.N,/Column2*%
X46310000Y-73960000D03*
D12*
%TO.P,D5,2,A*%
%TO.N,Net-(D5-A)*%
X38690000Y-73960000D03*
%TD*%
D13*
%TO.P,D9,1,K*%
%TO.N,Net-(D10-K)*%
X41250000Y-20500000D03*
D14*
%TO.P,D9,2,A*%
%TO.N,Net-(D9-A)*%
X41250000Y-17960000D03*
%TD*%
D19*
%TO.N,Net-(D1-A)*%
X19110000Y-38915000D02*
X19065000Y-38960000D01*
%TO.N,Net-(D2-A)*%
X38610000Y-28580000D02*
X38690000Y-28500000D01*
%TO.N,Net-(D3-A)*%
X58190000Y-28580000D02*
X58110000Y-28500000D01*
%TO.N,Net-(D5-A)*%
X38690000Y-58540000D02*
X38690000Y-73960000D01*
%TO.N,Net-(D6-A)*%
X58215000Y-74015000D02*
X58190000Y-74040000D01*
X58215000Y-58535000D02*
X58215000Y-74015000D01*
X58150000Y-74000000D02*
X58190000Y-74040000D01*
%TO.N,Net-(D7-A)*%
X64931396Y-13000000D02*
X64000000Y-13000000D01*
X74770250Y-22838854D02*
X64931396Y-13000000D01*
X26250000Y-17960000D02*
X26250000Y-15170000D01*
X26250000Y-15170000D02*
X28420000Y-13000000D01*
X28420000Y-13000000D02*
X64000000Y-13000000D01*
%TO.N,Net-(D8-A)*%
X33750000Y-17960000D02*
X33750000Y-14670000D01*
X33750000Y-14670000D02*
X34920000Y-13500000D01*
X74770250Y-25378854D02*
X62891396Y-13500000D01*
X34920000Y-13500000D02*
X61750000Y-13500000D01*
X62891396Y-13500000D02*
X61750000Y-13500000D01*
%TO.N,Net-(D9-A)*%
X42500000Y-14000000D02*
X59750000Y-14000000D01*
X60851396Y-14000000D02*
X59750000Y-14000000D01*
X41250000Y-17960000D02*
X41250000Y-15250000D01*
X41250000Y-15250000D02*
X42500000Y-14000000D01*
X74770250Y-27918854D02*
X60851396Y-14000000D01*
%TO.N,Net-(D10-A)*%
X49920000Y-14500000D02*
X57500000Y-14500000D01*
X58478235Y-14500000D02*
X57500000Y-14500000D01*
X48750000Y-17960000D02*
X48750000Y-15670000D01*
X48750000Y-15670000D02*
X49920000Y-14500000D01*
X74770250Y-30792015D02*
X58478235Y-14500000D01*
%TO.N,/Row1*%
X90020250Y-25712015D02*
X61612265Y-54120000D01*
X25465000Y-55995000D02*
X27340000Y-54120000D01*
X61612265Y-54120000D02*
X61000000Y-54120000D01*
X27340000Y-54120000D02*
X61000000Y-54120000D01*
%TO.N,/Row2*%
X46440000Y-54570000D02*
X61750000Y-54570000D01*
X45015000Y-55995000D02*
X46440000Y-54570000D01*
X90020250Y-28252015D02*
X63702265Y-54570000D01*
X63702265Y-54570000D02*
X61750000Y-54570000D01*
%TO.N,/Row3*%
X90020250Y-30792015D02*
X64817265Y-55995000D01*
X64817265Y-55995000D02*
X64565000Y-55995000D01*
%TD*%
M02*

View file

@ -0,0 +1,202 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:44+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Soldermask,Bot*%
%TF.FilePolarity,Negative*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:44*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10C,1.700000*%
%ADD11C,4.000000*%
%ADD12C,2.200000*%
%ADD13R,1.600000X1.600000*%
%ADD14O,1.600000X1.600000*%
%ADD15R,1.800000X1.800000*%
%ADD16C,1.800000*%
%ADD17C,1.400000*%
%ADD18O,1.400000X1.400000*%
%ADD19C,3.200000*%
%ADD20R,1.700000X1.700000*%
G04 APERTURE END LIST*
D10*
%TO.C,SW1*%
X17845000Y-41425000D03*
D11*
X22925000Y-41425000D03*
D10*
X28005000Y-41425000D03*
D12*
X25465000Y-36345000D03*
X19115000Y-38885000D03*
%TD*%
D13*
%TO.C,D4*%
X31310000Y-74250000D03*
D14*
X23690000Y-74250000D03*
%TD*%
D15*
%TO.C,D10*%
X48750000Y-20500000D03*
D16*
X48750000Y-17960000D03*
%TD*%
D10*
%TO.C,SW3*%
X56945000Y-41425000D03*
D11*
X62025000Y-41425000D03*
D10*
X67105000Y-41425000D03*
D12*
X64565000Y-36345000D03*
X58215000Y-38885000D03*
%TD*%
D10*
%TO.C,SW5*%
X37395000Y-60975000D03*
D11*
X42475000Y-60975000D03*
D10*
X47555000Y-60975000D03*
D12*
X45015000Y-55895000D03*
X38665000Y-58435000D03*
%TD*%
D13*
%TO.C,D1*%
X26730000Y-28500000D03*
D14*
X19110000Y-28500000D03*
%TD*%
D15*
%TO.C,D8*%
X33750000Y-20500000D03*
D16*
X33750000Y-17960000D03*
%TD*%
D10*
%TO.C,SW7*%
X79895000Y-60975000D03*
D11*
X84975000Y-60975000D03*
D10*
X90055000Y-60975000D03*
D12*
X87515000Y-55895000D03*
X81165000Y-58435000D03*
%TD*%
D13*
%TO.C,D2*%
X46310000Y-28500000D03*
D14*
X38690000Y-28500000D03*
%TD*%
D13*
%TO.C,D6*%
X65810000Y-74040000D03*
D14*
X58190000Y-74040000D03*
%TD*%
D17*
%TO.C,R1*%
X55840000Y-20500000D03*
D18*
X60920000Y-20500000D03*
%TD*%
D19*
%TO.C,H4*%
X96000000Y-76000000D03*
%TD*%
D13*
%TO.C,D3*%
X65730000Y-28500000D03*
D14*
X58110000Y-28500000D03*
%TD*%
D10*
%TO.C,SW2*%
X37395000Y-41425000D03*
D11*
X42475000Y-41425000D03*
D10*
X47555000Y-41425000D03*
D12*
X45015000Y-36345000D03*
X38665000Y-38885000D03*
%TD*%
D19*
%TO.C,H2*%
X96000000Y-16000000D03*
%TD*%
D15*
%TO.C,D7*%
X26250000Y-20500000D03*
D16*
X26250000Y-17960000D03*
%TD*%
D10*
%TO.C,SW4*%
X17845000Y-60975000D03*
D11*
X22925000Y-60975000D03*
D10*
X28005000Y-60975000D03*
D12*
X25465000Y-55895000D03*
X19115000Y-58435000D03*
%TD*%
D19*
%TO.C,H1*%
X16000000Y-16000000D03*
%TD*%
D20*
%TO.C,U1*%
X74770250Y-18092015D03*
D10*
X74770250Y-20632015D03*
X74770250Y-23172015D03*
X74770250Y-25712015D03*
X74770250Y-28252015D03*
X74770250Y-30792015D03*
X74770250Y-33332015D03*
X90020250Y-33332015D03*
X90020250Y-30792015D03*
X90020250Y-28252015D03*
X90020250Y-25712015D03*
X90020250Y-23172015D03*
X90020250Y-20632015D03*
X90020250Y-18092015D03*
%TD*%
%TO.C,SW6*%
X56945000Y-60975000D03*
D11*
X62025000Y-60975000D03*
D10*
X67105000Y-60975000D03*
D12*
X64565000Y-55895000D03*
X58215000Y-58435000D03*
%TD*%
D13*
%TO.C,D5*%
X46310000Y-73960000D03*
D14*
X38690000Y-73960000D03*
%TD*%
D19*
%TO.C,H3*%
X16000000Y-76000000D03*
%TD*%
D15*
%TO.C,D9*%
X41250000Y-20500000D03*
D16*
X41250000Y-17960000D03*
%TD*%
M02*

View file

@ -0,0 +1,15 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:43+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Paste,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:43*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
G04 APERTURE END LIST*
M02*

View file

@ -0,0 +1,15 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:44+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Legend,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:44*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
G04 APERTURE END LIST*
M02*

View file

@ -0,0 +1,23 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:44+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Profile,NP*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:44*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,Profile*%
%ADD10C,0.100000*%
%TD*%
G04 APERTURE END LIST*
D10*
X12000000Y-12000000D02*
X100000000Y-12000000D01*
X100000000Y-80000000D01*
X12000000Y-80000000D01*
X12000000Y-12000000D01*
M02*

View file

@ -0,0 +1,367 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:43+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Copper,L1,Top*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:43*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,ComponentPad*%
%ADD10C,2.200000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD11R,1.600000X1.600000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD12O,1.600000X1.600000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD13R,1.800000X1.800000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD14C,1.800000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD15C,1.400000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD16O,1.400000X1.400000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD17R,1.700000X1.700000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD18C,1.700000*%
%TD*%
%TA.AperFunction,Conductor*%
%ADD19C,0.250000*%
%TD*%
G04 APERTURE END LIST*
D10*
%TO.P,SW1,1,1*%
%TO.N,/Row1*%
X25465000Y-36345000D03*
%TO.P,SW1,2,2*%
%TO.N,Net-(D1-A)*%
X19115000Y-38885000D03*
%TD*%
D11*
%TO.P,D4,1,K*%
%TO.N,/Column2*%
X31310000Y-74250000D03*
D12*
%TO.P,D4,2,A*%
%TO.N,Net-(D4-A)*%
X23690000Y-74250000D03*
%TD*%
D13*
%TO.P,D10,1,K*%
%TO.N,Net-(D10-K)*%
X48750000Y-20500000D03*
D14*
%TO.P,D10,2,A*%
%TO.N,Net-(D10-A)*%
X48750000Y-17960000D03*
%TD*%
D10*
%TO.P,SW3,1,1*%
%TO.N,/Row3*%
X64565000Y-36345000D03*
%TO.P,SW3,2,2*%
%TO.N,Net-(D3-A)*%
X58215000Y-38885000D03*
%TD*%
%TO.P,SW5,1,1*%
%TO.N,/Row2*%
X45015000Y-55895000D03*
%TO.P,SW5,2,2*%
%TO.N,Net-(D5-A)*%
X38665000Y-58435000D03*
%TD*%
D11*
%TO.P,D1,1,K*%
%TO.N,/Column1*%
X26730000Y-28500000D03*
D12*
%TO.P,D1,2,A*%
%TO.N,Net-(D1-A)*%
X19110000Y-28500000D03*
%TD*%
D13*
%TO.P,D8,1,K*%
%TO.N,Net-(D10-K)*%
X33750000Y-20500000D03*
D14*
%TO.P,D8,2,A*%
%TO.N,Net-(D8-A)*%
X33750000Y-17960000D03*
%TD*%
D10*
%TO.P,SW7,1,1*%
%TO.N,GND*%
X87515000Y-55895000D03*
%TO.P,SW7,2,2*%
%TO.N,Net-(U1-PB08_A6_D6_TX)*%
X81165000Y-58435000D03*
%TD*%
D11*
%TO.P,D2,1,K*%
%TO.N,/Column1*%
X46310000Y-28500000D03*
D12*
%TO.P,D2,2,A*%
%TO.N,Net-(D2-A)*%
X38690000Y-28500000D03*
%TD*%
D11*
%TO.P,D6,1,K*%
%TO.N,/Column2*%
X65810000Y-74040000D03*
D12*
%TO.P,D6,2,A*%
%TO.N,Net-(D6-A)*%
X58190000Y-74040000D03*
%TD*%
D15*
%TO.P,R1,1*%
%TO.N,Net-(D10-K)*%
X55840000Y-20500000D03*
D16*
%TO.P,R1,2*%
%TO.N,GND*%
X60920000Y-20500000D03*
%TD*%
D11*
%TO.P,D3,1,K*%
%TO.N,/Column1*%
X65730000Y-28500000D03*
D12*
%TO.P,D3,2,A*%
%TO.N,Net-(D3-A)*%
X58110000Y-28500000D03*
%TD*%
D10*
%TO.P,SW2,1,1*%
%TO.N,/Row2*%
X45015000Y-36345000D03*
%TO.P,SW2,2,2*%
%TO.N,Net-(D2-A)*%
X38665000Y-38885000D03*
%TD*%
D13*
%TO.P,D7,1,K*%
%TO.N,Net-(D10-K)*%
X26250000Y-20500000D03*
D14*
%TO.P,D7,2,A*%
%TO.N,Net-(D7-A)*%
X26250000Y-17960000D03*
%TD*%
D10*
%TO.P,SW4,1,1*%
%TO.N,/Row1*%
X25465000Y-55895000D03*
%TO.P,SW4,2,2*%
%TO.N,Net-(D4-A)*%
X19115000Y-58435000D03*
%TD*%
D17*
%TO.P,U1,1,PA02_A0_D0*%
%TO.N,/Column1*%
X74770250Y-18092015D03*
D18*
%TO.P,U1,2,PA4_A1_D1*%
%TO.N,/Column2*%
X74770250Y-20632015D03*
%TO.P,U1,3,PA10_A2_D2*%
%TO.N,Net-(D7-A)*%
X74770250Y-23172015D03*
%TO.P,U1,4,PA11_A3_D3*%
%TO.N,Net-(D8-A)*%
X74770250Y-25712015D03*
%TO.P,U1,5,PA8_A4_D4_SDA*%
%TO.N,Net-(D9-A)*%
X74770250Y-28252015D03*
%TO.P,U1,6,PA9_A5_D5_SCL*%
%TO.N,Net-(D10-A)*%
X74770250Y-30792015D03*
%TO.P,U1,7,PB08_A6_D6_TX*%
%TO.N,Net-(U1-PB08_A6_D6_TX)*%
X74770250Y-33332015D03*
%TO.P,U1,8,PB09_A7_D7_RX*%
%TO.N,unconnected-(U1-PB09_A7_D7_RX-Pad8)*%
X90020250Y-33332015D03*
%TO.P,U1,9,PA7_A8_D8_SCK*%
%TO.N,/Row3*%
X90020250Y-30792015D03*
%TO.P,U1,10,PA5_A9_D9_MISO*%
%TO.N,/Row2*%
X90020250Y-28252015D03*
%TO.P,U1,11,PA6_A10_D10_MOSI*%
%TO.N,/Row1*%
X90020250Y-25712015D03*
%TO.P,U1,12,3V3*%
%TO.N,unconnected-(U1-3V3-Pad12)*%
X90020250Y-23172015D03*
%TO.P,U1,13,GND*%
%TO.N,GND*%
X90020250Y-20632015D03*
%TO.P,U1,14,5V*%
%TO.N,+5V*%
X90020250Y-18092015D03*
%TD*%
D10*
%TO.P,SW6,1,1*%
%TO.N,/Row3*%
X64565000Y-55895000D03*
%TO.P,SW6,2,2*%
%TO.N,Net-(D6-A)*%
X58215000Y-58435000D03*
%TD*%
D11*
%TO.P,D5,1,K*%
%TO.N,/Column2*%
X46310000Y-73960000D03*
D12*
%TO.P,D5,2,A*%
%TO.N,Net-(D5-A)*%
X38690000Y-73960000D03*
%TD*%
D13*
%TO.P,D9,1,K*%
%TO.N,Net-(D10-K)*%
X41250000Y-20500000D03*
D14*
%TO.P,D9,2,A*%
%TO.N,Net-(D9-A)*%
X41250000Y-17960000D03*
%TD*%
D19*
%TO.N,Net-(D1-A)*%
X19110000Y-38915000D02*
X19065000Y-38960000D01*
X19110000Y-28500000D02*
X19110000Y-38915000D01*
%TO.N,/Column1*%
X65730000Y-27132265D02*
X65730000Y-28500000D01*
X63730000Y-26500000D02*
X65730000Y-28500000D01*
X26730000Y-28500000D02*
X28730000Y-26500000D01*
X46310000Y-28500000D02*
X44310000Y-26500000D01*
X44310000Y-26500000D02*
X44000000Y-26500000D01*
X49000000Y-26500000D02*
X63730000Y-26500000D01*
X46310000Y-28500000D02*
X48310000Y-26500000D01*
X74770250Y-18092015D02*
X65730000Y-27132265D01*
X28730000Y-26500000D02*
X44000000Y-26500000D01*
X48310000Y-26500000D02*
X49000000Y-26500000D01*
%TO.N,Net-(D2-A)*%
X38690000Y-28500000D02*
X38690000Y-38960000D01*
X38690000Y-38960000D02*
X38610000Y-39040000D01*
%TO.N,Net-(D3-A)*%
X58110000Y-28500000D02*
X58110000Y-38960000D01*
X58110000Y-38960000D02*
X58190000Y-39040000D01*
%TO.N,/Column2*%
X63000000Y-72000000D02*
X48500000Y-72000000D01*
X33560000Y-72000000D02*
X44500000Y-72000000D01*
X31310000Y-74250000D02*
X33560000Y-72000000D01*
X44500000Y-72000000D02*
X46310000Y-73810000D01*
X72920000Y-69580000D02*
X72920000Y-22482265D01*
X65810000Y-74040000D02*
X63770000Y-72000000D01*
X48270000Y-72000000D02*
X48500000Y-72000000D01*
X68460000Y-74040000D02*
X72920000Y-69580000D01*
X72920000Y-22482265D02*
X74770250Y-20632015D01*
X65810000Y-74040000D02*
X68460000Y-74040000D01*
X46310000Y-73810000D02*
X46310000Y-73960000D01*
X63770000Y-72000000D02*
X63000000Y-72000000D01*
X46310000Y-73960000D02*
X48270000Y-72000000D01*
%TO.N,Net-(D4-A)*%
X19115000Y-69675000D02*
X23690000Y-74250000D01*
X19190000Y-58620000D02*
X19110000Y-58540000D01*
X19115000Y-58435000D02*
X19115000Y-69675000D01*
%TO.N,Net-(D6-A)*%
X58150000Y-74000000D02*
X58190000Y-74040000D01*
%TO.N,GND*%
X94545000Y-25156765D02*
X94545000Y-39750000D01*
X94545000Y-39960000D02*
X94545000Y-39750000D01*
X87500000Y-56000000D02*
X87500000Y-47005000D01*
X60920000Y-20500000D02*
X66920000Y-20500000D01*
X72420000Y-15000000D02*
X83500000Y-15000000D01*
X90020250Y-20632015D02*
X84388235Y-15000000D01*
X90020250Y-20632015D02*
X94545000Y-25156765D01*
X66920000Y-20500000D02*
X72420000Y-15000000D01*
X84388235Y-15000000D02*
X83500000Y-15000000D01*
X87500000Y-47005000D02*
X94545000Y-39960000D01*
%TO.N,Net-(D10-K)*%
X55840000Y-20500000D02*
X26500000Y-20500000D01*
%TO.N,/Row1*%
X25415000Y-55955000D02*
X25460000Y-56000000D01*
X25415000Y-36420000D02*
X25415000Y-55955000D01*
%TO.N,/Row2*%
X44960000Y-55920000D02*
X45040000Y-56000000D01*
X44960000Y-36500000D02*
X44960000Y-55920000D01*
%TO.N,Net-(U1-PB08_A6_D6_TX)*%
X81155000Y-37480000D02*
X81155000Y-58535000D01*
X74770250Y-33332015D02*
X77007015Y-33332015D01*
X81155000Y-58535000D02*
X81150000Y-58540000D01*
X77007015Y-33332015D02*
X81155000Y-37480000D01*
%TO.N,/Row3*%
X64540000Y-36500000D02*
X64540000Y-56040000D01*
X64540000Y-56040000D02*
X64500000Y-56080000D01*
%TD*%
M02*

View file

@ -0,0 +1,202 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:44+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Soldermask,Top*%
%TF.FilePolarity,Negative*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:44*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10C,1.700000*%
%ADD11C,4.000000*%
%ADD12C,2.200000*%
%ADD13R,1.600000X1.600000*%
%ADD14O,1.600000X1.600000*%
%ADD15R,1.800000X1.800000*%
%ADD16C,1.800000*%
%ADD17C,1.400000*%
%ADD18O,1.400000X1.400000*%
%ADD19C,3.200000*%
%ADD20R,1.700000X1.700000*%
G04 APERTURE END LIST*
D10*
%TO.C,SW1*%
X17845000Y-41425000D03*
D11*
X22925000Y-41425000D03*
D10*
X28005000Y-41425000D03*
D12*
X25465000Y-36345000D03*
X19115000Y-38885000D03*
%TD*%
D13*
%TO.C,D4*%
X31310000Y-74250000D03*
D14*
X23690000Y-74250000D03*
%TD*%
D15*
%TO.C,D10*%
X48750000Y-20500000D03*
D16*
X48750000Y-17960000D03*
%TD*%
D10*
%TO.C,SW3*%
X56945000Y-41425000D03*
D11*
X62025000Y-41425000D03*
D10*
X67105000Y-41425000D03*
D12*
X64565000Y-36345000D03*
X58215000Y-38885000D03*
%TD*%
D10*
%TO.C,SW5*%
X37395000Y-60975000D03*
D11*
X42475000Y-60975000D03*
D10*
X47555000Y-60975000D03*
D12*
X45015000Y-55895000D03*
X38665000Y-58435000D03*
%TD*%
D13*
%TO.C,D1*%
X26730000Y-28500000D03*
D14*
X19110000Y-28500000D03*
%TD*%
D15*
%TO.C,D8*%
X33750000Y-20500000D03*
D16*
X33750000Y-17960000D03*
%TD*%
D10*
%TO.C,SW7*%
X79895000Y-60975000D03*
D11*
X84975000Y-60975000D03*
D10*
X90055000Y-60975000D03*
D12*
X87515000Y-55895000D03*
X81165000Y-58435000D03*
%TD*%
D13*
%TO.C,D2*%
X46310000Y-28500000D03*
D14*
X38690000Y-28500000D03*
%TD*%
D13*
%TO.C,D6*%
X65810000Y-74040000D03*
D14*
X58190000Y-74040000D03*
%TD*%
D17*
%TO.C,R1*%
X55840000Y-20500000D03*
D18*
X60920000Y-20500000D03*
%TD*%
D19*
%TO.C,H4*%
X96000000Y-76000000D03*
%TD*%
D13*
%TO.C,D3*%
X65730000Y-28500000D03*
D14*
X58110000Y-28500000D03*
%TD*%
D10*
%TO.C,SW2*%
X37395000Y-41425000D03*
D11*
X42475000Y-41425000D03*
D10*
X47555000Y-41425000D03*
D12*
X45015000Y-36345000D03*
X38665000Y-38885000D03*
%TD*%
D19*
%TO.C,H2*%
X96000000Y-16000000D03*
%TD*%
D15*
%TO.C,D7*%
X26250000Y-20500000D03*
D16*
X26250000Y-17960000D03*
%TD*%
D10*
%TO.C,SW4*%
X17845000Y-60975000D03*
D11*
X22925000Y-60975000D03*
D10*
X28005000Y-60975000D03*
D12*
X25465000Y-55895000D03*
X19115000Y-58435000D03*
%TD*%
D19*
%TO.C,H1*%
X16000000Y-16000000D03*
%TD*%
D20*
%TO.C,U1*%
X74770250Y-18092015D03*
D10*
X74770250Y-20632015D03*
X74770250Y-23172015D03*
X74770250Y-25712015D03*
X74770250Y-28252015D03*
X74770250Y-30792015D03*
X74770250Y-33332015D03*
X90020250Y-33332015D03*
X90020250Y-30792015D03*
X90020250Y-28252015D03*
X90020250Y-25712015D03*
X90020250Y-23172015D03*
X90020250Y-20632015D03*
X90020250Y-18092015D03*
%TD*%
%TO.C,SW6*%
X56945000Y-60975000D03*
D11*
X62025000Y-60975000D03*
D10*
X67105000Y-60975000D03*
D12*
X64565000Y-55895000D03*
X58215000Y-58435000D03*
%TD*%
D13*
%TO.C,D5*%
X46310000Y-73960000D03*
D14*
X38690000Y-73960000D03*
%TD*%
D19*
%TO.C,H3*%
X16000000Y-76000000D03*
%TD*%
D15*
%TO.C,D9*%
X41250000Y-20500000D03*
D16*
X41250000Y-17960000D03*
%TD*%
M02*

View file

@ -0,0 +1,15 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.6*%
%TF.CreationDate,2024-10-20T16:09:43+03:00*%
%TF.ProjectId,oakpad,6f616b70-6164-42e6-9b69-6361645f7063,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Paste,Top*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.6) date 2024-10-20 16:09:43*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
G04 APERTURE END LIST*
M02*

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,125 @@
{
"Header": {
"GenerationSoftware": {
"Vendor": "KiCad",
"Application": "Pcbnew",
"Version": "8.0.6"
},
"CreationDate": "2024-10-20T16:09:45+03:00"
},
"GeneralSpecs": {
"ProjectId": {
"Name": "oakpad",
"GUID": "6f616b70-6164-42e6-9b69-6361645f7063",
"Revision": "rev?"
},
"Size": {
"X": 88.1,
"Y": 68.1
},
"LayerNumber": 2,
"BoardThickness": 1.6,
"Finish": "None"
},
"DesignRules": [
{
"Layers": "Outer",
"PadToPad": 0.2,
"PadToTrack": 0.2,
"TrackToTrack": 0.2,
"MinLineWidth": 0.25
}
],
"FilesAttributes": [
{
"Path": "oakpad-F_Cu.gbr",
"FileFunction": "Copper,L1,Top",
"FilePolarity": "Positive"
},
{
"Path": "oakpad-B_Cu.gbr",
"FileFunction": "Copper,L2,Bot",
"FilePolarity": "Positive"
},
{
"Path": "oakpad-F_Paste.gbr",
"FileFunction": "SolderPaste,Top",
"FilePolarity": "Positive"
},
{
"Path": "oakpad-B_Paste.gbr",
"FileFunction": "SolderPaste,Bot",
"FilePolarity": "Positive"
},
{
"Path": "oakpad-F_Silkscreen.gbr",
"FileFunction": "Legend,Top",
"FilePolarity": "Positive"
},
{
"Path": "oakpad-B_Silkscreen.gbr",
"FileFunction": "Legend,Bot",
"FilePolarity": "Positive"
},
{
"Path": "oakpad-F_Mask.gbr",
"FileFunction": "SolderMask,Top",
"FilePolarity": "Negative"
},
{
"Path": "oakpad-B_Mask.gbr",
"FileFunction": "SolderMask,Bot",
"FilePolarity": "Negative"
},
{
"Path": "oakpad-Edge_Cuts.gbr",
"FileFunction": "Profile",
"FilePolarity": "Positive"
}
],
"MaterialStackup": [
{
"Type": "Legend",
"Name": "Top Silk Screen"
},
{
"Type": "SolderPaste",
"Name": "Top Solder Paste"
},
{
"Type": "SolderMask",
"Thickness": 0.01,
"Name": "Top Solder Mask"
},
{
"Type": "Copper",
"Thickness": 0.035,
"Name": "F.Cu"
},
{
"Type": "Dielectric",
"Thickness": 1.51,
"Material": "FR4",
"Name": "F.Cu/B.Cu",
"Notes": "Type: dielectric layer 1 (from F.Cu to B.Cu)"
},
{
"Type": "Copper",
"Thickness": 0.035,
"Name": "B.Cu"
},
{
"Type": "SolderMask",
"Thickness": 0.01,
"Name": "Bottom Solder Mask"
},
{
"Type": "SolderPaste",
"Name": "Bottom Solder Paste"
},
{
"Type": "Legend",
"Name": "Bottom Silk Screen"
}
]
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,83 @@
{
"board": {
"active_layer": 0,
"active_layer_preset": "All Layers",
"auto_track_width": true,
"hidden_netclasses": [],
"hidden_nets": [],
"high_contrast_mode": 0,
"net_color_mode": 1,
"opacity": {
"images": 0.6,
"pads": 1.0,
"tracks": 1.0,
"vias": 1.0,
"zones": 0.6
},
"ratsnest_display_mode": 0,
"selection_filter": {
"dimensions": true,
"footprints": true,
"graphics": true,
"keepouts": true,
"lockedItems": true,
"otherItems": true,
"pads": true,
"text": true,
"tracks": true,
"vias": true,
"zones": true
},
"visible_items": [
0,
1,
2,
3,
4,
5,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
32,
33,
34,
35,
36
],
"visible_layers": "fffffff_ffffffff",
"zone_display_mode": 0
},
"git": {
"repo_password": "",
"repo_type": "",
"repo_username": "",
"ssh_key": ""
},
"meta": {
"filename": "oakpad.kicad_prl",
"version": 3
},
"project": {
"files": []
}
}

View file

@ -0,0 +1,602 @@
{
"board": {
"3dviewports": [],
"design_settings": {
"defaults": {
"apply_defaults_to_fp_fields": false,
"apply_defaults_to_fp_shapes": false,
"apply_defaults_to_fp_text": false,
"board_outline_line_width": 0.1,
"copper_line_width": 0.2,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.05,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.1,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.15,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
},
"silk_line_width": 0.15,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [],
"drc_exclusions": [],
"meta": {
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"connection_width": "warning",
"copper_edge_clearance": "error",
"copper_sliver": "warning",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint": "error",
"footprint_symbol_mismatch": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"holes_co_located": "warning",
"invalid_outline": "error",
"isolated_copper": "warning",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"lib_footprint_issues": "warning",
"lib_footprint_mismatch": "warning",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_edge_clearance": "warning",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"solder_mask_bridge": "error",
"starved_thermal": "error",
"text_height": "warning",
"text_thickness": "warning",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_connection": 0.0,
"min_copper_edge_clearance": 0.0,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.2,
"min_microvia_drill": 0.1,
"min_resolved_spokes": 2,
"min_silk_clearance": 0.0,
"min_text_height": 0.8,
"min_text_thickness": 0.08,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.2,
"min_via_annular_width": 0.05,
"min_via_diameter": 0.4,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0,
"solder_mask_to_copper_clearance": 0.0,
"use_height_for_length_calcs": true
},
"teardrop_options": [
{
"td_onpadsmd": true,
"td_onroundshapesonly": false,
"td_ontrackend": false,
"td_onviapad": true
}
],
"teardrop_parameters": [
{
"td_allow_use_two_tracks": true,
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_on_pad_in_zone": false,
"td_target_name": "td_round_shape",
"td_width_to_size_filter_ratio": 0.9
},
{
"td_allow_use_two_tracks": true,
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_on_pad_in_zone": false,
"td_target_name": "td_rect_shape",
"td_width_to_size_filter_ratio": 0.9
},
{
"td_allow_use_two_tracks": true,
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_on_pad_in_zone": false,
"td_target_name": "td_track_end",
"td_width_to_size_filter_ratio": 0.9
}
],
"track_widths": [],
"tuning_pattern_settings": {
"diff_pair_defaults": {
"corner_radius_percentage": 80,
"corner_style": 1,
"max_amplitude": 1.0,
"min_amplitude": 0.2,
"single_sided": false,
"spacing": 1.0
},
"diff_pair_skew_defaults": {
"corner_radius_percentage": 80,
"corner_style": 1,
"max_amplitude": 1.0,
"min_amplitude": 0.2,
"single_sided": false,
"spacing": 0.6
},
"single_track_defaults": {
"corner_radius_percentage": 80,
"corner_style": 1,
"max_amplitude": 1.0,
"min_amplitude": 0.2,
"single_sided": false,
"spacing": 0.6
}
},
"via_dimensions": [],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"ipc2581": {
"dist": "",
"distpn": "",
"internal_id": "",
"mfg": "",
"mpn": ""
},
"layer_presets": [],
"viewports": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"conflicting_netclasses": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"endpoint_off_grid": "warning",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"missing_bidi_pin": "warning",
"missing_input_pin": "warning",
"missing_power_pin": "error",
"missing_unit": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"simulation_model_issue": "ignore",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "oakpad.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6
}
],
"meta": {
"version": 3
},
"net_colors": null,
"netclass_assignments": null,
"netclass_patterns": []
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"plot": "../production/",
"pos_files": "",
"specctra_dsn": "",
"step": "",
"svg": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"bom_export_filename": "",
"bom_fmt_presets": [],
"bom_fmt_settings": {
"field_delimiter": ",",
"keep_line_breaks": false,
"keep_tabs": false,
"name": "CSV",
"ref_delimiter": ",",
"ref_range_delimiter": "",
"string_delimiter": "\""
},
"bom_presets": [],
"bom_settings": {
"exclude_dnp": false,
"fields_ordered": [
{
"group_by": false,
"label": "Reference",
"name": "Reference",
"show": true
},
{
"group_by": true,
"label": "Value",
"name": "Value",
"show": true
},
{
"group_by": false,
"label": "Datasheet",
"name": "Datasheet",
"show": true
},
{
"group_by": false,
"label": "Footprint",
"name": "Footprint",
"show": true
},
{
"group_by": false,
"label": "Qty",
"name": "${QUANTITY}",
"show": true
},
{
"group_by": true,
"label": "DNP",
"name": "${DNP}",
"show": true
}
],
"filter_string": "",
"group_symbols": true,
"name": "Grouped By Value",
"sort_asc": true,
"sort_field": "Reference"
},
"connection_grid_size": 50.0,
"drawing": {
"dashed_lines_dash_length_ratio": 12.0,
"dashed_lines_gap_length_ratio": 3.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"field_names": [],
"intersheets_ref_own_page": false,
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.375,
"operating_point_overlay_i_precision": 3,
"operating_point_overlay_i_range": "~A",
"operating_point_overlay_v_precision": 3,
"operating_point_overlay_v_range": "~V",
"overbar_offset_ratio": 1.23,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.15
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
},
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_current_sheet_as_root": false,
"spice_external_command": "spice \"%I\"",
"spice_model_current_sheet_as_root": true,
"spice_save_all_currents": false,
"spice_save_all_dissipations": false,
"spice_save_all_voltages": false,
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"36fd3bfb-6982-4c08-8ef4-771769d9d8f4",
"Root"
]
],
"text_variables": {}
}

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
`kmk/` subfolder from `https://github.com/KMKfw/kmk_firmware` goes here

View file

@ -0,0 +1,130 @@
print("Starting")
# Basic imports
import board
from kmk.kmk_keyboard import KMKKeyboard
from kmk.scanners.keypad import MatrixScanner, KeysScanner
from kmk.keys import KC
from kmk.scanners import DiodeOrientation
from kmk.modules.macros import Macros, Press, Release, Tap
from kmk.extensions.statusled import statusLED
from kmk.extensions.layers import Layers
class MyKeyboard(KMKKeyboard):
def __init__(self):
self.matrix = [
MatrixScanner(
cols=(board.D0, board.D1),
rows=(board.D10, board.D9, board.D8),
columns_to_anodes = DiodeOrientation.ROW2COL,
),
KeysScanner(
pins=[board.D6]
)
]
self.coord_mapping = [
0, 1, 2,
3, 4, 5, 6
]
'''
Comment Line (single line comment), Go To Line, Multi cursor
Trim trailing whitespace, Cycle tabs, Open command console, Change layer
'''
self.keymap = [
# VSCode (Windows/Linux)
[
KC.LCTL(KC.KP_SLASH),
KC.LCTL(KC.G),
KC.LCTL(KC.LSFT(KC.L)),
KC.MACRO(
Press(KC.LCTL),
Tap(KC.K),
Tap(KC.X),
Release(KC.LCTL)
),
KC.LCTL(KC.TAB),
KC.F1,
KC.DF(1),
],
# VSCode (MacOS)
[
KC.LCTL(KC.KP_SLASH),
KC.LCTL(KC.G),
KC.LGUI(KC.LSFT(KC.L)),
KC.MACRO(
Press(KC.LGUI),
Tap(KC.K),
Tap(KC.X),
Release(KC.LGUI)
),
KC.LCTL(KC.TAB),
KC.F1,
KC.DF(2),
],
# NeoVim
[
# relies on Comment.nvim (https://github.com/numToStr/Comment.nvim)
KC.MACRO(
# enter visual linewise mode
on_press=(Press(KC.LCTL(KC.V))),
# toggle the region using linewise comment
on_release=("gc", Press(KC.ENTER)),
),
KC.MACRO(
on_press=(Press(KC.ESC), ":"),
on_release=(Press(KC.ENTER))
)
# I asked around, they said multicursors aren't necessary on neovim
KC.NO,
# relies on trim.nvim (https://github.com/cappyzawa/trim.nvim)
KC.MACRO(
Press(KC.ESC),
":Trim",
Press(KC.ENTER)
),
KC.NO,
KC.MACRO(KC.ESC, ":")
KC.DF(3),
],
# Intellij IDEA (Mac)
[
KC.LCTL(KC.KP_SLASH),
KC.LCTL(KC.G),
KC.MACRO(
on_press=(Press(KC.LALT), Press(KC.LSHIFT))
on_release=(Release(KC.LALT), Release(KC.LSHIFT))
),
# apparently jetbrains already does this by default
KC.NO,
KC.LCTL(KC.RIGHT)
KC.NO,
KC.DF(0)
],
]
keyboard = MyKeyboard()
# layer
keyboard.modules.append(Layers())
# layer indicators
statusLED = statusLED(led_pins=[board.D2, board.D3, board.D4, board.D5])
keyboard.extensions.append(statusLED)
# macros
macros = Macros()
keyboard.modules.append(macros)
if __name__ == '__main__':
keyboard.go()

Binary file not shown.