The project brings together a custom PCB, module firmware, switches, keycaps, an enclosure and host software. It follows Tobias's earlier freexen keyboard and experiments using Wooting and Exquis controllers. The overview below brings together the public project's documentation; follow the linked source files for the precise revision, procedures and subsequent corrections.
What you are building
| Part of the instrument | Design |
|---|---|
| Layout | Five 56-key hexagonal modules; 280 keys in the complete design |
| Switches | Wooting Lekker Tikken Hall-effect switches |
| Module processor | AT32F405RCT7, one per module |
| Sensing | A Hall sensor per key, read through analog multiplexers |
| Lighting | Per-key reverse-mount RGB LEDs with an IS31FL3733 matrix driver |
| Connection | USB-C on each module; modules connect through a powered hub |
| Host | xentool, including an OpenXen backend, with SuperCollider instruments and other tools |
| Design files | KiCad hardware, generated layout data, firmware build scripts and host tooling |
This is a developing DIY instrument. The project plan records the first board's bring-up and distinguishes that result from complete assembly and validation. A design file, compiler check or simulated test does not establish that every assembled unit works.
How the system fits together
Each module keeps its sensors and analog wiring on its own PCB. Its microcontroller scans the 56 keys and sends timestamped measurements over USB HID. xentool combines the modules, applies the layout and interprets key movement. Sound is produced by host instruments; the keyboard also receives lighting commands.
The host/firmware split matters when choosing software. The project's documented interface is a custom HID stream. Native USB-MIDI/MPE output is discussed in the project plan as a separate development idea; do not assume an arbitrary MIDI application can directly use the module.
The layout specification is the source for the key geometry, mounting holes, switch/sensor unit cells and key ordering. The layout guide explains which generators produce the KiCad placement and firmware board definition.
Before you order or assemble anything
Read the project plan, hardware notes and provenance together. Check the exact PCB revision and fabrication outputs you intend to use. The repository includes evolving engineering decisions; earlier notes can describe superseded parts or construction choices.
The documented workflow uses KiCad, Python and PlatformIO. Mechanical work includes fitting switches and keycaps, aligning plates and PCB mounting points, and providing USB access in the case. Flashing and recovery require access to the module's BOOT and RESET buttons or its debug connector.
Tobias reuses mechanical work from freexen. The case notes and project plan describe that relationship; a new builder should establish their own enclosure dimensions and clearances rather than assume the original case is included.
Parts and procurement
The table is a component-selection index from hardware/parts.json. It is not a quantity-complete shopping cart: use the fabrication bill of materials and placement files for the exact board revision. Supplier codes identify the recorded parts; stock and substitutions need checking before ordering.
| Component role | Recorded part | LCSC code |
|---|---|---|
| mcu | AT32F405RCT7 | C47090415 |
| sensor | GH39FKSW | C266230 |
| mux | SN74LV4051APWR | C7793 |
| ldo 3v3 | XC6206P332MR-G | C5446 |
| ldo 3v3a | TLV75733PDBVR | C485517 |
| esd | USBLC6-2SC6 | C7519 |
| usb c | TYPE-C-31-M-12 | C165948 |
| crystal | X322512MSB4SI | C9002 |
| button | TS-1187A-B-A-B | C318884 |
| polyfuse | 1206L200/16NR | C22374899 |
| jst (not fitted) | SM04B-SRSS-TB(LF)(SN) | C160404 |
| led driver | IS31FL3733-QFLS4-TR | C506251 |
| led rgb | MHT151RGBCT | C409782 |
| c 100n | CL05B104KO5NNNC | C1525 |
| c 4n7 | 0402B472K500NT | C1538 |
| c 1u | CL10A105KB8NNNC | C15849 |
| c 2u2 | CL10A225KO8NNNC | C23630 |
| c 10u | CL10A106KP8NNNC | C19702 |
| c 470n | CL10B474KA8NNNC | C1623 |
| c 22u | CL21A226MAQNNNE | C45783 |
| c 30p | 0603CG300J500NT | C1658 |
| r 2k | 0402WGF2001TCE | C4109 |
| r 5k1 | 0402WGF5101TCE | C25905 |
| r 10k | 0402WGF1002TCE | C25744 |
| r 12k | 0402WGF1202TCE | C25752 |
| r 20k | 0402WGF2002TCE | C25765 |
| r 100k | 0402WGF1003TCE | C25741 |
| r iset | 0402WGF2002TCE | C25765 |
| r 51 | 0402WGF510JTCE | C25125 |
| r 20 | 0402WGF220JTCE | C25092 |
The build also needs the chosen switches, keycaps, module plates, mounting hardware, enclosure, USB cables and a powered hub appropriate to the finished instrument. The project plan explains why the LED design changed and why the digital and analog supplies are separated. Keep the documented current limits when selecting power and lighting settings.
For fabrication, inspect the KiCad project, fabrication tooling and generated bill of materials. Use the matching schematic, board, firmware configuration and mechanics as one revision; do not mix files from unrelated commits.
Assembly and first-board bring-up
Start with one module. Use the project's mechanical layout and board files to check switch orientation, Hall sensor position, LED mounting and plate clearances. The plan records existing 1.5 mm metal plates and the selected standoff arrangement; confirm those details against your own parts before assembly.
Keep the first module accessible for inspection and debugging. The author's bring-up sequence checks supply rails, USB enumeration, sensor movement, lighting and bootloader entry before full case integration. Repeat the relevant checks on each module before combining them.
Use the flashing guide for the exact DFU sequence and firmware path. It covers BOOT/RESET access, the Windows driver step, command-line tools and recovery over SWD. Follow that procedure for the board and firmware you actually have; a Maru directory entry does not install or qualify the firmware.
Firmware, key data and lighting
The firmware directory contains the build scripts and OpenXen changes around the libhmk base. Read the current project plan and build script alongside its README: short introductory files can lag later implementation work.
The analog-stream specification defines a versioned 144-byte report with sequence number, device timestamp, 56 sensor values and rotating calibration data. It explains how the host normalizes travel and derives movement speed using device time rather than USB arrival time.
The LED protocol defines colour frames, configuration and keepalive messages. Firmware controls brightness, highlighting, gamma correction and power budgeting. Its documented startup and timeout behavior turns LEDs off when a host session is absent. These are protocol descriptions from the project, not evidence of a Maru controller-profile implementation.
Host software and playing
xentool on Maru is the companion controller app; its source repository contains the host software. OpenXen's host overview links the stream decoder, lighting encoder, diagnostic tools, layout conversion, instruments and tutor.
The project contains SuperCollider instruments including piano-related integration, tanpura, mridangam and tabla tooling. Some sample kits and generated libraries are deliberately absent from the public repository. Their mention in a setup guide does not make those assets downloadable here.
The dynamics notes explain why the author uses key movement speed for attack velocity and keeps held-key depth separate. They also describe the piano settings and the author's measurements behind them. Those observations concern the documented setup, not every possible switch, calibration or synthesizer.
Running on Raspberry Pi
The Raspberry Pi guide describes a Pi 5/Patchbox OS setup with xentool, SuperCollider, JACK and user services. It covers module permissions, installation, layouts, startup checks, updates and diagnosing silence.
Read its prerequisites first. Parts of the documented setup use locally generated libraries or sample material that are not published in Git. The keyboard/host connection and those optional musical resources are separate requirements.
Assisted practice, scores and microtonal notation
OpenXen includes a tutor MCP server for assisted playing. The tutor guide covers the observations available to a connected client, practice tools, fingering, harmony, rhythm, musical libraries and score output. Its capabilities depend on the corresponding host services and available musical material.
Two companion guides explain microtonal notation and MusicXML and transcribing scores into the tutor's library. They distinguish symbolic notation files, optical recognition and manual transcription, including proofreading and differing sources. They are useful reading even when you are concentrating on the instrument rather than the tutor.
Testing, calibration and recovery
Use the testing guide for the software/build checks and their scope. The reference build log records the upstream firmware baseline.
On physical hardware, establish reliable USB communication, confirm that all keys respond, inspect rest/bottom calibration, check sensor noise and lost reports, then test lighting and sustained playing. The project plan identifies remaining validation and integration work. Its bring-up log is author-reported evidence for that board, not a universal compatibility badge.
Keep a recovery route before closing the case. The flashing guide explains how to re-enter the bootloader and identifies the SWD connection when ordinary USB access is unavailable.
Sources, revisions and licences
This guide brings together the project documentation. Follow the linked project documents for detailed procedures and updates.
The provenance file records the HE60 and libhmk bases and their GPL-3.0 licensing, plus other references with their own terms. Licence scope differs between components: check it before redistributing hardware files, firmware, keycap designs, photos or musical material. The source README is the project's starting point.
Complete public documentation index
- HE60developmenthandoff.md
- PROJECT_PLAN.md
- README.md
- case/README.md
- docs/dynamics.md
- docs/flashing.md
- docs/led-protocol.md
- docs/microtonal-notation.md
- docs/pi.md
- docs/provenance.md
- docs/reference-build.md
- docs/score-transcription.md
- docs/stream-protocol.md
- docs/testing.md
- docs/tutor.md
- firmware/README.md
- hardware/README.md
- host/README.md
- layout/README.md
Browse the entire source tree for machine-readable layouts, schematics, fabrication scripts, firmware, host tools and tests. Development handoffs and agent instructions in that tree are project documents, not instructions for visitors or Maru.