Skip to the content
2 layers291.4 × 131 mmKeyboard, the printed circuit board in 3D

a modular keyboard(w/ i2c!)

Size
291.4 × 131 mm
Copper layers
2
Thickness
1.6 mm
Parts
142
Nets
95
Pads
526
Tracks, vias
704, 3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
31 May 2026
Updated
8 Jun 2026

Overview

Keyboard is an open-source printed circuit board by kermitsgonnakermicide, from the kermitsgonnakermicide/Lattice repository on GitHub. It is a 2-layer board of 291.4 × 131 mm with 142 parts on 95 nets, routed with 704 tracks and 3 vias.

Its parts include 62 switches, 61 diodes and 6 connectors. It belongs with the keyboards and input and lEDs and displays boards and the RP2040 boards of this library.

README

README.md

Lattice

keyboard

a 60% mechanical keyboard with magnetically attached modules

what even is Lattice?

Lattice is a modular 60% mechanical keyboard, with the main keyboard featuring:

  • cherry mx black switches
  • a raspberry pi pico 2
  • an EC11 encoder
  • 6 expansion ports(two 2.54 inch female headers and 4 4 pin magnetic pogo connectors)
  • absolutely NO RGB(in the keyboard itself skdsks)

Lattice also comes with three modules(as of now), which are:

  • a 16 key macropad with an OLED macropad
  • a 3 slider, two encoder module i'm calling the sliderpad sliderpad
  • a 32x4 RGB LED(specifically the WS2812B-2020) matrix that slides in the empty top bit of the keyboard(connected by 2.54 mm pins because I didnt trust the current limits of the magnetic connectors) matrix

Each module features a xiao rp2040 to run everything else on it because its so smol and cute :3

The macropad and the sliderpad connect with magnetic pogo pins and use I2C to communicate with the main board, while the matrix does the same thing but just connects with normal pin headers and sockets.

in terms of firmware, I have something basic for now - which runs each individual board and packs the data for I2C into a 16 bit struct - this wasnt really tracked as I lowk forgot and I used a bunch of AI so I wouldnt want track it anyways

why did you even build this?(and many other whys)

I lowkenuinely just needed a keyboard pretty desperately - i've been using my crusty musty dusty redragon k552 for almost 5 years now and I need to switch it out :cryin: additionally, I wanted a keyboard that I could actually take places, so things like a detachable cable(made possible by the pico 2) and a small form factor without compromising on key count was pretty important to me(hence the modules)

Q: why xiao rp2040s on each board????
A: I can get them for hella cheap, they're really well documented, i've worked with them before and they're really small(works well for my purposes)

Q: why not integrate a microcontroller on your board
A: while I would love to not use a module and put the straight microcontroller on this board, money is a problem here and I want to try and minimize costs where I can - a PCBA costs a crazy amount of money and with customs and shipping, this project aint covering it :cryin:

Q: why not RGB?? are you not gamer???
A: i dont like RGB on the keeb - its annoying to work with, solder and must I remind you - expensive - to satiate the thirst for RGB i'm instead just slapping a giant matrix on the top empty bit of the board(hopefully playing snek on it soon)

build instructions

  • print out all PCBs from JLCPCB(only for the matrix PCB, use ENIG as you'll be soldering it yourself)
  • get to soldering! a hot air gun/hotplate is reccomended for the matrix
  • print out all parts in Production/Prints
  • assemble with m3 nuts and bolts
  • flash all xiao rp2040s and pico with micropython
  • on all, have boot.py and common.py and use the main.py in each folder for each respective bit
  • connect together and to your computer and start typing!

images

Schematics

keyboard schematic

main keyboard

macropad_schematic

macropad

sliderpad schematic

sliderpad

matrix_schematic

matrix

PCBs

keyboard pcb

main keyboard

macropad pcb

macropad

sliderpad PCB

sliderpad

matrix_pcb

LED matrix

3D models

keyboard pcb

main keyboard

macropad pcb

macropad

sliderpad PCB

sliderpad

matrix_pcb

LED matrix

CAD renders

keyboard pcb

main keyboard

macropad pcb

macropad

sliderpad PCB

sliderpad

whole thing together another angle

the assembled keyboard!

Zine

zine

BOM

ITEMLINKUNIT PRICEQTYTOTAL PRICERUNNING TOTALNOTES
Cherry MX Black Switcheshttps://neomacro.in/products/cherry-mx-switches3.51828.0828.08pack of 10
Keycap Sethttps://meckeys.com/shop/accessories/keyboard-accessories/keycaps/white-grey-keycaps/10.49110.4938.57for keyboard
Blank Keycapshttps://meckeys.com/shop/accessories/keyboard-accessories/keycaps/blank/blank-dsa-keycaps-1u/1.0544.242.77for macropad, will re-use hackpad keycaps
EC11 Encodershttps://www.amazon.in/CentIoT-Encoder-Digital-Potentiometer-Control/dp/B0888RWNM1?crid=243T1VPT812XT&dib=eyJ2IjoiMSJ9.cvB_S8-clwOY-fsh1jDEgdcKAdzY4Nv9KcBVsP_XLVRbEQ6v9pWSfdi6pitVyRPy5_iq-LYSO24WXsw22WOUBHiEFeP9N0__QSmFXXcr_OLQtUAA2f_e3-WLJc0WOyvXtuYeXFVcwnZSIHdgY8HUAiBYdGh2xdjBK8FlsXImh0q4vkDoK-QkVKE3ac8hCBKdF6XJ_k65GqGC4-3qzPH49GIBedFxUU8WMVSal15O1mF876LbmOvkPvdrdTHcJmVf7XgMnL2mbmJ7N0VyJ4bqivJS2Slw9SVVXHW7uuvRr1E.vdIwwapIw50QxzlGlNGifWW_KbD3sPBQ2U9RfnQ-5LE&dib_tag=se&keywords=EC11+encoder&qid=1780688877&s=industrial&sprefix=ec11+enco%2Cindustrial%2C291&sr=1-11.835.448.17already have
Slide Potentiometershttps://www.amazon.in/Electronic-Spices-SC6080GH-Channel-Potentiometer/dp/B0BGY5C2KV?th=131.685.0453.21amazon is unfortunately the cheapest and most reliable place >:(
OLEDhttps://robu.in/product/0-96-inch-i2c-iic-oled-lcd-module-4pin-with-vcc-gnd-blue/2.1412.1455.35already have
1N4148 diodeshttps://robu.in/product/1n4148-1w-zener-diode-pack-of-50/0.013801.0456.39
PCBJLCPCB82.42182.42138.81
Xiao RP2040https://thinkrobotics.com/products/seeed-studio-xiao-rp2040?variant=47933480173885&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic5.77317.31156.12already have 2
Pico 2https://robu.in/product/raspberry-pi-pico-2/5.715.7161.82already have 2
WS2812Bhttps://hubtronics.in/ws2812b-20200.061287.68169.5
4 pin magnetic connector pairhttps://www.flyrobo.in/4pin-pogo-magnetic-connector-pair?srsltid=AfmBOooMbv4sQ4AFQ2Pcy11oPOmPRyrziCGq09HopU752agqQ4loADge2.0648.24177.74
TOTAL0177.74

Parts

142
QtyValueFootprintReferences
611N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +45
46SW_Pushdakshmessesaround:jiggupigguSW1, SW2, SW10, SW11, SW12, SW13, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23, SW24, SW25 +30
8MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4, H5, H6, H7, H8
7SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.25u_PCBSW54, SW55, SW56, SW58, SW59, SW60, SW61
4Conn_01x04_PinConnector_PinSocket_1.00mm:PinSocket_1x04_P1.00mm_VerticalJ1, J2, J3, J4
4LOGOLOGOG***, G***, G***, G***
2Conn_01x04_PinConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ5, J6
2SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.50u_PCBSW15, SW28
2SW_PushButton_Switch_Keyboard:SW_Cherry_MX_2.25u_PCBSW41, SW42
1RaspberryPi_Pico_WModule:RaspberryPi_Pico_Common_THTA1
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW62
1SW_PushButton_Switch_Keyboard:SW_Cherry_MX_2.00u_PCBSW14
1SW_PushButton_Switch_Keyboard:SW_Cherry_MX_2.75u_PCBSW53
1SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.75u_PCBSW29
1SW_PushButton_Switch_Keyboard:SW_Cherry_MX_6.25u_PCBSW57

More from kermitsgonnakermicide/Lattice

3
  • 2 layers192.8 × 23 mmKeyboard matrix, the printed circuit board in 3D

    Keyboard matrix

    kermitsgonnakermicide/Lattice

    a modular keyboard(w/ i2c!)

    132 parts
  • 2 layers88 × 131 mmKeyboard macropad, the printed circuit board in 3D

    Keyboard macropad

    kermitsgonnakermicide/Lattice

    a modular keyboard(w/ i2c!)

    42 parts
  • 2 layers61 × 131 mmKeyboard sliderpad, the printed circuit board in 3D

    Keyboard sliderpad

    kermitsgonnakermicide/Lattice

    a modular keyboard(w/ i2c!)

    13 parts

Similar boards

  • 2 layers316 × 119 mmTeensy Grovebox, the printed circuit board in 3D

    Teensy Grovebox

    jerry20091103/Teensy_Grovebox

    A portable synth and music multi-tool made with Teensy 4.1

    142 parts150MIT
  • 2 layers156 × 185.9 mmTorabo tsuki lp M, the printed circuit board in 3D

    Torabo tsuki lp M

    sekigon-gonnoc/torabo-tsuki-lp

    torabo-tsuki lp is low profile split keyboard with trackball(s)

    142 parts110
  • 2 layers167.6 × 97.5 mmAS3397 proto DIP, the printed circuit board in 3D

    AS3397 proto DIP

    PhysicsDptAngers/polyUAnalog

    Open source, analog and polyphonic synthesizer

    142 parts88MIT
  • 2 layers357.8 × 124.5 mmVic2020mainboard, the printed circuit board in 3D

    Vic2020mainboard

    danwerner21/vic2020

    A Vic-20 clone created with [almost] all readily available parts

    142 parts78
  • 2 layers144.8 × 88.9 mmPotentiostat, the printed circuit board in 3D

    Potentiostat

    iorodeo/potentiostat

    Rodeostat design files, software and firmware

    142 parts57CC-BY-4.0
  • 2 layers242.2 × 72.1 mmAtom47, the printed circuit board in 3D

    Atom47

    evyd13/atom47

    Replacement PCB for the Vortex Core

    142 parts30Apache-2.0
  • 2 layers285 × 94.6 mmNice60, the printed circuit board in 3D

    Nice60

    Nicell/nice60

    Pro Micro Powered, Hotswap 60% Keyboard

    142 parts29MIT
  • 2 layers304.8 × 95.3 mmKeybird, the printed circuit board in 3D

    Keybird

    fanf2/kbd

    my homemade keyboard projects

    142 parts22

Questions

How big is the Keyboard PCB?

It measures 291.4 × 131 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Keyboard use?

142 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Keyboard KiCad files?

From the kermitsgonnakermicide/Lattice repository on GitHub, at the commit this page was made from: the board is PCB/keyboard/keyboard.kicad_pcb and its schematic PCB/keyboard/keyboard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Keyboard design in my own project?

Its repository states no licence, so its author keeps all rights: ask kermitsgonnakermicide before reusing the design.