• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Mini Projects / 2 Digital Potentiometer Circuits Explained

2 Digital Potentiometer Circuits Explained

Last Updated on January 19, 2025 by Swagatam 17 Comments

In this post I have explained a 2 simple, single chip digital potentiometer circuits which can be controlled through a single pushbutton, a dual pushbutton (up/down) or even through external digital (CMOS/TTL) input triggers.

1) About DS1869 Dallastat

TM is a rheostat or potentiometer. This unit delivers 64 conceivable consistent tap outputs over the over-all resistive spectrum.

The typical resistive stretches are 10 kΩ, 50 kΩ, and 100 kΩ. The Dallastat may be governed by both a mechanical switch contact closure input or simply a computerized reference input for example a CPU.

The DS1869 functions from 3V or 5V supplies. Wiper setting is sustained without having power by means of a EEPROM memory cell range.

The EEPROM cell array is going to endure higher than 50,000 writes. The DS1869 can be obtained from two regular IC packages such as an 8-pin 300-mil DIP and an 8-pin 208-mil SOIC.

The DS1869 could be set up to function employing an individual pushbutton, combined pushbutton or electronic base input by switching power-on setting.

This is drawn out in Figures 1 and 2. The DS1869 pinouts enable entry to each ends of the potentiometer RL, RH, in addition to the wiper, RW.

Control inputs contain the digital reference input, D, the up contact input, UC, and the down contact input, DC. Supplementary pins incorporate the positive, +V, and negative, -V, supply inputs. The DS1869 is stipulated to function from -40°C to +85°C.

Main Features and Pinout Details:

digital potentiometer IC DS1869 pinouts and datasheet

Circuit Operation

The DS1869 could be custom made to execute from an individual contact closure, twin contact closure, or a digital root input. Figures 1 and 2 depict the two contact closure variations.

Contact closure is considered as a changeover from an increased level to a reduced degree on the up contact (UC) or down contact (DC) inputs.

All three control inputs are busy while in a low status and are sedentary while in a high disposition. The DS1869 interprets input pulse widths as the method of regulating wiper motion.

One pulse input on the UC, DC, or D input terminals will result in the wiper placement to relocate 1/64th of the entire resistance.

A changeover from a high to low on these inputs is regarded as the outset of pulse process or contact closure. One pulse has to be more than 1 ms nevertheless running not anymore than 1 second. Pulse timings are presented in Figure 5.

Recurring pulsed inputs may be used to approach via every resistive placement of the unit in a typically rapid technique (see Figure 5b).

The necessity for frequent pulsed inputs is because pulses needs to be split up by optimum time of 1 ms. In the event that the input is not permitted to be sedentary (high) for a minimum of 1 ms, the DS1869 will probably read repetitive pulses as just one pulse.

Pulse inputs continuing more than 1 second will result in the wiper to relocate one place every 100 ms following the preliminary 1-second store time.

The complete time to transcend the whole potentiometer employing a nonstop input pulse is presented the equation below:

≈1 second + 63 X 100 ms = 7.3 (seconds)

Schematic Diagrams

IC DS1869 based single push button digital potentiometer circuit diagram
IC DS1869 based dual push button digital potentiometer circuit diagram
IC DS1869 based dual port digital potentiometer circuit diagram

2) Digital Potentiometer using IC X9315

In this second design we investigate the IC X9315 which is actually a solid state digital potentiometer and could be used exactly like a mechanical potentiometer, but through logical supply inputs.

The IC X9315 from Intersil, is a digitally controlled solid state potentiometer, which internally possesses an array of resistors, wiper switches, a controlling system, and a non-volatile memory section.

Block Diagram

Block diagram for the IC X9315 based digitally controlled solid state potentiometer

The IC utilizes a 3 wire interface for controlling the various positions of the wiper, and the potentiometer function is implemented through the array of resistors which are 31 numbers of resistive network, associated with the wiper switching network.

The entire array along with the end points of this resistive network are all integrated with the wiper network such that the wiper is able to access any point of the resistor array for executing the corresponding values of the potentiometer output through the 3 wire interface.

The CS, U/D and the INC pinouts of the IC actually control the wiper positioning.

The device can be also used as a 2 terminal potentiometer or a 2 terminal variable resistor.

The system becomes enabled and selected as soon as the CS input is applied a LOW logic (0V).
The value of the instantaneous wiper position is saved in non-volatile memory space, whenever the CS pinout is
delivered with a HIGH logic, in conjunction with INC input.

As soon as the store function is finished the X9315 is put into a low power standby position, until the unit gets selected yet again with a logic LOW.

How the IC X9315 digital pot works

You will find 3 parts in the X9315: the input control, counter and decode sections; the non-volatile memory; and the resistor range.

The input control segment works very much like an up/down counter. The output of this counter is processed and translated to activate a solitary electronic switch integrating a stage from the resistor range with the wiper terminal.

During appropriate and necessary circumstances the details of the counter is often saved in non-volatile memory and held on to for long term usage.

The resistor range is made up of 31 unique resistors attached in a sequence. At both terminate of the range and in between every resistor there exists an electronic switch which interlinks the network at that position with the wiper.

The wiper, during its course across specified end points, works similar to its mechanical counterpart and doesn't shift further than the final location.

That means, the counter will not flip over, if its clocked to either of the extreme end positions. The electronic switches within the product work in a “make before break” kind of setting once the wiper begins changing tap placements.

When the wiper is transferred a few positions, multiple taps tend to get coupled to the wiper for t IW (INC to V W change). The R TOTAL figure for the product may momentarily be minimized with a considerable magnitude when the wiper goes through a number of positions.

Once the unit is switched OFF, the instantaneous wiper position is saved and preserved in the non-volatile memory.

Next time the power is switched ON, the saved data from the memory are usually remembered and the wiper is placed to the position which was on the last stored power OFF.

How to Program The digital Pot IC

The INC , U/D and CS inputs manage the movements of the wiper together with the resistor array. With CS fixed LOW the unit is selected and activated to react to the U/D and INC inputs. HIGH to LOW transitions on INC goes through a a five bit incrementing or decrementing counter sequence (based upon on the state of the U/D input) .

The output from this counter is decoded back to pick one out of thirty two wiper placements together with the resistive array. The position of the counter is saved in non-volatile memory, anytime CS changes HIGH and also when INC input is HIGH.

As soon as the wiper action is carried out as explained previously and once the newest placement is arrived at, the device must maintain INC LOW whilst putting CS at a HIGH. The fresh wiper placement is now preserved as long as it's not altered by the circuit, or a power OFF is not enforced.

Otherwise the system may select the X9315, activate the wiper shifting, and subsequently unselect the unit without saving the newest wiper placement in non-volatile memory.

The above feature makes sure that the IC always switches ON with the last wiper position data from its memory.

Pin Description of the Device

Digital Potentiometer IC X9315 pinout and specifications

The (RH /VH ) and (RL /VL ) terminals of the X9315 could be compared to the fixed terminals of any standard mechanical pot.

Vcc/Vss:

The Vcc pin is the + DC for the IC, while the Vss is the (-) supply pin of the IC

The minimum voltage is Vss and the maximum is Vcc.

RL /VL and RH /VH and U/D  

The terms RL /VL and RH /VH refer to the relative positions of the potentiometer with respect to the wiper transitional path as selected by the U/D input, and not the voltage level on the terminal.

RW /VW RW /VW

RW /VW RW /VW indicate the wiper link and could be compared with any standard mechanical pot.

A given position of the wiper across the resistor array is determined by the control inputs.

The terminal resistance of the wiper is typically around 200 Ω when the supply at Vcc = 5V.

Up/Down (U/D ) 

The signal on U/D pinout  controls the direction of the wiper movement and determines the incrementing or decrementing situation of the counter.

Increment (INC ) 

The INC input wil respond to a negative-edge trigger. Whenever INC is switched the wiper moves and causes the counter to increment or decrement in the direction which will depend on U/D input logic level.

Chip Select (CS ) 

The potentiometer system becomes enabled and selected as soon as a low logic is applied at the CS pinout of the IC. The instantaneous value of the pot position gets stored in the nonvolatile memory of the chip, as soon as a high logic is detected at the INC pin of the chip. Once this happens the IC goes into low power sleep mode, until the CS pin is selected again with a logic low.

Courtesy: https://www.intersil.com/content/dam/Intersil/documents/x931/x9315.pdf

You'll also like:

  • 1.  How to Understand and Use IC 4093 NAND Gates, PinOuts
  • 2.  Mains AC Xenon Tube Flasher Circuit
  • 3.  SCR Applications Circuits
  • 4.  LED Fader Circuit – Slow Rise, Slow Fall LED Effect Generator
  • 5.  Simple Diode Circuits Explained
  • 6.  16 Easy IC 741 Op Amp Circuits Explained

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « How to Connect Car LED Downlight
Next Post: Linear Hall-Effect Sensor – Working and Application Circuit »

Reader Interactions

Comments

  1. Mike says

    November 5, 2022 at 11:57 am

    Hi,
    Is there an alternative to the DS1869 digital pot chip?
    Local suppliers are out of stock or have discontinued supply of the DS1869.
    Thanks
    Mike

    Reply
    • Swagatam says

      November 5, 2022 at 5:13 pm

      Hi,
      You can try searching “digital pot IC datasheet”, you might come across many alternatives.

      Reply
  2. Massimo says

    November 3, 2021 at 4:20 pm

    Hi all,
    I saw ​this page because I would to simulate an PT100/1000 sensor using digital pot IC.

    I want to use that on a resistive divider to set R.eq from 80 to 200 ohm.

    Tipicaly the input voltage of PT100/1000 sensor is by 2,5 to 5Vdc. Is this usable for this application? Thank you

    Reply
    • Swagatam says

      November 3, 2021 at 5:46 pm

      Yes you can use it…

      Reply
  3. John says

    February 25, 2021 at 2:03 am

    Hi Swagatam,
    I’m still trying to get schematics but in the meantime could you help me with a circuit to use the DS1869 in the two switch configuration as a stereo volume control. Will I need two DS1869, one for each channel? I’m struggling to workout where the audio signal will come in unless this would be VCC and the output on the wiper pin? Maybe this chip is not the most suitable for the application I need? Any suggestions would be appreciated.

    Reply
    • Swagatam says

      February 26, 2021 at 1:33 pm

      Hi John,

      the audio signal can e applied to the RW pin, via a capacitor. After this the UC, Dc pins could be used for th required UP/Down conrol via respective series push-buttons

      Reply
      • John Felstead says

        March 5, 2021 at 4:35 pm

        Many thanks Swagatam, I have sketched out a circuit using two DS1869 ICs to achieve stereo voice activated volume control here:-

        comment image" alt="electronic up down stereo volume control" />
        However I am not sure where the attenuated audio out would be taken. I would have thought this would be on the wiper pin RW but you state this should be the audio in? Please can you confirm. Also what sort of capacitor would a 10uF electrolytic be sufficient and which way round polarity wise. Also I read on another site that two Digipots don’t necessarily work well together and there may be a dual channel version of the chip that might be better.

        Reply
        • Swagatam says

          March 5, 2021 at 8:21 pm

          Looks OK to me!
          In manual version we connect a pot in the following manner:
          comment image" alt="connect a pot manually to signal and amp" />

          So now you can easily figure out how to interpret the same in the electronic version
          Any capacitor between 1uF and 10uF will work OK
          Sorry not sure about the performance, only a practical test will confirm that!

          Reply
          • Swagatam says

            March 5, 2021 at 8:27 pm

            I think there’s some confusion, as per the manual version, the electronic set up is not correct….I will check it out soon

            Reply
        • Swagatam says

          March 5, 2021 at 8:56 pm

          The RH is the music input
          RL is the ground
          RW goes to the amplifier via a capacitor

          Reply
  4. John says

    February 7, 2021 at 11:00 pm

    Hi Swagatam,
    I came across your post when searching for a DigiPot volume control circuit. I want to control the signal input into four different class D amplifiers connected to speakers in each room. I would like to do this using Amazon Alexa voice control. I had thought about using a two channel Tuya Smart relay.
    To substitute for the Up and Down switches. Do you think this would work?
    I don’t want to get into PWM and an arduino or similar.

    Reply
    • Swagatam says

      February 8, 2021 at 11:01 am

      Hi John,

      that may be possible, but I will have to see how the switches are wired and their location in the circuit, only then I will able to confirm the application….

      Reply
      • John Felstead says

        February 14, 2021 at 4:06 pm

        Thanks for reply Swagatam I am trying to find the manufacturer of these relay board so I can ask for a schematic, but that’s turning out to be difficult. In the meantime is there a way to send you some screenshots and specifications?

        Reply
        • Swagatam says

          February 14, 2021 at 7:30 pm

          No problem John, you can upload your pictures to any online image hosting site, and provide the link to me….if I it is possible I’ll try to solve it for you!

          Reply
  5. Eric says

    December 30, 2020 at 11:40 am

    Hello, I’m looking for something like the Digital Potentiometer IC X9315
    that a 3 wire hall effect sensor can be used as the input.
    24v dc motor using china motor controller that has a 100k ohm pot for speed control. I want to replace the 100k pot with a digital pot that I can wire in the hall sensor as the speed controller.
    Thanks
    E

    Reply
    • Swagatam says

      December 30, 2020 at 6:53 pm

      Hello, you can use the concept for your application.
      Every single high clock at INC will cause the pot to move up or down….it will move up if the U/D is held high, it will move down if the U/D is held low.

      But I am not sure how a hall effect can be used for this….may be the hall effect output will need to be converted to PWM and then applied at U/D…..

      Reply
      • Eric says

        December 31, 2020 at 8:13 am

        Thanks for the quick reply. My hopes is to find a chip like the X9315 that has an analog input.
        E

        Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (82)
  • Datasheets and Components (103)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on Best Electronic Circuit Projects
  • TOMMY on Best Electronic Circuit Projects
  • Swagatam on Inverter Circuit with Feedback Control
  • Jerry Adeosun on Inverter Circuit with Feedback Control
  • Swagatam on Contact

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations