Keyboard Builders' Digest
5% off of Invokeys' tasty switches!
Keyboard Builders' Digest / Tips & Tricks

Keyboard as Python code

A keyboard designed entirely in Python – by hsgwchan.

KBD.news
Published January 2, 2023
Creators! Feel free to tip me off about your keyboard related projects to bring them to 100K readers.

There are a lot of DIY keyboards running Python code (CircuitPython, KMK), but this one by Takuya Urakawa aka hsgwchan is different: the whole design process was done in Python.

I designed the entire keyboard, including the PCB, case, and firmware, using only Python. No need to use Kicad and Fusion360 – hsgw.

Featured in the Japanese MK Calendar, the author used various Python libraries during the project to replace steps of the usual workflow: skidl was used to describe the relation of electronic components, pcbflow to design the PCB, and CadQuery to build the parametric 3D model of the case.

And of course CircuitPython/KMK was used as firmware.

Pic:

Resources

Do you like this post? Share, donate, subscribe, tip me off!

Published on Mon 2nd Jan 2023. Featured in KBD #109 (source).


Related

Square or round-robin matrix

Let me introduce the square or round-robin matrix (aka Charlieplexing for keyboards) – a very tricky one promising 380 keys with a single Pro Micro.

Rit dyeing a case

Making a case look less like plastic and more like glass - video by avgsgn.

Collapsible Lego Technic lube station

Collapsible Lego Technic lube station by totetomi.

Story of the Neito keyboard

FiresStream writes about the experience of hosting a GB and creating a custom keyboard from scratch.

Cable coiling recipe

A cable coiling recipe by Heespharm.

Slide mount wooden case

With minimal experience, eBay scrapwood, popsicle sticks and a hand saw bruh-iunno made his own wooden case.

×
top