✳ A YOLK HARDWARE EXPERIMENT

Good music.
Small box.
Meet Relay.

A Wi-Fi hi-fi streamer for the speakers you love. Custom electronics inside. A shell you print yourself. Built with care, from the signal to the screws.

REVISION A3 · A PROTOTYPE, NOT A PRODUCT

RELAY / FORM STUDY 01PRINTABLE CONCEPT
Charcoal shell · neon green seam3D FORM STUDY, NOT PRINT FILES

2Vrms

Stereo line output

−105dB

THD+N target

120dB(A)

Dynamic range target

44.1kHz

Native playback goal

Electrical design targets, not measured specifications. Output quoted into ≥10 kΩ; test conditions remain part of prototype qualification. Circuit simulation of the analog stage predicts a dynamic range of about 126 dB(A) with the DAC's typical figure, but that is a simulation plus a datasheet value, not a measurement.

WHAT REVISION A3 ADDS

Not just a streamer any more.

Rear connectors of the Relay A3: DC jack, optical sockets, USB-C, two RCA outputs and the 3.5 mm line-in
Render of the A3 board from the design files, not a photograph.
Board
Revision A3 · 115 × 80 mm · 4 layers · ENIG finish
Line-in
A 3.5 mm stereo jack into a PCM1808 24-bit ADC. Plug in an e-drum kit such as a Roland TD-02, or any line source, and play along with your music. The ESP32 does the mixing. Passthrough latency is estimated at about 4 ms (calculated, not yet measured).
Optical out
S/PDIF over TOSLINK, for feeding the Yolk speakers or any DAC or receiver with a digital input. 44.1 and 48 kHz only. The TOSLINK sockets are fitted by hand, not by the factory.
USB-C
Flash and run the ESP32 from USB-C alone, with no 12 V adapter, using the BOOT and RESET buttons. The DAC and analog stage still need 12 V.
Clock
Two oscillators (22.5792 and 24.576 MHz) feed a buffered clock tree. The DAC takes its clock from the tree, not from the ESP32.
Safety
A hardware power-fail supervisor drops the output relay when the 12 V input falls, muting the output without waiting for firmware.

01 / UNDER THE LID

A clear path.
From Wi-Fi to your room.

One custom board. Dedicated power for the sensitive parts. A stereo output designed around real measurements.

01
⌁

Receive

ESP32-S3

Wi-Fi receiver with 16 MB flash and 8 MB PSRAM. AirPlay software and commercial rights still need qualification.

→
02
∿

Convert

TI PCM1794A

Pin-configured DAC with no control bus. I²S from the ESP32, clocked from a buffered tree fed by one of two oscillators: 22.5792 MHz for the 44.1 kHz family, 24.576 MHz for 48 kHz.

→
03
◉

Connect

Stereo RCA + optical

Precision analog output, filtering and startup muting. Target: 2 Vrms at full scale into a line input. A TOSLINK output carries the same audio digitally.

THE LISTENING GOAL

Built for the detail.
Honest about the numbers.

Native-rate stereo playback, a dedicated DAC, and careful analog electronics. Here’s what this prototype is designed to deliver.

PLAYBACK GOAL

44.1kHz

Music at its native rate.

The same sample rate as CD audio. Receiver integration and the actual stream’s bit depth still need verification.

DAC CAPABILITY

24bit

A dedicated stereo converter.

The PCM1794A accepts 16- and 24-bit audio. The source and receiver determine the detail that reaches it.

ANALOG DESIGN TARGET

120dB(A)

Room for quiet passages.

Our dynamic-range target at 2 Vrms. Board noise and distortion will be measured on the assembled prototypes.

What about lossless and high-resolution audio?

The candidate AirPlay receiver advertises ALAC (lossless) and AAC (lossy). Which one is negotiated, at what bit depth, and whether samples are altered along the way must be checked on Relay. A lossless source alone does not establish lossless or bit-perfect playback.

TI rates the DAC for 24-bit / 192 kHz, but Relay’s playback goal is the 44.1 kHz family. A second 24.576 MHz oscillator gives the board a clock for the 48 kHz family too, but no rate has been validated on hardware, and 88.2 kHz and above are untested. Higher-rate playback is not an advertised feature of this prototype.

TI PCM1794A specifications ↗

FIG. 01 / THE SOUND INSIDE · THE GUIDED TOUR

Follow every note.
Eleven stops. Every part has a reason.

Follow the A3 board from the power jack, through the line-in and USB-C paths, to the RCA and optical outputs. Each stop names the real parts, why they were chosen and what is still unproven. Open “Supporting parts” for the resistors, capacitors and diodes around each chip.

00 / THE WHOLE BOARDPick a stage or follow the signal.

Yolk Relay, concept illustration
CONCEPT BOARD · POSITIONS ILLUSTRATIVE

00 / THE WHOLE BOARD

Six stages, one signal path.

01 / ESP32-S3

Your music arrives over Wi-Fi.

The ESP32 receives and decodes the stream, then sends stereo PCM to the DAC over I²S. The goal is native 44.1 kHz playback, with no fixed conversion to 48 kHz.

44.1kHzNative playback goal

AirPlay receiver integration, negotiated codec and bit depth still need validation.

02 / PCM1794A DAC

Digital detail becomes analog sound.

A dedicated Texas Instruments stereo DAC accepts 16- or 24-bit audio data. It turns the digital samples into the analog currents that feed the output stage.

24bitDAC capability

The chip is rated for 24-bit / 192 kHz. That is a component capability, not a validated Relay playback mode.

03 / 3 × OPA1612

Give the small details room.

Three dual op-amps convert the DAC’s currents into voltages, then form the left and right line outputs. The design aims to keep added noise and distortion low.

−105dBTHD+N design target

Target at 2 Vrms: −105 dB THD+N and 120 dB(A) dynamic range. Both await prototype measurements.

04 / Stereo RCA + mute relay

A proper connection to your speakers.

Left and right RCA outputs feed a powered speaker or amplifier’s line input. The mute relay is designed to hold the outputs quiet during startup and shutdown.

2VrmsLine-output target

2 Vrms at full scale into ≥10 kΩ is the design target. These are line outputs; passive speakers need an amplifier.

05 / Two oscillators + selector

One clock for the digital path.

The selected master clock is shared by the DAC and the ESP32 audio interface, keeping them synchronous. For the 44.1 kHz goal it is a 22.5792 MHz oscillator: 512 times the sample rate. A second 24.576 MHz oscillator covers the 48 kHz family.

512×Clock / sample-rate ratio

The selector is not glitch-free: firmware must mute and reset the DAC before switching. Only 44.1 kHz is a playback goal; clock jitter and network drift handling need verification.

06 / Dedicated quiet supplies

Care for the signal starts at the supply.

Dedicated regulators supply the DAC, clock and analog stages. The aim is to keep switching noise and radio activity from masking quiet passages in the music.

120dB(A)Dynamic-range target

120 dB(A) is a board-level design target, not a measured result or a claim of 20 effective bits.

  1. 01 / POWER IN

    Twelve volts, checked at the door.

    • J1HRO DC-005C-20A jack
    • F4011812L150/24 PTC fuse
    • D401SS34 Schottky
    • D402SMBJ15A TVS
    What it does

    Relay runs from an external regulated 12 V adapter. The supply passes a resettable fuse, then a Schottky diode in series, and a TVS diode clamps spikes on the protected rail. USB-C alone can power the ESP32 for flashing (next stop), but never the audio path: playing music needs the 12 V adapter.

    Why this part

    The fuse holds 1.5 A and is rated for 24 V. The Schottky blocks a reversed plug. The TVS clamps at 24.4 V (at 24.6 A), and everything downstream was chosen to survive that: an earlier buck candidate, the TPS62160, tops out at 17 V and was dropped for that reason.

    24.4VTVS clamp voltage (datasheet figure used in the design)
    Still open

    About 0.45 A from 12 V is a rough estimate, and the 12 V / 1 A adapter is a planning allowance, not a measurement. On A3 a hardware detector (U21, see Mute) drops the output relay when this rail collapses, but its trip point and timing are calculated, not measured.

    Supporting parts 3 groups · labelled on the board
    • Reservoir capacitors

      C401 100 µF / 25 V electrolytic · C402 10 µF

      Sit on the protected 12 V rail after the diode, a local store of charge for the two buck converters that draw from it.

    • Input-voltage sense

      R401 100 kΩ · R402 15 kΩ · C403 10 nF

      A divider scales the protected 12 V by 0.130 into an ADC pin on the ESP32 (IO1), 3.2 V even at the TVS clamp, so it stays within range. C403 smooths that sense node. Firmware can use it to release the output relay early; on A3 the hardware detector in the Mute stop is the backstop.

    • Test point

      TP401

      Gives the factory fixture a place to measure the protected 12 V rail.

    Sources: docs/electrical-design.md (Power) · KiCad netlist

  2. 02 / FLASH

    Flash it with only a USB-C cable.

    • J2HRO TYPE-C-31-M-12 USB-C
    • U22ME6211C33 3.3 V LDO
    • U23TI TPS2116 priority mux
    What it does

    Plug USB-C into a computer with no 12 V adapter and the ESP32 still wakes up. The cable’s 5 V goes through a small 3.3 V regulator (U22) into one input of a power mux (U23); the other input is the normal 3.3 V buck. The mux output is the ESP32’s own supply. esptool or idf.py then flashes it and reads the console over the chip’s native USB, usually without touching BOOT or RESET.

    Why this part

    Only the ESP32’s rail is powered this way. The 5 V rail, the DAC and clocks, the ± converter and the output relay stay off, so a half-powered board cannot make noise or feed power backwards. The mux prefers the buck whenever it is above about 2.8 V and blocks reverse current on both inputs, so no USB current is drawn with 12 V present, and plugging or pulling 12 V with USB attached does not reset the ESP32 (the handover stays above its 2.44 V brown-out level).

    2.8VMux switchover: USB takes over when the buck falls below this (2.55–3.06 V worst case)
    Still open

    This is for flashing and the console only: Wi-Fi on USB power alone is not supported, because transmit peaks near 420 mA reach the regulator’s 500 mA rating. Firmware must keep every output idle in this mode. No back-power, switchover or timing has been measured; the bench checks (scope on the 3.3 V rails and GPIO7) are still to do.

    Supporting parts 4 groups · labelled on the board
    • Switchover threshold

      R355 180 kΩ · R356 100 kΩ · C361 220 pF

      The divider sets where the mux hands over from the buck to USB; the small capacitor filters switching spikes on that node (a design choice, not a datasheet value).

    • Mux and regulator bypass

      C356, C357 1 µF · C358 10 µF

      At the mux inputs and its output. Together with C101 at the module they carry the brief gap when the supply hands over.

    • Buck feed

      R603 0 Ω

      Connects the 3.3 V buck to the mux’s priority input.

    • Back-power guards

      R348 10 Ω · U17 · U25

      In USB-only mode the other rails are off, so nothing on the ESP32 may drive them: the line-in ADC runs from the same 3.3 V rail, the clock selector pin reaches only inputs that tolerate an unpowered chip, and U25 holds the MCLK input low.

    Sources: docs/processor-usb.md (USB-only power) · docs/electrical-design.md (A3 additions) · KiCad netlist

  3. 03 / CLEAN RAILS

    Nine rails from one 12 V input.

    • U6, U7TPS54202 buck
    • U11TPS65131 ± converter
    • U12, U15TPS7A49 LDO
    • U13TPS7A30 LDO
    • U8, U9TPS7A2033 LDO
    What it does

    Two switching regulators turn 12 V into 3.3 V for the ESP32 (through the USB mux) and an intermediate 5 V. From that 5 V, the TPS65131 makes roughly ±13.6 V. Linear regulators then clean those up into ±12 V for the op-amps and 5 V for the DAC’s analog side. Two small 3.3 V regulators feed the DAC’s digital side and the clock oscillators separately.

    Why this part

    Switchers are efficient but noisy; the linear regulators after them are there for the sensitive parts. The TPS54202 runs up to 28 V, above the input clamp. The DAC’s three 5 V pins must agree within ±0.1 V, so they share one regulated rail. A pull-down keeps the ± converter off until firmware raises ANALOG_EN, so the analog rails start in a known order.

    ±12VOp-amp rails, designed values +11.96 / −12.1 V
    Still open

    Not yet verified: buck loop response with the chosen ceramics, TPS65131 ripple reaching the LDOs, and the thermal rise of U11 and U15 (the DAC regulator drops about 8.6 V, roughly 0.35 W at 40 mA).

    Supporting parts 9 groups · labelled on the board
    • Feedback dividers that set each voltage

      R601/R602 100k/22.1k → 3.29 V · R701/R702 100k/13.3k → 5.08 V · R1102/R1103 1M/97.6k → +13.64 V · R1104/R1105 1M/88.7k → −13.68 V · R1201/R1202 90.9k/10k → +11.96 V · R1301/R1302 93.1k/10k → −12.1 V · R1501/R1502 32.4k/10k → 5.02 V

      Each regulator compares a fraction of its own output with an internal reference. The ratio of the two resistors decides the output voltage. The negative converter’s divider runs from its VREF pin instead of ground.

    • Feed-forward capacitors

      C606 56 pF · C706 75 pF · C1104 6.8 pF · C1106 7.5 pF · C1203, C1303, C1503 10 nF

      Each sits across the upper resistor of a feedback divider. Values follow TI’s application circuits; they shape how quickly the regulator reacts. Their effect on this board is unmeasured.

    • Inductors, rectifiers and output capacitors

      L601 10 µH + C604/C605 2 × 22 µF (3.3 V) · L701 15 µH + C704/C705 2 × 22 µF (5 V) · L1101, L1102 4.7 µH + D1101, D1102 B5819W + C1109–C1112 4 × 10 µF

      The switching stages store energy in the inductor each cycle; the capacitors smooth the result. In the ± converter, the B5819W Schottky diodes rectify the boost and inverting outputs.

    • Bootstrap capacitors

      C603, C703 100 nF

      Connected between each buck’s BOOT and switch pins; they power the high-side switch driver.

    • Input and output decoupling

      C601/C602, C701/C702 10 µF + 100 nF · C1101, C1102 4.7 µF · C801/C802, C901/C902 1 µF · C1201/C1204, C1301/C1304, C1501/C1504 10 µF

      Local charge at each regulator’s input and output, keeping current loops short. The layout constrains their distance to the regulator pins.

    • Noise-reduction capacitors

      C1202, C1302, C1502 10 nF

      On each TPS7A49/TPS7A30 NR/SS pin. They filter the regulator’s internal reference and soften its start-up.

    • TPS65131 helpers

      R1101 100 Ω + C1103 100 nF · C1105 220 nF · C1107 10 nF, C1108 4.7 nF

      R1101 and C1103 form a small filter on the controller’s own supply pin. C1105 decouples its reference output. C1107 and C1108 sit on its CP and CN compensation pins, one per output.

    • Start-up control

      R403 100 kΩ · Q1101 AO3401A

      R403 pulls ANALOG_EN (IO12) low, so the ± rails, and with them the op-amp and DAC 5 V rails, stay off until firmware enables them. Q1101 is a P-MOSFET driven by the converter’s BSW pin. It disconnects the boost input so +13.6 V falls to 0 V when disabled instead of following the 5 V rail. (Reverse-polarity protection is D401, not this transistor.)

    • Test points

      TP402–TP406

      For measuring the 3.3 V, 5 V, ±13.6 V and clock rails at the factory.

    Sources: docs/electrical-design.md (Power, sequencing) · KiCad netlist

  4. 04 / RECEIVE

    The radio, the buffer and the conductor.

    • U1ESP32-S3-WROOM-1-N16R8
    • J2HRO TYPE-C-31-M-12 USB-C
    • U14ST USBLC6-2SC6 ESD
    What it does

    The module joins Wi-Fi, is meant to receive and decode the stream into a buffer, and sends stereo samples to the DAC over I²S as the bus master (data IO4, bit clock IO5, frame clock IO6). It also runs the board: DAC reset, mute and zero flag, the output relay, the analog rail enable and the clock selector, takes the line-in ADC’s data on IO18 and drives the optical outputs from IO13. USB-C connects to the chip’s native USB pins (GPIO19/20) for programming.

    Why this part

    The project asked for the ESP32-S3; the module has an integrated antenna, 16 MB flash and 8 MB octal PSRAM. Two seconds of stereo 44.1 kHz audio in 32-bit containers is 705,600 bytes, so a PSRAM ring buffer is plausible. Native USB means the BOM needs no separate USB-to-serial chip. The candidate receiver project advertises S3 support.

    8MBOctal PSRAM for the audio buffer
    Still open

    There is no receiver firmware yet, and the candidate receiver’s licence only allows non-commercial use. The A2 review found C101/C102 about 17–18 mm from the module’s supply pin; that distance has not been re-checked on A3. USB attach, the ROM bootloader and ESD immunity are untested.

    Supporting parts 7 groups · labelled on the board
    • Module supply

      C101 22 µF · C102 100 nF

      Reservoir and high-frequency bypass on the 3.3 V digital rail. Flagged by the A2 review as placed too far from the module; A3 needs the same check.

    • Reset and boot straps

      R101 10 kΩ + C103 1 µF · R102 10 kΩ · R103 10 kΩ

      R101 pulls EN high while C103 delays it, giving the supply time to settle before the chip starts (provisional; a supervisor is still recommended). R102 holds BOOT (GPIO0) high for a normal start; the factory fixture pulls it low to enter download mode. R103 pulls GPIO46 low for download compatibility.

    • BOOT and RESET buttons

      SW101 BOOT (GPIO0) · SW102 RESET (EN) · XUNPU TS-1088-AR02016 4 × 3 mm (C720477)

      Each button switches its line to ground; R102 (BOOT) and R101 with C103 (EN) above are the pull-ups and the EN delay. Hold BOOT and tap RESET to force download mode; normal USB-C flashing doesn’t need them (see the Flash stop).

    • USB-C identity

      R109, R110 5.1 kΩ

      One pull-down on each CC pin tells the host or cable that Relay is a USB device.

    • USB data path

      R107, R108 22 Ω · U14

      Series resistors on D− and D+ (marked as candidates in the review) and an ESD array that clamps static on the data lines at the connector.

    • USB presence detect

      R111 1 kΩ · R112 100 kΩ · Q101 2N7002 · R113 10 kΩ · C104 100 nF

      VBUS turns on Q101 through R111 (R112 keeps it off otherwise). Q101 pulls a 3.3 V line, held high by R113, low on GPIO14. The ESP32 learns that USB is plugged in without 5 V ever touching one of its pins. C104 bypasses VBUS.

    • Factory access

      TP101–TP106

      Pads for ground, 3.3 V, EN, BOOT and the UART, the recovery path for programming.

    Sources: docs/processor-usb.md · docs/airplay-feasibility.md · reports/kicad-happy-review-2026-10-13.md · KiCad netlist

  5. 05 / TIMING

    Two crystals, one beat at a time.

    • Y201SCTF 22.5792 MHz oscillator
    • Y202SCTF 24.576 MHz oscillator
    • U17TI SN74LVC2G04 oscillator enables
    • U16Nexperia 74LVC1G157 mux
    • U24TI CDCLVC1104 clock buffer
    • U25TI SN74LVC1G34 MCLK buffer
    What it does

    Only the selected oscillator runs: a pair of inverters (U17) enables exactly one of the two. A logic multiplexer (U16) passes that clock to a 1:4 fan-out buffer (U24), which gives the DAC its own output, the line-in ADC a second, and the ESP32’s I²S clock input a third, through U25, a buffer powered from the ESP32’s own supply. The ESP32 divides its bit and frame clocks from that same signal, so the whole digital path stays in step. GPIO15 chooses: low for 22.5792 MHz, high for 24.576 MHz.

    Why this part

    22.5792 MHz is 512 × 44.1 kHz; 24.576 MHz is 512 × 48 kHz, so each sample-rate family gets an exact clock. The PCM1794A needs its clock synchronous with the frame clock and has no asynchronous jitter rejection, so the clock quality reaches the output. A1 tied two oscillator outputs together and A2 used an analog switch; A3 replaces it with a logic mux and a buffer tree, so every load has its own source resistor and no oscillator pin hangs on a GPIO.

    512×Clock / sample-rate ratio in both families
    Still open

    The mux is not glitch-free: firmware must mute, disconnect the relay and reset the DAC before changing clocks, and wait at least 10 ms for the new oscillator to start. That firmware does not exist yet. The oscillator maker gives no jitter figure, the 74LVC1G157’s jitter is unspecified, and the buffer’s input slew limit may be exceeded by the mux edge. None of it has been measured.

    Supporting parts 6 groups · labelled on the board
    • Oscillator enables

      U17 SN74LVC2G04 · C213 100 nF

      Two inverters turn GPIO15 into opposite enable signals, so exactly one oscillator runs and the other output is high-impedance. Since no oscillator pin hangs on the GPIO, a high CLK_SEL cannot back-power an unpowered oscillator in USB-only mode.

    • Default clock choice

      R206 100 kΩ · R362, R363 100 kΩ

      R206 pulls CLK_SEL low, so the 44.1 kHz-family oscillator is selected while the ESP32 is in reset. R362 and R363 pull each oscillator net low, defining the unselected mux input.

    • Source resistors

      R204 22 Ω → DAC · R205 33 Ω → ESP32 · R349 33 Ω → ADC

      One at each output of the fan-out buffer, damping the edges close to the driver, following TI’s layout figure for the DAC side.

    • MCLK buffer

      U25 SN74LVC1G34 · C360 100 nF · R361 100 kΩ

      The fan-out outputs are not high-impedance when unpowered, so U25 (on the ESP32’s supply) re-drives the clock into GPIO7 and can never exceed it. R361 holds its input low when the clock rail is off.

    • Clock-supply bypass

      C210, C211, C212, C213, C359 100 nF

      Decouple the shared CLK_3V3 rail, with C212 at the mux and C359 at the fan-out buffer. The rail comes from its own regulator, U9.

    • Probe point

      TP207

      On the DAC’s clock input, for scoping during bring-up.

    Sources: docs/electrical-design.md (Clock, clock tree) · reports/a3-clocktree-audit.md · firmware/INTEGRATION.md · KiCad netlist

  6. 06 / LINE IN

    Plug an e-drum in and play along.

    • J5SHOUHAN PJ-313D 3.5 mm jack
    • U18TI PCM1808PWR stereo ADC
    • D305, D306PESD5V0S1BA ESD
    • U24CDCLVC1104 clock buffer (ADC feed)
    What it does

    A 3.5 mm stereo jack at the rear takes a line or headphone-level source, for example a Roland TD-02 e-drum kit. Each channel passes an ESD clamp, a resistor divider and a 10 µF DC-blocking capacitor into a PCM1808 ADC, which digitises it and sends I²S data to the ESP32 (IO18). The ADC shares the DAC’s bit and frame clocks and takes its master clock from the same buffer, so the ESP32 can pass your playing straight to the DAC or, once the firmware exists, mix it with the streamed music.

    Why this part

    The jack and ADC sit on their own strip at the right edge, at least 17 mm from the op-amps, so the clock and data runs stay short and away from the I/V stage. The PCM1808 is pin-configured (Relay has no control bus), accepts 256/384/512 × fs master clocks and runs from 3.3 V logic. The input is scaled so it clips only at 3.0 Vrms, about 3.5 dB above a hot 2 Vrms phones output, with a 22 kΩ resistor that can become a 0 Ω link for quiet sources.

    3.0VrmsMaximum line-in level before clipping (design figure)
    Still open

    No line-in firmware exists. Passthrough latency (ADC, ESP32 buffers, DAC) is estimated at about 4 ms, 2.5 ms with smaller buffers, and is not measured; neither is the ADC’s noise in the new strip, and its 100 nF capacitors sit 3.6–3.8 mm from the pins. The PJ-313D drawing and part need bench confirmation. If the clock tree is reworked so the ESP32 generates the master clock, line-in stops working.

    Supporting parts 4 groups · labelled on the board
    • Input divider

      R343, R344 22 kΩ · R345, R346 15 kΩ · C343, C344 100 pF

      A series resistor and a shunt resistor scale each channel by about 0.35 and present the source with roughly 34 kΩ; the capacitor takes the edge off radio-frequency pickup.

    • DC blocking

      C345, C346 10 µF

      Block DC and bias the ADC input. They were 1 µF in the first A3 draft; 10 µF cuts the loss at 20 Hz from 12 % to 1.2 %. The high-pass corner is 0.23 Hz, so the input settles in about 3 s after power-up.

    • ADC supplies

      R347 10 Ω · R348 10 Ω · C347–C352

      Analog 5 V comes from the DAC’s rail through R347; the 3.3 V digital side comes from the ESP32’s rail through R348, so no ESP32 pin can back-power an unpowered ADC in USB-only mode. The reference pin and both supplies are decoupled close to the chip.

    • Clock feed

      R349 33 Ω

      Source resistor from the fan-out buffer to the ADC’s master-clock pin.

    Sources: docs/electrical-design.md (A3 additions, Line input) · reports/a3-independent-audit.md · KiCad netlist

  7. 07 / CONVERT

    Numbers become currents.

    • U2TI PCM1794ADBR
    What it does

    The DAC takes 16- or 24-bit I²S samples and produces a pair of opposite-phase output currents per channel. It is set entirely by its pins: four mode pins tied to ground select I²S, stereo and the sharp roll-off filter, so there is no control bus. Of its control pins, the ESP32 drives only reset and soft mute, and reads the zero-data flag.

    Why this part

    The first choice, ESS’s ES9038Q2M, was out of stock at JLCPCB and LCSC. The AK4493S had only 53 in stock and a gated datasheet. The PCM1794A had 1,024 in stock on 12 October 2026, a public datasheet, a 28-pin package with no exposed pad, and a published TI circuit for 2 Vrms output.

    127dBTI typical dynamic range, its reference circuit (not Relay)
    Still open

    TI’s typical −108 dB THD+N misses the original −110 dB goal, so Relay’s target became −105 dB; neither is measured. The chip’s 192 kHz rating is not a validated Relay mode. Its 250 °C reflow limit must be confirmed with the factory profile.

    Supporting parts 6 groups · labelled on the board
    • Supply decoupling

      C201, C203 100 nF + C202, C204, C205 10 µF (5 V) · C206 100 nF + C207 10 µF (3.3 V)

      Placed at the DAC’s analog and digital supply pins as in TI’s recommended circuit.

    • Common-voltage capacitors

      C208, C209 47 µF tantalum

      One from each VCOM pin to the 5 V VCC1 node, positive side on the 5 V node, as TI shows. They decouple the DAC’s internal common-voltage nodes, which are analog decoupling points rather than signals.

    • Full-scale current

      R202 10 kΩ, 0.1 %

      From IREF to ground. It sets the DAC’s full-scale output current, so its precision feeds straight into the output level.

    • Safe start-up straps

      R201 10 kΩ · R203 10 kΩ

      R201 pulls MUTE high, so the DAC starts soft-muted. R203 holds RST low until firmware has the clocks running.

    • Digital input resistors

      R104, R105, R106 27 Ω

      On data, bit clock and frame clock, at the ESP32 (driving) end, following TI’s layout figure.

    • Test points

      TP201, TP202

      For the DAC’s 5 V and 3.3 V rails.

    Sources: docs/electrical-design.md (DAC change, DAC facts) · reports/jlc-footprint-match-2026-10-15.md · KiCad netlist

  8. 08 / ANALOG

    Currents become a line-level voice.

    • U3, U4OPA1612 I/V pairs (L, R)
    • U5OPA1612 difference stages
    What it does

    Each DAC output current goes into an op-amp that converts it to a voltage (an I/V stage). A difference stage then subtracts each channel’s two opposite-phase halves into one line-level signal, removing the part they share, and rolls off content far above the audio band. Four I/V stages and two difference stages fit in three dual op-amps.

    Why this part

    This is TI’s published 2 Vrms output topology for the PCM1794A, with the OPA1612 in place of TI’s NE5534/LT1028. The 825 Ω feedback resistor is the smallest standard value that still reaches 2 Vrms in the worst case: 2.04–2.31 Vrms, 2.17 nominal. Each board is to be trimmed to 2.00 Vrms at test. The ±12 V rails leave about 2 V beyond the swing allowance at the I/V stage’s −8.53 V extreme.

    2.17VrmsNominal full scale before the per-board trim
    Still open

    I/V loop stability is not simulated. The output is DC-coupled: bipolar-zero error could reach roughly ±0.12 V at the RCA, to be measured before deciding on a servo or capacitor. A review calculated −0.26 dB at 20 kHz from the filter alone, beyond the proposed ±0.10 dB flatness target.

    Supporting parts 5 groups · labelled on the board
    • I/V feedback (sets gain and the first filter pole)

      R301, R302, R321, R322 825 Ω 0.1 % ∥ C301, C302, C321, C322 2.2 nF C0G

      Each resistor converts the DAC’s current into voltage; the capacitor beside it rolls off high frequencies, a pole near 87.7 kHz. The capacitors also affect stability, which is why changes need simulation first.

    • Difference stage (combines the halves, second pole)

      R303, R305, R323, R325 560 Ω · R304, R306, R324, R326 270 Ω (0.1 % thin film) · C303, C304, C323, C324 2.7 nF C0G

      Matched 560 Ω inputs and 270 Ω feedback/ground legs subtract the two halves and scale the result by 270/560. The 2.7 nF capacitors across the 270 Ω legs add a second pole near 218 kHz. Tight tolerance keeps the arms matched so the shared part cancels.

    • Output resistors

      R307, R327 100 Ω

      In series with each channel’s output. The level calculation includes them as a 100 Ω / 10 kΩ divider into the load; behaviour with 0–2 nF of cable is still to be checked.

    • Op-amp rail bypass

      C305/C306, C325/C326, C341/C342 100 nF

      Six 100 nF capacitors on the ±12 V rails at the three op-amps. A2 placed the measured ones about 2 mm from the supply pins; in A1 some were almost 30 mm away.

    • Probe points

      TP203, TP204 · TP205, TP206

      For the ±12 V op-amp rails and each channel’s output before the relay.

    Sources: docs/electrical-design.md (Output stage) · reports/kicad-happy-review-2026-10-13.md · reports/a2-corrections-2026-10-13.md · KiCad netlist

  9. 09 / MUTE

    Silent until everything is ready.

    • K1Omron G6K-2F-Y-5V relay
    • Q3012N7002 driver
    • U21TI TPS3700 power-fail detector
    What it does

    The relay sits between the analog stage and the RCA jacks. Released, it shorts both outputs to ground; energised, it connects the amplifier outputs. The ESP32 switches it through Q301 (IO11), and on A3 a hardware detector (U21) can drop it on its own when the 12 V input collapses. Start-up is ordered: DAC muted and in reset, rails and clock stable, reset released, silent data running, then relay on, then mute off. Shutdown reverses it.

    Why this part

    Grounding is the default: with no power, the ESP32 in reset, or firmware not driving the pin, the coil is off and the outputs are held quiet. One two-pole relay switches both channels at once from the 5 V rail. U21 means the fast release on input loss no longer depends on firmware noticing VIN_SENSE.

    NC→ GNDRelay rest state: both outputs grounded
    Still open

    The hardware release is calculated, not measured: the detector trips near 9.5 V and the contacts should open about 3.1 ms after a hot unplug (3.8 ms worst case, against a 7 ms budget from the SPICE study). Contact behaviour at small signal levels, release time with the coil clamp, and output DC and transients are all unmeasured.

    Supporting parts 4 groups · labelled on the board
    • Coil driver

      Q301 2N7002 · R341 100 kΩ

      Q301 switches the coil’s low side. R341 pulls its gate low, so the relay stays off while the ESP32 is in reset or its pin floats.

    • Flyback clamp

      D301 1N4148W

      Across the coil, from its switched end back to 5 V. When Q301 turns off, the coil’s stored energy flows through the diode instead of spiking the transistor.

    • Power-fail release

      U21 TPS3700 · R353 200 kΩ · R354 8.66 kΩ · C354 100 nF · C355 10 nF · R352 1 kΩ

      U21 watches the protected 12 V through a 24:1 divider and, below about 9.5 V (9.15–9.82 V worst case), pulls the relay gate low. R352 limits what firmware’s IO11 can fight with to 3.3 mA, so the detector always wins. C355 rejects dips shorter than about 83 µs. It starts the relay off until the rail passes 9.64 V.

    • Probe point

      TP208

      On the relay control signal.

    Sources: docs/electrical-design.md (Mute and outputs, A3 additions: power-fail relay dropout) · firmware/INTEGRATION.md (Mute state machine) · KiCad netlist

  10. 10 / OUTPUT

    Two jacks, line level.

    • J3Same Sky RCJ-011 (L, black)
    • J4Same Sky RCJ-011 (R, black)
    • D302, D303PESD5V0S1BA ESD
    What it does

    Right-angle RCA jacks at the rear edge, their barrels sticking about 6.7 mm out past the board, deliver left and right line-level audio to a powered speaker or amplifier input of 10 kΩ or more. The suggested Yamaha HS4 connection uses LINE 1 with RCA-to-mono-TS cables at the full 2 Vrms. Passive speakers need an amplifier.

    Why this part

    RCA line outputs fit powered monitors and amplifiers without extra hardware. Each jack has an ESD clamp at the connector, so static from a cable is caught before it reaches the relay and op-amps.

    2VrmsFull-scale design target into ≥ 10 kΩ
    Still open

    The RCA footprint was corrected on 16 October 2026 after JLC’s preview showed the barrels facing into the board. J4 is now the same black RCJ-011 as J3 (LCSC C4992678), because the red RCJ-012 had no JLC footprint; colour is cosmetic, and the channels are marked L and R on the silkscreen. Clamp distortion at full swing and hot-plug behaviour are unmeasured; the 1 Vrms alternate profile is unimplemented firmware.

    Supporting parts 2 groups · labelled on the board
    • ESD clamps

      D302, D303 PESD5V0S1BA

      One from each RCA signal to ground, right at the connector. Whether they add distortion at full swing has to be measured, not assumed.

    • Grounded shells

      J3, J4 shell pins

      Both jack shells connect to the board ground.

    Sources: docs/electrical-design.md (Mute and outputs, RCA protection) · docs/speaker-compatibility.md · reports/jlc-footprint-match-2026-10-15.md · KiCad netlist

  11. 11 / OPTICAL OUT

    A digital out on glass, if you fit it.

    • J6, J7Everlight PLT133 TOSLINK transmitters (hand-fitted)
    • R117, R11847 Ω series resistors
    What it does

    Two TOSLINK sockets in the rear-edge gaps either side of the USB-C connector send the digital audio out as S/PDIF over light. The ESP32 builds the signal in software on its second I²S port and drives both from IO13. Plug a fibre cable into a separate DAC, an AV receiver or a recorder and Relay becomes a network streamer for it too, alongside its own analog outputs.

    Why this part

    The footprints are optional. The chosen transmitter (LCSC C133350) has no stock at JLCPCB, so J6 and J7 are marked do-not-populate and left to fit by hand; the board is drawn here see-through for that reason. The pinout (supply, drive, ground) matches Everlight PLT133 / T10W parts; Toshiba TOTX transmitters use a different pinout and do not fit. A 100 kΩ pull-down keeps the LED dark while IO13 floats at boot.

    2socketsTOSLINK footprints, both do-not-populate at JLCPCB
    Still open

    The PLT133 drawing was not available: the footprint comes from the EasyEDA package, so check a sample against it and confirm a 3.3 V supply rating before fitting. S/PDIF by software biphase on the second I²S port is unproven on the bench, and no firmware drives it yet.

    Supporting parts 2 groups · labelled on the board
    • Series resistors

      R117, R118 47 Ω

      One in the drive line of each transmitter, limiting the LED current from the 3.3 V logic pin.

    • LED-off pull-down

      R358 100 kΩ

      On the IO13 trunk, so the transmitters stay dark while the pin floats during reset and boot.

    Sources: docs/electrical-design.md (A3 additions, Optical S/PDIF) · reports/a3-independent-audit.md · KiCad netlist

Values come from the A3 schematic and exported BOM; roles were traced in the KiCad netlist. Figures marked as targets or datasheet typicals are not Relay measurements. No board has been built or measured, and no firmware exists yet.

This is a concept model: component positions are illustrative, and the routed A3 board differs in detail. The linked flat drawing is the original two-dimensional concept. View the annotated drawing ↗3D built with Three.js · original drawing made with Anatomy.

YOLK RELAY / 30 SECONDS

See it in thirty seconds.

The sound, the line-in for playing along, and what makes it yours. Narrated, with sound.

Read the transcript

Your music. Your hi-fi. This is Yolk Relay.

Inside: a PCM1794A DAC, an OPA1612 analog stage, two crystal clocks and relay-muted outputs.

Plug your e-drums into the line-in and play along with your own music. Optical out feeds speakers or any DAC.

Open hardware and firmware. Your own music, from your own Yolk server. No subscription. No account.

Yolk Relay. Coming 2027. Prototype in development; not yet for sale.

A CLOSER LOOK / 52 SECONDS

The sound inside.

Follow the music through Relay. A tour of the board, from Wi-Fi to the stereo output.

52 seconds · A silent film with on-screen explanations · Prototype concept

Download the film ↗
Read the film transcript +

Meet Relay. A Wi-Fi hi-fi streamer, from the signal to the screws. An open hardware experiment.

Receive. The ESP32 receives and decodes music, then sends PCM over I²S. Native 44.1 kHz playback is the goal; receiver compatibility and source bit depth still need qualification.

Convert. A dedicated stereo DAC turns digital samples into analog currents. Its 24-bit capability does not guarantee the depth delivered by the source and receiver.

Clock. A shared 22.5792 MHz timing reference serves the ESP32 audio interface and DAC: 512 × the 44.1 kHz sample-rate goal. Clock jitter and drift need prototype testing.

Analog. Three dual op-amps form the left and right analog line signals. The −105 dB THD+N target at 2 Vrms is not a measured result.

Power. Separate regulation supplies the DAC, clock and sensitive analog circuits. Dynamic range of 120 dB(A) is a board-level design target, not a measurement.

Output. Connect a powered speaker or amplifier. A relay manages startup muting. The stereo line-output target is 2 Vrms into at least 10 kΩ; this is not a speaker amplifier. Output level and muting need verification.

Still being built. Native-rate playback, a dedicated DAC and a carefully designed analog path. Layout, receiver integration and audio performance are not yet validated.

YOUR LISTENING SETUP

Relay, meet Yamaha HS4.

Use two RCA-to-6.35 mm mono TS cables into the left speaker’s LINE 1 L/R inputs. The left speaker powers its partner. No separate amplifier needed.

Yamaha connection specifications ↗
relay ● ●
RCA → MONO TS
L / LINE 1
R

LINE 1 offers more input headroom and lower sensitivity than the HS4 RCA input. Our planned 2 Vrms mode is for LINE 1; knob position still depends on listening level and room.

BEYOND THE STREAMER

What else could Relay be?

Relay is a Wi-Fi and Bluetooth LE processor wired to a stereo DAC with a line-level output. With different firmware, the same board suits other jobs. None of these exist yet and none has been tested. Each one needs firmware that has not been written for this board.

What it can’t do. There is no Bluetooth A2DP, because the ESP32-S3 has Bluetooth LE only. The only audio input is a single 3.5 mm stereo line-in, so it is not a preamp, recorder or analyser. There is no speaker amplifier: it needs powered speakers or an amplifier. Ideas that need buttons, displays or sensors need spare GPIOs; the board exposes only BOOT/RESET, UART test points, USB and the line-in jack.

03 / THE BUILD JOURNAL

Five boards. One careful build.

A3 PROTOTYPE RUN UNDER WAY · BRING-UP IN NOVEMBER 2026
01A3 design done

Design the signal path

ESP32-S3, TI PCM1794A DAC, line-in, optical out, quiet power and a relay-muted analog output.

02Started

Prove it on the bench

The ESP32-S3 external-clock input is bench-verified on a development kit. Noise, distortion, receiver compatibility and Wi-Fi stress wait for the boards.

03Under way

Build five at JLCPCB

Verified parts, routed four-layer board, Gerbers, BOM and placement files for five assembled boards.

04Pending

Bring up. Print. Listen.

Power up the first board, fit-check the enclosure, calibrate each board and connect the speakers.

↗

A real build deserves an honest status.

The A3 schematic and layout are complete. An independent design review on 29 October 2026 found no blocking defect, and the electrical and design-rule checks are clean. The firmware has not yet run on a Relay board. Nothing about the sound has been measured: the figures on this page are targets or simulations until the boards are on the bench. AirPlay 2 compatibility and commercial permission also remain unverified. This page is a build journal for a prototype, not a product announcement.

What goes to JLCPCB? +

Fabrication: reviewed four-layer Gerber ZIP and Excellon drills.

Assembly: sourced BOM, verified footprints, component placement CSV and assembly drawings for five identical boards. The optical sockets are hand-fitted afterwards.

Bring-up: agreed programming service, validated firmware and a factory test procedure. Prototype measurement follows assembly.