Positioning stepper motor spindle via potentiometer

Good afternoon,
I am not an extensive electronic wizard but I have designed many 3d printers and had and run a workshop with over 30 CNC machines with heidenhains, siemens, fanucs and did write all my programs, I have a lot of arduino megas, arduino unos and a lot of surplus drivers like A4988, 8825 and Trinamic drivers and also a lot of surplus Nema 17 motors, 12 and 24 v power supplies. I built machines with the duet wifi stuff as well but I am a bit rusty as I have left this stuff some seven years without touching anything and now retired and have many dream projects to do. Basically I know how to deal with C basic arduino code BUT I never managed to learn to write this language properly. If I get a sketch I can modify it and possibly extend it but I cannot create it on my own from scratch... I can do very complicated circuits, wireing, soldering and can understand electronic components. That is my level of knowledge. programming the arduino is not my strength and that is why I am here :slight_smile: