
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.

A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.
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.
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.
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.
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.
KEN Interface currently supports four MCUs:
| MCU | Notes |
|---|---|
| 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.
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.
The pin layout exposes the default peripheral interfaces that most modern MCUs provide out of the box.
| Group | Purpose |
|---|---|
| UART_A | General-purpose serial communication |
| UART_B | Secondary serial / debugging (some MCUs have native USB instead) |
| I2C | Sensors, OLEDs, character LCDs, I/O expanders |
| SPI | TFT displays, fast peripherals |
| I2S_A / I2S_B | Microphones, digital audio (PIO emulation on Pico) |
| PWM_A — PWM_F | DC motors, stepper motors, BLDC motors, servos |
| ADC_A / ADC_B | Analog inputs (sensors, joysticks) |
| Power rails | 3.3 V and 5 V |
"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:
These were deliberate trade-offs, figured out the hard way through multiple board revisions.
The complete pin assignment matrix across all four MCUs is documented in the KiCad schematic and accompanying spreadsheet (see kicad/).
.
├── kicad/ KiCad PCB project — schematic, board, and gerbers
├── LICENSE MIT License
└── README.md This fileCurrently 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.
Several expansion modules built on KEN Interface:
KEN Interface is not a silver bullet. A few honest caveats:
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.
Planned additions include:
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.
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.
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.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountHole | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad | H1, H2, H3, H4 |
| 1 | PM254-2-15-W-8.5 | PM254-2-15-W-8.5:HDR-TH_30P-P2.54-H-F-R2-C15-W8.5 | U5 |
| 1 | XDZ254-2-15-W-2.5-G1 | XDZ254-2-15-W-2.5-G1:HDR-TH_30P-P2.54-H-M-R2-C15-S2.54-N | U3 |

kawashimaken/general-purpose-ken-interface
A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

kawashimaken/general-purpose-ken-interface
A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

kawashimaken/general-purpose-ken-interface
A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

kawashimaken/general-purpose-ken-interface
A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

kawashimaken/general-purpose-ken-interface
A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

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.



lucanastasio/PCIexpress-KiCad
PCI express libraries and templates for KiCad

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.

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

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

google/myelin-acorn-electron-hardware
Phillip Pearson's retro hardware projects for the Acorn Electron
It measures 50.8 × 81.3 mm and has 4 copper layers, 1.2 mm thick.
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.
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.
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).