A digital potentiometer (also known as digital resistor) has the same function as a normal potentiometer but instead of mechanical action it uses digital signals and switches. This is often done by making use of a resistor ladder, a string of small resistors in series. ... Only one switch is closed at any time.
What is a digital potentiometer used for?
A digital potentiometer (also called a resistive digital-to-analog converter, or informally a digipot) is a digitally-controlled electronic component that mimics the analog functions of a potentiometer. It is often used for trimming and scaling analog signals by microcontrollers.
How do you wire a digital potentiometer?
Digital Potentiometer with Arduino
- Wire 5V to VDD (8) and PA (5)
- Connect the ground to PB (7) and VSS (4)
- Next, connect a resistor in the 100Ω range to PW (6), then to an LED.
- The LED should connect to ground to connect the circuit.
- Arduino pin 10 goes to CS (1) on the MCP41XXX.
- Pin 11 will connect to SI (3)