Go Down

Topic: Servo Control (Read 1 time) previous topic - next topic


Its no trouble really. There are lots of code samples available which you can just use and then slowly modify so that they suit your liking.

I got myself a mega and a sensor shield, and I am extremely happy with my input/output options --> most of the time I dont even need a breadbord, as I can just directly plug everything in.

check out this link if you dont  know what I'm talking about
(the regular version. you can get it for arduino mega as well... asuming you want to control loooots of servos :-D )


Oct 15, 2010, 10:02 pm Last Edit: Oct 15, 2010, 10:03 pm by Korman Reason: 1

you also should consider, that you (and everyone else for the matter) only gets a limited attention span. To put it bluntly, people are only willing to spend so much time helping you. If your requests are more interesting or entertaining, you will get more time by more people, if one comes across as an illiterate dolt, less time will be spent.

Now if  you waste the attention you can get with boring questions or things that can be figured out easily by typing related words into Google, you will get less once you really run into serious problems and need advice. I'm not saying that your first question didn't have some merits, but it's a good idea to consider helpful answers from the internet as a resource to use wisely.

At least that's how I work and it seems I'm not the only one.

Drive carefully, 90% of the people are caused by accidents.



How difficult is it to simultaneously move multiple servos, compared to moving one at a time?

Controlling multiple servos at the same time is not difficult.

For my hexapod, I break the total movement into small slices of time.  I calculate where I want the servos to be at that point in time, then wait.  When the time rolls around, I tell all the servos to move to the calculated positions.
Then I start over.  Calculate where I want the servos to be at the next time point.  Wait for that time.  Tell the servos to move.

Kind of like the servo sweep tutorial, where is uses the delay between each iteration of the loop.  But instead of a delay, I have the main loop do nothing until the millis tell me that the next time point has arrived.

That, and a little bit of array work to deal with the multiple servos easily, and you are off to the races.


So, I'd like to be sure the device does what I would like it to do before spending the cash and devoting the time.

One problem is your question is a little too broad and not focused. There is virtually nothing a Arduino can't do with servos, however an Arduino as shipped does absolutely nothing other then possibly blink pin 13 LED. So not knowing your skill level in C programming or your patience in learning to program, it's really hard for any of us to tell you if the Arduino is the best solution for you needs.


Go Up