Skip to the content
2 layers90 × 50 mmZephpad, the printed circuit board in 3D

Zephyrで実装するマクロパッド

Size
90 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
16
Pads
68
Tracks, vias
62, 52
Pours
36
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Sep 2026
Updated
3 Nov 2026

Overview

Zephpad is an open-source printed circuit board by suzan-works, from the suzan-works/zephpad repository on GitHub, published under the MIT licence. It is a 2-layer board of 90 × 50 mm with 15 parts on 16 nets, routed with 62 tracks and 52 vias.

Its parts include 4 switches, 1 resistor, 1 IC, 1 diode and 1 connector. It belongs with the nRF52 and nRF5x boards of this library.

README

README.md

Zephpad(ゼフパッド)

AIツールへの入力や承認操作を簡単にすることを主目的とした、自作の左手用マクロパッドです。定型文の入力や、AIが提案した処理の承認・拒否など、繰り返し行う操作を手元のキーで実行できることを目指しています。

4個のキースイッチとロータリーエンコーダを備え、Seeed Studio XIAOを使用しています。XIAO nRF52840向けのZephyrファームウェアを software/zephpad/ に保存しています。

ケースはあくまで試作品です。

試作ケース・キーキャップ・ノブを取り付けた外観

試作ケースの背面・USB端子側

確認できていること

  • 4個のキースイッチ入力、ロータリーエンコーダの読み取り、インジケータLEDの点灯。
  • XIAO nRF52840で、LiPoバッテリー駆動によるBLEキーボードとしての文字入力。
  • ピンヘッダー接続でXIAO nRF52840とXIAO RP2040を差し替え、同じArduinoソースコードを各ボード向けにビルドしてUSBキーボードとして動作。
  • バッテリープラス端子のはんだ付け、および試作ケースの組み付け。

ファームウェア

ソースは software/zephpad/ にあります。接続中・未接続とも無操作5分でSystem OFFし、SW4で復帰します。キー保持中とBLE接続後の暗号化・HID通知準備中はOFFしません。操作や接続状態の変化でタイマーを数え直します。Zephyr 4.4.1/Zephyr SDK v1.0.1でビルドと実機動作を確認済み。

ハードウェア

専用の試作プリント基板に、XIAO、キースイッチ4個、ロータリーエンコーダ、LEDと電流制限抵抗を実装しています。nRF52840を使う構成ではLiPoバッテリーを接続して動作を確認しています。

試作プリント基板の表裏

実装基板の表面

実装基板の裏面とバッテリー

組み立ての概要と注意点

  1. 基板に各部品とXIAOをはんだ付けします。
  2. nRF52840でバッテリーを使用する場合は、基板裏側の大径スルーホールからXIAO裏面のBAT+端子を接続します。
  3. USBとバッテリーを外した状態で、TP1(BAT+)とTP2(GND)の短絡がないことを確認します。

ハンダ付けの際に、ピンヘッダーでXiaoを固定すると位置が決めやすいです。(ズレが小さくできる)

XIAOの取り付け・はんだ付け作業

BAT+のはんだ付け前BAT+のはんだ付け後
はんだ付け前はんだ付け後

はんだ付け後の短絡チェック

XIAOのはんだ付け後、USBとバッテリーを接続する前に、TP1(VBAT)とTP2(GND)が短絡していないことをテスターで確認します。

TP1(VBAT)とTP2(GND)の位置

XIAOの差し替え

ピンヘッダー接続の試作では、RP2040に差し替えてUSBキーボードとして動作を確認しています。

XIAO RP2040を取り付けた試作基板

XIAO nRF52840とRP2040では、裏面のバッテリープラス端子を共用できません。Xiao RP2040を付けた場合は、有線USBキーボードのみの動作になります。

XIAO nRF52840とRP2040の裏面端子比較

設計データ

KiCadプロジェクトは hardware/kicad/zephpad/zephpad.kicad_pro に配置します。

KiCanvasで設計データをブラウザから閲覧できます。

本資料は開発途中の試作記録です。バッテリー周りの安全性評価と、公開・配布に向けた条件の整理は完了していません。

ライセンス

本リポジトリは MIT License で公開しています。

Parts

15
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
4SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4
2TestPointTestPoint:TestPoint_Pad_D1.5mmTP1, TP2
11kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
1Conn_01x02Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ1
1LEDLED_THT:LED_D3.0mmD1
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC12E-Switch_Vertical_H20mmRE1
1XIAO-nRF52840-SMD-CUSTOMzephpad:XIAO-nRF52840-DIP-CUSTOMU1

Similar boards

  • 2 layers19 × 76 mmSub, the printed circuit board in 3D

    Sub

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    15 parts3kApache-2.0
  • 2 layers26.7 × 62.2 mmDeniseadapter, the printed circuit board in 3D

    Deniseadapter

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    15 parts1kGPL-3.0
  • 2 layers100 × 44 mmVideoslot, the printed circuit board in 3D

    Videoslot

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    15 parts1k
  • 2 layers91 × 51 mmBusinessCard, the printed circuit board in 3D

    BusinessCard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    15 parts915
  • 2 layers24.3 × 57.9 mmFlosspods pro flex, the printed circuit board in 3D

    Flosspods pro flex

    kenp-io/not-for-airpods-repairs

    The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.

    15 parts609WTFPL
  • 2 layers20.3 × 15.2 mmL0 Load, the printed circuit board in 3D

    L0 Load

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    15 parts546MIT
  • 2 layers68 × 50 mmEleLab v2 PowerFeed, the printed circuit board in 3D

    EleLab v2 PowerFeed

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    15 parts531GPL-3.0
  • 2 layers50.8 × 35.6 mmInterface, the printed circuit board in 3D

    Interface

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    15 parts454

Questions

How big is the Zephpad PCB?

It measures 90 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Zephpad use?

15 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 Zephpad KiCad files?

From the suzan-works/zephpad repository on GitHub, at the commit this page was made from: the board is hardware/kicad/zephpad/zephpad.kicad_pcb and its schematic hardware/kicad/zephpad/zephpad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Zephpad 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).