I am trying to use a digital potentiometer for volume control in a LM386 Amplifier circuit.
I am using the LM386 amplifier with the above setup. The mechanical 10K pot has been replaced with a 10K AD5245 Digital pot.
During testing the resistance value is scaled up from 0 to 255. The first problem is that at the value 0, the volume should be zero but an audible tone can be heard. The second problem is due to the potentiometer being linear, after the 5th or 6th tap the volume is at "Full". I have been trying to make adjustments to make a pseudo logarithmic scale but with no luck so far. Anyone got any ideas I could try?