Skip to the content
2 layers91.4 × 45 mmDE0Header PmodAdapter, the printed circuit board in 3D

DE0Header PmodAdapter

ciniml/fpga_samples31

FPGA samples

Size
91.4 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
41
Pads
116
Tracks, vias
295, 86
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
18 Aug 2021
Updated
4 Nov 2026

Overview

DE0Header PmodAdapter is an open-source printed circuit board by ciniml, from the ciniml/fpga_samples repository on GitHub, published under the BSL-1.0 licence. It is a 2-layer board of 91.4 × 45 mm with 17 parts on 41 nets, routed with 295 tracks and 86 vias.

It is built around the AMS1117-3.3. Its parts include 7 connectors, 6 capacitors and 1 IC. It belongs with the fPGA and programmable logic boards of this library.

Main components

1

README

eda/csi_capture/hw/Pmod_RPiCamera/README.md

Pmod RPi Camera (Rev. A)

Raspberry Pi カメラ (15 ピン 1.0 mm FFC, 2 レーン MIPI CSI-2) を Pmod 1 個につなぐ変換基板。 FPGA 側はソフト D-PHY (eda/csi_capture, rtl/csi2)。KiCad 10。

状態: 設計のみ (未発注・実機未確認)。ERC / DRC (回路図との一致を含む) はエラー 0。

仕様

  • 外形 25.4 × 24.13 mm、2 層 1.6 mm (FR4)、角 1.27 mm 面取り。 FFC コネクタ (取付金具込み 20.8 mm) を載せるため Pmod 標準幅 (20.32 mm) より片側 2.5 mm 程度広い
  • J1: Pmod 2x6 直角ヘッダ (TangFPGAExtensions の Conn_Pmod_Spec_B_Thin)、基板下端
  • J2: Amphenol (FCI) SFW15R-1STE1LF (15 ピン 1.0 mm FFC、下面接点、ZIF、JLC C3168538)。 Raspberry Pi Camera Module 2 の J1 と同じ部品。フットプリントは FCI 図面 JSA95855 rev AE / JSA95854 から作成 (Local/local.pretty)。基板上端寄り、ケーブルは上から挿す (ハウジング前端は基板端から 2.5 mm 内側)。 rev A の当初は TE 1-84952-5 だったが JLC 在庫が 1 個のため変更 (接点列の位置は同じ = 配線は無変更)
  • CSI 3 対: 差動 100Ω (Pmod_DisplayPort と同じ Link クラス 0.1661 / 0.127 mm)、 F.Cu のみ・ビアなし、B.Cu は全面 GND (3.3V の短いストラップは I2C の下だけ)。 P/N の長さ差 ~2.5 mm (~17 ps) は 1 Gbps 以下では無視できる
  • F1: ポリスイッチ 0.5 A (カメラの 3.3V)、C1: 10 µF、R1/R2: I2C プルアップ 2.2k、R3: CAM_GPIO プルアップ 10k
  • 直列抵抗・AC 結合・バイアス抵抗なし (D-PHY は DC 結合が必須、終端は FPGA 内蔵)

ピン割り当て

Pmod信号FFCTang Primer 25K (pmod0)
1 / 7SCL / SDA13 / 14F5 / G5
2 / 8CLK P / N9 / 8G7 / G8
3 / 9D1 P / N6 / 5H8 / H7
4 / 10D0 P / N3 / 2H5 / J5
5, 11GND1, 4, 7, 10, MP
6, 123.3 V15 (F1 経由)
—CAM_GPIO11R3 で 3.3 V へ (カメラは Pmod 給電で即起動)
—CAM_CLK12未接続

FFC のピン配置は Raspberry Pi 4 公式回路図 (J3 CAMERA) で確認。Pmod 上の並び (CLK, D1, D0) は FFC 上の並びと同じ順にして、差動対が交差しないようにしてある (FPGA の pins.cst も同じ割り当て)。 FPGA 側の定義は mod/pmod_rpi_camera/pmod_pins.csv。

ケーブルの向き

公式資料から確認済み:

  • 標準カメラケーブル (Raspberry Pi RP-008146) は両端で接点の面が逆 (片端は上面、もう片端は下面)
  • カメラ側 J1 (SFW15R-1STE1LF) も本基板の J2 も下面接点で、ピン 1 の位置の約束が同じ (FCI JSA95855: 実装面から見て、ケーブル挿入口を手前にしたときピン 1 が左)

同じコネクタ同士を両端逆面のケーブルでつなぐと、基板の向きによらず ピン n ↔ ピン n になる (3.3V は 15 番どうし、GND は 1 番どうし)。カメラに付属の標準ケーブルを使うこと。 両端が同じ面の社外ケーブルでは逆転し、本基板の 3.3V (15 番) がカメラの GND に当たる (F1 が制限する)。

念のための確認 (カメラをつながずに): ケーブルを J2 に挿し、ケーブル反対端の導体 1 番と Pmod の GND (5/11 番) の 導通をテスタで見る。導通すれば正しい。

製造データ

tools/build.sh が ERC / DRC (回路図との一致、ベタ再充填込み) を通してから fab/ を作る:

ファイル内容
fab/Pmod_RPiCamera_gerber.zipガーバー (F/B Cu, Mask, Silk, F.Paste, Edge) + ドリル (PTH/NPTH 別)
fab/Pmod_RPiCamera_bom.csv部品表 (LCSC 番号、MPN 付き)
fab/Pmod_RPiCamera_pos.csv実装位置 (表面のみ、原点は基板左下)
fab/jlc/Pmod_RPiCamera_jlc_bom.csv, ..._jlc_cpl.csvJLCPCB 実装用 BOM / CPL (LCSC 番号のある部品のみ。J1 は手はんだ想定で除外)
fab/lcsc/Pmod_RPiCamera_lcsc_5pcs.csvLCSC 部品購入用 (5 枚分、J1 含む)。tools/lcsc_order.py N で N 枚分を作り直す (LCSC に問い合わせて最小発注数・単価・在庫を反映、要ネットワーク)
fab/Pmod_RPiCamera_schematic.pdf回路図
fab/*.png3D レンダリング
fab/erc.rpt, fab/drc.rpt検査結果 (ライブラリ表の警告はヘッドレス環境由来)

回路図・基板の初版は tools/gen_sch.py / tools/gen_pcb.py で生成し、その後 KiCad で手を入れている (rev A: P 側の等長化ミアンダ、ティアドロップ、ロゴ、J2 を SFW15R-1STE1LF に変更、LCSC 番号)。KiCad のファイルが正 (スクリプトは初版の TE コネクタのまま)。tools/build.sh は既定で 現状のファイルを検査して出力するだけ。--regen を付けるとスクリプトから作り直し、KiCad での修正は消える。

部品 (JLCPCB 在庫は 2026-10-18 時点)

Ref部品LCSC備考
J12x6 2.54 mm 直角ピンヘッダ—手はんだ想定。JLC で載せるならピン長・本体寸法をフットプリントと照合 (候補 C41417354)
J2Amphenol SFW15R-1STE1LFC3168538在庫 9,155、Extended
F1RUILON SMD0805P050TF (I_hold 0.5 A, 6 V)C20978代替 Littelfuse 0805L050WR (C207022)
C1Samsung CL21A106KAYNNNE (10 µF 25 V X5R 0805)C15850Basic
R1, R2UNI-ROYAL 0402WGF2201TCE (2.2 kΩ)C25879Basic
R3UNI-ROYAL 0402WGF1002TCE (10 kΩ)C25744Basic

JLC の配置プレビューで J2 の回転・原点を確認すること (KiCad のフットプリント原点は接点列の中心。 JLC 側のモデル原点と違う場合はオフセットが出る)。J2 の 3D モデルは無い (3D 画像に J2 は写らない)。

未確定事項

  • 差動インピーダンスは DP 基板の実績値を流用 (2 層 1.6 mm でのペア結合主体)。製造業者のスタックアップで要再計算
  • カメラ v2 の消費電流 (~250 mA 程度の見込み、未実測) に対する F1 の定格と電圧降下
  • GW5A LVDS25 入力のコモンモード下限 (SLVS-200 は ~200 mV) は FPGA 側の最大リスク (../../README.md)

Parts

17
QtyValueFootprintReferences
4100nCapacitor_SMD:C_0402_1005MetricC3, C4, C5, C6
2MountingHole_2.7mm_M2.5_ISO7380MountingHole:MountingHole_2.7mm_M2.5_ISO7380H1, H2
110uCapacitor_SMD:C_0805_2012MetricC1
122uCapacitor_SMD:C_0805_2012MetricC2
12x20 female 2.54 (to Dock J3)Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1EXT1 2x2Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_VerticalJ6
1EXT2 2x3Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ7
1PMOD A (pmod3)Connector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_HorizontalJ2
1PMOD B (pmod4)Connector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_HorizontalJ3
1PMOD C (pmod5)Connector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_HorizontalJ4
1PMOD D (pmod6)Connector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_HorizontalJ5
1logolocal:logoLOGO1

More from ciniml/fpga_samples

5
  • 2 layers48.2 × 20.3 mmPmod 100base tx, the printed circuit board in 3D

    Pmod 100base tx

    ciniml/fpga_samples

    FPGA samples

    48 parts31BSL-1.0
  • 2 layers22.9 × 27.9 mmPmod USB HS Single, the printed circuit board in 3D

    Pmod USB HS Single

    ciniml/fpga_samples

    FPGA samples

    20 parts31BSL-1.0
  • 2 layers20.3 × 33.6 mmPmod StereoDAC, the printed circuit board in 3D

    Pmod StereoDAC

    ciniml/fpga_samples

    FPGA samples

    16 parts31BSL-1.0
  • 2 layers25.4 × 24.1 mmPmod RPiCamera, the printed circuit board in 3D

    Pmod RPiCamera

    ciniml/fpga_samples

    FPGA samples

    8 parts31BSL-1.0

Similar boards

  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 4 layers85 × 56 mmPslab mini, the printed circuit board in 3D

    Pslab mini

    fossasia/pslab-mini-hardware

    PSLab Mini Hardware https://pslab.io

    182 parts1.2kApache-2.0
  • 4 layers100 × 54 mm32Bit shift register, the printed circuit board in 3D

    32Bit shift register

    MaltWhiskey/Mega-Cube

    16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver

    64 parts766
  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers59.1 × 99.9 mmCheap FOCer 2 60mm, the printed circuit board in 3D

    Cheap FOCer 2 60mm

    shamansystems/Cheap-FOCer-2

    Low-Cost Motor Controller based on the VESC 6

    193 parts407

Questions

How big is the DE0Header PmodAdapter PCB?

It measures 91.4 × 45 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DE0Header PmodAdapter use?

17 parts, built around the AMS1117-3.3. 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 DE0Header PmodAdapter KiCad files?

From the ciniml/fpga_samples repository on GitHub, at the commit this page was made from: the board is eda/targets/tangprimer25k/hw/DE0Header_PmodAdapter/DE0Header_PmodAdapter.kicad_pcb and its schematic eda/csi_capture/hw/Pmod_RPiCamera/Pmod_RPiCamera.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DE0Header PmodAdapter design in my own project?

Its repository publishes it under the BSL-1.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).