Skip to the content
2 layers423 × 106.3 mmKeyboard Schematic, the printed circuit board in 3D

Custom ortholinear mechanical keyboard PCB designed with Ergogen and KiCad, manufactured through JLCPCB, and planned for soldered assembly, firmware setup, and testing.

Size
423 × 106.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
216
Nets
147
Pads
925
Tracks, vias
1,522, 49
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
7 Jun 2026
Updated
9 Jun 2026

Overview

Keyboard Schematic is an open-source printed circuit board by sourenhaghbin, from the sourenhaghbin/custom-mechanical-keyboard-pcb repository on GitHub. It is a 2-layer board of 423 × 106.3 mm with 216 parts on 147 nets, routed with 1,522 tracks and 49 vias.

Its parts include 104 diodes, 104 switches and 1 IC. It belongs with the keyboards and input boards and the RP2040 boards of this library.

README

README.md

Custom Mechanical Keyboard PCB

This project documents the design and development of a custom mechanical keyboard, including the keyboard layout, PCB design, component selection, and planned firmware implementation. The goal of the project is to design a functional custom keyboard from the electrical and mechanical design stage through PCB manufacturing, assembly, and testing.

Project Overview

The keyboard was designed using Ergogen and KiCad, with a custom PCB layout created for Kailh Black Cloud switches. The PCB was ordered through JLCPCB and will be assembled using soldered diodes and hot-swappable switch sockets.

This project demonstrates practical experience with PCB design, electrical routing, mechanical layout constraints, design-for-manufacturing considerations, and embedded systems planning.

Key Work

  • Designed a custom keyboard layout using Ergogen.
  • Created and refined the PCB in KiCad.
  • Selected Kailh Black Cloud mechanical switches for the build.
  • Ordered the custom PCB from JLCPCB for manufacturing.
  • Designed the switch matrix and routing for the keyboard PCB.
  • Planned assembly using soldered diodes and hot-swappable sockets.
  • Considered mechanical constraints such as key spacing, stabilizer support, mounting holes, and case compatibility.

Tools and Technologies

  • Ergogen
  • KiCad
  • JLCPCB
  • PCB design
  • Keyboard switch matrix design
  • Mechanical keyboard hardware
  • Soldering
  • Embedded firmware planning

Images

Keyboard Layout

Keyboard Layout

GPIO Pin Mapping

Keyboard Layout

Keyboard Matrix Schematic

Keyboard Layout

PCB Front View

PCB Front View

PCB Back View

PCB Back View

KiCad 3D View

KiCad 3D View

Current Status

The PCB design has been completed and ordered from JLCPCB. The next stage of the project is physical assembly and testing.

Next Steps

  • Solder the diodes onto the PCB.
  • Solder the hot-swappable sockets onto the PCB.
  • Install the switches and keycaps.
  • Flash and configure keyboard firmware.
  • Test the keyboard matrix for correct key detection.
  • Debug any electrical or firmware issues.
  • Design or finalize a case for the keyboard.

Skills Demonstrated

  • PCB layout and routing
  • Design for manufacturing
  • Electrical design constraints
  • Component selection
  • Mechanical layout planning
  • Soldering and assembly
  • Embedded systems workflow
  • Technical documentation

Parts

216
QtyValueFootprintReferences
104~ScottoKeebs_Choc:Choc_V1V2_1.00uS1, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S100, S101, S102, S103, S104 +88
104~ScottoKeebs_Components:Diode_DO-35D1, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D100, D101, D102, D103, D104 +88
7MountingHole_2.2mm_M2MountingHole:MountingHole_2.2mm_M2Screw 1, Screw 2, Screw 3, Screw 4, Screw 5, Screw 6, Screw 7
1Raspberry_Pi_PicoScottoKeebs_MCU:Raspberry_Pi_PicoU1

Similar boards

  • 2 layers65 × 56 mmMMDVM HS Dual Hat, the printed circuit board in 3D

    MMDVM HS Dual Hat

    phl0/MMDVM_HS_Dual_Hat

    Duplex variant of MMDVM_HS_Hat

    216 parts218
  • 2 layers209.7 × 76.4 mmHhkb universal, the printed circuit board in 3D

    Hhkb universal

    calvin-mcd/universal-vault

    pcb for the vault35 covering all sorts of layout options

    216 parts20GPL-3.0
  • 2 layers343.2 × 114.4 mmShell, the printed circuit board in 3D

    Shell

    floookay/barnacle

    The barnacle is unibody ortho keyboard with an Alice-like split on the pinky columns, a fixed layout that's compatible with keycap base kits and a modular middle piece.

    216 parts15CERN-OHL-S-2.0
  • 2 layers500 × 194 mmMtf122, the printed circuit board in 3D

    Mtf122

    ViviLazuli/mtf-capacitive

    PCBs for converting IBM Model M keyboards to use Model F-style capacitive sensing and switch mechanisms

    216 parts11MIT
  • 2 layers230.4 × 233.5 mmBkm-68x simple, the printed circuit board in 3D

    Bkm-68x simple

    skumlos/bkm-68x-simple

    Simplified BKM-68X

    216 parts7
  • 2 layers168.9 × 135.6 mmScale interface append, the printed circuit board in 3D

    Scale interface append

    adam-dej/scale-interface

    A simple USART / Bluetooth interface for a kitchen scale

    216 parts4MIT
  • 2 layers263.3 × 150.4 mmArduBooster 4x2, the printed circuit board in 3D

    ArduBooster 4x2

    ddo02/ArduBooster

    Throttle pedal booster based on Arduino. To improve throttle response.

    216 parts3

Questions

How big is the Keyboard Schematic PCB?

It measures 423 × 106.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Keyboard Schematic use?

216 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 Schematic KiCad files?

From the sourenhaghbin/custom-mechanical-keyboard-pcb repository on GitHub, at the commit this page was made from: the board is kicad/Keyboard_Schematic.kicad_pcb and its schematic kicad/Keyboard_Schematic.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Keyboard Schematic design in my own project?

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