Wiring for Replacement Remote for Logitech Z5300 Surround Sound System

origin destination color function
Z5300 1headphone jack groundbrownheadphone common
Z5300 2headphone jack tipredheadphone left
Z5300 4headphone jack ringyellowheadphone right
Z5300 6ESP32 +5vblue+5 power
Z5300 7ESP32 GNDvioletcommon
Z5300 11Q1 collector (U1 13)brownstandby
Z5300 12Q2 collector (U1 2)redmute
Z5300 13Q3 collector (U1 10)orangematrix
Z5300 14ESP32 GPIO22yellowSCL
Z5300 15ESP32 GPIO21greenSDA
Q1 base (U1 12)R1 pin 1n.a.base drive current
Q2 base (U1 3)R2 pin 1n.a.base drive current
Q3 base (U1 9)R3 pin 1n.a.base drive current
R1 pin 2ESP32 GPIO12n.a.base drive voltage
R2 pin 2ESP32 GPIO17n.a.base drive voltage
R3 pin 2ESP32 GPIO26n.a.base drive voltage
Q1 emitter (U1 11)groundn.a.common
Q2 emitter (U1 4)groundn.a.common
Q3 emitter (U1 8)groundn.a.common
package substrate (U1 1)groundn.a.common
Rotary Encoder CLKESP32 GPIO13orangequadrature phase 1
Rotary Encoder DTESP32 GPIO15greenquadrature phase 2
Rotary Encoder SWESP32 GPIO12blackencoder push button
Rotary Encoder +VESP32 +3.3Vblueencoder pullups
Rotary Encoder GNDgroundslatecommon
C1 +ESP32 +5Vn.a.+5V power
C1 -groundn.a.common

  • R1, R2, R3 = 510 Ω ¼ Watt carbon comp
  • C1 = 4700 µF 10V aluminum electrolytic
  • Q1, Q2, Q3 = any general purpose NPN BJT, e.g. 2N3904, 2N2222, etc.
  • U1 is a 14 pin dip with four NPNs in it from my junkbox.
  • The ESP32 board supplies the 5V to 3.3V regulator.

William Dudley
May 10, 2025

000058 Views