Programming for Arduino UNO R3, ATMEGA328P, Chip CH340G

Job ID: 39080756

Budget: €30 – €250 EUR

I would like to get an code for the mentioned Arduino UNO device. The code should run a NEMA 34, 12,5nm stepper motor.

Driver: HBS86H
Power Supply: 48V 12.5A
Controller/Potentiometer: see picture

If possible I would like to get rid of the potentiometer and use instead only a on/off switch so start and to stop the motor.

The aim of the motor should be just to start the motor with an acceleration to the max possible speed and max torque (12,5 nm). And just run constantly at that speed and torque.

And by switching off, just to slowing down and stop the motor.