So I'm getting ready to start a pretty big project which will require volume control of an analog audio circuit. Foreseeing this I ordered a couple MCP4131's from Mouser.
It's a simple SPI-controllable single channel digital pot with a maximum resistance of 75K ohms. I created a simple test circuit, just learn the ins and outs of the chip. The circuit is pretty simple, inserted the 4131 where the variable resistor would go on a LCD display brightness control.
But Chris! LCD Brightness is controlled by a 10k pot! Crap. My original idea was to add a resistor in parallel (1/10k = 1/75k + 1/R, right?). Reading up on the chip I see that it has a resistor ladder network. If I'm reading page-37 of the data sheet correctly, can't I just use this line of code to get around it -
Brightness = map(brightness, 0, 254, 0, 39);
Eehhh...or am I completely reading this wrong? Help? :o
-C