Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
# Keyboard Labs
This repository contains the source files for keyboard
designs and keyboard firmware.
# Keyboards
Kicad source files are in `pcb`.
Plotted gerber files can be found under the GitHub repository's
[releases](https://github.com/rgoulter/keyboard-labs/releases/).
Assembled PCBs for the [CH32X-48](#ch32x-48-low-budget-pcba-in-bm40jj40-form-factor) are available on [Elecrow](https://www.elecrow.com/ch32x-48-40-ortholinear-keyboard-pcb.html) - see the [RGoulter's Keyboard Labs store](https://www.elecrow.com/store/RGoultersKeyboardLabs) for the full catalog.
| Designation | Summary/Keywords | Image |
|--------------|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| [X-1](https://github.com/rgoulter/keyboard-labs#x-1-36-key-split-reversible-pcb-with-weact-studio-mini-f4-dev-board) | 36-key (2x3x5+3), split, column-staggered, MX/choc, sub-100x100, per-key RGB LED, ARM |  |
| [X-2](#x-2-5x12-ortholinear-arm-powered-adaptation-of-peejs-lumberjack-pcb) | 60-key (5x12), un-split, ortholinear, MX/choc, GH60-compatible, "show the components", ARM |  |
| [X-2 HSRGB](#x-2-hsrgb-5x12-ortholinear-arm-powered-adaptation-of-peejs-lumberjack-pcb-with-hotswap-and-per-key-rgb) | 60-key (5x12), un-split, ortholinear, MX/choc, GH60-compatible, "show the components", HotSwap, per-key RGB, ARM |  |
| [PyKey40 Lite](#pykey40-lite-no-frills-subset-of-the-pykey60-in-bm40jj40-form-factor) | Planck-MIT (4x12, 1x2U), ortholinear, MX, BM40/JJ40-compatible, PCBA, no frills, ARM | |
| [PyKey40 HSRGB](#pykey40-hsrgb-4x12-ortholinear-with-hotswap-and-rgb-in-bm40jj40-form-factor) | Planck-MIT (4x12, 1x2U), ortholinear, MX, BM40/JJ40-compatible, PCBA, HotSwap, per-key RGB LED, ARM |  |
| [Pico42](#pico42-simple-hand-solderable-pcb-in-bm40jj40-form-factor) | 42-key ortholinear, MX/choc, BM40/JJ40-compatible, no frills, ARM |  |
| [CH552-44](#ch552-44-low-budget-hand-solderable-pcb-in-bm40jj40-form-factor) | 44-key ortholinear, MX, BM40/JJ40-compatible, no frills |  |
| [CH552-48](#ch552-48-low-budget-pcba-in-bm40jj40-form-factor) | 48-key ortholinear (4x12), MX, BM40/JJ40-compatible, no frills |  |
| [CH552-48-LPR](#ch552-48-lpr-low-budget-pcba-with-low-profile-redragon-switches) | 48-key ortholinear (4x12), low profile redragon, no frills |  |
| [CH552-36](#ch552-36-low-budget-36-key-split-keyboard-with-smt-components) | 36-key (2x3x5+3), split, column-staggered, MX, sub-100x100, no frills |  |
| [WABBLE-60](#wabble-60-5x12-ortholinear-ble-risc-v-powered-adaptation-of-peejs-lumberjack-pcb) | 60-key (5x12), unsplit, ortholinear, MX, GH60-compatible, "show the components", RISC-V |  |
| [CH32X-48](#ch32x-48-low-budget-pcba-in-bm40jj40-form-factor) | 48-key ortholinear (4x12), MX, BM40/JJ40-compatible, no frills, Risc-V · [🛒 Elecrow](https://www.elecrow.com/ch32x-48-40-ortholinear-keyboard-pcb.html) |  |
| [CH32X-36](#ch32x-36-low-budget-36-key-split-keyboard-with-smt-components) | 36-key (2x3x5+3), split, column-staggered, MX, sub-100x100, no frills, RISC-V |  |
| [CH32X-75-LPR](#ch32x-75-lpr-low-budget-pcba-with-low-profile-redragon-switches) | 75-key ortholinear (5x15), low profile redragon, no frills, RISC-V |  |
## X-1: 36-key, split, reversible PCB with WeAct Studio Mini F4 dev board
Design goals:
- PCB smaller than 100x100 mm2, so that it's cheaper to fabricate at various PCB
fabricators.
- Reversible PCB (use the same PCB for left/right halves).
- Using the WeAct Studio MiniF4 "black pill" dev board, a cheap STM32F4 dev
board that runs ARM.
- Low profile (PCB + choc switches + bumpons).
- Column-staggered arrangement of key switches.
- Fancy features: e.g. per-key RGB LEDs, rotary encoders, OLED screen, DC vibration motors.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-1_rev2021.5-mx-top.JPG" width=600 />
_X-1, rev2021.5, MX variation (with rotary encoder, OLED, etc.)._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-1_rev2021.5-choc-top.JPG" width=600 />
_X-1, rev2021.5, Choc variation, low-profile (with flipped GD-32 Bluepill devboards)._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-1_rev2021.5-comparison-mx-choc.JPG" width=600 />
_Height comparison between low-profile build (with Choc switches) and with sandwich-case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-1-mx-tented.JPG" width=600 />
_Tented._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-1-underside.JPG" width=600 />
_Showing the underside of the PCB through the acrylic bottom layer._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboard-100x100-minif4-dual-rgb-reversible-2021.5-top.svg" width=280 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboard-100x100-minif4-dual-rgb-reversible-2021.5-bottom.svg" width=280 />
_2D Renders of the PCB, revision rev2021.5_
### Build Guides
- [rev2021.4 Budget Build Guide](docs/buildguide_rev2021.4_budget.md)
- [rev2021.5 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-100x100-minif4-dual-rgb-reversible-rev2021.5.html)
- [rev2021.5 Interactive BOM, No Frills](https://rgoulter.com/keyboard-labs/ibom-x1-minif4_36-rev2021.5-basic.html)
### Keyboard Layout
- Blank Layout at [keyboard-layout-editor.com](http://www.keyboard-layout-editor.com/##@_name=MiniF4%20%22Black%20Pill%22%2036-key%20Split%20Keyboard¬es=PCB%20available%20at%2F:%20https%2F:%2F%2F%2F%2Fgithub.com%2F%2Frgoulter%2F%2Fkeyboard-labs%2F%2F&pcb:true&css=%23keyboard-bg%20%7B%0A%20%20%20%20background-image%2F:%20url(%22https%2F:%2F%2F%2F%2Fraw.githubusercontent.com%2F%2Frgoulter%2F%2Fkeyboard-labs%2F%2Fmaster%2F%2Fdocs%2F%2Fimages%2F%2Fkeyboard-100x100-minif4-dual-rgb-reversible-rev2021.4-ortho-bare-sm.png%22)%2F%3B%0A%7D%3B&@_x:2&a:7%3B&=&_x:5.5%3B&=%3B&@_y:-0.95&x:3%3B&=&_x:3.5%3B&=%3B&@_y:-0.9500000000000001&x:4%3B&=%3B&@_y:-1&x:1%3B&=&_x:4.5%3B&=&_x:2%3B&=%3B&@_y:-0.6000000000000001%3B&=&_x:9.5%3B&=%3B&@_y:-0.5&x:2%3B&=&_x:5.5%3B&=%3B&@_y:-0.95&x:3%3B&=&_x:3.5%3B&=%3B&@_y:-0.9499999999999997&x:1%3B&=&_x:2%3B&=&_x:1.5%3B&=&_x:2%3B&=%3B&@_y:-0.6000000000000001%3B&=&_x:9.5%3B&=%3B&@_y:-0.5&x:2%3B&=&_x:5.5%3B&=%3B&@_y:-0.9500000000000002&x:3%3B&=&_x:3.5%3B&=%3B&@_y:-0.9499999999999997&x:1%3B&=&_x:2%3B&=&_x:1.5%3B&=&_x:2%3B&=%3B&@_y:-0.6000000000000001%3B&=&_x:9.5%3B&=%3B&@_y:-0.4500000000000002&x:2.2%3B&=&_x:5.1000000000000005%3B&=%3B&@_y:-0.5499999999999998&x:3.2%3B&=&_x:3.0999999999999996%3B&=%3B&@_y:-0.5&x:4.2%3B&=&_x:1.0999999999999996%3B&=).
- rgoulter's Layout at <a href="http://www.keyboard-layout-editor.com/##@_backcolor=%23ffffff&name=MiniF4%20%22Black%20Pill%22%2036-key%20Split%20Keyboard,%20rgoulter's%20layout&author=github.com%2F%2Frgoulter%2F%2Fkeyboard-labs&pcb:true%3B&@_x:2&c=%239e9e9e&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff%3B&=.%0AF8%0A*%0A8&_x:5.5&t=%23000000%0A%23ff00ff&f2:1%3B&=C%0AR.HI%3B&@_y:-0.95&x:3&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=P%0AF9%0A(%0A9&_x:3.5&t=%23000000%0A%23ff00ff&f:3%3B&=G%0AR.Tog%3B&@_y:-0.95&x:1&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=,%0AF7%0A%2F&%0A7&_x:2&t=%23000000%0A%0A%2300ff00%0A%230000ff&f:3%3B&=Y%0A%0A%7D%0A%5D&_x:1.5&t=%23000000%0A%23ff00ff&f:3%3B&=F%0AR.Tog&_x:2&f:3%3B&=R%0AR.SI%3B&@_y:-0.6&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=%22%0AF12%0A%7B%0A%5B&_x:9.5&t=%23000000%0A%23ff00ff&f:3%3B&=L%0AR.VI%3B&@_y:-0.5&x:2&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=E%0AF5%0A%25%0A5%0ACtrl&_x:5.5&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%2300ffff&fa@:0&:2&:2&:2&:1%3B%3B&=T%0A%3Ci%20class%2F='kb%20kb-Multimedia-Volume-Up-1'%3E%3C%2F%2Fi%3E%0A%2F&uarr%2F%3B%0A%2F&uarr%2F%3B%0ACtrl%3B&@_y:-0.95&x:3&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=U%0AF6%0A%5E%0A6%0AShift&_x:3.5&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%2300ffff&f:3%3B&=H%0A%3Ci%20class%2F='kb%20kb-Multimedia-Volume-Down-2'%3E%3C%2F%2Fi%3E%0A%2F&darr%2F%3B%0A%2F&darr%2F%3B%0AShift%3B&@_y:-0.95&x:1&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=O%0AF4%0A$%0A4%0AGUI&_x:2&t=%23000000%0A%0A%2300ff00%0A%230000ff&f:3%3B&=I%0A%0A+%0A%2F=&_x:1.5&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%2300ffff&f:3%3B&=D%0A%3Ci%20class%2F='kb%20kb-Multimedia-Rewind-Start'%3E%3C%2F%2Fi%3E%0A%2F&larr%2F%3B%0A%2F&larr%2F%3B&_x:2&f:3%3B&=N%0A%3Ci%20class%2F='kb%20kb-Multimedia-FastForward-End'%3E%3C%2F%2Fi%3E%0A%2F&rarr%2F%3B%0A%2F&rarr%2F%3B%0AGUI%3B&@_y:-0.6000000000000001&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=A%0AF11%0A~%0A%60%0AAlt&_x:9.5&t=%23000000&f:3%3B&=S%0A%0A%0A%0AAlt%3B&@_y:-0.5&x:2&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=J%0AF2%0A%2F@%0A2&_x:5.5&t=%23000000%0A%0A%23ffff00%0A%2300ffff&fa@:0&:2&:0&:1%3B%3B&=W%0A%0A%2F&uArr%2F%3B%0APgup%3B&@_y:-0.9499999999999997&x:3&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=K%0AF3%0A%23%0A3&_x:3.5&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%2300ffff&fa@:0&:1&:0&:1%3B%3B&=M%0ADV.%0A%2F&dArr%2F%3B%0APgdn%3B&@_y:-0.9500000000000002&x:1&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=Q%0AF1%0A!%0A1&_x:2&t=%23000000%0A%0A%2300ff00%0A%230000ff&f:3%3B&=X%0A%0A%3F%0A%5C&_x:1.5&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%2300ffff&f:3%3B&=B%0AQW.%0A%2F&lArr%2F%3B%0AHome&_x:2&t=%23000000%0A%0A%23ffff00%0A%2300ffff&f:3%3B&=V%0A%0A%2F&rArr%2F%3B%0AEnd%3B&@_y:-0.6000000000000001&t=%23000000%0A%23ff0000%0A%2300ff00%0A%230000ff&f:3%3B&=%2F%3B%0AF10%0A%3F%0A%2F%2F&_x:9.5&t=%23000000%0A%0A%0A%2300ffff&f:3%3B&=Z%0A%0A%0AIns%3B&@_y:-0.4500000000000002&x:2.2&t=%23000000%0A%0A%2300ff00%0A%230000ff%0A%23ffff00&f:2%3B&=Tab%0A%0A(%0A.%0AMouse&_x:5.1000000000000005&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%0A%23ff0000%3B&=Del%0A%3Ci%20class%2F='kb%20kb-Multimedia-Mute-1'%3E%3C%2F%2Fi%3E%0AM3%0A%0AFn%3B&@_y:-0.5499999999999998&x:3.2&t=%23000000%0A%0A%2300ff00%0A%230000ff%0A%23ff00ff%3B&=Esc%0A%0A)%0A0%0AMedia&_x:3.1000000000000005&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%0A%2300ff00%3B&=Ent%0A%3Ci%20class%2F='kb%20kb-Multimedia-Stop'%3E%3C%2F%2Fi%3E%0AM2%0A%0ASym%3B&@_y:-0.5&x:4.2&t=%23000000%0A%0A%2300ff00%0A%230000ff%0A%2300ffff%3B&=Spc%0A%0A%2F_%0A-%0ANav&_x:1.1000000000000005&t=%23000000%0A%23ff00ff%0A%23ffff00%0A%0A%230000ff%3B&=Bksp%0A%3Ci%20class%2F='kb%20kb-Multimedia-Play-Pause'%3E%3C%2F%2Fi%3E%0AM1%0A%0ANum">keyboard-layout-editor.com</a>.
### Typing Demonstration Videos
typings.gg:
[](https://www.youtube.com/watch?v=g7Msizi1cJ4)
typing.io:
[](https://www.youtube.com/watch?v=Bn727EBErZ0)
## X-2: 5x12 Ortholinear, ARM-powered Adaptation of peej's Lumberjack PCB
peej's [lumberjack-keyboard](https://github.com/peej/lumberjack-keyboard) is a cool and creative
design, which continues the style of "show the components" used by keyboards like
the [plaid](https://github.com/hsgw/plaid).
One downside to it is that DIP microcontrollers are relatively weak.
Development boards are a spiritual-successor to DIP microcontrollers,
so I wanted to adapt the striking Lumberjack design to a more
powerful development board.
Design goals:
- Using STM32 dev board. (ARM-powered!).
- Adapt the Lumberjack design.
- In a "show the components" style.
- Fits in tray-mount GH60 case.
- (Relatively) easy to solder.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-2_rev2021.1-mx-top.JPG" width=600 />
_X-2 PCB assembled, using a Bluepill devboard, with MX switches, in a cheap GH-60 case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-2_rev2021.1-choc-top.JPG" width=600 />
_X-2 PCB assembled, using a WeAct Studio MiniF4 "Blackpill" devboard, with Choc switches, in a layered acrylic case._
<img src="https://github.com/rgoulter/keyboard-labs/raw/master/docs/images/keyboard-x2-lumberjack-arm-rev2021.1-top.svg" width=600 /> <img src="https://github.com/rgoulter/keyboard-labs/raw/master/docs/images/keyboard-x2-lumberjack-arm-rev2021.1-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2021.1_
### Build Guides
- [rev2021.1 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-x2-lumberjack-arm-rev2022.1.html)
## X-2 HSRGB: 5x12 Ortholinear, ARM-powered Adaptation of peej's Lumberjack PCB, with HotSwap and per-key RGB
A fancier version of the X-2 above. With all the benefits of the X-2 (fits in GH-60 case, powerful microcontroller),
but with a RGB lighting, which makes the keyboard a bit fancier.
Design goals:
- Same as X-2:
- Using STM32 dev board. (ARM-powered!).
- Adapt the Lumberjack design.
- In a "show the components" style.
- Fits in tray-mount GH60 case.
- (Relatively) easy to solder.
- Additional fancy features:
- HotSwap: the PCB uses Kailh's MX Hotswap sockets. This allows being able to swap out which switches
are used by the keyboard, without needing to resolder (or resort to using PCB rivets).
- RGB lighting: the PCB allows for putting RGB lights under each key, as well as RGB underglow.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-2-hsrgb_rev2022.1-front.JPG" width=600 />
_X-2 HSRGB PCB assembled, using a Bluepill devboard, with MX switches, in a cheap GH-60 case. Using MX switches with transparent housing, like Kailh's Jellyfish switches, enhances the RGB lighting._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/photo-keyboard-x-2-hsrgb_rev2022.1-back.JPG" width=600 />
_X-2 HSRGB PCB assembled, view of the back._
### Build Guides
- [HSRGB, rev2022.1 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-x2-lumberjack-arm-hsrgb-rev2022.1.html)
## PyKey40 Lite: No-Frills Subset of the PyKey60 in BM40/JJ40 Form-Factor
My first PCBA design.
Takes jpconstantineau's [PyKey60](https://github.com/jpconstantineau/PyKey60),
and arranges a no-frills (no RGB, no hotswap, no speaker) subset of it to be a drop in replacement for the BM40/JJ40 PCB.
Design goals:
- As this is my first PCBA design: a simple design that works.
Pictures:
<img src="https://github.com/rgoulter/keyboard-labs/raw/master/docs/images/keyboard-pykey40-lite-2023.3-top.svg" width=600 />
<img src="https://github.com/rgoulter/keyboard-labs/raw/master/docs/images/keyboard-pykey40-lite-2023.3-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2023.3_
## PyKey40 HSRGB: 4x12 Ortholinear with HotSwap and RGB in BM40/JJ40 Form-Factor
A 4x12 ortholinear with hotswap sockets, and per-key RGB and underglow, using the RP2040 MCU, with mounts compatible with the JJ40/BM40.
Design goals:
- Fancy features: hotswap sockets, RGB.
- Same mounting holes as JJ40/BM40/PyKey40.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pykey40-hsrgb/pykey40-hsrgb-top.JPG" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pykey40-hsrgb/pykey40-hsrgb-bottom.JPG" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pykey40-hsrgb/pykey40-hsrgb-bottom-diffused.JPG" width=600 />
_PyKey40 HSRGB PCB assembled in a high-profile aluminium case._
<img src="https://github.com/rgoulter/keyboard-labs/raw/master/docs/images/keyboards/pykey40-hsrgb/keyboard-pykey40-hsrgb-2023.1-top.svg" width=600 />
<img src="https://github.com/rgoulter/keyboard-labs/raw/master/docs/images/keyboards/pykey40-hsrgb/keyboard-pykey40-hsrgb-2023.1-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2023.1_
## Pico42: Simple Hand-Solderable PCB in BM40/JJ40 Form-Factor
A very simple, hand-solderable PCB which uses the Raspberry Pi Pico dev board.
I made this design because in my first attempt at designing a CNC case for the PyKey40,
I put the cutout for the USB connector in the wrong place.
Having a design which doesn't use a USB connector underneath the PCB works around this.
The form factor encourages the thumbs to use 2-3 keys each (and rely on the pinky fingers less).
Design goals:
- Simple, hand-solderable PCB.
- Uses Raspberry Pi Pico devboard. / Doesn't use USB connector underneath PCB.
- Same mounting holes as JJ40/BM40/PyKey40.
- Same pinout as PyKey40 (PyKey60).
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pico42/pico42-mx_lowprofile_case.JPG" width=600 />
_Pico42 PCB assembled with MX switches, in a low profile aluminium case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pico42/pico42-mx_lowprofile_case-front.JPG" width=600 />
_Height of the Pico mounted on round-pin male headers in female headers._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pico42/pico42-choc_sandwich.JPG" width=600 />
_Pico42 PCB assembled with Kailh Choc switches, in a sandwich case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pico42/pico42-sandwich_bottom.JPG" width=600 />
_Underside of the Pico42 in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pico42/keyboard-pico42-2023.2-top.svg" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/pico42/keyboard-pico42-2023.2-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2023.2_
### Build Guides
- [rev2023.1 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-pico42-rev2023.1.html)
- [rev2023.1 Build Guide Notes](docs/buildguide-keyboard_pico42-rev2023.1.md)
## CH552-44: Low-Budget Hand-Solderable PCB in BM40/JJ40 Form-Factor
A very simple, hand-solderable 44-key PCB which uses the WeAct Studio's CH552
devboard.
The form factor encourages the thumbs to use 2-3 keys each (and rely on the
pinky fingers less).
The keyboard uses semickolon's [fak](https://github.com/semickolon/fak)
firmware, which uses the sophisticated and modern
[Nickel](https://nickel-lang.org/) configuration language to declare keyboard
and keymap definitions.
The CH552 is cheaper than the RP2040, although is much less powerful. e.g.
you're probably not going to get Vial on a CH552 keyboard. In practice, fak
seems well suited for small-keyboard enthusiasts.
Since the CH552 has relatively few GPIO pins, the matrix uses 7 rows of 7
columns (= 14 GPIO pins), rather than a more traditional 4 rows of 12 columns
(which would use 16 GPIO pins).
Design goals:
- Low Budget.
- Simple, hand-solderable PCB.
- Uses [WeAct Studio's CH552 core board](https://www.aliexpress.com/item/1005004141926425.html).
- Same mounting holes as JJ40/BM40/PyKey40.
Pictures:
<img
src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-44/ch552_44-sandwich-top.JPG"
width=600 />
_CH552-44 (rev2023.1) in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-44/ch552_44-sandwich-bottom.JPG" width=600 />
_Underside of the CH552-44 (rev2023.1) in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-44/keyboard-ch552-44-2023.2-top.svg" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-44/keyboard-ch552-44-2023.2-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2023.2_
### Build Guides and Release Assets
- [rev2023.2 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-ch552-44-rev2023.2.html)
- [rev2023.2 Build Guide Notes](https://github.com/rgoulter/keyboard-labs/blob/master/docs/buildguide-keyboard_ch552-44-rev2023.2.md)
#### Firmware
- Firmware: See [rgoulter/fak-config](https://github.com/rgoulter/fak-config)
(NOTE: for flashing new firmware, on Windows, [I recommend the official WCHISPTool](https://www.wch-ic.com/downloads/WCHISPTool_Setup_exe.html). For flashing using open-source software, it's much easier to flash firmware onto the CH552 from Linux, e.g. [docs/guide-liveiso-flashing-fak.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/guide-liveiso-flashing-fak.md)).
#### Plates and Cases
A bottom plate can be used to protect the components underneath the PCB.
Source files for plates to cut (or cases to 3D print) can be found under `cad/` in this repository.
## CH552-48: Low-Budget PCBA in BM40/JJ40 Form-Factor
A very simple 48-key PCBA which uses the CH552 MCU.
The keyboard uses semickolon's [fak](https://github.com/semickolon/fak) firmware, which uses the sophisticated and modern [Nickel](https://nickel-lang.org/) configuration language to declare keyboard and keymap definitions.
The CH552 is cheaper than the RP2040, although is much less powerful. e.g. you're probably not going to get Vial on a CH552 keyboard. In practice, fak seems well suited for small-keyboard enthusiasts.
Since the CH552 has relatively few GPIO pins, the matrix uses 7 rows of 7
columns (= 14 GPIO pins), rather than a more traditional 4 rows of 12 columns
(which would use 16 GPIO pins).
Design goals:
- PCBA and Ortho 4x12 improvement upon the [CH552-44](https://github.com/rgoulter/keyboard-labs#ch552-44-low-budget-hand-solderable-pcb-in-bm40jj40-form-factor).
- Low Budget.
- Use CH552 for the fak firmware.
- Same mounting holes as JJ40/BM40/PyKey40.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48/ch552-48-top.JPG" width=600 />
_CH552-48 in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48/ch552-48-bottom.JPG" width=600 />
_Underside of the CH552-48 in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48/ch552-48-bottom-unplated.JPG" width=600 />
_Underside of the CH552-48, showing the PCBA components.._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48/keyboard-ch552-48-2023.1-top.svg" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48/keyboard-ch552-48-2023.1-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2023.1_
#### Firmware
- Firmware: See [rgoulter/fak-config](https://github.com/rgoulter/fak-config)
(NOTE: for flashing new firmware, on Windows, [I recommend the official WCHISPTool](https://www.wch-ic.com/downloads/WCHISPTool_Setup_exe.html). For flashing using open-source software, it's much easier to flash firmware onto the CH552 from Linux, e.g. [docs/guide-liveiso-flashing-fak.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/guide-liveiso-flashing-fak.md)).
#### Plates and Cases
A bottom plate can be used to protect the components underneath the PCB.
Source files for plates to cut (or cases to 3D print) can be found under `cad/` in this repository.
## CH552-48-LPR: Low-Budget PCBA with Low Profile Redragon Switches
Variation of the CH552-48 which uses Redragon low profile switches.
Redragon low profile switches are significantly cheaper than other low profile switches,
especially the popular Kailh Choc v1 switches.
Height varies depending on keycap profile. The distance between the top of the
PCB and the top of the keycap is around 11mm for Redragon low profile switches
with low profile keycaps. (In comparison, the same measurement is 10-11mm for
Kailh Choc v1, and about 20mm for MX).
Unlike MX switches (where switches from different manufacturers will have compatible pin positions),
different "low profile" switches have different pin positions from each other.
So, to use Redragon "low profile" switches, you need a PCB designed for Redragon low profile switches.
The KiCad footprint I used for this design can be found under `pcb/` in this repository.
Redragon switches support keycaps with MX stems, unlike Kailh Choc v1.
Albeit, general MX keycap profiles (e.g. XDA) are NOT fully compatible with "low profile" switches,
since the bottom of the keycap bottoms-out below where a switch plate sits.
Instead, "low profile" switches with MX stems need 'slim' keycaps, such as [NuPhy's](https://www.aliexpress.us/item/3256805311515595.html) or [womier's](https://www.aliexpress.com/item/1005004613625285.html), etc.
Since the Redragon low profile switches have 3-pins, it's best to assemble the keyboard using a switch plate
(e.g. a lasercut 1.0mm metal plate). Pictures below show what a build without a plate looks like.
Design goals:
- A keyboard that uses Redragon low profile switches.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48-lpr/ch552_48-lpr-jj40lowpro-top.JPG" width=600 />
_CH552-48-LPR in a JJ40 low profile aluminium case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48-lpr/ch552_48-lpr-sandwich-top.JPG" width=600 />
_CH552-48-LPR in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48-lpr/ch552_48-lpr-sandwich-bottom.JPG" width=600 />
_Underside of the CH552-48-LPR in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48-lpr/ch552_48-lpr-plateless-switches.JPG" width=600 />
_Switches mounted to the PCB without a plate._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48-lpr/ch552_48-lpr-unsoldered-pins-with-plate.JPG" width=600 />
_Unsoldered underside of the PCB, with switches mounted in a plate._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48-lpr/keyboard-ch552-48-lpr-2023.1-top.svg" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-48-lpr/keyboard-ch552-48-lpr-2023.1-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2023.1_
#### Firmware
Same as for the [CH552-48](#ch552-48-low-budget-pcba-in-bm40jj40-form-factor).
- Firmware: See [rgoulter/fak-config](https://github.com/rgoulter/fak-config)
(NOTE: for flashing new firmware, on Windows, [I recommend the official WCHISPTool](https://www.wch-ic.com/downloads/WCHISPTool_Setup_exe.html). For flashing using open-source software, it's much easier to flash firmware onto the CH552 from Linux, e.g. [docs/guide-liveiso-flashing-fak.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/guide-liveiso-flashing-fak.md)).
#### Plates and Cases
A bottom plate can be used to protect the components underneath the PCB.
Source files for plates to cut can be found under `cad/` in this repository.
## CH552-36: Low-Budget 36-key Split Keyboard with SMT Components
A very simple, 36-key PCB which uses the CH552 MCU.
The design takes inspiration from [TeXitoi's keyseebee](https://github.com/TeXitoi/keyseebee).
The PCB is smaller than 100x100 mm2, so that it's cheaper to fabricate at
various PCB fabricators.
The keyboard uses semickolon's [fak](https://github.com/semickolon/fak)
firmware, which uses the sophisticated and modern
[Nickel](https://nickel-lang.org/) configuration language to declare keyboard
and keymap definitions.
Design goals:
- Low Budget.
- Use CH552 for the fak firmware.
- "Show the components", "just a keyboard" and "only a PCB with SMD components" from the KeySeeBee.
Pictures:
<img
src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-36/top.JPG"
width=600 />
_CH552-36._
<img
src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-36/mcu.JPG"
width=600 />
_CH552-36, close up of the MCU area._
<img
src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-36/tented.JPG"
width=600 />
_CH552-36, tented, with a coiled TRRS cable._
<img
src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-36/bottom.JPG"
width=600 />
_Bottom of CH552-36._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-36/keyboard-ch552-36-2023.1-top.svg" width=280 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch552-36/keyboard-ch552-36-2023.1-bottom.svg" width=280 />
_2D Renders of the PCB, revision rev2023.1_
### Build Guides and Release Assets
- [rev2023.1 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-ch552-36-rev2023.1.html)
#### Firmware
- Firmware: See [rgoulter/fak-config](https://github.com/rgoulter/fak-config)
(NOTE: for flashing new firmware, on Windows, [I recommend the official WCHISPTool](https://www.wch-ic.com/downloads/WCHISPTool_Setup_exe.html). For flashing using open-source software, it's much easier to flash firmware onto the CH552 from Linux, e.g. [docs/guide-liveiso-flashing-fak.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/guide-liveiso-flashing-fak.md)).
## WABBLE-60: 5x12 Ortholinear, BLE, RISC-V-powered Adaptation of peej's Lumberjack PCB
A keyboard using the [WeAct BLE core board](https://aliexpress.com/item/1005004784988010.html).
WeAct's BLE core board is significantly cheaper than the more popular
[nice!nano](https://nicekeyboards.com/nice-nano) BLE board.
The PCB design resembles peej's
[lumberjack-keyboard](https://github.com/peej/lumberjack-keyboard), and mounts
into GH-60 compatible cases like the Lumberjack; however, the WeAct BLE core
board uses a much more powerful MCU than the Lumberjack's 8-bit ATMega328P.
The WABBLE-60 PCB includes LiPo charging.
Design goals:
- Using WeAct BLE core board. (BLE! RISC-V-powered!).
- Adapt the Lumberjack design.
- In a "show the components" style.
- Fits in tray-mount GH60 case.
- (Relatively) easy to solder.
Pictures:
<img
src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/wabble-60/wabble-60.JPG"
width=600 />
_WABBLE-60._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/wabble-60/keyboard-wabble-60-2024.2-top.svg" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/wabble-60/keyboard-wabble-60-2024.2-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2024.2_
### Build Guides and Release Assets
- [rev2024.2 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-wabble-60-rev2024.2.html)
- [rev2024.2 Build Guide](docs/buildguide_wabble-60_rev2024.2.md)
#### Firmware
There are few options for keyboard firmware for the WeAct BLE core board;
and what options there exist are not very mature.
- My own [smart-keymap](https://github.com/rgoulter/smart-keymap) project includes
firmware for the WABBLE-60.
- The project like fak and kirei (mentioned below) uses [Nickel](https://nickel-lang.org/)
for expressive declarative keymaps.
- The CH58x firmware is lightly-modified from the CH58x EVT,
leveraging the smart-keymap library for all the "smart keymap" functionality
such as layers and tap-hold keys.
- There is a [port of QMK to the CH582](https://github.com/O-H-M2/qmk_port_ch582),
but as far as I'm aware, it's USB-only, and its BLE-implementation is not
public.
- [I wrote about my experience writing firmware with this
port](https://rgoulter.com/blog/posts/programming/2023-12-27-experience-writing-firmware-with-the-ch582-port-of-qmk.html).
- [I've put the code for the WABBLE-60 in my qmk_port_ch5xx
fork](https://github.com/rgoulter/qmk_port_ch5xx).
- [Kirei](https://github.com/semickolon/kirei), from the same author as
[fak](https://github.com/semickolon/fak) supports the CH58x.
- I recorded a video [demonstrating 110 WPM](https://www.youtube.com/watch?v=mc6wTqoDZe8)
using a BLE connection.
- Though, at the time of writing, Kirei's BLE implementation is not yet mature.
I've had trouble using the BLE keyboard on some platforms.
- Like fak, Kirei's keymaps are declared in [Nickel](https://nickel-lang.org/).
Kirei's keymap language is more expressive than fak's.
- [Here's an example of a
non-trivial keymap written for
Kirei](https://github.com/rgoulter/kirei/blob/2e2789838f9dd02c558ced4ca06c2f2e88c32219/src/keymap.ncl)
- [I've put the code for the WABBLE-60 in my kirei fork](https://github.com/rgoulter/kirei).
- Besides these options, [ch32-rs has a work-in-progress HAL for
CH58x](https://github.com/ch32-rs/ch58x-hal/). Its examples include [a
bare-bones BLE
Peripheral](https://github.com/ch32-rs/ch58x-hal/blob/20eac4fd7d65b2eaa8b4eae40f882724a5710646/examples/ble-peripheral.rs).
- [WCH's EVT](https://github.com/openwch/ch583) has many examples for the CH58x
(including USB HID Keyboard, USB+BLE, BLE HID, BLE Central+Peripheral, BLE OTA
IAP).
WeAct also have a BLE core board which uses CH592. However, the CH592 has even
less support than the CH58x.
## CH32X-48: Low-Budget PCBA in BM40/JJ40 Form-Factor
A very simple 48-key PCBA which uses the CH32X MCU.
It's essentially a port of the [CH552-48](#ch552-48-low-budget-pcba-in-bm40jj40-form-factor) for the CH32X MCU.
The keyboard uses rgoulter's [smart-keymap](https://github.com/rgoulter/smart-keymap) firmware,
which uses the sophisticated and modern [Nickel](https://nickel-lang.org/) configuration language to declare keyboard and keymap definitions.
The CH32X MCU is about as cheap as the CH55x MCUs, but is significantly more powerful.
The CH32X MCU uses Risc-V, and supports writing firmware with Rust.
> [!TIP]
> **Available on Elecrow:** [CH32X-48 4×12 Ortholinear Keyboard PCB](https://www.elecrow.com/ch32x-48-40-ortholinear-keyboard-pcb.html)
Design goals:
- PCBA, port of the [CH552-48](#ch552-48-low-budget-pcba-in-bm40jj40-form-factor) to the CH32X MCU.
- Low Budget.
- Same mounting holes as JJ40/BM40/PyKey40.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-48/ch32x-48.JPG" width=600 />
_CH32X-48 in a sandwich style case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-48/keyboard-ch32x-48-2025.2-top.svg" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-48/keyboard-ch32x-48-2025.2-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2025.2_
#### Firmware
- Firmware: See [rgoulter/smart-keymap](https://github.com/rgoulter/smart-keymap)
#### Plates and Cases
A bottom plate can be used to protect the components underneath the PCB.
Source files for plates to cut (or cases to 3D print) can be found under `cad/` in this repository.
## CH32X-36: Low-Budget 36-key Split Keyboard with SMT Components
A very simple, 36-key PCB which uses the CH32X MCU.
It's essentially a port of the [CH552-36](#ch552-36-low-budget-36-key-split-keyboard-with-smt-components) for the CH32X MCU.
The design takes inspiration from [TeXitoi's keyseebee](https://github.com/TeXitoi/keyseebee).
The PCB is smaller than 100x100 mm2, so that it's cheaper to fabricate at
various PCB fabricators.
The keyboard uses rgoulter's [smart-keymap](https://github.com/rgoulter/smart-keymap) firmware,
which uses the sophisticated and modern [Nickel](https://nickel-lang.org/) configuration language to declare keyboard and keymap definitions.
The CH32X MCU is about as cheap as the CH55x MCUs, but is significantly more powerful.
The CH32X MCU uses Risc-V, and supports writing firmware with Rust.
Design goals:
- Low Budget.
- "Show the components", "just a keyboard" and "only a PCB with SMD components" from the KeySeeBee.
Pictures:
<img
src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-36/ch32x-36.JPG"
width=600 />
_CH32X-36._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-36/keyboard-ch32x-36-lhs-2025.1-top.svg" width=280 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-36/keyboard-ch32x-36-lhs-2025.1-bottom.svg" width=280 />
_2D Renders of the PCB, revision rev2025.1_
### Build Guides and Release Assets
- [rev2025.1 Interactive BOM](https://rgoulter.com/keyboard-labs/ibom-keyboard-ch32x-36-lhs-rev2025.1.html)
#### Firmware
- Firmware: See [rgoulter/smart-keymap](https://github.com/rgoulter/smart-keymap)
## CH32X-75-LPR: Low-Budget PCBA with Low Profile Redragon Switches
A 5x15 ortholinear keyboard, which uses the CH32X MCU.
The switches are Redragon's low profile switches. See notes under [CH552-48-LPR](#ch552-48-lpr-low-budget-pcba-with-low-profile-redragon-switches).
As with other 5x15 ortholinear keyboards, the CH32X-75-LPR has mounts compatible with many 60% keyboard cases.
The keyboard uses rgoulter's [smart-keymap](https://github.com/rgoulter/smart-keymap) firmware,
which uses the sophisticated and modern [Nickel](https://nickel-lang.org/) configuration language to declare keyboard and keymap definitions.
The LQFP-48 CH32X MCU is significantly cheaper than the LQFP-48 CH55x MCU, and is also significantly more powerful.
The CH32X MCU uses Risc-V, and supports writing firmware with Rust.
The PCB also supports using 0805 SMD LEDs for basic keyboard backlighting.
Design goals:
- A keyboard that uses Redragon low profile switches.
- Fits in a tray-mount GH60 case.
- PCBA.
Pictures:
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-75-lpr/ch32x-75.JPG" width=600 />
_CH32X-75-LPR in a GH60 low profile aluminium case._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-75-lpr/keyboard-ch32x-75-2025.1-top.svg" width=600 />
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboards/ch32x-75-lpr/keyboard-ch32x-75-2025.1-bottom.svg" width=600 />
_2D Renders of the PCB, revision rev2025.1_
#### Firmware
Same as for the [CH32X-48](#ch32x-48-low-budget-pcba-in-bm40jj40-form-factor).
- Firmware: See [rgoulter/smart-keymap](https://github.com/rgoulter/smart-keymap)
# CAD Designs
CAD design files found under `cad/`:
## Tenting Stand
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/keyboard_100x100_minif4-36key_rev2021.1mx-pair_tented.JPG" width=600 />
`keyboard_tenting_stand.scad` describes a design which can be laser cut
and assembled to form a adjustable tenting stand. The stand can be adjusted
using an extra wedge piece.
The design accepts various parameters (e.g. width, height, angle, screw diameter).
## Layered Case
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/openscad-layered_tray_mount_case.png" width=600 />
An OpenSCAD module which helps for modelling the layers for a layered acrylic case.
## Simple 3D Parameterised Case for CNC/3DP
A set of OpenScad files for a parameterised simple keyboard case design.
I've used outputs from these for CNC milling, as well as for 3D printing.
The case has several parameters, so it should be suitable for a variety of rectangular-shaped PCB keyboards.
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/cad/keyboard_case/cnc-pykey40-pico42.JPG" width=600 />
_The CNC case, mounting a Pico42._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/cad/keyboard_case/cnc-pykey40-top.JPG" width=600 />
_The CNC case, top._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/cad/keyboard_case/cnc-pykey40-bottom.JPG" width=600 />
_The CNC case, bottom._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/cad/keyboard_case/3dp-pico42-choc-laptop.JPG" width=600 />
_The 3D Printed Pico42 case, mounting a Pico42 with Choc switches, sitting on a laptop's keyboard._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/cad/keyboard_case/3dp-pico42-empty-top.JPG" width=600 />
_The 3D Printed Pico42 case, top._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/cad/keyboard_case/3dp-pico42-choc-bottom.JPG" width=600 />
_The 3D Printed Pico42 case, bottom._
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/cad/docs/images/openscad-keyboard_case.png" width=600 />
_Preview of the case in OpenScad._
# Firmware
Source files under `firmware`.
[QMK](https://qmk.fm/) is the most practical firmware I've used for small
keyboards. I maintain firmware for my keyboards and my layouts in a [downstream
GitHub
repository](https://github.com/rgoulter/qmk_firmware/tree/rgoulter-keyboards-and-layouts)
on the branch `rgoulter-keyboards-and-layouts`. (This branch will get rebased
onto qmk's `develop` branch from time to time). My code will get synced into the `firmware/qmk` directories.
There is some code for the CircuitPy keyboard firmware
[KMK](https://github.com/KMKfw/kmk_firmware). (Although, at the time of
writing, KMK doesn't handle home row modifiers well, so IMO it's less suitable for
small keyboards as-is).
There is also keyboard firmware written in Rust using the [keyberon](https://github.com/TeXitoi/keyberon)
firmware under `firmware/keyberon`.
# Scripts
# Kicad PCB to OpenSCAD
My attempt at generating top/bottom plate CAD files *as code*.
The script generates an OpenSCAD file with the `.kicad_pcb` data
(Kicad module positions, board outline as an OpenSCAD module, etc.), which can be used by other OpenSCAD
code.
See: [scripts/README.MD](https://github.com/rgoulter/keyboard-labs/tree/master/scripts#transform-kicad_pcb-to-scad)
<img src="https://raw.githubusercontent.com/rgoulter/keyboard-labs/master/docs/images/openscad_plates-variety.png" width=600 />
_Example output of OpenSCAD code, which makes use of the Kicad PCB data to construct a variety of keyboard plates._
# Notes
- [docs/guide-liveiso-flashing-fak.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/guide-liveiso-flashing-fak.md):
guide for using the Live ISO on a bootable USB to flash Fak firmware.
- [docs/pcb-rivets.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/pcb-rivets.md):
notes on usage of PCB rivets for allowing hot-swapping switches on
PCBs with regular footprints.
- [docs/socketing-devboards.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/socketing-devboards.md):
some comparison photos of some different ways of socketing
devboards.
- [docs/rgb-leds-logic-level-shifting.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/rgb-leds-logic-level-shifting.md):
some notes on logic level shifting.
- [docs/stm32-flashing-and-bootloaders.md](https://github.com/rgoulter/keyboard-labs/blob/master/docs/stm32-flashing-and-bootloaders.md):
some notes on bootloaders for STM32.
- [cad/docs/freecad-techdraw-threads.md](https://github.com/rgoulter/keyboard-labs/blob/master/cad/docs/freecad-techdraw-threads.md):
notes on how to use FreeCad to create a technical drawing to indicate location of threads to be tapped, or where inserts are to be placed.
1920b9e9eThis file is pinned to the selected release. Download the original to open it in your design tool.