How to connect a Digital Potentiometer

digital potentiometerdigital-logicpotentiometer

Okay so I am definitely not knowledgeable in electronics and need some help involving a digital potentiometer.

I would like to know how I would use the AD5121 digital potmeter.

Lets pretend I had a simple circuit that consisted on a regular AA battery as the power supply, then the digital potentiometer, and then a transformer or whatever.

How would I connect the potentiometer into the described circuit and have it controlled by a microcontroller.

Also: I tried looking at the technical document but I had no idea what I was looking at.

Best Answer

You'd use it just as you would an analog pot, with caveats.

  1. The voltage on all the pins must remain within the supply voltages of the device or less. The datasheet would have specific details. The ICs usually have protection diodes which would clamp any voltage beyond the allowed range. If the situation persists, you can damage the IC.

  2. The resistance when the IC is turned off is usually infinite. Youd have to power it up for the wiper (centre pin of a regular pot) to be connected.

  3. When the device is powered up, it may not be in the condition it was it when it was powered down. If this is going to cause trouble, such as a low resistance path between V+ and ground, say, you should take precautions.

  4. They usually can deal with much less current than an analog pot can. Be careful and follow ratings carefully. ICs are more expensive than analog pots, and sometimes harder to replace and/or debug.