Replacing Analog with Digital Potentiometer on a AC DC Switching Power Supply

Hi,
I am pretty new to all of this and wanted to run this by you guys before screwing something up.
I have this Power Supply I'd like to control with an Arduino.


The Potentiometer is a W502 so 5Kohm, I plan to target the CV.

Here is how it looks on the other side:

When I turn the screw clockwise, (to full power) I get almost zero voltage coming through the pins, where as if i go counter clock wise, (lowering the main output) the voltage on the pins goes up to ~2.6v. And it remains the same on both of the positive pins. So I assume it works like a rheostat.

I have a X9C103S Digital Potentiometer 10Kohm

And am unsure how to connect it. I assume VL should be ground. VW the middle and the last pin VH?

My other concern is that I have now two separate power sources (arduino has it's own) interacting with each other. Unless I short the temperature sensor so that the fan is always "on" and plug the arduino into it so that at least they have the same ground. Or am I overthinking it?

Oh and do I have to completely remove the other analog potentiometer? Or can I leave it on max and have the digital one in parallel?

And last question: Is this the easiest / simplest way? Because I do have a motor driver shield. Can I connect that to the pins instead and give it voltage?

Thanks in advance.

You have to derive the electric circuit diagram. ANs of the controlling IC may give a clue.

Most probably digital pots wont withstand mains voltage.

Where would I find one?
It's this one specifically:

I contacted the seller, maybe they can help but I am not holding my breath.

You have to find the chip and contact its manufacturer, in detail for Application Notes.


This is the only chip I could find. Google search didn't help much.

Guess I'd better start figuring out how to glue a stepper motor shaft to the tiny screw on the potentiometer?

Edit: Missed the 3d board


Start finding digitally controllable supplies.

Try asking chatGPT;
94116d9e-3afd-4b50-8f97-4d7759af4c69.pdf (761.8 KB)

Why do you want to do this?
What is your project?

Can you please tell us your electronics, programming, arduino, hardware experience?

Tom.... :smiley: :+1: :coffee: :australia:

Those variable resistors are multi turn 0.5W so the digital replacement would be fine.

As far as replacing them is concerned, you do not need to know how or where they are connected.
As far as the connections are concerned, as long as Rw/Vw is connected to the wiper terminal, then it won't matter about the other pins, given you will be able to use the firmware to call one end high and the other low.

From the data sheet that I found for that type of variable resistor, pin 2, the middle one is the wiper. https://www.bourns.com/docs/product-datasheets/3296.pdf

X9C103S 10K ohm
https://www.renesas.com/en/document/dst/x9c102-x9c103-x9c104-x9c503-datasheet

yeah... I figured out that part the hard way but thanks (kidding)

You were right, it overheated. Thanks anyway!