List of posts filed under:

Build Your Keyboard

Building a keyboard firmware

Building a keyboard firmware

We’ve built our keyboard from scratch, now it’s time to put a brain into it.

A keyboard functionality may seem trivial but the firmware job is all but simple. Dealing with the USB HID interface is tedious, that’s why it’s good to start with a controller that has integrated keyboard/mouse/keypads support like the Teensy and some ready to use libraries.

There are various firmware we can choose from but for the sake of this tutorial I’m going to use QMK. It was born as a fork of Hasu’s TMK and developed into its own thing. Unfortunately at the time of this writing TMK doesn’t compile properly with Chibios (aka modern controllers like the Teensy 3.x) so we are going to work with its equally capable cousin.

Continue reading…
Hand-wiring a custom keyboard

Hand-wiring a custom keyboard

It’s finally time to get our hands dirty.

For the sake of this tutorial I designed and 3D printed a small case that will serve as the base structure for my handwired keyboard. It doesn’t matter what case you use anyway, the procedure is the same from a 40% to a full sized keyboard; you are only limited by the number of inputs on your main controller but up until a tenkeyless you should be good with pretty much anything (teensy, arduino, promicro, …).

If you prefer visual gratification, at the bottom you’ll find a video tutorial but this article will also cover some theory about the matrix so I guess it’s worth a read.

Continue reading…
How to build a custom keyboard: an introduction

How to build a custom keyboard: an introduction

I wrote multiple posts on my blog and on various community forums about mechanical keyboard making but the information is scattered, often outdated and unstructured.

Initially I wanted to release a full book, but it would take ages and I believe it would be somewhat limited. Being able to feature a video or download the source code of a firmware is crucial so I came up with a system that would let me publish my articles in a more organic way.

All chapters of the manual will be published on my blog at matt3o.com as soon as I write them. A post could cover some theory or be more practical and tutorial-like. Everything will be structured and easily accessible from the Table of Content at the top of each post so you can quickly navigate through the content.

Whenever possible I’ll add videos, source code, DWG and STL files in what I hope will become a valuable and ever growing source of information for custom keyboard makers. Even better, everything is free and released under a very permissive Creative Commons license.

Continue reading…