Skip to the content
2 layers148 × 103 mmKeypad, the printed circuit board in 3D

This is an attempt to design a serviceable replacement the long-discontinued G13 "gameboard".

Size
148 × 103 mm
Copper layers
2
Thickness
1.6 mm
Parts
55
Nets
50
Pads
264
Tracks, vias
349, 35
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
10 Dec 2022
Updated
6 Oct 2024

Overview

Keypad is an open-source printed circuit board by banduccm, from the banduccm/kp13 repository on GitHub. It is a 2-layer board of 148 × 103 mm with 55 parts on 50 nets, routed with 349 tracks and 35 vias.

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

README

README.md

Keypad

This is an attempt to design a serviceable replacement the long-discontinued G13 "gameboard".

PCB

The PCB design depends on symbols from a few libraries:

Board Layout

The G13 had 22 "G" keys, 2 thumb keys, and an analog stick with a click (in addition to some other buttons not important to this effort).

This initial project contains the main board with 22 keys and 2 pushbuttons intended to be used to switch layers in QMK. It also includes a header with 2 rows and 6 columns for an expansion board (i.e, the thumb buttons).

The KB2040 was selected due to easy availability, compatibility with the Pro Micro pinout, and a USB-C port. Other Pro Micro-compatible boards may work, but take care to skip the D+/D- pins from the KB2040.

Plates

The switch mounting plates for this project were initially designed using swillkb's Plate & Case Builder tool, then imported into qcad for manipulation.

Experimental baseplates for both the keypad and full-size thumb pod are included, as are 3d-printable spacers to sit between the plates and PCB.

Keyboard Layout

This layout is used by both the plate builder and the Keyboard Layout Editor tool:

text
[{x:3}, "C0", "C1"],
["G1","G2","G3","G4","G5","G6","G7"],
["G8","G9","G10","G11","G12","G13","G14"],
[{x:0.75,w:1.25},"G15","G16","G17","G18",{w:1.25},"G19"],
[{x:1,w:2},"G20","G21",{w:2},"G22"],
[{x:8.75}, "Stick ↑"],
[{x:7.25}, "G23", "Stick ←", "Stick →"],
[{x:7}, "G24", {x:0.75}, "Stick ↓" ],
[{x:8}, "G25", "G26"]

For Via (with some extra design flavor), this is:

text
[{x:3},"3,4","3,5"],
["0,0","0,1","0,2","0,3","0,4","0,5","1,0"],
["1,1","1,2","1,3","1,4","1,5","2,0","2,1"],
[{x:0.75,w:1.25},"2,2","2,3","2,4","2,5",{w:1.25},"3,0"],
[{x:1,w:2},"3,1","3,2",{w:2},"3,3"],
[{y:0.75,x:8.75,h:0.75},"4,0"],
[{y:-0.75,x:7.25},"5,0"],
[{y:-0.5,x:8.25,h:0.75},"4,1",{h:0.75},"4,3"],
[{y:-0.5,x:7},"5,1"],
[{y:-0.75,x:8.75,h:0.75},"4,2"],
[{y:-0.25,x:8},"5,2","5,3"]

Parts

For the first build, the following parts were used:

Plate

The place was ordered from SendCutSend in 1.6mm thick 5051 Aluminum.

Electronics

Initial parts were ordered from Adafruit:

PCB

The PCB was ordered from PCBWay using their Kicad plugin.

Version Notes

v0.1.0

Generally good news! The parts all fit as expected and the circuit works as designed. No reworks required to have a functioning 22-key setup.

  • The plate is not compatible with the PCB-mount stabilizers.
  • The angle on the plate and the angle on the PCB are not the same. This is annoying, but not a functional problem.
  • n-key rollover works (as expected), but note that QMK defaults to 6KRO. The default keymap uses switch C0 on Layer 0 to toggle it.

v0.1.1

Instead of relying on trying to rely on external tools, all the mechanical bits were re-drawn in qcad, which helpfully makes it extremely simple to import an exported .dxf from KiCAD for tracing and fit checking. The stabilizer compatibility was not addressed (yet), but at least the angle between the PCB and plate(s) now aligns.

v0.2.0 Wishlist

During the mechanical design phase, some items were added as a wishlist for a potential second spin of the "big" board:

  • Smaller, optimized thumb-pod connector. Considering using a 1.27mm pitch 10-pin cable (Cortex-M SWD connector) to reduce mechanical size.
  • Figure out how to use the kb2040's castellated pins to reduce z-height

Thumb Pods

The thumb pod(s) incorporate a 4-way (with diagonals!) thumbstick and 0-4 buttons. There are 2 different versions: regular (4x 1U MX switch, 1x thumbstick) and mini (2x microswitch, 1x thumbstick). The thumbstick uses the same matrix positions on each version, so it is possible to populate multiple pods and swap between them as desired.

The pods feature a notched edge for mounting square against the keypad PCB (or a case holding it). This ensures the A/B/C/D positions of the thumbstick are square with the keypad.

Thumbstick

This thumbstick has 4 switches and can handle diagonal movements as well. It has a "stick click", but this is not broken out as a dedicated pin, so it's unclear if it is compatible with QMK. In v0.1 of the thumb pods, the "push" pins are not connected to the key matrix. The "push" pins are on their own net, however, so they could be hand-wired into the matrix if desired. The same thumbstick is used for both thumb pod designs.

Thumb Pod (full size)

The regular thumb pod uses the same MX hot-swap sockets and 1U keys as the main keypad to provide 4 switches surrounding the thumbstick.

Experimental top and bottom plates are provided for the full-size thumb pod.

Thumb Pod Mini

The mini thumb pod closely approximates the original G13 thumb section: two mouse-like microswitches and the thumbstick. This version will require some sort of housing, as it's not really feasible to hit microswitch actuators.

Electronics

Parts

55
QtyValueFootprintReferences
241N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +8
18SW_Pushkeypad:MXOnly-1U-HotswapSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW10, SW11, SW12, SW13, SW14, SW16, SW17, SW18, SW21 +2
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
3SW_PushButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW_C0, SW_C1, SW_RST1
2SW_Pushkeypad:MXOnly-2U-HotswapSW20, SW22
2SW_Pushkeypad:MXOnly-1.25U-HotswapSW15, SW19
1Conn_02x06_Odd_Evenkeypad:PinHeader_2x06_P2.54mm_HorizontalJ1
1kb2040keypad:kb2040U1

More from banduccm/kp13

2
  • 2 layers59 × 48 mmThumb pod, the printed circuit board in 3D

    Thumb pod

    banduccm/kp13

    This is an attempt to design a serviceable replacement the long-discontinued G13 "gameboard".

    17 parts
  • 2 layers31 × 31.3 mmThumb pod mini, the printed circuit board in 3D

    Thumb pod mini

    banduccm/kp13

    This is an attempt to design a serviceable replacement the long-discontinued G13 "gameboard".

    12 parts

Similar boards

  • 2 layers229.5 × 95.1 mmSweep high, the printed circuit board in 3D

    Sweep high

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    55 parts2.1k
  • 2 layers370 × 11 mmDaylight Disco XXL, the printed circuit board in 3D

    Daylight Disco XXL

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    55 parts1.1kGPL-3.0
  • 2 layers370 × 10 mmE3NGLEDstick, the printed circuit board in 3D

    E3NGLEDstick

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    55 parts915
  • 2 layers139.3 × 94.8 mmFlake, the printed circuit board in 3D

    Flake

    lever-tech/flake

    An open-source, wireless, split ergonomic keyboard designed to be productive, healthy, and enjoyable. [formerly Anywhy Flake]

    55 parts531CERN-OHL-W-2.0
  • 2 layers237.5 × 102.9 mmMemory, the printed circuit board in 3D

    Memory

    jes/scamp-cpu

    A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.

    55 parts301Unlicense
  • 2 layers60.6 × 24.1 mmBlep hackerboard, the printed circuit board in 3D

    Blep hackerboard

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    55 parts253GPL-3.0
  • 2 layers100 × 96.5 mmKeyboard ch552-36-lhs, the printed circuit board in 3D

    Keyboard ch552-36-lhs

    rgoulter/keyboard-labs

    Repo with my PCB designs and keyboard firmware

    55 parts236
  • 2 layers190.5 × 85.7 mmDissatisfaction30, the printed circuit board in 3D

    Dissatisfaction30

    dcpedit/dissatisfaction30

    To get the PCB manufactured, upload dissat-pcb.zip to JLCPCB, select your desired PCB color while keeping all the other default options, and place your order (minimum 5).

    55 parts147CC-BY-4.0

Questions

How big is the Keypad PCB?

It measures 148 × 103 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Keypad use?

55 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 Keypad KiCad files?

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

Can I use the Keypad design in my own project?

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