DEV Community

Cover image for Tiwaz: An STM32 Split Keyboard That Is Also Two Macro Pads
circuitrocks
circuitrocks

Posted on Originally published at blog.circuit.rocks

Tiwaz: An STM32 Split Keyboard That Is Also Two Macro Pads

Picture the last hour of a robotics build night: your left hand pinned to WASD, your right hand stretched across the desk to a mouse, shoulders rolled forward, both wrists crammed into the same 30 cm of table the laptop already owns. Maker Timo Strube's answer was to cut the keyboard in half and let each side sit wherever your arm actually wants to be.

Two keyboards that agree to become one

Tiwaz is an ortholinear split keyboard where each half mirrors the other. Join them with a cable and you get one compact split board, each side free to sit at its own angle and distance. Leave them apart and each half still works on its own as a programmable macro pad or gaming keypad, with a small joystick tucked into the corner that switches between analog and digital modes and can also drive the mouse cursor. Strube designed the whole thing around repairability: hardware files under GPL-3, firmware under GPL-2, both already posted for anyone to fork.

How it is wired

Earlier prototypes ran on a Raspberry Pi RP2040. The shipping design moves to an STMicroelectronics STM32F401, a Cortex-M4F part that clocks to 84 MHz and carries a 12-bit ADC on die, which is what keeps the analog joystick reads steady instead of jittery at the edges of travel. Firmware is QMK with VIA/VIAL support, so every keycode and every per-key RGB LED can be remapped from a GUI without recompiling and reflashing. The two halves talk over a 3.5 mm TRS jack, the host link is USB Type-C, and the switches drop into hot-swap sockets on a gasket-mounted plate with internal damping so the case does not ring on every keypress.

What you can steal from the design

The clever part is not the split layout, which QMK builds have done for years. It is the choice to make each half a finished device rather than a dumb slave half that only reports switch states back to a master. That pattern travels well: a capstone team building a two-handed controller for a rehab device, or a robotics club that wants a detachable arm-control pad, gets a spare working unit instead of half a brick when one side fails. Strube is funding an initial production run through Crowd Supply, but the design files are the real payload here.

Read the full write-up on Hackster, then open QMK's pointing device docs if you want to try the joystick-as-mouse trick on a keypad you already own.


Originally published on blog.circuit.rocks.

maker #electronics #diy #engineering #circuitrocks

Top comments (0)