I'm about to build a Mearm (http://mearm.com/) which is my first project with arduino (or with anything that includes coding really).
It has four small servo motors which I'm going to be controlling with potentiometers. But I would also like to create pre-programmed routes for it (which mearm would run automatically). Can you guys advice me or link me to a guide which shows how to to do this.
But I would also like to create pre-programmed routes for it
What do you mean by "pre-programmed routes"? Is that going to be a series of new positions for each of the 4 servos? Where is the data going to be stored? How is the data going to be stored?
Then the answer is any way that you like. You get to define how the data is stored.
Of course, you need to consider what data needs to be stored. Are the servo positions sufficient? If so, how will the Arduino know how long to hold in any given configuration? Or, should it simply slam through the set up positions as fast as it can?
PaulS:
Then the answer is any way that you like. You get to define how the data is stored.
Of course, you need to consider what data needs to be stored. Are the servo positions sufficient? If so, how will the Arduino know how long to hold in any given configuration? Or, should it simply slam through the set up positions as fast as it can?
It shouldn't just go through everything at max speed. Do I just use delays between the movements? Also it would be nice to control the speed of individual servo's speeds.