Digital potentiometers are chips that feature two pins that act like the pins of an ordinary resistor and additional pins that are used to control the resistance value digitally. The MCP4151 by Microchip is such a digital potentiometer and is controlled via the SPI communication protocol.


Debug data: