Wiring for Replacement Remote for Logitech Z5300 Surround Sound System
origin |
destination |
color |
function |
Z5300 1 | headphone jack ground | brown | headphone common |
Z5300 2 | headphone jack tip | red | headphone left |
Z5300 4 | headphone jack ring | yellow | headphone right |
Z5300 6 | ESP32 +5v | blue | +5 power |
Z5300 7 | ESP32 GND | violet | common |
Z5300 11 | Q1 collector (U1 13) | brown | standby |
Z5300 12 | Q2 collector (U1 2) | red | mute |
Z5300 13 | Q3 collector (U1 10) | orange | matrix |
Z5300 14 | ESP32 GPIO22 | yellow | SCL |
Z5300 15 | ESP32 GPIO21 | green | SDA |
Q1 base (U1 12) | R1 pin 1 | n.a. | base drive current |
Q2 base (U1 3) | R2 pin 1 | n.a. | base drive current |
Q3 base (U1 9) | R3 pin 1 | n.a. | base drive current |
R1 pin 2 | ESP32 GPIO12 | n.a. | base drive voltage |
R2 pin 2 | ESP32 GPIO17 | n.a. | base drive voltage |
R3 pin 2 | ESP32 GPIO26 | n.a. | base drive voltage |
Q1 emitter (U1 11) | ground | n.a. | common |
Q2 emitter (U1 4) | ground | n.a. | common |
Q3 emitter (U1 8) | ground | n.a. | common |
package substrate (U1 1) | ground | n.a. | common |
Rotary Encoder CLK | ESP32 GPIO13 | orange | quadrature phase 1 |
Rotary Encoder DT | ESP32 GPIO15 | green | quadrature phase 2 |
Rotary Encoder SW | ESP32 GPIO12 | black | encoder push button |
Rotary Encoder +V | ESP32 +3.3V | blue | encoder pullups |
Rotary Encoder GND | ground | slate | common |
C1 + | ESP32 +5V | n.a. | +5V power |
C1 - | ground | n.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
|