servo library @ 8MHz..

does anyone know if the servo library works well on 8MHz (e.g., mini pro 3.3v) modules? does the updates still happen every 20ms ?

i'm asking because, my servos exhibit these spontaneous glitches every several seconds, which i suspect have something to do with the arduino update signal. when i unplug the servo's control wire from the arduino - these glitches - stop.. does it sound familiar to anyone?

Do some more searching around on the forum - I remember someone seeing similar "glitches" at normal speed; I can't recall what the issue turned out to be, though...

This is assuming you are using a separate power supply for your servos, of course, rated for the expected amperage of the servos (in the worse case scenario of all servos turning under load).

I think it turned out to be the LCD library causing the problem... What other stuff do you have going on that is using timers?

Mowcius

just the serial talking to a xbee (at 57600 bps) - could that be a problem?

Is it a software serial library? If so then yes. Hardware serial, maybe but I'm not sure about that.

Can you use servo.detach() to detach the servo in software while the xbee is being used or is that not possible in your application?

Mowcius

hardware serial library. i can't detach it as i'm constantly updating the servos positions from the xbee..

The XBees will communicate at 115200. Try bumping the baud rate.