Skip to the content
2 layers115.3 × 48.1 mmLemmingz40, the printed circuit board in 3D

A pocket keyboard that uses mouse switches, now ergonomic :)

Size
115.3 × 48.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
107
Nets
89
Pads
279
Tracks, vias
958, 50
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
18 Nov 2023
Updated
2 Feb 2024

Overview

Lemmingz40 is an open-source printed circuit board by ChrisChrisLoLo, from the ChrisChrisLoLo/modkipz40 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 115.3 × 48.1 mm with 107 parts on 89 nets, routed with 958 tracks and 50 vias.

It is built around the USBLC6-2SC6. Its parts include 42 switches, 40 diodes, 9 capacitors, 3 resistors and 3 ICs. It belongs with the keyboards and input boards and the STM32 boards of this library.

Main components

1

README

README.md

modkipz40

A pocket keyboard using mouse switches, now with 🤌 ergonomics 🤌

an image of my modkipz40

Status

v0.1 should now work without issue (tvs diode data lines have been corrected), though hasn't been produced and explicitly confirmed yet.

v0.0 has an error where the usb lines are swapped when connected to the tvs diode. I was able to get around this by cutting out the tvs diode and jumping the usb data line pads. After doing this, the board worked without issue.

About

This is my second pocket keyboard using mouse switches, and the successor to the bunchiez40. The key difference is that it has a angle between the key halves.

This board is a PCBA, so only the switches need to be soldered on. The board makes use of a STM32F072 as it's MCU.

Blog post about my experience building the board can be found here

Case

Case files can be found in the case directory. The case was largely created by extrusions from the dxf outlines generated from Ergogen. Ergogen file can be found in the drafts directory.

Case can be 3D printed. In theory the case can also be CNC'ed, though this hasn't been explicitly tested.

PCB

PCB can be found in the pcb files. The outputs.zip file contains the files needed for the PCB, and lemmingz40_modified.csv and lemmingz40_bottom-pos_modified.csv contain the BOM and position files needed for PCBA.

Please confirm that the PCB has the v0.1 silkscreen on it, as it fixes an error in v0.0. Note that v0.1 should work as it emulates a manual fix, but v0.1 has not yet been officially produced and verified.

Directory Structure

drafts contains the ergogen file used to generate pcb outlines and case extrusions.

pcb contains the source code and output files required to produce a PCBA.

BOM

You will need the following to make a modkipz40

  • 8x 4.5mm M1.6 screws
    • ideally the screws are countersunk
  • 8x 1-2mm bumpons
    • Sj5302 works for me, though generally anything works
  • 40x kailh/huano 7.3mm mute switches
    • I used huano black mute switches for this build
  • 1x PCBA
  • 1x bottom case
    • I FDM 3D printed mine, though any manufacturing technique should work
  • 1x top case
    • Same as the bottom case

Assembly

The assembly process should generally be straightforward

  • Flash the board with firmware
  • Confirm that board works by shorting a key
  • Solder the switches onto the board. The switches should be placed on the blank side of the PCBA, so that the switch pins are soldered on the same side as the MCU
  • Screw bottom of case to PCBA
  • Screw top of case to PCBA
  • Add bumpons to the bottom of the case. The bumpons should be on every corner of the case bottom

Firmware

Firmware source code can be found here

Sponsors

If you like what I make, please consider becoming a sponsor! Your support allows me to continue creating experimental keyboard designs, as well as help me iterate and retest existing ones!

Parts

107
QtyValueFootprintReferences
40D_SmallDiode_SMD:D_SOD-523D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +24
40SW_Pushuserlib:Button_Mute_KailhSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +24
8MountingHole_Paduserlib:SMTSO-M1.6H1, H2, H3, H4, H5, H6, H7, H8
5100nFCapacitor_SMD:C_0402_1005MetricC1, C4, C5, C6, C7
31uFCapacitor_SMD:C_0402_1005MetricC3, C9, C10
25.1kResistor_SMD:R_0402_1005MetricR2, R3
110kResistor_SMD:R_0402_1005MetricR1
14.7uFCapacitor_SMD:C_0402_1005MetricC2
1500mAFuse:Fuse_1206_3216MetricF1
1BOOTButton_Switch_SMD:SW_SPST_SKQG_WithoutStemSW41
1RSTButton_Switch_SMD:SW_SPST_SKQG_WithoutStemSW42
1STM32F072C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1USB2_C_Receptacleuserlib:Mid_Mount-USB_CJ1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U1
1XC6206PxxxMR-Regulator_LinearPackage_TO_SOT_SMD:SOT-23U3

Similar boards

  • 4 layers16.9 × 119.4 mmOrbit, the printed circuit board in 3D

    Orbit

    earthtojake/text-to-cad

    Design physical products with AI

    182 parts26kMIT
  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 4 layers95 × 55.5 mmEinkPDA keyboard, the printed circuit board in 3D

    EinkPDA keyboard

    TalismanDesign/PocketMage_PDA

    An E-Ink PDA device using the ESP32 S3.

    137 parts2kApache-2.0
  • 4 layers299 × 127 mmLaunch, the printed circuit board in 3D

    Launch

    system76/launch

    System76 Launch Configurable Keyboard

    385 parts1.4kGPL-3.0
  • 2 layers42 × 67 mmLalboard, the printed circuit board in 3D

    Lalboard

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    65 parts993
  • 2 layers134 × 88 mmTulipcc, the printed circuit board in 3D

    Tulipcc

    shorepine/tulipcc

    The Tulip Creative Computer and AMYboard - portable Python synthesizers

    103 parts978
  • 4 layers70.8 × 108 mmCastor and Pollux, the printed circuit board in 3D

    Castor and Pollux

    wntrblm/Castor_and_Pollux

    A Juno-inspired dual oscillator

    235 parts587
  • 4 layers28.2 × 26.1 mmDongleHiderPlus PCB, the printed circuit board in 3D

    DongleHiderPlus PCB

    LeoDJ/FW-EC-DongleHiderPlus

    Framework Expansion Card that includes a USB hub to hide a bare dongle inside and still have a USB-A port externally

    23 parts497CERN-OHL-W-2.0

Questions

How big is the Lemmingz40 PCB?

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

What parts does the Lemmingz40 use?

107 parts, built around the USBLC6-2SC6. 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 Lemmingz40 KiCad files?

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

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