Richard Zink 3a56b67f47 Document M18 battery research and link it from the README
Add research/m18-battery.md: what the reverse-engineered M18 protocol
exposes (five cell voltages, temperature, health history), what it does
not (SOC, live current/power), the 5S vs 3S3P implications, a proposed
external-pack/5S-to-12V architecture, integration pitfalls and a test
plan. Link the note from the battery section and add research/ to the
repository overview.
2026-11-27 11:52:03 +01:00
2026-11-23 19:21:57 +01:00

wadalōn logo: a wanderer with a backpack and a notebook in front of a mountain sunrise

wadalōn

A notebook for wandering.
Built from scratch around the CM3588: RK3588 performance, a 75% mechanical keyboard,
a 3S3P battery and a 3D-printed case — with every schematic, CAD file and line of firmware in one repository.

SoC: RK3588 Module: CM3588 Firmware: QMK EDA: EasyEDA Pro CAD: SolidCraft Status: prototype

Overview · Hardware · Keyboard & firmware · Mechanical design · Repository · Status · The name


Overview

wadalōn is a carryable, repairable notebook computer designed as a complete system rather than a collection of parts. The CM3588 compute module provides the RK3588 SoC; a custom carrier board adds desktop-class I/O; a low-profile mechanical keyboard, a 3S3P 21700 battery and a printed case turn it into a machine you can take with you.

It is a personal hardware project, published as it develops. The schematics, PCB layouts, mechanical parts and firmware live side by side so the whole device can be understood, modified and rebuilt.

🧭 Made to wander

A 3S3P 21700 battery (nine LG M50L cells) with a BQ40Z50 fuel gauge, USB-C PD input and a printed case. A desktop-class computer that packs into a backpack.

⚡ RK3588 inside

The CM3588 module on a four-connector carrier board, with 2.5 Gigabit Ethernet, HDMI, NVMe, CFexpress, WiFi and LTE.

⌨️ A real keyboard

A compact 75% keyboard with low-profile Kailh Choc v2 switches, an RP2040 and a QMK keymap designed for this machine.

🧰 Built to be understood

EasyEDA Pro schematics and PCBs, CAD sources for the case and keyboard, STEP exports, and QMK firmware — all versioned in the same repository.

Hardware

The mainboard is a carrier for the CM3588 compute module. Four board-to-board connectors bring out the RK3588 interfaces, while the board itself adds power, audio, storage and the internal keyboard link.

🖥️ Compute & display

CM3588 (RK3588) on four connectors · 4-lane MIPI DSI · I²C touch · backlight driver · HDMI output · SD card slot

🔌 Expansion

PCIe CFexpress · M.2 M-key NVMe · M.2 A/E-key WiFi · miniPCIe LTE with SIM slot · PCIe clock distribution

🌐 Ports & I/O

2.5 Gigabit Ethernet · two USB-C ports · USB 2 hub with USB-A · TAS5806M class-D audio · fan and PWM

🔋 Power

USB-C PD input (IP2721) · battery charging · 3S3P 21700 pack (LG M50L) · BQ40Z50 fuel gauge

⌨️ Internal keyboard

RP2040-based keyboard connected over an internal USB pair and a 10-pin FPC

🧩 Onboard

RTC with backup battery · power and boot buttons · charge status LEDs · fan header

Boards in this repository

Board What it does
Mainboard CM3588 carrier: display, Ethernet, HDMI, USB, PCIe, audio, power and keyboard
Battery 3S3P 21700 battery pack (9× LG M50L) with BQ40Z50 fuel gauge
Keyboard PG1350 RP2040 keyboard for Kailh Choc v2 switches, with SK6812 Mini-E LEDs
Keyboard plate Switch plate for the PG1350 keyboard
Display flex PCB 40-pin panel flex plus 6-pin backlight flex
MIPI DSI adapter 4-lane DSI, AP3031 backlight driver and I²C touch

Battery

The pack uses nine LG M50L 21700 cells in a 3S3P configuration:

Property Value
Configuration 3 series × 3 parallel (9 cells)
Nominal voltage 11.07 V (3 × 3.69 V)
Nominal energy 163.8 Wh (9 × 18.2 Wh)
Maximum charge voltage 12.6 V (3 × 4.20 V)
Fuel gauge BQ40Z50-R1
Cell datasheet LG M50L

Using Milwaukee M18 packs as swap batteries instead of building the 3S3P pack is analysed in research/m18-battery.md: what the reverse-engineered M18 protocol exposes (five cell voltages, temperature, health history), what it does not (SOC, live current, live power), and the 5S/3S and charging implications.

The hardware sources use EasyEDA Pro's folder-based .eprj3 format, where schematics and PCBs are stored as Git-friendly JSON records instead of a single database file. See hardware/eprj3-intro.md for a description of the format.

Datasheets and app notes for every IC are collected in assets/datasheets/; the full index is in assets/README.md.


Keyboard and firmware

The keyboard is a compact 75% layout with a 0.85u function row and low-profile Choc v2 switches. An RP2040 runs QMK and exposes the keyboard to the mainboard as a standard USB device.

┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
│Esc│ ~ │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│BL+│BL-│DEL│PWR│
├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┴───┴───┤
│ 1  │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │  Backsp      │
├────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬───┬─────────┤
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │  \      │
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────────┤
│ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │  Enter     │
├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────────┤
│ Shift  │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │  Shift       │
├────┬───┴┬──┴─┬─┴──┬┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┬───┬───┤
│Ctrl│GUI │Alt │ FN │  Space                │Alt│ ← │ ↑ │ ↓ │ → │
└────┴────┴────┴────┴───────────────────────┴───┴───┴───┴───┴───┘
  • Base layer — the layout above, including display brightness and a bootloader key.
  • FN layer — mouse buttons and movement, volume and media keys, Home/PgUp/PgDn/End, and a second bootloader key.

The firmware also enables NKRO, mouse keys, extra keys and Bootmagic. A prebuilt image is included at software/qmk/wadalon_default.uf2.

Build it yourself

# Get QMK and link this keyboard into the tree
git clone https://github.com/qmk/qmk_firmware.git
ln -s "$PWD/software/qmk/keyboards/wadalon" qmk_firmware/keyboards/wadalon
cd qmk_firmware

# Compile and flash
qmk compile -kb wadalon -km default
qmk flash -kb wadalon -km default

To flash the prebuilt UF2, put the RP2040 into its UF2 bootloader (double-tap reset) and copy the file to the mounted drive.


Mechanical design

The case is being redesigned from scratch in SolidCraft, an open-source parametric CAD application. The previous case and keyboard mechanics are modelled in SolidWorks; those files and their STEP exports are archived under cad/Legacy/SolidWorks-2026/.

The WDL part-numbering convention, folder layout and legacy archive are documented in cad/README.md.

Archived SolidWorks files

Part Purpose
Main body Main shell of the previous case
Display front lid Front bezel and display mounting
Keyboard plate & supports Plate, plate support and 3U stabilizer hardware
Cooler Cooling element and fan mounting
Measurement jig Alignment jig for the 3U stabilizer
Assembly Top-level cad/Legacy/SolidWorks-2026/wadalon.SLDASM with the keyboard sub-assembly

Printable STEP files from the previous design are in cad/Legacy/SolidWorks-2026/3d_print/; native SolidWorks parts and assemblies are in cad/Legacy/SolidWorks-2026/.

The SolidCraft sources for the new case will be added under cad/ as the redesign progresses. Until then, the archived SolidWorks model remains the reference for the existing layout.


Repository

wadalon/
├── assets/
│   ├── branding/            Logo, original and web-sized
│   ├── datasheets/          Datasheets and app notes, one folder per IC
│   ├── modules/cm3588/      CM3588 documentation and mechanical drawing
│   ├── reference/           M.2 notes and legacy reference documents
│   └── fonts/               SUSE font family
├── hardware/                EasyEDA Pro project: schematics and PCB layouts
│   ├── hardware.eprj3       Project index
│   ├── sch/                 One folder per schematic
│   └── pcb/                 One file per PCB
├── cad/                     CAD part-numbered sources, references and archived SolidWorks design
├── research/                Hardware research notes (M18 battery protocol, display pinout)
└── software/
    ├── display/             Status display renderer and SDL simulator
    └── qmk/                 QMK keyboard firmware and a prebuilt UF2
Path Tool Contents
assets/ — Logo, datasheet library, CM3588 docs, M.2 reference and fonts
hardware/ EasyEDA Pro Mainboard, battery, keyboards, display flex and DSI adapter
cad/ SolidWorks / SolidCraft WDL part numbering, references and archived SolidWorks design
research/ — M18 battery protocol findings, display pinout and hardware research notes
software/display/ Python / SDL2 Landscape/portrait status display renderer and simulator (in progress)
software/qmk/ QMK RP2040 keyboard firmware and keymap

Status

This is an ongoing prototype, not a finished product. Schematics, layouts and CAD are published as they evolve; connectors, pinouts and part choices may still change.

In the repository Still ahead
CM3588 mainboard schematic and PCB Assembly and bring-up of the first complete unit
3S3P battery board with fuel gauge Power-path, charging and thermal validation
Choc v2 keyboard PCB, plate and QMK keymap Final keyboard and display integration
Display flex and MIPI DSI adapter Case finishing and daily-use testing
Archived SolidWorks case and mechanics Complete SolidCraft case redesign, fit checks and assembly

The name

wadalōn is attested in Old High German and means to wander, roam or move about. It describes repeated, habitual motion — closer to “meander” or “rove” than to a single journey.

Meaning to wander, roam, move about
Etymology Proto-Germanic wad- / wadaną, “to go, stride, wade”
Suffix -lōn, a frequentative marker for repeated or ongoing action
Related terms watan (“to go, stride, wade”) and wantalōn (“to turn or move repeatedly”)
Source Gerhard Köbler's dictionary of Old High German

The word probably described physical wandering — travelling without a fixed path — and could also describe mental or spiritual seeking. Either way, it suits a computer that is meant to be carried.


License

Original project material — code, documentation, hardware/EasyEDA sources, CAD and branding — is MIT-licensed; see LICENSE.

Third-party material keeps its own license:

  • Dinowyde and DINOBYTE fonts by mby: CC BY 4.0
  • SUSE font family: SIL OFL 1.1
  • QMK firmware, the prebuilt wadalon_default.uf2 and the QMK keymap: GPL-2.0-or-later
  • Vendor datasheets, CM3588 documentation and reference documents: © respective manufacturers, included for design reference only
  • Individual third-party files (Keebio plate JSON, CJMCU-232H product photo) as noted in the notices
  • Embedded vendor symbols/footprints in the EasyEDA project: respective vendor/library terms

See THIRD-PARTY.md and LICENSES/.


Designed and built by Richard Zink · Repository

Languages
Python 93.4%
C 5.5%
HTML 1.1%