Skip to the content
2 layersKey column, the printed circuit board in 3D

Custom row-staggered split keyboard with enough keys.

Copper layers
2
Thickness
1.6 mm
Parts
6
Nets
6
Pads
19
Tracks, vias
25, 6
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
27 Jul 2023
Updated
4 Mar 2024

Overview

Key column is an open-source printed circuit board by gauravmm, from the gauravmm/AngloDox repository on GitHub. It is a 2-layer board with 6 parts on 6 nets, routed with 25 tracks and 6 vias.

Its parts include 1 IC and 1 switch. It belongs with the keyboards and input boards of this library.

README

README.md

AngloDox Keyboard

This is yet another split keyboard with the following features:

  • Per-key RGB LEDs
  • Separate function row
  • RC-circuit debouncing for each key (the internal pullups allow you to swap switches while the keyboard is on!)
  • Kailh hot-swap sockets
  • USB-C connectors (but I2C protocol!) for the halves, with ESD protection
  • Key polling via shift register instead of matrix
  • Entirely manufacturable by JLCPCB, using basic parts as much as possible.

Keyboard Layout

The keyboard layout is specified in keyboard-layout.json and can be edited in KLE. The current layout is based on the reference ANSI-104 layout, with a macro column on the left, a collapsed arrow cluster on the right, and added thumb clusters from the venerable Ergodox keyboard.

The current layout has 46 keys on the left and 54 on the right, for a total of 100 keys.

Development

This relies on a combination of scripts and hand-routing. Here's the general workflow:

text
1. Generate the basic circuitry as a hierarchical schematic in KiCad.
2. Specify a key layout as a [http://www.keyboard-layout-editor.com/#/](KLE) JSON file.
3. Run the [KLE Placement Plugin](TODO) for the key layout.
4. Specify the layout for each key next to the schematic for the key.
5. Enforce the layout using the [HierarchicalPCB plugin](https://github.com/gauravmm/HierarchicalPcb).
6. Route the parts between keys, using the swap positions option in the KLE Placement Plugin to improve performance.

Regenerate KiCad Library

The Kicad library is generated using JLC2KiCad_lib. To regenerate the library, run:

bash
JLC2KiCadLib C1525 C25779 C36871 C965555 \
    -dir temp_jlc_import/

Then merge the symbol and footprint libraries into the main library manually. Remember to update the Value field of the symbols.

When setting up the Footprint library, set the nickname to footprint.

Design Notes

Component selection is driven by what is available on JLCPCB as a basic part, making construction as cheap as possible. The only extended parts are the USB ESD protection circuit and the RJ11 connectors.

Crystal Design

We choose a generic 12MHz oscillator as it is the cheapest basic part available on LCSC. As the load capacitance is 20pF, and the stray capacitance is assumed to be 5pF, we need a pair of 30pF capacitors to get the right frequency. (See section 3.3 of the application note for the derivation.)

ESD Protection

For peace of mind, we add ESD protection to both USB-C ports.

  1. Use a generic bi-directional 6V TVS diode between VBUS and GND.
  2. Use a USB-specific ESD protection circuit on the data lines. This is one of the few extended parts we use. This is based on the suggestions in Phil's Lab tutorial.
  3. Short shield pins to GND directly. (This disagrees with the tutorial mentioned above.)
Half-to-half Connection

The halves are connected via USB-C to USB-C cables. This is preferable to TRRS cables (which have a nasty habit of shorting connections) and RJ11 cables (which are painfully tall and would have to be hand-soldered later). Since we're already paying the extended part fee for the connector, we might as well use them and enjoy the reversible connection it grants us.

To prevent damage from accidental connections, we apply the same ESD protections to the half-to-half connections as we do to the legitimate USB-C port.

Parts

6
QtyValueFootprintReferences
2100nFCapacitor_SMD:C_0402_1005MetricCL1201, CS1201
133kΩfootprint:R0402RB1201
168kΩfootprint:R0402RA1201
1SK6812MINI-E_C5149201footprint:LED-SMD_L3.2-W2.8-TRU1201
1SW_PushPCM_Switch_Keyboard_Hotswap_Kailh:SW_Hotswap_Kailh_MXSW1201

More from gauravmm/AngloDox

1
  • 2 layers208.3 × 169.5 mmAngloDox, the printed circuit board in 3D

    AngloDox

    gauravmm/AngloDox

    Custom row-staggered split keyboard with enough keys.

    308 parts1

Similar boards

  • 2 layers18.5 × 11.1 mmSwitch, the printed circuit board in 3D

    Switch

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    6 parts4.3kMIT
  • 2 layers14.6 × 33 mmBrain board SD Card 1, the printed circuit board in 3D

    Brain board SD Card 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    6 parts1.2k
  • 2 layers9 × 9 mmDpoint, the printed circuit board in 3D

    Dpoint

    Jcparkyn/dpoint

    Open-source digital stylus using camera tracking and inertial measurements

    6 parts1.1kMIT
  • 2 layers51.5 × 16.6 mmMicroswitchXY Endstop, the printed circuit board in 3D

    MicroswitchXY Endstop

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    6 parts1.1kGPL-3.0
  • 2 layers21.9 × 76.7 mmAmiga External, the printed circuit board in 3D

    Amiga External

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    6 parts1kGPL-3.0
  • 2 layers88.9 × 50.8 mmBusinesscard, the printed circuit board in 3D

    Businesscard

    hackclub/OnBoard

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

    6 parts915
  • 2 layers20.3 × 15.2 mmL0 RGB led, the printed circuit board in 3D

    L0 RGB led

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    6 parts546MIT
  • 2 layers9 × 3.6 mmOpticalEncoder, the printed circuit board in 3D

    OpticalEncoder

    adamb314/ServoProject

    Getting the most out of your hobby servo

    6 parts545

Questions

What parts does the Key column use?

6 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 Key column KiCad files?

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

Can I use the Key column design in my own project?

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