Multiple Servos

I'm trying to get more than two servos to work. I read this page here: http://www.arduino.cc/playground/ComponentLib/Servo

Apparently that is very old since lib/targets/libraries folder does not even exist and it tells me to place the files there. Instead I put them in the hardware library Servo (replacing the old ones), but I get some error.

Is there any other way to control more than two servos?

It is possible to get that library working - you should be able to find some solutions searching the forum.

But there is a library here that supports 8 servos and is easier to use because it doesn't need you to constantly call a refresh method: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1230479947

And if you can wait a few days I am testing a new library that supports 8 servos (possibly 12) on a standard Arduino and 32 (possibly 48) an the new Arduino Mega :)

Also, you could use a chip such as the TLC5940; a PWM I/O expander that will allow you to control up to 16 servos on each chip with great accuracy. You can also daisy-chain them so it is theoretically possible to have infinite servos. But obviously this is not actually possible! There is a also a great library for this chip.

but I get some error.

Could you say what error(s) you got?

And if you can wait a few days I am testing a new library that supports 8 servos (possibly 12) on a standard Arduino and 32 (possibly 48) an the new Arduino Mega

I'd be interested in this as well, I'm currently playing around with the TLC5940, but I'm having a hard time getting reliable performance out of it, the servo (HS-422) won't turn as far to one side as it does to the other for instance, but this could very well be up to my newbieness.

/A

And if you can wait a few days I am testing a new library that supports 8 servos (possibly 12) on a standard Arduino and 32 (possibly 48) an the new Arduino Mega

I really would be interested in that library. Thanks in advance.

There is beta code of the library supporting 12 servos on a standard Arduino (48 servos on a Mega) : http://www.arduino.cc/playground/uploads/Code/MegaServo.zip

And some information on its usage here: http://www.arduino.cc/playground/Code/MegaServo

Works great, thanks!

Now I just need to get some more servos :)

/A