More than 12 servos on UNO ?

Hi...

I already have 12 servos on my robot running on Arduino UNO... Now, I need to attach one more servo... I know that the servo library can control up to 12 only... I was wondering if there is another library or some other method (or programming someone has done already) to control total of 13 to 14 servos on UNO ?

Thanks

..anyone? :confused:

..anyone? :confused:

" If you lived in the Dark Ages, and you were a catapult operator, I bet the most common question people would ask is, "Can't you make it shoot farther?" No. I'm sorry. That's as far as it shoots." - Deep Thoughts by Jack Handy

zoomkat:
" If you lived in the Dark Ages, and you were a catapult operator, I bet the most common question people would ask is, "Can't you make it shoot farther?" No. I'm sorry. That's as far as it shoots." - Deep Thoughts by Jack Handy

Another quote for you sir: "If you have got nothing good to say....

...then welcome to my thread LOL"

I'm glad someone bothered to at least post something..
It's as if my question/thread is extremely irrelevant to Arduino or programming... how ironic

I have no servo library exerience, sorry.
Might it have something to do with 3 timers controlling 6 PWM pins? Maybe you've hit the limit?

Hasan999:
I'm glad someone bothered to at least post something..
It's as if my question/thread is extremely irrelevant to Arduino or programming... how ironic

Personally I don't post saying "I don't know the answer to that" - so perhaps others were in the same boat.

One fairly obvious way is to connect a second Atmega328 via I2C, then you can have another 12 servos. The extra chip would only set you back $6 plus a couple of capacitors, and a resonator for timing. Or a second Uno for $30 or so.

You could always bit-bang the communications to the servo, it is a fairly simple protocol. I also came across the software servo library, although Im not sure if it is compatible with the newest arduino environment. I would definitely give it a shot though.

What Bilbo said - it just depends on how much other stuff is going on, and how much jitter you can tolerate.