Rather than hijack another person's thread, I started this one. I'd like to make a servo out of a windshield wiper motor, a potentiometer and a motor controller. An Arduino controls the motor controller.
So far I've just got a simple algorithm that will get the motor to within plus or minus 1% of a target value between 0 and 1023. But the time to get on target is fairly slow -- about three seconds to go the full range of the potentiometer. I'd like to do better.
I've seen a suggestion to use a PID algorithm. How exactly would I do that?