Skip to the content
2 layers76.2 × 119.1 mmLk23m pcb, the printed circuit board in 3D

LK23M Numpad / Macropad

Size
76.2 × 119.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
60
Nets
51
Pads
358
Tracks, vias
386, 19
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
19 Jan 2025
Updated
13 May 2025

Overview

Lk23m pcb is an open-source printed circuit board by lambdakb, from the lambdakb/keyboard-lk23m repository on GitHub. It is a 2-layer board of 76.2 × 119.1 mm with 60 parts on 51 nets, routed with 386 tracks and 19 vias.

Its parts include 25 switches, 23 diodes, 4 capacitors, 1 IC and 1 connector. It belongs with the keyboards and input boards and the RP2040 and AVR (ATmega, ATtiny) boards of this library.

README

README.md

LK23 Numpad / Macropad

Documentation GitHub Release License KiCad

Layout

Layout

Keyboard Layout Editor

Variations

This keyboard has been designed as a standalone numpad with an extra top row to be used as a macro pad or media pad, as such, it can be configured in different ways when building it.

Here is the list of supported variations:

  • Optional encoder on the top left key
  • Optional encoder on the top right key
  • The top two center keys can be replaced by a 0.91" OLED screen

This allows for a number of configuration on the extra top row that can be used for a number of things. Each of these variations are supported in the Vial firmware under the Layout tab. See Vial Layout Options for more details.

Example #1Example #2Example #3Example #4
Example MacropadExample Media KeysExample OLED + VolumeExample OLED + 2 Encoders

This PCB can also be built as a wireless keyboard using a nice!nano microcontroller. See Wireless Support for more details on how to achieve this.

PCB

PCB (Front)PCB (Back)
PCB FrontPCB Back

The PCB has been designed in KiCad EDA 9.0 using the kicad-lkbd libraries and kbplacer.

You can preview the project files using KiCanvas directly in your browser and download the latest fabrication files for JLCPCB from the latest release.

The exported schematic is also available under output/schematics.

PCB Order

ParametersValue
Base MaterialFR4
Layers2
Dimensions76.2 × 119.06 mm
PCB Thickness1.6 mm
PCB Color 1Black
SilkscreenWhite
Surface Finish 2Lead Free HASL or ENIG
Copper Weight1 oz
Via CoveringTented
Min Via Hole Size0.3 mm
Board Outline Tolerance± 0.2 mm

JLCPCB Specific Options

Mark on PCB

The following JCLPCB specific options are used to serialize PCBs on order. An 8 × 8 mm silkscreen square was added to the PCB to allow for a 2D barcode to be added.

ParametersValue
Mark on PCB2D barcode (Serial Number)
- Printing2D barcode & Number
- Code TypeData Matrix Code
- PrefixLKBD_LK23M_v100
- Unique NumberRemove
- Incrementing NumberYYMM01 (e.g.: 250300)
- 2D Barcode Size8 × 8 mm
- 2D Barcode PositionSpecify Position

Serial numbers are based on the current date using the YYMM01 format for its incrementing numbers. Orders in February 2025 would start then start it at 250300, making the final serial LKBD_LK23M_v100_250300.

Cases

FR4

Plate (Top)Plate (Bottom)Bottom Case (Top)Bottom Case (Top)
Plate TopPlate BottomCase TopCase Bottom

The FR4 case has also been designed in KiCad EDA 9.0 and consist of two PCBs, one for the switch plate and one for the bottom plate.

Use the same parameters present in PCB Order to order the plate and bottom PCB. For JLCPCB orders, you can select "Remove Mark" for the "Mark on PCB" option as there is no need to serialize the case itself. You can find the fabrication files in output/case/fr4/fabrication/jlcpcb.

If you prefer to fabricate them by any other mean (such as laser cut acrylic), you can download their board outlines as DXF in output/case/dxf.

BOM

PartRef.QuantityOptionalRemarks
PCBLK23M PCB1❌See PCB section on how to order it.
Top PlateFR4 Top Plate1✅Optional if using an alternative case.
Bottom PlateFR4 Bottom Plate1✅Optional if using an alternative case.
Case ScrewsM2 × 4 mm Low Profile Socket Head Screw (Hex)8✅Optional if using an alternative case. Low profile hex head screws are recommended, but any head type should be compatible. Screws up to 8 mm in length should work.
Case StandoffsM2 × 12 mm Brass Hex Standoff4✅Optional if using an alternative case. Longer / shorter standoff could work depending on how the controller is mounted and if using a battery.
Pro Micro ControllerArduino Pro Micro 5V, Adafruit KB2040 or nice!nano1❌Supports various Pro Micro style controller (including RP2040 based ones) as well as the nice!nano for wireless builds. 3
MCU SocketDIP-24 Round Socket (Wide, 15.24 mm)1✅Recommended to socket the controller, can be omitted if soldered directly. Compatibles pins are required such as dismantled LED strip male adapters.
Reset Push ButtonDIP 2pin Momentary Push Button (6 × 3.5 mm) (THT)1✅Used as a reset switch, can be omitted if you flash the controller before installing it or if the controller can be put in bootloader mode from any other means.
1N418 Diodes1N4148W T4 SOD-323 (SMD) or 1N4148 DO-35 (THT)21-23❌Only 21 diodes are needed if the OLED screen is installed.
Kailh Hot-Swap SocketsCPG151101S11-16 (SMD)19✅The top 4 keys can not be made hot-swappable due to size constraint and need to be soldered directly. All switches can be soldered directly to the PCB if preferred.
Key SwitchesAny Cherry MX Compatible Switch19-23❌Amount depends on the variant built, a two encoder OLED setup would require 2 EC12 encoder and 19 MX switches, while the key switches only variant needs 23.
2U StabilizerAny standard 2U PCB mounted MX stabilizer1✅Recommended for Enter key stability.
Rotary Encoder(s)Any EC11 / EC12 style 5-pin Encoder0-2✅Optional, can be installed in place of the top left and/or top right most switches.
100nF Capacitor(s)1206 SMD Ceramic Capacitor (SMD) or 104 Ceramic Disk Capacitor (5 × 2.5mm) (THT)0-4✅Two recommended per encoder for noise filtering.
0.91" OLED DisplaySSD1306 0.91" 128X32 OLED I²C Display Module0-1✅Optional, replace the top middle two switches.
Power Slide SwitchPCM12SMTR (SMD) or MSK-12C02 (SMD)1✅Only required for battery powered wireless builds. 3
Battery ConnectorJST-PH 2pin right-angle Male Connector1✅Only needed for battery powered wireless builds if the battery is not soldered directly to the board (recommended). 3
3.7V Li-Po Battery603449 (1100 mAh) or 503450 (1000 mAh) 3.7V Li-Po Battery1✅Only required for battery powered wireless builds, any 3.7 V (1 Cell) Li-Po battery slimmer than 8 mm with a JST-PH connector should work. 3

Firmware

The pre-build firmware available in this repository are compiled using Vial (a fork of QMK allowing customization via a GUI).

As per the original license of both Vial and QMK, the firmware itself is licensed under the GPLv3 license and its source code is available at vial-qmk/keyboards/lambdakb/lk23m.

Default Vial Keymap

Layer 0Layer 1
Keymap Layer 0Keymap Layer 1

Vial Layout Options

DefaultDisable Left EncoderDisable Right EncoderOLED Screen in Center
Layout DefaultLayout Disable Left EncoderLayout Disable Right EncoderLayout OLED Screen in Center

Each of these options can be combined to match the physical layout of your build.

Wireless Support

To add wireless support to this keyboard, you will need a controller that provides power input and a charging circuit between the top RAW and GND such as the nice!nano.

The PCB itself provides a way to attach a JST-PH connector as well as a slide switch for power management. This slide switch must be set to ON for the charging circuit to work.

This hasn't been extensively tested yet and should be considered experimental (no wireless firmware will be provided for now). The feature was added to the PCB as way for us to prototype a potential wireless keyboard.

License

This design is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

You are free to use, share, and adapt the design for non-commercial purposes, provided that:

  • Attribution: Proper credit must be given, a link to the license provided, and any changes indicated.
  • NonCommercial: The material cannot be used for commercial purposes without prior approval.
  • ShareAlike: Any derivative works must be distributed under the same license.

If you are a retailer or business interested in selling this design or products derived from it, I am open to granting commercial licenses on a case-by-case basis. Please feel free to contact me to discuss terms.

Footnotes

  1. You can select any PCB color you want but some manufacturers such as JLCPCB may charge you more for uncommon combos (such as Blue PCB + ENIG Surface Finish). ↩

  2. The "HASL (with lead)" option is extremely discouraged due to the risk of lead poisoning. We strongly recommend paying the premium for the "Lead Free HASL" option. ↩

  3. See Wireless Support for more details. ↩ ↩2 ↩3 ↩4

Parts

60
QtyValueFootprintReferences
231N4148LKBD_Common:Diode_SMD+THT_SOD123_DO35_P6.5mmD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +7
19SW_PushLKBD_KeySwitch:SW_MX_HotSwap_THT_sqSilkSW5, SW6, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +3
4100nFLKBD_Common:Capacitor_SMD+THT_1206_5.0x2.5mm_P5.00mmC1, C2, C3, C4
4MountingHole_PadMountingHole:MountingHole_2.2mm_M2_ISO14580_PadH1, H2, H3, H4
2RotaryEncoder_Switch_MPLKBD_KeySwitch:SW_MX_EC11_THT_sqSilkSW1, SW4
2SW_PushLKBD_KeySwitch:SW_MX_THT_sqSilkSW2, SW3
1Conn_01x02Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ1
1OLED_I2C_SSD1306LKBD_OLED:OLED_SSD1306_128x32_0.91inch_I2C_btmSilkOL1
1ProMicro_RP2040LKBD_MCU:MCU_KB2040_DIP-24_Socket_ReverseU1
1SW_PushLKBD_Common:SW_Push_1P1T_6x3.5mmSW24
1SW_SPSTButton_Switch_SMD:SW_SPDT_PCM12SW25
1Stabilizer_MX_2ULKBD_StabMX:Stabilizer_MX_2USTAB23

Similar boards

  • 2 layers35 × 50 mmGoblin, the printed circuit board in 3D

    Goblin

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    60 parts463
  • 2 layers32.9 × 119.1 mmConnector, the printed circuit board in 3D

    Connector

    thpoll83/PolyKybd

    PolyKybd

    60 parts411CERN-OHL-W-2.0
  • 2 layers35.9 × 62.7 mmRp2040-memcard, the printed circuit board in 3D

    Rp2040-memcard

    sd2psx/pcb

    The PCB must be produced in 0.8mm thickness. Production files are provided under the "Releases" tab. These do not include the through-hole OLED module.

    60 parts241
  • 2 layers58 × 110 mmBrain ui split pulse, the printed circuit board in 3D

    Brain ui split pulse

    shmoergh/moduleur

    Fully analog DIY-friendly modular synth

    60 parts222
  • 2 layers52 × 90 mmEmu brd, the printed circuit board in 3D

    Emu brd

    rscott2049/DECstation2040

    A RP2040 based DECstation emulator

    60 parts212BSD-3-Clause
  • 2 layers42.5 × 80 mmSimplemixsmall, the printed circuit board in 3D

    Simplemixsmall

    nickajeglin/Eurorack-pcbs

    A collection of easy to solder DIY eurorack PCB's

    60 parts208
  • 2 layers57.4 × 12 mmZicada, the printed circuit board in 3D

    Zicada

    CoretechR/Zicada

    DIY Zigbee Multisensor

    60 parts205GPL-3.0
  • 2 layers87.9 × 123.9 mmBitdoglab, the printed circuit board in 3D

    Bitdoglab

    BitDogLab/BitDogLab

    Open-source educational hardware for embedded systems, programming, electronics, and physical computing.

    60 parts203

Questions

How big is the Lk23m pcb PCB?

It measures 76.2 × 119.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Lk23m pcb use?

60 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 Lk23m pcb KiCad files?

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

Can I use the Lk23m pcb design in my own project?

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