Skip to the content
2 layers68 × 80 mmAgentpad rev1 lower, the printed circuit board in 3D

Agentpad rev1 lower

ymmtr6/agent-pad

RP2040-Zero を使った、8 キー+ロータリーエンコーダーのマクロパッドです。基板(KiCad)、3D プリント外装・キーキャップ、QMK ファームウェア、VIA 定義をまとめています。

Size
68 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
13
Pads
41
Tracks, vias
1,213, 28
Routed
Yes
KiCad
KiCad 8 (file 20240108)
Created
14 Oct 2026
Updated
15 Oct 2026

Overview

Agentpad rev1 lower is an open-source printed circuit board by ymmtr6, from the ymmtr6/agent-pad repository on GitHub, published under the MIT licence. It is a 2-layer board of 68 × 80 mm with 10 parts on 13 nets, routed with 1,213 tracks and 28 vias.

Its parts include 8 switches and 1 IC. It belongs with the RP2040 boards of this library.

README

README.md

AgentPad

RP2040-Zero を使った、8 キー+ロータリーエンコーダーのマクロパッドです。基板(KiCad)、3D プリント外装・キーキャップ、QMK ファームウェア、VIA 定義をまとめています。

現行版は Rev2(単一基板・裏面ホットスワップ)です。

Rev2 基板(表面)

Rev2 の仕様

  • 基板:62 × 80 × 1.6 mm、四隅に M2 用 Ø2.2 mm 穴
  • キー:MX 互換スイッチ 8 個(19.05 mm ピッチ、3+3+2 配列)
  • ソケット:Kailh CPG151101S11(基板裏面に実装、スイッチは表面から挿す)
  • エンコーダー:EC11(右下、押し込み付き)
  • MCU:Waveshare RP2040-Zero-M
  • USB VID/PID:0x4150 / 0xA902

詳しい寸法は docs/REV2_SINGLE_PCB.md と manifest_rev2.json を参照してください。

デフォルトのキーマップ

左中央右
上段F13F14F15
中段F16F17F18
下段F19F20エンコーダー押し込み:Mute

エンコーダーは反時計回りで音量を下げ、時計回りで上げます。

macOS では F14/F15 が標準で画面の明るさに割り当てられています。システム設定 > キーボード > キーボードショートカット > ディスプレイ で無効にするか、キーを割り当て直してください。

ファームウェアの書き込み

ビルド済みの UF2 が firmware/build/ にあります。

ファイル内容
agent_pad_rev2_via.uf2VIA 対応版(キーマップを VIA で変更できる)
agent_pad_rev2_default.uf2固定キーマップ版
  1. データ通信対応の USB-C ケーブルで PC につなぐ。
  2. BOOT と RESET を同時に押し、RESET を離してから BOOT を離す。
  3. RPI-RP2 ドライブが現れたら、UF2 ファイルをコピーする。
  4. ドライブが消え、AgentPad Rev2 として再起動する。

RESET を素早く 2 回押してもブートローダーに入れます。

VIA でキーマップを変更する

AgentPad は VIA の公式リストに登録していないため、定義ファイルを手動で読み込みます。先に VIA 対応版の UF2 を書き込んでおいてください。

  1. firmware/via/agentpad_rev2.json をダウンロードする。
  2. Chrome または Edge で https://usevia.app を開く。
  3. Settings で「Show Design tab」を有効にする。
  4. Design タブの「Load Draft Definition」で、ダウンロードした JSON を選ぶ。
  5. Configure タブで「Authorize device」を押し、AgentPad Rev2 を選ぶ。

8 キーとエンコーダーの押し込み・左右回転を変更できます。

ファームウェアのビルド

QMK Firmware の公式リポジトリにキーボード定義をコピーしてビルドします。

sh
rsync -a firmware/qmk/keyboards/agent_pad/rev2/ \
  /path/to/qmk_firmware/keyboards/agent_pad/rev2/
cd /path/to/qmk_firmware
make agent_pad/rev2:via

詳しい手順と検証結果は firmware/readme.md にあります。

基板の製造

JLCPCB に発注する Gerber は manufacturing/agentpad_rev2_single_gerber.zip です。発注設定は docs/JLCPCB_ORDER_REV2.md、検証結果は docs/VALIDATION_REV2.md を参照してください。

基板データは生成スクリプトから作り直せます。

sh
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
AGENTPAD_OUT=/tmp/agentpad_rev2_single_build .venv/bin/python scripts/generate_agentpad_rev2.py
scripts/run_kicad_drc.sh rev2

DRC の実行には KiCad 9 の kicad-cli が必要です。

外装とキーキャップ

G-code は Creality Ender-3 V3 SE と PLA 用です。USB 接続での印刷手順は docs/ENDER3_V3_SE_USB_PRINTING.md を参照してください。

ディレクトリ構成

パス内容
kicad/KiCad 基板データとフットプリント
scripts/基板データの生成スクリプト、DRC 実行スクリプト
gerber/, manufacturing/生成済みの Gerber と発注用 ZIP
firmware/QMK キーボード定義、ビルド済み UF2、VIA 定義
cad/外装・キーキャップの 3D データ
docs/設計メモ、発注手順、検証結果、画像

Rev1(2 枚構成の旧版)のデータも含まれています。

ライセンス

MIT License です。

ただし firmware/ 以下は QMK Firmware 向けのコードと、QMK を含めてビルドした UF2 なので、QMK に合わせて GPL-2.0-or-later とします。

Parts

10
QtyValueFootprintReferences
8Kailh MX HotswapKailh_MX_Hotswap_1USW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8
1EC11E push encoderRotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmENC1
1RP2040-Zero-M (visible top)RP2040-Zero-M_Header_TopU1

More from ymmtr6/agent-pad

1
  • 2 layers62 × 80 mmAgentpad rev2 single, the printed circuit board in 3D

    Agentpad rev2 single

    ymmtr6/agent-pad

    RP2040-Zero を使った、8 キー+ロータリーエンコーダーのマクロパッドです。基板(KiCad)、3D プリント外装・キーキャップ、QMK ファームウェア、VIA 定義をまとめています。

    14 partsMIT

Similar boards

  • 2 layers57 × 55.2 mmLogicAnalyzer, the printed circuit board in 3D

    LogicAnalyzer

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    10 parts5.1kGPL-3.0
  • 2 layers32.2 × 15.4 mmProtector, the printed circuit board in 3D

    Protector

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    10 parts4.3kMIT
  • 2 layers26 × 18 mmConn, the printed circuit board in 3D

    Conn

    yaqwsx/KiKit

    Automation tools for KiCAD

    10 parts2.1kMIT
  • 2 layers44.3 × 30.5 mmLime2-SATA RevA, the printed circuit board in 3D

    Lime2-SATA RevA

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    10 parts1.5k
  • 2 layers17.8 × 43.2 mmNano Adapter, the printed circuit board in 3D

    Nano Adapter

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    10 parts1.1kGPL-3.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

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

    10 parts1kGPL-3.0

Questions

How big is the Agentpad rev1 lower PCB?

It measures 68 × 80 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Agentpad rev1 lower use?

10 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 Agentpad rev1 lower KiCad files?

From the ymmtr6/agent-pad repository on GitHub, at the commit this page was made from: the board is kicad/agentpad_rev1_lower.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Agentpad rev1 lower 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).