Hello All,
I am trying to accurately control the position of a stepper motor using either a variable resistor or maybe some type of rotary encoder. I have written the code and have had some luck
but I can't seem to get my system operating right, mostly I think because I'm using the POT command and variable resistor. The ideal system would turn the stepper motor 1/2 turn with the full swing of the variable resistor or encoder, and then slowly return to its original position as the v. resistor is turned back down. There are probably separate controllers that already do this but I prefer banging my head against the wall. So, any help would be greatly appreciated.