I use different steppers NEMA14, 17, 23. I need to set max but safe currents to achieve max torque.
Using a Aref potmeter is a handy tool for that due to the fixed relation voltage torque.
The question however is what settings to use? Now I use enableAnalogCurrentScaling() , useExternalSenseResistors() and setRunCurrent(100).
Turning the potmeter, I do not see the voltage over a shunt resistor in a stepper phase vary.
What do I have to change in the setup?
In the text under Readme it says under Autoscaling "Use enableAnalogCurrentScaling() to allow VREF, the analog input of the driver, to be used for current control." But this does not seem to work. I am puzzled