Stepper Amperage Monitoring
-
Our printer has a duet 2 board and I am wondering if the board itself actively monitors/ is able to display the current being given to any specific servo.
We have a clay extrusion system and want to use the motor current draw as a metric for the viscosity of the fluid being extruded.
-
@ReeseD Are you using external stepper/servo drives, or stepper motors connected directly to Duet 2 stepper motor drivers? If the former, the external stepper drivers may output some information, possibly over a serial connection, though it's unlikely that the Duet 2 can connect to the driver and use this information. For the latter, as far as I'm aware, the current is not reported, mostly because the current is set at power on (by M906), and it's the voltage that is varied to achieve the movement of the motor.
You may still be able to read the current and voltage, using a stepper motor analyser such as https://github.com/zapta/simple_stepper_motor_analyzer?tab=readme-ov-file or https://github.com/zapta/ble_stepper_motor_analyzer. But I don't think you could integrate this into a realtime feedback mechanism for the Duet 2.
Ian