How to control the output of current of a G2 Motor Driver using arduino?

I currently have an arduino nano every, and a Pololu G2 High-Power Motor Driver 24v13. This is a motor driver but I thought it could serve as a power supply in this instance. The motor driver's distributor says it can output up to 13A, so I want to make an arduino program that signals the G2 and tells it to output anywhere from -10 to 10amps when I input the number into the Serial Monitor. Is this even possible? I am not trying to power a motor, I just want the output to end up in a wire coil.

What is the difference between the two statements?

If the current is in the wire coil that makes up the motor, then it is being powered.

Well you could try but I wouldn’t think you had much of a chance.

The thing that controls the current is the resistance into the VREF pin and ground.
The description says
VREF Reference voltage input: An additional resistor can be connected between this pin and GND to lower the current limiting (chopping) threshold. Without an additional resistor, the current limit defaults to about 30 A. See below for details.

So the simple answer would be to to connect a digital pot chip between this pin and the ground.

However look up what current the VREF pin takes and look up what current your digital pot can handle.

@moffermann18 as your question has absolutely nothing to do with the section you posted it in I have moved it here.

Thank you. And for your first point, I'm very new to arduino and electronics in general, I wasn't sure if this component being a motor driver meant that it could somehow only be specifically used for motors. I will take more time to ponder your second point and see what I can come up with.

Thanks again

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