

Lemmingz40
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
1README
README.mdmodkipz40
A pocket keyboard using mouse switches, now with 🤌 ergonomics 🤌

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| Qty | Value | Footprint | References |
|---|---|---|---|
| 40 | D_Small | Diode_SMD:D_SOD-523 | D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +24 |
| 40 | SW_Push | userlib:Button_Mute_Kailh | SW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +24 |
| 8 | MountingHole_Pad | userlib:SMTSO-M1.6 | H1, H2, H3, H4, H5, H6, H7, H8 |
| 5 | 100nF | Capacitor_SMD:C_0402_1005Metric | C1, C4, C5, C6, C7 |
| 3 | 1uF | Capacitor_SMD:C_0402_1005Metric | C3, C9, C10 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R2, R3 |
| 1 | 10k | Resistor_SMD:R_0402_1005Metric | R1 |
| 1 | 4.7uF | Capacitor_SMD:C_0402_1005Metric | C2 |
| 1 | 500mA | Fuse:Fuse_1206_3216Metric | F1 |
| 1 | BOOT | Button_Switch_SMD:SW_SPST_SKQG_WithoutStem | SW41 |
| 1 | RST | Button_Switch_SMD:SW_SPST_SKQG_WithoutStem | SW42 |
| 1 | STM32F072C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | USB2_C_Receptacle | userlib:Mid_Mount-USB_C | J1 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U1 |
| 1 | XC6206PxxxMR-Regulator_Linear | Package_TO_SOT_SMD:SOT-23 | U3 |
Similar boards
- 4 layers16.9 × 119.4 mm

- 2 layers290.1 × 130 mm

- 4 layers95 × 55.5 mm

EinkPDA keyboard
TalismanDesign/PocketMage_PDA
An E-Ink PDA device using the ESP32 S3.
137 parts2kApache-2.0 - 4 layers299 × 127 mm

- 2 layers42 × 67 mm

- 2 layers134 × 88 mm

Tulipcc
shorepine/tulipcc
The Tulip Creative Computer and AMYboard - portable Python synthesizers
103 parts978 - 4 layers70.8 × 108 mm

- 4 layers28.2 × 26.1 mm

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