Skip to the content
2 layers305.5 × 145 mmKeyb 15x5, the printed circuit board in 3D

This is a dump of all the files that I used to build my custom mech keyboard.

Size
305.5 × 145 mm
Copper layers
2
Thickness
1.6 mm
Parts
320
Nets
200
Pads
1,078
Tracks, vias
2,437, 292
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
12 Oct 2023
Updated
20 Oct 2023

Overview

Keyb 15x5 is an open-source printed circuit board by krzys9876, from the krzys9876/keyb_15x5 repository on GitHub, published under the MIT licence. It is a 2-layer board of 305.5 × 145 mm with 320 parts on 200 nets, routed with 2,437 tracks and 292 vias.

It is built around the ATMEGA32U4-AU and WS2812B. Its parts include 146 diodes, 84 capacitors, 72 switches, 4 resistors and 3 connectors. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

Diy mechanical keyboard

This is a dump of all the files that I used to build my custom mech keyboard.

Layout

To prepare the base layout I used keyboard-layout-editor.

I ended-up with 15x5 layout with split space. This was my key requirement since what I really wanted was a keyboard with mouse functions built-in. Now, using arrows as mouse movements and split keyboard as left-mid-right mouse buttons I do not need mouse at all. Well, maybe this is not the most usefull and ergonomic way to handle mouse but hey, this is all for fun, right?

I tweaked the layout several times since than. The only constraint is the location of the 4 2u keys: space(s) and Enter.

keyb_15x5

PCB

I created a PCB and schematic sketch using excellent klepcbgen tool. This was a good starting point to tweak the design to match my ideas. I had some experience in designing PCBs and electonic circuits in general (see my ZX Spectrum Diy project so it was quite easy.

But all in all it was not that great - I totally failed with LEDs since I did not use proper footprint for WS2812B-2020 leds. So after I got the boards from JLCPBC it turned out that I cannot use LEDs at all. What you see now is a revised version that I did not (yet) put into production.

Other than that the board worked perfectly.

Firmware

This is a fun project so I would not use any ready-to-use firmware. Anyway I don't think that any of available firmwares would allow me to use mouse. So I wrote my own simple version of keyboard handler using Arduino Micro templates and examples. The firmware uses HID-project.

Parts

320
QtyValueFootprintReferences
800.1uCapacitor_SMD:C_0805_2012MetricC1, C2, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23 +64
75WS2812Bkeyboard-library:LED_WS2812B-2020_PLCC4_2.0x2.0mm hand solderingD100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114, D115 +59
71DDiode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolderD0, D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22 +55
71KEYSWbuttons:Kailh_socket_MX_platemountK0, K1, K2, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22 +55
8MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965H1, H2, H3, H4, H5, H6, H7, H8
210kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR1, R4
222RResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR2, R3
222pCapacitor_SMD:C_0805_2012MetricC6, C7
11uCapacitor_SMD:C_0805_2012MetricC8
14.7uCapacitor_SMD:C_0805_2012MetricC5
174154Package_SO:SOIC-24W_7.5x15.4mm_P1.27mmU2
1ATmega32U4-AUPackage_QFP:TQFP-44_10x10mm_P0.8mmU1
1Crystal_GND24Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSolderingY1
1ICSPConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ2
1Reset_SWButton_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mmSW1
1USB_B_MicroConnector_USB:USB_Micro-B_Amphenol_10104110_HorizontalJ1
1UTILSConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ3

Similar boards

  • 2 layers228.4 × 85 mmLeChiffre, the printed circuit board in 3D

    LeChiffre

    tominabox1/Le-Chiffre-Keyboard

    Great thanks goes to Jake at P3D for really making the case amazing and open sourcing his work. Check him out at P3Dstore.com

    105 parts183GPL-3.0
  • 2 layers228.6 × 76.8 mmSchwann Rev0.5b, the printed circuit board in 3D

    Schwann Rev0.5b

    The-Royal/The_Royal_Open-Source-Projects

    A Master Repository For All things Royal Made

    127 parts159MIT
  • 2 layers308.7 × 241.8 mmOTTOtact, the printed circuit board in 3D

    OTTOtact

    cester-ino/OTTO-hardware

    those specs refer to the tactile buttons version, but a led backlight button version is in the works too.

    229 parts49GPL-3.0
  • 2 layers247.7 × 127 mmEuclid36, the printed circuit board in 3D

    Euclid36

    sadekbaroudi/euclid36

    At the time of creation, using Kicad 5.1.9 - This may not work with future versions

    130 parts24
  • 2 layers285.5 × 112.1 mmYacc46 plate, the printed circuit board in 3D

    Yacc46 plate

    1m38/keyboards

    yacc46 is a 44-46keys self-made keyboard.

    144 parts21MIT
  • 2 layers61 × 43.8 mmPulse 4k, the printed circuit board in 3D

    Pulse 4k

    Maxr1998/Pulse_4k

    CAD files for plate and PCB of my Pulse 4k macropad, with 4 keys and 2 rotary encoders.

    39 parts21
  • 2 layers301.3 × 89.5 mmChocolate bar, the printed circuit board in 3D

    Chocolate bar

    misonoworks/chocolate-bar

    A low-profile 50% keyboard, with less ergonomics than expected!

    156 parts16AGPL-3.0
  • 2 layers163.5 × 163.5 mmSkull badge, the printed circuit board in 3D

    Skull badge

    b1uN7/DEFCON-26-Flying-Skull-Badge

    DEFCON 26 Flying Skull Badge

    111 parts15

Questions

How big is the Keyb 15x5 PCB?

It measures 305.5 × 145 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Keyb 15x5 use?

320 parts, built around the ATMEGA32U4-AU and WS2812B. 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 Keyb 15x5 KiCad files?

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

Can I use the Keyb 15x5 design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).