Skip to the content
2 layers219.1 × 76.2 mmLoongcat40, the printed circuit board in 3D

loongcat is loooooong

Size
219.1 × 76.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
94
Nets
82
Pads
489
Tracks, vias
441, 89
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
23 Sep 2025
Updated
8 Jan 2026

Overview

Loongcat40 is an open-source printed circuit board by ChrisChrisLoLo, from the ChrisChrisLoLo/loongcat40 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 219.1 × 76.2 mm with 94 parts on 82 nets, routed with 441 tracks and 89 vias.

It is built around the 1N4148W. Its parts include 42 switches, 40 diodes and 2 ICs. It belongs with the keyboards and input and lEDs and displays boards and the RP2040 boards of this library.

Main components

1

README

README.md

loongcat40

A 4x10 gasket mounted keyboard featuring a large OLED. A culmination of 5 years of learning.

Get PCBs here if you're in the EU!: https://keycapsss.com/Loongcat40-PCB/KC10265

status

  • v0.1 pcbs have been produced but not yet tested.
  • v0.0 pcbs have been produced. v0.0 has been been tested.
    • The keyboard largely works, though GPIO20 requires an external pullup resistor. This may have been due to the rp2040 dev board I was using.

about

case

All of the case files you need can be found in the case directory.

pcb

You can find the PCB source files in the pcb folder. The BOM files can be found in this folder.

directory structure

  • case You can find the files you need in this folder to print out a case for the keyboard
  • drafts Stores any KLE or intermediate information used in making the case
  • pcb Kicad project relating to the project

BOM

  • 1 PCB
  • 40 hotswap sockets
  • 40 diodes
  • 1 2.08" OLED LCD (SH1122)
  • 3mm poron gasket strips (80mm x 3mm x 4mm)
  • 1 Raspberry Pi Pico 1
  • 3D printed parts
    • 4 TPU oled standoffs
      • used to make sure that the oled is aligned when soldering
    • 2 PLA plates
    • 1 PLA case bottom
    • 1 PLA casetop
  • 12 5mm M2 screws
  • 4 rubber bumpons

assembly

  • Assemble the PCB without the oled
    • the Pico should be soldered via castellated pins. Male pin headers should not be used
  • Put the 4 TPU oled standoffs onto the oled module. These standoffs will help align the oled
  • Solder the oled to the pcb. The oled module should be on the other side of the board such that it's on the opposite side
  • Put the poron gaskets onto the plate
  • Put the keys through the plate and onto the PCB
  • Put the PCB onto the top of the case
  • Put the bottom of the case on
  • Screw in the bottom of the case
    • Note that screwing the screws for the first time may take some force, as the screws will be threading the plastic of the top
  • Put bumpers on the bottom of the case
  • Done!

firmware

You can find the QMK firmware for this project here: https://github.com/ChrisChrisLoLo/qmk_firmware/tree/loongcat40

acknowledgements

Thank you to NextPCB and all of my Github Sponsors for sponsoring and supporting this project!

Big thank you to @suh_ga for the fantastic artwork used and displayed on this keyboard! Please check her out at https://twitter.com/suh_ga!

Parts

94
QtyValueFootprintReferences
42SW_Pushkeyswitches:Kailh_socket_MXSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +26
401N4148WDiode_SMD:D_SOD-123D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +24
6MountingHole_PadMountingHole:MountingHole_2.2mm_M2_PadH1, H2, H3, H4, H5, H6
1Jumper_2_Small_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1RaspberryPi_PicoModule:RaspberryPi_Pico_Common_UnspecifiedA2
1~local:SH1122_2.08inchU1
1~local:ST7789_2.25inchU2

The 92 most common of 94 parts.

Similar boards

  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 2 layers208.8 × 396.9 mmFerris, the printed circuit board in 3D

    Ferris

    pierrechevalier83/ferris

    A low profile split keyboard designed to satisfy one single use case elegantly

    145 parts1.3k
  • 2 layers285.5 × 95 mmReviung46 ver1 1, the printed circuit board in 3D

    Reviung46 ver1 1

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    119 parts517MIT
  • 4 layers95.6 × 73.6 mmMathpad, the printed circuit board in 3D

    Mathpad

    Summa-Cogni/Mathpad

    A mathematical keypad for students and professionals

    93 parts243
  • 2 layers141.5 × 83 mmRolio, the printed circuit board in 3D

    Rolio

    MickiusMousius/Rolio46Keyboard

    A split wireless keyboard based on the Corne and Sofle

    110 parts236MIT
  • 6 layers160 × 100 mmAdrmu6layer, the printed circuit board in 3D

    Adrmu6layer

    marcoreps/ADRmu

    ADR1000 10V standard

    240 parts149
  • 2 layers99.1 × 90.7 mmBgkeeb, the printed circuit board in 3D

    Bgkeeb

    sadekbaroudi/bgkeeb

    This is a reversible 100mm x 100mm pcb with support for mx or choc switches (no hotswap), per key led, rotary encoders, and exposes the SDA/SCL/GND/VCC lines in the form of the pimoroni trackball pins (meaning you can…

    108 parts108
  • 2 layers229.8 × 102.6 mmBw2, the printed circuit board in 3D

    Bw2

    hazels-garage/bad-wings

    Bad Wings

    107 parts107CC-BY-SA-4.0

Questions

How big is the Loongcat40 PCB?

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

What parts does the Loongcat40 use?

94 parts, built around the 1N4148W. 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 Loongcat40 KiCad files?

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

Can I use the Loongcat40 design in my own project?

Its repository publishes it under the GPL-3.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).