Story2 min

My first mechanical keyboard: TKL custom build with volume knob, USB hub, screens and fingerprint sensor

I'm French and wanted to build a Bépo mechanical keyboard (the French equivalent of the Dvorak layout). I looked at available builds and found ones with volume knobs or screens. This inspired me to add my own touches, like a fingerprint sensor, USB hub, and media control keys. I ended up designing and building my own keyboard, including the PCB. Here is my DIY keyboard, which I made over three months alongside my sophomore classes.

The finished Bépo TKL keyboard with its Napoleonic keycapsThe finished keyboard

I used the KAT Napoleonic keycap set and Akko Lavender Purple Pro Switches.

The build features a 3D-printed PETG base, with a 1.5mm thick steel sheet that was laser-cut and folded using a press brake at my school. The plate is a 1.5mm epoxy sheet, gasket-mounted between the PETG base and the steel sheet.

My dad helped me with the PCB design and made it for me at his work.

For the horizontal encoder, I used two mouse encoders mounted on a 3D-printed piece, with a toothed wheel nut mounted on a threaded rod that has its ends filed into a triangle shape. The screens are small 128x32px OLED monochrome I2C displays, and the fingerprint sensor is a Windows Hello USB sensor. I soldered it to the USB hub alongside the keyboard PCB, leaving one USB-A 3.2 port, one USB-A 2.0 port, one USB-C 2.0 port, a 3.5mm audio jack, and both micro and full-sized SD card slots.

The horizontal volume knob next to the Napoleonic keycapsThe horizontal volume knob and the KAT Napoleonic keycaps

Rear view of the keyboardRear view with the USB hub and the two OLED screens

The total cost was €353.43, with the keycaps alone accounting for €180.

I used an STM32 L433 microcontroller and maxed out all the available pins 😅. I also had to modify the QMK I2C and OLED drivers to support two screens on different I2C buses, but everything is working fine now (Source code).

Additionally, I developed a Java desktop app (Source code) that communicates with my keyboard via HID. It sends the current Spotify song details and/or CPU and RAM stats to the keyboard and also receives commands for Spotify, like liking a song or pausing/playing specifically in Spotify when pressing Control+Media key.

I'm still using an AZERTY keyboard on my MacBook Pro, and it's been challenging to switch between the two layouts. I still need a lot of practice to avoid confusing them. I do regret not opting for an ortholinear layout, but that wouldn't have been possible with these alpha keycaps.

This is the story of Bépoléon TKL. See its page for the latest status and every update.

Questions or thoughts? .