Code arduino stepper motor

Job ID: 34338356

Budget: $10 – $30 USD

hello. I’m looking for someone to do the code for a model project.

I want to control a stepper motor with 2 modes.
First mode by manual input, maybe potentiometer. Variable speed and it should move within a certain frame of steps, not exceeding the limits.

Second mode should be a pre coded movement with acceleration, and deceleration at end position, then pause, then same way back to first position . Repeated with some pause. Should have a start routine when switching from manual mode, should go to first position.

Switching between the modes with a button or switch.

If possible Id like the stepper to cut power when stationary. to avoid hot motor.

Code should have explanations so that I can set up the variables.