Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › DS1802 and CD4052 mux problems
New Posts  All Forums:Forum Nav:

DS1802 and CD4052 mux problems

post #1 of 5
Thread Starter 

So I have a simple audio selector circuit with one output going straight into a simple opamp for headphone amplification.

For volume control I am using a DS1802 chip and everything is going to be controlled via microcontroller. The switching is done by a basic CD 4052 multiplexer.

Now every piece of the circuit works fine alone and when connected with other pieces (i.e digit pot to amp, mux to amp). The only problem is when connecting the DS1802 and CD4052. There is alot of noise especially as you increase volume. Not just the volume of the noise but the amount of it too. At the highest dB setting you get a large rhythmic popping buzzing type sound.

I can draw up a schematic but its simply connected to each other.

Signal into mux>signal out to high side of digipot>amp connected to wiper>signal out of amp.


I'm not looking for hi-fi here at all, this amount of noise is louder than the actual music though.

post #2 of 5

Are you trying to do this with a single power supply voltage, it won't work.

You need + and - 5  to make the cd4052 compatible with the ds1802.

That or resistors and capacitors so that you don't violate the voltage input

range of the cd4052.

post #3 of 5
Thread Starter 

The 4052 is on +/- 9V rails (same as amp) and the ds1802 is on +/- 2.5V. The noise persists regardless of input signal (whose amplitude is around 1V), I dont remember but I think the noise persists even with the source disconnected.

post #4 of 5

It should absolutely work correctly this way. Try shorting the output of the multiplexer to

ground and see what happens.

post #5 of 5
Thread Starter 

Yea it does work lol. My problem was the logic levels controling the mux, they were too low for the high supply lines I was feeding it. I just connected the - side to the -2.5V I had for the pot. Now my supply lines are +9/-2.5 which allows me to use +5V as logic level high. Not the best solution but since my input has to be lower than 2.5 anyway for the pot I figure it'll work. Its all I could come up with the parts I had on hand.

 

Thanks alot anyway

New Posts  All Forums:Forum Nav:
  Return Home
Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › DS1802 and CD4052 mux problems