Control gear motor like a Servo, project , suggestions

PeterH:

Selda81:
I want to improved, any suggestion?

What aspect do you want to improve? Does it actually do what you want at the moment?

The reading of the pot inside the gear motor, is inaccurate, sometimes it goes throw the limit points and I want to quit the delays.