Skip to the content
4 layers50.8 × 81.3 mmTemplate, the printed circuit board in 3D

A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

Size
50.8 × 81.3 mm
Copper layers
4
Thickness
1.2 mm
Parts
6
Nets
31
Pads
64
Tracks, vias
62, 0
Pours
57
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Jan 2026
Updated
6 May 2026

Overview

Template is an open-source printed circuit board by kawashimaken, from the kawashimaken/general-purpose-ken-interface repository on GitHub, published under the MIT licence. It is a 4-layer board of 50.8 × 81.3 mm with 6 parts on 31 nets, routed with 62 tracks and 0 vias.

It is built around the PM254-2-15-W-8.5 and XDZ254-2-15-W-2.5-G1.

Main components

2

README

README.md

KEN Interface

A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

Status: Hardware design (KiCad) is published in this repository. Software libraries (Hardware Abstraction Layer and demo applications) are under active development and will be released separately in the near future.


📺 Watch the Introduction

KEN Interface — The AI Voice Chatbot You Can Build with ESP32-S3

KEN Interface — Stop Stacking Your Dev Boards — There's a Better Way


What is KEN Interface?

At its core, KEN Interface is a standardized pin-assignment pattern shared between MCU boards and expansion boards.

If you have worked with Arduino shields, the idea will feel familiar — because the pin layout is fixed, any compatible expansion board just plugs straight in and works. KEN Interface follows the same philosophy, but with a few key differences.

Three Distinctive Features

1. Horizontal Expansion

Instead of stacking boards vertically like Arduino shields, KEN Interface uses 15×2 right-angle pin headers so boards connect side by side. The left and right connectors are completely symmetrical — it does not matter which side you plug into.

Add a junction board into the mix, and you can expand in multiple directions: left, right, up, down. Since nothing is buried under another board, every module stays visible, and you can read the pin labels right off the PCB. No more hunting for which wire goes where.

2. Multi-MCU Support

KEN Interface currently supports four MCUs:

MCUNotes
ESP32 (WROOM-32)Wi-Fi / BLE built-in
ESP32-S3 (WROOM-1)Wi-Fi / BLE / native USB / dual core
Raspberry Pi Pico (RP2040)Dual core, PIO for I2S, low cost
STM32G431 (WeAct CBU6)170 MHz, real DSP, hardware FPU

The same expansion board works with all of them. Swap the MCU board, and you are good to go — no rewiring required.

3. Software Portability

Even though each MCU uses different physical pin numbers, the functional pin groups sit at fixed positions across all KEN Interface boards. Build your code around a HAL (Hardware Abstraction Layer), and a single codebase can run on all four MCUs.

The Ken Interface software library that provides this HAL is currently being developed and will be released in a separate repository.


Pin Assignment Design

The pin layout exposes the default peripheral interfaces that most modern MCUs provide out of the box.

Functional Pin Groups

GroupPurpose
UART_AGeneral-purpose serial communication
UART_BSecondary serial / debugging (some MCUs have native USB instead)
I2CSensors, OLEDs, character LCDs, I/O expanders
SPITFT displays, fast peripherals
I2S_A / I2S_BMicrophones, digital audio (PIO emulation on Pico)
PWM_A — PWM_FDC motors, stepper motors, BLDC motors, servos
ADC_A / ADC_BAnalog inputs (sensors, joysticks)
Power rails3.3 V and 5 V

Design Principle

"If the MCU supports it, we connect it. If it does not, it is just Not Available."

Not every MCU covers every group. For example:

  • ESP32 (WROOM-32) does not expose UART_B (limited free GPIO).
  • STM32G431 shares some SPI and PWM pins due to peripheral multiplexing constraints.

These were deliberate trade-offs, figured out the hard way through multiple board revisions.

Detailed Pin Mapping

The complete pin assignment matrix across all four MCUs is documented in the KiCad schematic and accompanying spreadsheet (see kicad/).


What Is in This Repository

text
.
├── kicad/              KiCad PCB project — schematic, board, and gerbers
├── LICENSE             MIT License
└── README.md           This file

Currently this repository contains the hardware design only (KiCad project for the KEN Interface base board and expansion modules).

The accompanying software (HAL library and example applications) is under active development and will be linked here once published.


Hardware

Connector Specification

  • Side connectors: 15×2 right-angle pin headers, 2.54 mm pitch
  • Symmetric pinout: left and right sides are mirror images, so any expansion board can attach to either side
  • Power: 3.3 V and 5 V rails routed through every connector

Expansion Boards (existing designs)

Several expansion modules built on KEN Interface:

  • SPI TFT display board (ILI9341, 2.4-inch)
  • I2S microphone + audio amplifier board
  • MCP23008 I/O expander + analog joystick board
  • BLDC motor driver board (3-PWM, for SmartKnob / SimpleFOC)
  • Junction board (4-direction expansion)

Challenges and Limitations

KEN Interface is not a silver bullet. A few honest caveats:

  • Manufacturing cost. Symmetric routing tends to push designs toward 4-layer PCBs, making mistakes expensive.
  • Board footprint. Horizontal expansion uses desk space. KEN Interface is designed for prototyping and experimentation, not for final compact products. Once a design is validated, the natural next step is to consolidate everything onto a single custom PCB.
  • Software portability has limits. A few examples:
    • LovyanGFX does not support STM32G4.
    • STM32G431 often requires SoftWire instead of hardware I2C in this pin layout.
    • Dual-core parallelism is specific to ESP32 / ESP32-S3.
    • I2S microphone support on STM32G431 lacks a ready-made Arduino library.

A well-designed HAL can hide many of these differences, but it cannot eliminate them entirely. KEN Interface provides a common hardware standard and a foundation for HAL design — it does not remove the underlying differences between MCUs.

  • Not for every use case. Highly specialized projects (large multi-display setups, tightly integrated mechanical builds) may still need fully custom PCBs.

Roadmap

Planned additions include:

  • LoRa expansion board
  • CAN bus expansion board
  • Ethernet expansion board
  • Additional sensor modules
  • Support for more MCUs
  • Dedicated power supply board
  • Software HAL library and reference applications (separate repository, coming soon)

Build Your Own

The KiCad project template is published in this repository. If you would like to build your own KEN Interface-compatible board, the schematic symbols, footprints, and design rules are all in kicad/.

Pull requests, design suggestions, and new expansion-board ideas are very welcome.


License

The hardware design files in this repository are released under the MIT License (see LICENSE).

Future software components will be released under their own licenses — typically MIT or LGPL — and will be linked from this README once published.


Author

Designed and maintained by Kawashima Ken (@kawashimaken).

If you build something with KEN Interface, please consider sharing it — issues, pull requests, and ideas are all welcome.


Acknowledgments

  • KEN Interface stands on the shoulders of the wider open-source hardware community: KiCad, Arduino, ESP-IDF, Earle Philhower's Arduino-Pico core, Arduino_Core_STM32, and many display / sensor library authors whose work makes prototyping like this possible.

Parts

6
QtyValueFootprintReferences
4MountHoleMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4
1PM254-2-15-W-8.5PM254-2-15-W-8.5:HDR-TH_30P-P2.54-H-F-R2-C15-W8.5U5
1XDZ254-2-15-W-2.5-G1XDZ254-2-15-W-2.5-G1:HDR-TH_30P-P2.54-H-M-R2-C15-S2.54-NU3

More from kawashimaken/general-purpose-ken-interface

5
  • 4 layers50.8 × 81.3 mmEsp32-s3-with ken interface, the printed circuit board in 3D

    Esp32-s3-with ken interface

    kawashimaken/general-purpose-ken-interface

    A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

    41 parts3MIT
  • 4 layers81.3 × 81.3 mmPico with ken interface, the printed circuit board in 3D

    Pico with ken interface

    kawashimaken/general-purpose-ken-interface

    A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

    36 parts3MIT
  • 4 layers50.8 × 81.3 mmDisplay with ken interface-2, the printed circuit board in 3D

    Display with ken interface-2

    kawashimaken/general-purpose-ken-interface

    A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

    27 parts3MIT
  • 4 layers50.8 × 81.3 mmXiaozhi with ken interface, the printed circuit board in 3D

    Xiaozhi with ken interface

    kawashimaken/general-purpose-ken-interface

    A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

    14 parts3MIT
  • 4 layers50.8 × 81.3 mmDisplay with ken interface, the printed circuit board in 3D

    Display with ken interface

    kawashimaken/general-purpose-ken-interface

    A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

    10 parts3MIT

Similar boards

  • 4 layers37.1 × 61.5 mmMCLZ8 PCB, the printed circuit board in 3D

    MCLZ8 PCB

    MicroCoreLabs/Projects

    Ted Fried's MicroCore Labs Projects - FPGA CPU cores and emulators for the 8088, 8086, 8051, 6502, 68000, Z80, Risc-V, and also Typewriter and EPROM Emulator projects.

    6 parts534
  • 4 layers15.6 × 51.4 mmHyperram 3p3v, the printed circuit board in 3D

    Hyperram 3p3v

    loxodes/vna

    Under development open hardware microwave vector network analyzer

    6 parts205
  • 4 layers37 × 27 mmProbecard pinheader, the printed circuit board in 3D

    Probecard pinheader

    azonenberg/starshipraider

    Open hardware test equipment

    6 parts193BSD-3-Clause
  • 4 layers312 × 111.2 mmPCIexpress x1 full, the printed circuit board in 3D

    PCIexpress x1 full

    lucanastasio/PCIexpress-KiCad

    PCI express libraries and templates for KiCad

    6 parts170
  • 4 layersEsp32s3 Wroom 1, the printed circuit board in 3D

    Esp32s3 Wroom 1

    BerkeleyHCI/PolymorphicBlocks

    A Python-based hardware description language for PCBs for higher-level (block-diagram / system-architecture level) PCB design through libraries of directly reusable subcircuit generators.

    6 parts94BSD-3-Clause
  • 4 layers29.4 × 22.1 mmAssembly power, the printed circuit board in 3D

    Assembly power

    buganini/Kikakuka

    Kikakuka — KiCad Workspace, Panelization, Build Variants, Differ & FreeCAD PCB Bending and Assembly

    6 parts81MIT
  • 4 layers30.2 × 40.6 mmMicrostrip width nightly, the printed circuit board in 3D

    Microstrip width nightly

    matthuszagh/fmcw

    6GHz frequency-modulated continuous-wave radar with real-time range detection

    6 parts66Apache-2.0
  • 4 layers149.9 × 99.1 mmArchimedes bus scope, the printed circuit board in 3D

    Archimedes bus scope

    google/myelin-acorn-electron-hardware

    Phillip Pearson's retro hardware projects for the Acorn Electron

    6 parts59Apache-2.0

Questions

How big is the Template PCB?

It measures 50.8 × 81.3 mm and has 4 copper layers, 1.2 mm thick.

What parts does the Template use?

6 parts, built around the PM254-2-15-W-8.5 and XDZ254-2-15-W-2.5-G1. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Template KiCad files?

From the kawashimaken/general-purpose-ken-interface repository on GitHub, at the commit this page was made from: the board is kicad/template/template.kicad_pcb and its schematic kicad/display-with-ken-interface-2/display-with-ken-interface-2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Template design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).