Skip to content

How to set max current with Aref potmeter on Bigtree driver #93

@Oegtsgeest

Description

@Oegtsgeest

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions