Skip to the content
4 layers50 × 40 mmLayouts, the printed circuit board in 3D

PCB designs (KiCad) for smart-retro-hid adapter boards

Size
50 × 40 mm
Copper layers
4
Thickness
1.6 mm
Parts
34
Nets
61
Pads
189
Tracks, vias
264, 46
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
1 May 2026
Updated
28 Oct 2026

Overview

Layouts is an open-source printed circuit board by kunichiko, from the kunichiko/MimicX-hardware repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 4-layer board of 50 × 40 mm with 34 parts on 61 nets, routed with 264 tracks and 46 vias.

Its parts include 10 resistors, 7 capacitors, 4 ICs, 4 diodes and 3 connectors. It belongs with the retro computing and games boards of this library.

README

README.md

MimicX-hardware

製品名: Mimic X — 「Mimic X」プロジェクトのマイコン基板設計データ。

Mimic X is an open-hardware USB-MIDI adapter family that lets a phone (or any USB-MIDI / BLE-MIDI host) drive the real peripheral ports of 1980s Japanese computers — the Sharp X68000 keyboard/mouse port and the ATARI-standard 9-pin joystick port, including Mega Drive 6-button pads. This repository holds the board designs; the firmware, the protocol spec and the phone app live in the sibling repositories linked at the bottom.

  • Licence: CERN-OHL-S-2.0 (see LICENSE) — the .ato sources, the KiCad layouts and the docs are all modifiable sources. tools/ is Apache-2.0. Vendor-supplied symbols, footprints and 3D models under <board>/parts/ are third-party and are not covered; see NOTICE for the exact carve-out, the trademark terms and the datasheet policy.
  • MCU: WCH CH32X035G8U6 (QFN-28, RISC-V, 48 MHz, native USB 2.0 FS).
  • USB VID:PID: 0x1209:0x9210 (Mimic X) and 0x1209:0x9211 (Mimic X Bridge), requested from pid.codes.
  • Designed in atopile — see Design sources for why there is no .kicad_sch and where to read the circuit instead.

基板バリエーション / Boards

atari-joystick/ — ATARI / X68000 ジョイスティックアダプタ

D-SUB 9pin メス。X68000 / ATARI 標準ポートに直挿しし、メガドライブ 6 ボタン パッドもエミュレートする。rev 1.0.0、JLCPCB で製造済み。

assembled atari-joystick board, with and without its 3D-printed shell atari-joystick layout, component side

実装済みの基板と 3D プリントのケース (左) / KiCad レイアウトの 3D レンダ (右)。裏面と拡大は 基板 README を参照

ブロック図 / block diagramPDF · SVG
PCB レイヤープロット / layer plotsPDF (silk / Cu / fab, 6 pages)
対話的に眺める / browse the layoutKiCanvas
回路の定義 / circuit sourceatari_joystick.ato
製造データ / fabricationlayouts/default/production/ (Gerber + BOM + CPL)
設計メモ / design notesREADME.md

x68000-keyboard/ — X68000 キーボード / マウスアダプタ

ミニ DIN 7pin オス。X68000 のキーボード端子はマウス端子を兼用しており、本基板も 1 コネクタで両方をエミュレートする。4 層。rev 1.0.0、JLCPCB で製造済み。rev 1.0.1 (外形のセンターずれ修正) は未発注。

assembled x68000-keyboard board, with and without its 3D-printed shell x68000-keyboard layout, component side

実装済みの基板と 3D プリントのケース (左) / KiCad レイアウトの 3D レンダ (右)。裏面と拡大は 基板 README を参照

ブロック図 / block diagramPDF · SVG
PCB レイヤープロット / layer plotsPDF (silk / Cu ×4 / fab, 8 pages)
対話的に眺める / browse the layoutKiCanvas
回路の定義 / circuit sourcex68000_keyboard.ato
製造データ / fabricationlayouts/default/production/ (Gerber + BOM + CPL)
設計メモ / design notesREADME.md

wireless-combo/ — 無線 (BLE-MIDI) Combined アダプタ

XIAO ESP32-C6 (BLE-MIDI ホスト) + CH32X035 (デバイスエンジン) の 2 チップ構成で、 ジョイスティックとキーボードの両ポートを 1 枚で担当する。ESP32 が CH32 の電源と BOOT ピンを握っているため、CH32 のファームが壊れても SWD 経由で自力復旧できる。

rev 0.1 — 配線済み (4 層、DRC クリーン)、未発注。 3D レンダと レイヤープロットはまだ置いていない。回路の全体像はブロック図と .ato を参照。

ブロック図 / block diagramPDF · SVG
回路の定義 / circuit sourcewireless_combo.ato
設計メモ / design notesREADME.md

Design sources / 回路図ファイルが無い理由

この 3 基板はいずれも atopile で設計している。atopile は 回路を「図」ではなく「コード」で書く EDA で、.ato から直接ネットリストと KiCad レイアウトを生成する。したがって プロットできる回路図シート (.kicad_sch) は そもそも存在しない。回路を読むには次のいずれかを使う:

These boards are designed in atopile, a text-based EDA: the circuit is written as code and the netlist and KiCad layout are generated from it. There is no schematic sheet to plot, so a reviewer has three ways in instead:

  1. ブロック図 PDF (<board>/docs/*-block-diagram.pdf) — 全ブロック、全信号、 電源ドメイン、ピン割当表を 1 枚に収めた図。tools/gen_block_diagrams.py で 生成しており、内容は .ato の記述と 1:1 で対応する。 The closest thing to a schematic: every block, every net that leaves a block, the power domains and the full pin map on one A4 sheet.
  2. .ato ソース — 部品・接続・値・設計理由がコメント付きで書かれている 一次情報。~ が接続、~> が直列挿入を表す。 The primary source, with the reasoning in the comments.
  3. KiCad レイアウト (<board>/layouts/default/default.kicad_pcb) — 上の表の KiCanvas リンクからブラウザで開ける。ネット名は .ato 側で has_net_name により意味のある名前 (UP_3V3, KEY_TXD_3V3 など) に固定済み。 Browsable in KiCanvas; the nets carry meaningful names, not Net-(U1-Pad3).

ブロック図とレイヤープロットの再生成:

sh
# ブロック図 (SVG + PDF)。PDF は headless Chrome で出力する
python3 tools/gen_block_diagrams.py

# PCB レイヤープロット
KC=/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli
$KC pcb export pdf --mode-multipage \
   --layers F.Silkscreen,F.Cu,B.Cu,B.Silkscreen,F.Fab,Cmts.User \
   --common-layers Edge.Cuts \
   -o atari-joystick/docs/out atari-joystick/layouts/default/default.kicad_pcb

共通設計事項

  • MCU: CH32X035G8U6 (QFN-28、48MHz、USB Full-Speed 内蔵)。5V トレラント ではない (絶対最大定格 VIN ≤ VDD+0.3V) ため、ターゲット機の 5V 信号とは 必ずレベルシフタ (TC7MPB9307FT, パッシブ FET バススイッチ) を介して接続する
  • USB: Type-C Receptacle、CC1/CC2 にそれぞれ 5.1kΩ プルダウン (Rd = sink/UFP)。 CC は MCU の PC14/PC15 にも引いて内蔵 USB-PD コントローラで直接サンプリングする
  • 電源: USB バスパワー (VBUS 5V) を LDO (LP5907MFX-3.3) で 3.3V に降圧して MCU に 供給する。CH32X035 の USB トランシーバ出力は VDD 直結なので、規格準拠ホストと 正しく enumerate させるため VDD は必ず 3.3V にする。ターゲット機からの 5V は レベルシフタの B 側電源としてのみ使い、VBUS とは基板内で分離して逆流を防ぐ
  • デカップリング: VDD ピンに 4.7µF + 0.1µF を近接配置
  • 表示: 電源 LED (緑 0603、常時点灯) + フルカラー LED (WS2812B-2020、 DI 直前に 470Ω 直列ダンピング抵抗)。atari-joystick 以外の基板は 3.3V 給電が 定格内の同外形品 WS2812B-2020-V6 (C52917434) に置き換え済み
  • 書き込み: BOOT ボタンで PC17 (USB D+) を 4.7kΩ 経由で HIGH に引き上げた状態で リセットすると、WCH の USB DFU ブートローダに入る

関連リポジトリ / Related repositories

Parts

34
QtyValueFootprintReferences
5100nF ±10%Samsung_Electro_Mechanics_CL05B104KO5NNNC:C0402C3, C4, C5, C6, C7
4MountingHole_M3:MountingHole_M3H1, H2, H3, H4
44.7kΩ ±1%UNI_ROYAL_0402WGF4701TCE:R0402R2, R4, R9, R10
2TOSHIBA_TC7MPB9307FT_EL:TSSOP-20_L6.5-W4.4-P0.65-LS6.5-BLU2, U3
2B5819W_SOD123:B5819W_SOD123D1, D2
2100kΩ ±1%UNI_ROYAL_0402WGF1003TCE:R0402R3, R5
210kΩ ±1%UNI_ROYAL_0402WGF1002TCE:R0402R1, R6
1IDC_Header_2x04:IDC_Header_2x04J2
1WCH_CH32X035G8U6:QFN-28_L4.0-W4.0-P0.40-BL-EP2.8U4
1JST_XH_B3B:JST_XH_B3BJ3
1AO3401A_SOT23:AO3401A_SOT23Q1
1Worldsemi_WS2812B_2020_V6:LED-SMD_4P-L2.2-W2.0-P1.00_WS2815C-2020-4PLED2
1Hubei_KENTO_Elec_KT_0603G:LED0603-RDLED1
1XUNPU_TS_1088_AR02016:SW-SMD_L3.9-W3.0-P4.45SW1
1IDC_Header_2x05:IDC_Header_2x05J1
1XIAO_ESP32C6:XIAO_ESP32C6U1
11kΩ ±1%UNI_ROYAL_0402WGF1001TCE:R0402R7
122µF ±20%Samsung_Electro_Mechanics_CL21A226MAQNNNE:C0805C1
14.7µF ±10%Samsung_Electro_Mechanics_CL10A475KO8NNNC:C0603C2
1470Ω ±1%UNI_ROYAL_0402WGF4700TCE:R0402R8

More from kunichiko/MimicX-hardware

5
  • 4 layers30 × 16 mmLayouts, the printed circuit board in 3D

    Layouts

    kunichiko/MimicX-hardware

    PCB designs (KiCad) for smart-retro-hid adapter boards

    19 partsCERN-OHL-S-2.0
  • 2 layers35.2 × 31.2 mmLayouts, the printed circuit board in 3D

    Layouts

    kunichiko/MimicX-hardware

    PCB designs (KiCad) for smart-retro-hid adapter boards

    19 partsCERN-OHL-S-2.0
  • 4 layers29.6 × 12.2 mmLayouts, the printed circuit board in 3D

    Layouts

    kunichiko/MimicX-hardware

    PCB designs (KiCad) for smart-retro-hid adapter boards

    19 partsCERN-OHL-S-2.0
  • 2 layers35 × 16 mmAtari joystick bo, the printed circuit board in 3D

    Atari joystick bo

    kunichiko/MimicX-hardware

    PCB designs (KiCad) for smart-retro-hid adapter boards

    2 partsCERN-OHL-S-2.0
  • 2 layers36 × 12.2 mmX68000-keyboard bo, the printed circuit board in 3D

    X68000-keyboard bo

    kunichiko/MimicX-hardware

    PCB designs (KiCad) for smart-retro-hid adapter boards

    2 partsCERN-OHL-S-2.0

Similar boards

  • 4 layers56.5 × 96.5 mmCnc controller, the printed circuit board in 3D

    Cnc controller

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    34 parts397Apache-2.0
  • 4 layersMc33926 breakout, the printed circuit board in 3D

    Mc33926 breakout

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    34 parts282
  • 4 layers39 × 32 mmAmplifier, the printed circuit board in 3D

    Amplifier

    azonenberg/starshipraider

    Open hardware test equipment

    34 parts193BSD-3-Clause
  • 4 layers12.7 × 11.6 mmModule, the printed circuit board in 3D

    Module

    Szybet/Yatchy

    A modular, hackable, improved watchy like watch

    34 parts184
  • 4 layers167.7 × 68.9 mmPCIexpress x8 low, the printed circuit board in 3D

    PCIexpress x8 low

    lucanastasio/PCIexpress-KiCad

    PCI express libraries and templates for KiCad

    34 parts170
  • 4 layers89 × 93 mmTest squid, the printed circuit board in 3D

    Test squid

    clydeshaffer/gametank

    design files for the gametank hardware implementation

    34 parts150
  • 4 layers42 × 49.6 mmProcyon 42x50, the printed circuit board in 3D

    Procyon 42x50

    george-norton/procyon

    A small I2C trackpad

    34 parts100CERN-OHL-S-2.0
  • 4 layers55 × 66 mmBela Gem Multi, the printed circuit board in 3D

    Bela Gem Multi

    BelaPlatform/bela-hardware

    Bela cape and capelets

    34 parts42

Questions

How big is the Layouts PCB?

It measures 50 × 40 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Layouts use?

34 parts. 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 Layouts KiCad files?

From the kunichiko/MimicX-hardware repository on GitHub, at the commit this page was made from: the board is wireless-combo/layouts/default/default.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Layouts design in my own project?

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