Skip to the content
PCBKitNew board
2 layers371.7 × 98.1 mmCodeBoard, the printed circuit board in 3D

A keyboard specially made for coding with quicker access to common characters.

Size
371.7 × 98.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
164
Nets
95
Pads
656
Tracks, vias
1,008, 9
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
19 Jun 2025
Updated
29 Jun 2025

Overview

CodeBoard is an open-source printed circuit board by Alfonsoce11, from the Alfonsoce11/CodeBoard repository on GitHub, published under the MIT licence. It is a 2-layer board of 371.7 × 98.1 mm with 164 parts on 95 nets, routed with 1,008 tracks and 9 vias.

Its parts include 80 diodes and 80 switches. It belongs with the keyboards and input boards and the RP2040 boards of this library.

README

README.md

CodeBoard

A keyboard specially made for coding with quicker access to common characters. After making CodePad I figured the next logical thing to do was to make a full keyboard for coding.

AssemblyExploded View
Screenshot 2025-06-22 at 11 06 28 PMCodeBoardExplodedView

Layout

Screenshot 2025-06-23 at 12 59 59 PM

I chose this layout so that I could keep the normal keyboard layout while also optimizing for coding. It has keys I often use while coding to the right of the main part of the keyboard, similar to a numpad but for coding. The brackets and quotes type both characters and put the curser between the characters. The angle brackets don't because they are more commonly used for conditions rather than brackets in coding.

I wrote the firmware using KMK.

Case

The case consists of 3 parts: the bottom, the plate, and the top part. It uses M3x16mm screws and heat-set inserts to hold the 3 parts together.

BottomPlateTop
Screenshot 2025-06-23 at 6 44 54 PMScreenshot 2025-06-23 at 6 45 18 PMScreenshot 2025-06-22 at 10 47 27 PM

Heres an assembly of the case:

Screenshot 2025-06-23 at 6 47 26 PM

I made the case using OnShape.

PCB

Schematic: Screenshot 2025-06-29 at 9 05 20 AM

PCB: Screenshot 2025-06-29 at 9 06 19 AM

3D PCB: Screenshot 2025-06-29 at 9 07 33 AM

I made the PCB on KiCAD and learned how to create a key matrix.

More Views

Screenshot 2025-06-23 at 8 33 21 PM Screenshot 2025-06-23 at 8 36 05 PM

BOM

ItemQuantityPriceLink
Raspberry Pi Pico1$4.00https://vilros.com/products/raspberry-pi-pico
Brown 90 PCS Cherry MX Switches1$16.01https://www.aliexpress.com/item/3256807797357274.html?spm=a2g0o.cart.0.0.7b1f38daq82dup&mp=1&pdp_npi=5%40dis%21USD%21USD%2034.20%21USD%2016.01%21%21USD%2016.01%21%21%21%402101c59517507203853198392e81ba%2112000043155900936%21ct%21US%216400114757%21%211%210
M3x16mm 50 PCS Screws1$3.10https://www.aliexpress.com/item/2251832772825104.html?spm=a2g0o.cart.0.0.7b1f38daq82dup&mp=1&pdp_npi=5%40dis%21USD%21USD%203.10%21USD%203.10%21%21USD%203.10%21%21%21%402101c59517507203853198392e81ba%2166368903760%21ct%21US%216400114757%21%211%210
Heat Set Inserts1$6.55https://www.aliexpress.com/item/2255800046543591.html?spm=a2g0o.cart.0.0.7b1f38daq82dup&mp=1&pdp_npi=5%40dis%21USD%21USD%207.10%21USD%206.55%21%21USD%206.55%21%21%21%402101c59517507203853198392e81ba%2110000000945302188%21ct%21US%216400114757%21%211%210
100 PCS Diodes1$1.46https://www.aliexpress.com/item/2255799955957794.html?spm=a2g0o.cart.0.0.7b1f38daq82dup&mp=1&pdp_npi=5%40dis%21USD%21USD%201.46%21USD%201.46%21%21USD%201.46%21%21%21%402101c59517507203853198392e81ba%2110000000428321629%21ct%21US%216400114757%21%211%210
100 PCS Black Keycaps1$22.03https://www.aliexpress.com/item/3256805981338445.html?spm=a2g0o.cart.0.0.7b1f38daq82dup&mp=1&pdp_npi=5%40dis%21USD%21USD%2030.60%21USD%2022.03%21%21USD%2022.03%21%21%21%402101c59517507203853198392e81ba%2112000036085970239%21ct%21US%216400114757%21%211%210
2u Cherry Stabilizers2$1.55https://www.aliexpress.com/item/2251832678459913.html?spm=a2g0o.cart.0.0.7b1f38daq82dup&mp=1&pdp_npi=5%40dis%21USD%21USD%201.87%21USD%201.55%21%21USD%201.55%21%21%21%402101c59517507203853198392e81ba%2112000036652220667%21ct%21US%216400114757%21%212%210
6u Cherry Stabilizer1$1.66https://www.aliexpress.com/item/2251832678459913.html?spm=a2g0o.cart.0.0.7b1f38daq82dup&mp=1&pdp_npi=5%40dis%21USD%21USD%202.00%21USD%201.66%21%21USD%201.66%21%21%21%402101c59517507203853198392e81ba%2112000036652220673%21ct%21US%216400114757%21%211%210
PCB5$25.11https://jlcpcb.com/
TOTAL$81.47

Parts

164
QtyValueFootprintReferences
801N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D10, D11, D12, D13, D14, D16, D17, D18, D19, D20, D21, D22, D23, D24 +64
80SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +64
1RaspberryPi_PicoModule:RaspberryPi_Pico_Common_UnspecifiedA1

The 161 most common of 164 parts.

Questions

How big is the CodeBoard PCB?

It measures 371.7 × 98.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the CodeBoard use?

164 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 CodeBoard KiCad files?

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

Can I use the CodeBoard 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).

Similar boards

  • 2 layers99.8 × 99.8 mmOpenDeck r2.2.1, the printed circuit board in 3D

    OpenDeck r2.2.1

    shanteacontrols/OpenDeck

    A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

    164 parts960Apache-2.0
  • 2 layers92 × 83 mmESP32-HELP Button pan, the printed circuit board in 3D

    ESP32-HELP Button pan

    pcbreflux/espressif

    all espressif stuff will committed here

    164 parts608GPL-3.0
  • 2 layers175.4 × 145 mmICEDLeft, the printed circuit board in 3D

    ICEDLeft

    kiibohd/pcb

    PCB and PCB related bits

    164 parts417
  • 2 layers133.8 × 177.3 mmCorne glp, the printed circuit board in 3D

    Corne glp

    beekeeb/crkbd-glp

    A variant of the Corne keyboard for GLP (Gateron Low Profile) key switches

    164 parts110MIT
  • 2 layers115.2 × 78.6 mmL0destar, the printed circuit board in 3D

    L0destar

    m4rkw/l0destar

    l0destar open-source tracker project

    164 parts43
  • 2 layers188 × 193 mm6800sbc, the printed circuit board in 3D

    6800sbc

    jefftranter/6800

    Code related to the Motorola 6800 microprocessor.

    164 parts32
  • 2 layers102.4 × 46.9 mmEG8010 A0, the printed circuit board in 3D

    EG8010 A0

    Millisman/EG8010

    Collection of designs for the EG8010 (ASIC for single-phase SPWM control H-bridge)

    164 parts17MIT
  • 2 layers283 × 96 mmFront panel 9602, the printed circuit board in 3D

    Front panel 9602

    ibm2030/EDUC8

    EDUC-8 recreation by Gwyllym Suter

    164 parts13