🎸 PCM1808+PCM5102 I2S HAT

65×56mm 2-layer PCB — 1590B Compatible — Rev 1.0

Top View (Component Side)

J1 — RPi 40-Pin Header I2S Bus (BCLK/LRCLK/DIN/DOUT) U1 AMS1117-3.3 C1 C2 U2 — TL072 Dual JFET Op-Amp Half 1: Preamp · Half 2: Buffer R3 R4 J2 Input R1,R2 U3 — PCM1808 24-bit Stereo ADC U4 — PCM5102 32-bit Stereo DAC C6 C7 C8 C9 BCLK · LRCLK · DIN C5 R5+C10 330Ω+10µF J3 Output R6 ⎇ 3.3V Rail (5V → AMS1117) GND Flood Fill (both layers) Star Ground at RPi GND pin Power Regulation 65mm 56mm

Board Specifications

Dimensions65 × 56mm (1590B)
Layers2-layer FR4, 1.6mm
Surface FinishENIG (gold) preferred
Min Trace0.254mm (10mil)
Min Hole0.3mm
Mounting4× M2.5, 3.2mm holes
Signal Chain
InputGuitar → J2 (6.35mm TS)
PreampU2 TL072 — 20dB gain
ADCU3 PCM1808 — 24-bit/48kHz I2S
DACU4 PCM5102A — 32-bit I2S
OutputJ3 (6.35mm TS) via RC filter
Power
RegulatorU1 AMS1117-3.3 (5V→3.3V)
Decoupling100nF + 10µF per IC
GroundStar ground, GND flood fill
I2S Bus (GPIO)
BCLKGPIO18 (Pin 12)
LRCLKGPIO19 (Pin 35)
DIN (to RPi)GPIO20 (Pin 38) ← PCM1808
DOUT (from RPi)GPIO21 (Pin 40) → PCM5102
Cost
Board + Components~$29.25
+ Enclosure (1590B)~$41.75
Qty 5 @ JLCPCB~$146.25
⚠️ PCB layout shown is a schematic-derived approximation — the KiCad PCB file (commit 0ae2ca6) has the board outline and mounting holes. Component footprints need human placement review before Gerber export. Open in KiCad to see the actual routed layout.

Schematic Preview (from KiCad .sch file)

Page 1 — Power
5V rail → U1 AMS1117 → 3.3V
C1 (10µF) + C2 (100nF) input decoupling
C3 (10µF) + C4 (100nF) output decoupling
Page 2 — RPi Header
J1 2×20 stacking header
All 40 GPIO pins pass through
I2S: BCLK(18) LRCLK(19) DIN(20) DOUT(21)
Page 3 — Preamp
J2 Guitar in → R1(1MΩ) pulldown
→ R2(10k) → U2 TL072 non-inv (+) input
Gain = 1 + R3(100k)/R4(10k) = ~20dB
→ C5(10µF) DC-block → PCM1808
Page 4 — ADC + DAC
U3 PCM1808: I2S, 48kHz, always active
C6(100nF) + C7(10µF) decoupling
U4 PCM5102: low-latency filter, unmuted
C8(100nF) + C9(10µF) decoupling
Output → R5(330Ω) + C10(10µF) → J3
Page 5 — Output Buffer
U2 TL072 (half 2): output buffer stage
R6(10k) feedback resistor
I2S Bus Labels
Global net labels: I2S_BCLK, I2S_LRCLK
I2S_DIN (RPi←ADC), I2S_DOUT (RPi→DAC)