This project is a way to convert a DC motor into a stepper motor. Of course "conversion" will not be "physical" but the DC motor will become a Servo Motor and will be controlled as a stepper.
You will find all the sescription of this project into my hackaday page : https://hackaday.io/project/193659-lets-convert-a-dc-motor-into-a-stepper-one