Skip to the content
PCBKitNew board
2 layers57.2 × 57.2 mmLk7d pcb, the printed circuit board in 3D

LK7D 7 Keys RGB Macropad

Size
57.2 × 57.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
35
Nets
29
Pads
149
Tracks, vias
215, 20
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
24 Mar 2025
Updated
13 May 2025

Overview

Lk7d pcb is an open-source printed circuit board by lambdakb, from the lambdakb/keyboard-lk7d repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 57.2 × 57.2 mm with 35 parts on 29 nets, routed with 215 tracks and 20 vias.

It is built around the SN74LV1T125DBV and SK6812MINI-E. Its parts include 14 diodes, 8 switches, 3 capacitors, 2 ICs and 2 connectors. It belongs with the keyboards and input and lEDs and displays boards and the RP2040 boards of this library.

Main components

2

README

README.md

LK7D 7 Keys Macropad

Documentation GitHub Release License KiCad

The LambdaKB LK7D is a simple 7 keys hotswap macropad with per-key RGB LEDs and an OLED display. The goal was to create a simple macropad based on the XIAO RP2040 microcontroller that had all the bells and whispers of a modern keyboard.

This was created as an experiment to learn more about designing PCBs and to have a simple and cheap way to test new features (such as integrating OLED displays and RGB LEDs in QMK / Vial).

Layout

Layout

Keyboard Layout Editor

PCB

FrontBack
PCB FrontPCB Back

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

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
Dimensions57.15 × 57.15 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

BOM

PartRef.QuantityOptionalRemarks
PCBLK7D PCB1❌The PCB itself.
XIAO RP2040 ControllerSeeedStudio XIAO RP20401❌Main controller for QMK/Vial.
1N418 Diodes1N4148W T4 SOD-3237❌Switch matrix diodes. One MUST be installed under the encoder.
Kailh Hot-Swap SocketsCPG151101S11-166❌MX style hot-swap sockets.
Key SwitchesAny Cherry MX Compatible Switch6❌MX style switches.
Rotary EncoderAny EC11 / EC12 style 5-pin Encoder1❌Can be installed either in top left or top right of the PCB. Only one per PCB is supported.
100nF Capacitor1206 SMD Ceramic Capacitor2-3✅Both C1 and C2 should be installed if populated, used for noise filtering of encoder readings. C3 is only required if a Logic Level Shifter is installed.
0.91" OLED DisplaySSD1306 0.91" 128X32 OLED I²C Display Module1✅Optional, occupies the place of the non-populated encoder and sits on top of the XIAO MCU.
RGB LEDsSK6812MINI-E6✅Optional, RGB LEDs can be installed under each key switch.
5V Logic Level ConverterSN74AHCT1G125DBVR or SN74LV1T125DBVR (SOT-23-5)1✅Optional, required if your RGB LEDs are not 3.3V logic tolerant. You MUST cut the JP1 jumper if populated.

Case

Coming soon.

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/lk7d.

Default Vial Keymap

Layer 0Layer 1Layer 2Layer 3
Keymap Layer 0Keymap Layer 1Keymap Layer 2Keymap Layer 3

Layer 4, 5 and 6 contains similar layouts with macro keys going from M15 to M29.

Vial Layout Options

Encoder Position: LeftEncoder Position: Right
Layout Encoder LeftLayout Right Encoder

License

This design is licensed under the CERN Open Hardware Licence Version 2 – Strongly Reciprocal (CERN-OHL-S-2.0).

You are free to use, modify, and distribute this design for any purpose, provided that:

  • Attribution: Appropriate credit is given, a link to the license is provided, and any modifications are clearly indicated.
  • Reciprocity: Any derivative works must be released under the same license.

If you are a retailer or business interested in producing or selling this design or related products, I’d love to discuss it! Please feel free to reach out so we can explore potential arrangements.

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. ↩

Parts

35
QtyValueFootprintReferences
81N4148LKBD_Common:Diode_SMD_SOD-123_inSilkD1, D2, D3, D4, D5, D6, D7, D8
6SK6812MINI-ELKBD_Common:LED_SK6812MINI-ELED1, LED2, LED3, LED4, LED5, LED6
6SW_PushLKBD_KeySwitch:SW_MX_HotSwap_sqSilkSW3, SW4, SW5, SW6, SW7, SW8
4MountingHole_2.2mm_M2_ISO14580_PadMountingHole:MountingHole_2.2mm_M2_ISO14580_PadH1, H2, H3, H4
3100nFLKBD_Common:Capacitor_SMD_1206_inSilkC1, C2, C3
2PINHD_1x4_MaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1, J2
2RotaryEncoder_Switch_MPLKBD_KeySwitch:ROT_EC11_THT_sqSilkSW1, SW2
1JLCPCB_2DBarcode_5x5mmLKBD_PCBFab:JLCPCB_2DBarcode_5x5mmM1
1SN74LV1T125DBVPackage_TO_SOT_SMD:SOT-23-5U2
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1XIAO-RP2040LKBD_MCU:MCU_XIAO_RP2040U1

Questions

How big is the Lk7d pcb PCB?

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

What parts does the Lk7d pcb use?

35 parts, built around the SN74LV1T125DBV and SK6812MINI-E. 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 Lk7d pcb KiCad files?

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

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

Its repository publishes it under the CERN-OHL-S-2.0 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 layers121.9 × 81 mmCav16 pico, the printed circuit board in 3D

    Cav16 pico

    Charading/SHEGO16-QMK-Hall-Effect-Macropad

    An RP2040-powered 4x4 15 key macropad with a knob on the top row, that runs custom QMK firmware that allows analogue hall effect sensors to work, also has SOCD, works with VIA and SignalRGB

    132 parts3
  • 2 layers430.7 × 126 mmTeds kb-100, the printed circuit board in 3D

    Teds kb-100

    DovydasTEDS/teds-kb-100

    A 100% ISO-105 Mechanical keyboard - custom PCB, custom case. It has per-key rgb leds and a rotary encoder. The firmware is written in QMK.

    432 parts1
  • 4 layers92.8 × 76 mmDeck-8, the printed circuit board in 3D

    Deck-8

    varaddorle007/deck-8

    Open-source 8-key macro pad with 2 knobs, OLED and Bluetooth: PCB, case and ZMK firmware

    101 parts1MIT
  • 2 layers304.8 × 95.3 mmSM65, the printed circuit board in 3D

    SM65

    Charading/SM65

    SM65

    290 parts
  • 2 layers310 × 127.9 mmKeyboard, the printed circuit board in 3D

    Keyboard

    daniel-kaz/keyboard

    Custom keyboard PCB

    294 parts
  • 2 layers76.2 × 116.7 mmTeds kb numpad, the printed circuit board in 3D

    Teds kb numpad

    DovydasTEDS/teds-kb-numpad

    a numpad / 17-key keypad with per-key rgb lighting, qmk firmware and soon to be added via and possibly signalrgb support!

    54 parts
  • 2 layers303.6 × 94.1 mmVictoria PCB, the printed circuit board in 3D

    Victoria PCB

    dthelegend/Prototype-PCB

    317 parts
  • 2 layers293.4 × 118.8 mmUnicorne choc, the printed circuit board in 3D

    Unicorne choc

    EyalYe/unicorne

    A unibody Corne: both halves of the Corne v3 key layout on one PCB, each half rotated 16°, with an Azoteq TPS43 trackpad in the middle (it sits on the case, over the nice!nano) and a nice!nano v2 at the top.

    175 parts