# Adafruit DS3502 I2C Digital 10K Potentiometer has range of 2k-12k

**URL:** <https://forum.core-electronics.com.au/t/adafruit-ds3502-i2c-digital-10k-potentiometer-has-range-of-2k-12k/13342>\
**Category:** Uncategorized\
**Created:** [7 March 2022 08:51 UTC](https://forum.core-electronics.com.au/t/adafruit-ds3502-i2c-digital-10k-potentiometer-has-range-of-2k-12k/13342 "2022-03-07T08:51:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark86044](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/mark86044/32/2800_2.png) [@Mark86044](https://forum.core-electronics.com.au/u/Mark86044)\
**Post date:** [7 March 2022 08:51 UTC](https://forum.core-electronics.com.au/t/adafruit-ds3502-i2c-digital-10k-potentiometer-has-range-of-2k-12k/13342/1 "2022-03-07T08:51:51Z")

</div>

I’m just a simple hobbyist, learning as I go.

I bought this nice [Adafruit DS3502 I2C Digital 10K Potentiometer](https://core-electronics.com.au/adafruit-ds3502-i2c-digital-10k-potentiometer-breakout-stemma-qt.html) from Core Electronics.

To test it out, I used the Adafruit\_DS3502 library to set the wiper to position 0 for tenseconds then position 127 for ten seconds on loop. This should switch between its two extremes. Using a multimeter, i measured the resistance between the RW and RL pads.

The resistance certainly changes on schedule , but not between the values I expected . Instead the minimum was aprox 2kohms and the maximum was 12kohms.

I tried switching my multimeter probes around, so positive was on the RL pad and negative on RW. No difference .

I checked the resistance of just the multimeter probes and they are only 5-6 ohms.

So where does this additional 2kohms of resistance come from ? Have I understood how it should work? The product is advertised as having " **128** possible levels of resistance to choose, from **0-10K ohms**" but is there usually a large margin of error ?

Any advice would be much appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [7 March 2022 09:21 UTC](https://forum.core-electronics.com.au/t/adafruit-ds3502-i2c-digital-10k-potentiometer-has-range-of-2k-12k/13342/2 "2022-03-07T09:21:43Z")

</div>

Hi Mark.  
I have never used one of these devices but I am suspicious when I see the CHANGE is the rated 10k, (2k to 12k). As if something else is going on. There is a voltage on the ohm meter leads when measuring resistance but I would not have thought that would affect the operation as after all in practice there is probably going to have all sorts of voltages present.  
It is almost like you had 2k in series with the meter while measuring.  
I noted that you switched leads around but did you try measuring from the other END of the pot to the variable point. There may be 2k built in to one end for safety reasons. The data sheet for the device may shed some light on this.

I had a quick look at that link but didn’t find anything that looked like a data sheet.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [7 March 2022 21:59 UTC](https://forum.core-electronics.com.au/t/adafruit-ds3502-i2c-digital-10k-potentiometer-has-range-of-2k-12k/13342/3 "2022-03-07T21:59:16Z")

</div>

@Mark86044 Measuring the resistance may be fraught because the transistors inside the pot are relying on there being voltage difference present between RH and RL. A digital pot does not operate _exactly_ like a variable resistor.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/7/78fe828f8007bc118ec82f2dfd99d36db29c4a3a.png)

I’d be curious to see the outcome of a different test.

- Connect RH to +5V and RL to GND.
- Step the potentiometer 0, 63, 127 and measure the voltage between RW and GND at each setpoint.

You ought to see ~0V, ~2.5V and ~5V at the wiper. If so, the device is working as intended.

* * *

Further, you can also see in the datasheet the output is specified as the voltage at the wiper, not necessarily the resistances between wiper and RH or RL

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/2/20d6c57491b5921a0e43f5b92da9347f05fbc7ce.png)

In any case, best of luck with your experiments! Let us know how you travel.

**[DS3502 Datasheet](https://datasheets.maximintegrated.com/en/ds/DS3502.pdf)**

---

<div class="post-metadata">

**Author:** ![Mark86044](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/mark86044/32/2800_2.png) [@Mark86044](https://forum.core-electronics.com.au/u/Mark86044)\
**Post date:** [8 March 2022 10:36 UTC](https://forum.core-electronics.com.au/t/adafruit-ds3502-i2c-digital-10k-potentiometer-has-range-of-2k-12k/13342/4 "2022-03-08T10:36:25Z")

</div>

Thanks Bob and Michael for your suggestions. I just did a couple of quick experiments.

The resistance between RH and RW is the same as between RL and RW (approximately 2k-12k). But the resistance between RH and RL is always 10k!

I’ll do the voltage divider experiment but I suspect you’re right and that it’s working correctly to give a variable voltage and what I actually needed was some sort of programmable a variable resistor.

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [8 March 2022 22:03 UTC](https://forum.core-electronics.com.au/t/adafruit-ds3502-i2c-digital-10k-potentiometer-has-range-of-2k-12k/13342/5 "2022-03-08T22:03:03Z")

</div>

What is it that you’re trying to do - @Mark86044? What’s the project?
