Arduino Power Supply

I want to make a small lithium ion battery power supply with a Arduino where I can change the output voltage and the output current on a touch screen. How can I digitally change the volts and current with the Arduino. I though of a digital potentiometer to change the voltage but then it also change the current and I don't know how I can change the current digitally.

You can't. The Arduino is not a power supply. The controller has no tools to regulate voltage or current. It only can controls an external PSU if the PSU has external control options.
So you need a PSU with ability of external control first. And probably, if you have the one - you don't need an Arduino.

Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.

That's possible but only if the load draws current in the tens of microamp range.

And still abide by Ohm’s Law?

1 Like

So your telling me that it is not really possible. But is it possible if I use a Arduino only as the control unit to control other hardware to do the voltage and current control.

You can use the pwm output of the arduino, via a suitable filter, to control a variable voltage PSU circuit. I have a LOT of information about that sort of thing here

and if you only want small currents you could use this circuit, replacing "DUT" with the terminals for to PSU's output.

The circuit also measures the current to with a small change in the code you could also control that.

Thank you very much. It looks like it could work.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.