Questions tagged [digital-potentiometer]

A potentiometer whose value is digitally controlled.

A digital potentiometer 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. It is either built using an R-2R integrated circuit or a Digital-to-analog converter. The resistor ladder construction is the most common. Every step on the resistor ladder has its own switch which can connect this step to the output terminal of the digipot. The selected step on the ladder determines the resistance ratio of the digital potentiometer. The amount of steps of a digital potentiometer is normally indicated with a bit value e.g. 8 bits equals 256 steps. A digital potentiometer is often controlled by digital protocols like I²C and SPI, as well as more basic Up/Down protocols. Some typical uses of digital potentiometers are in circuits requiring gain control of amplifiers (frequently instrumentation amplifiers), small-signal audio-balancing, and offset adjustment.

Block diagram of X9C102P, 1K, 100 wiper tap points digital potentiometer:

enter image description here

enter image description here These devices are extremely useful in the modern, digitally controlled world, but have some limitations. While quite similar to a normal potentiometer, digital potentiometers are somewhat constrained by current limits in the tens of milliamperes. Also, most, if not all digital potentiometers limit the input voltage range to the digital supply range (often 0–5 VDC), so some ingenuity is often required when attempting to replace standard resistive potentiometers with digital potentiometers. Further, instead of the seemingly continuous control that can be obtained from a multiturn resistive potentiometer, digital potentiometers have discrete steps in resistance. Eight-bit pots (256-steps) are most common, but potentiometers between 5 and 10 bits (32 to 1024 steps) are available. A fourth constraint is that special logic is often required to check for zero crossing of an analog AC signal to allow the resistance value to be changed without causing an audible click in the output for audio amplifiers.

147 questions
7
votes
4 answers

Using a digital potentiometer in a voltage divider

I'm using an MCP3008 ADC and an MCP4131-103 (10k) digital potentiometer to try and create a sort of "adjustable voltage divider." For the project, the resistance I'm measuring will vary, and I hoped to use the MCP4131 to adjust my reference resistor…
Hendy
  • 205
  • 1
  • 7
6
votes
1 answer

Software SPI implementation for AVR

I am trying to implement SPI in software for ATtiny45 (which does not have support for SPI natively). To test one I'm using the digital potentiometer, MCP4151. It is connected as follows: Microchip provides the document with sample SPI…
shybovycha
  • 208
  • 2
  • 12
5
votes
3 answers

Can I use digital pots for my feedback resistors to a buck-boost regulator?

I'm working on a design, and this will be my first attempt at a buck-boost regulator. I need the output to be variable because my application calls for different voltages under certain conditions. The buck-boost regulator I'm considering is the…
efox29
  • 11,827
  • 9
  • 56
  • 102
5
votes
4 answers

Resistor chain substitute

We have to interface with a device that is expecting a chain of 34 Ω resistors with switches connected to the input pins as shown below. There is no information on the internal schematics of the device, but there is 10 V present on the open circuit…
Maple
  • 11,755
  • 2
  • 20
  • 56
4
votes
1 answer

Coupled or decoupled device?

I'm trying to understand how this AD8402 digital potentiometer works, I need it to be decoupled from the circuit it's driving, that is Vdd, GND and all logic inputs not connected in any way to A, B and W pins. According to the figure 45 (page 20) of…
Solenoid
  • 181
  • 5
4
votes
0 answers

Circuit with resistance equal to input resistance

I want to use a digital potentiometer, however, the digital potentiometer has a power limit, which means I can't apply the voltage for my application. I am looking for a circuit which functions as an "resistance follower": depending on the…
4
votes
2 answers

How to control X9C102 digitally controlled potentiometer?

I have a bunch of Intersil X9C102P, digitally controlled potentiometers that I want to test. These devices consist of a resistor array and some analog switches that select combination of resistors to give the desired resistance. Please have look at…
abdullah kahraman
  • 5,930
  • 7
  • 59
  • 104
4
votes
1 answer

Precision Adjustable Voltage Reference

Can a low-cost, low-resolution RDAC and a precision voltage reference by used to make a coarsely adjustable high-precision DC voltage reference? Consider for example the AD5121 7-bit RDAC with ±5ppm/°C drift and 8% resistor accuracy driven by the…
Mike
  • 513
  • 2
  • 15
4
votes
1 answer

Why would a digipot require the voltages on its terminals to be between ground and VCC?

I'm not sure if other digipots are like this, but with the MCP4151, which I'm using, the datasheet says that the "Resistor Terminal Input Voltage Range (Terminals A, B and W)" has a min voltage of Vss and max of Vdd. I was skeptical about that since…
Anthony
  • 541
  • 5
  • 10
4
votes
2 answers

Phototransistor with digital potentiometer

As per the circuit diagram below, I'm trying to use a phototransistor with a digital potentiometer so that the sensitivity can be adjusted. PH_TR connects to an analog pin on a SAMD21 chip. Is there any reason why this won't work. I'm not entirely…
3
votes
2 answers

Control rheostat digital pot w. arduino - rheostat can't "turn off"?

I have a digital rheostat 10 kOhm potentiometer, that I want ultimately to control the volume of a radio, but for now, just want to fade an LED. I have it fading in/ almost out, except I cannot make the LED turn of entirely. I've been reading about…
Lasse Munk
  • 31
  • 2
3
votes
1 answer

How to read the resistance of a digital potentiometer

I an designing a digitally controlled 5 band analog equalizer. In order to change the gains of each band i am using a few AD8403. I have it hooked up to a stmf3discovery which controls the CLK,SDI,nCS,nRS pins on the ad8403. I have the circuit…
JWL
  • 118
  • 6
3
votes
3 answers

Control timing of Monostable Multivibrator

Im having a hard time really understanding a Monostable Multivibrator. What I'm trying to achieve is being able to control the timing of the vibrator with a microcontroller of some kind. (arduino, pic, raspberry pi pico or the like) I know that Rx…
3
votes
1 answer

Compensate potentiometer wiper resistance with negative resistance (LM358)

I'm trying to cancel wiper resistance of a 10 kΩ DiGiPot that controls output voltage of a switching power supply. I'm using MCP4131-103 that has 120 Ω wiper resistance @0% pot position. This wiper resistance limits the max voltage that I can get…
3
votes
3 answers

Generating +/- voltages for biasing an opamp using a digipot

I am trying to generate a programmable bias voltage for a non-inverting opamp using a digital POT with an up/down interface as putting a micro in the circuit is not feasible. I have come across a wide variety of digipots from Analog Deivces, Texas…
LabMat
  • 161
  • 7
1
2 3
9 10