Proper use of analog mux HEF4051B

analogmultiplexer

I'm having problems using HEF4051 as an analog mux. I'm using it to switch between different audio toslink signals. Right now I'm only testing it with one signal and it works for 1-2 seconds when I connect power and then the sound cuts out. I can repeat this over and over again by reconnecting power.

Vout is the "input signal" and Vin is connected to "output signal" in the schematic below. I've narrowed the problem down to the mux since it works constantly without the mux in between (Vin and Vout connected directly to eachother).

The datasheet is confusing to me since it labels y0-y7 as both inputs and outputs so I'm not sure I'm using it correctly when I'm using Y0 as an input and Z as an output. Also I'm not sure if Vee is connected properly

I connected a multimeter to see what Z is sending out and for the period of time where I get sound Z is outputting 1.6V. Then Z drops to 0.9V and I get no more sound.

enter image description here

Best Answer

The TOSLINK signal you are trying to switch is digital in nature and high-frequency, which a general-purpose analog switch does not handle very well. The datasheet of the transmitter does not seem to specify its input impedance, so it might be rather low, which would add to the problem.

I strongly suggest that you use a digital multiplexer instead of your analog one. For 3V3 I would suggest an 74AC151.

Related Topic