Quote:
|
Originally Posted by mallot1243
...is there a way to develope a potentiometer structure in replacement of the servo function?
|
Absolutely. What you want is something called PID position control. Search the forums for PID and you'll find plenty of pointers.
Briefly, you control the motor speed based on the difference between the desired and measured position (in order to move it into place), modified by the rate at which the difference is changing (in order to keep it from overshooting), with a term that pushes harder as it's out of place longer (in order to nudge it if it settles a little short of the target).