PeterH, QuoteThere's nothing stopping you from putting a feedback loop on your motor controlWell, unfortunately what is stopping me is lack of skills in control theory: I've not done the homework, not finished a single control theory book (but have chosen what to read, it has matlab simulations to pass to hopefully couple theoretical understanding with some intuition). I'd give a try to the PID lib you kindly suggested but hardly imagine that in this concept any good result comes without sound theoretical background and gained intuition in putting them to work.
There's nothing stopping you from putting a feedback loop on your motor control
You may be surprised how easy it is once you have got your head around the basic concept.
I suspect you will find some useful stuff here... http://www.openservo.com/
Tylernt, Far-seeker:My pots are ordinary under 1$, the neck and head motor both will have less than 180deg. movement. The state of neck and head (turning left or right, up or down) will be reported by pot for the process and by limiting micro switches for end points so this should not be a problem. I first added micro switches and implemented them, then I had a problem with debouncing and turned to forum and made a post some days ago. Got great new ideas like always. Now in redesigning (will use debouncing with flip-flop chip this time, as suggested by community people).
If I command motor (still not by PID) to keep on a position, say, if pot<x turn right and just as pot>x turn left, the noisy movement is not only coming from the fact that I didn't use a PID, but also from the pot being a <1$, too noisy type.
But, I have no idea how to build a miniature brake.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16