Skip to the content
2 layers25.4 × 24.1 mmPmod RPiCamera, the printed circuit board in 3D

Pmod RPiCamera

ciniml/fpga_samples31

FPGA samples

Size
25.4 × 24.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
8
Nets
13
Pads
39
Tracks, vias
104, 17
Pours
5
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
18 Aug 2021
Updated
4 Nov 2026

Overview

Pmod RPiCamera 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 25.4 × 24.1 mm with 8 parts on 13 nets, routed with 104 tracks and 17 vias.

It is built around the SFW15R-1STE1LF. Its parts include 3 resistors, 2 connectors, 1 capacitor and 1 fuse. 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

8
QtyValueFootprintReferences
22.2kResistor_SMD:R_0402_1005MetricR1, R2
110kResistor_SMD:R_0402_1005MetricR3
110uCapacitor_SMD:C_0805_2012MetricC1
1500mA holdFuse:Fuse_0805_2012MetricF1
1Pmod (host)local:Conn_Pmod_Spec_B_ThinJ1
1SFW15R-1STE1LFlocal:Amphenol_SFW15R-1STE1LF_1x15-1MP_P1.0mm_HorizontalJ2
1logolocal:logoLOGO1

More from ciniml/fpga_samples

5

Similar boards

  • 4 layers65 × 23 mmSDTV2CSI, the printed circuit board in 3D

    SDTV2CSI

    eligold/SDTV2CSI

    Digitize analog standard definition video for the pi CSI-2 input

    44 parts1CERN-OHL-S-2.0
  • 6 layers105.6 × 100.9 mmSimpleCarrier, the printed circuit board in 3D

    SimpleCarrier

    alexian79/simpleCarrier

    146 partsBSD-2-Clause
  • 4 layers42 × 55 mmAdv7280m csi2, the printed circuit board in 3D

    Adv7280m csi2

    inestvan/adv

    Плата на Analog Devices ADV7280WBCPZ-M (LFCSP-32): композитный видеосигнал (PAL/NTSC/SECAM, разъём RCA) преобразуется в поток MIPI CSI-2 (1 лента + клок) и подаётся на разъём камеры Raspberry Pi 4.

    72 parts
  • 4 layers100 × 79 mmAG-010-0100, the printed circuit board in 3D

    AG-010-0100

    ManojNU/Portfolios

    PCB Portfolios

    106 parts
  • 2 layers26 × 44 mmCamCon Board Rev 1.1, the printed circuit board in 3D

    CamCon Board Rev 1.1

    EasternEdgeRobotics/Electrical_2019

    Repository for holding PCB designs, Pspice files, and other shocking thigns!

    29 parts2MIT
  • 2 layers20.5 × 24.8 mmPi interface, the printed circuit board in 3D

    Pi interface

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    8 parts3.7k

Questions

How big is the Pmod RPiCamera PCB?

It measures 25.4 × 24.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pmod RPiCamera use?

8 parts, built around the SFW15R-1STE1LF. 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 Pmod RPiCamera KiCad files?

From the ciniml/fpga_samples repository on GitHub, at the commit this page was made from: the board is eda/csi_capture/hw/Pmod_RPiCamera/Pmod_RPiCamera.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 Pmod RPiCamera 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).