Micro ssc: turning off the servo does not work

Hi together,

I’m trying to control a servo with the micro ssc using a c programm.
Things like setting the speed and the position are working fine.
But turning off the servo to save power does not work.
I’m using the pololu mode and the command I am sending is

    buffer[0] = 0x80;
    buffer[1] = 0x01;
    buffer[2] = 0x00;  // command
    buffer[3] = 0x01;  // servo#
    buffer[4] = 0x4F;  // switch off
    buffer[5] = "";

but the servo still fights against the load.
Is this not working with every type of servo or got I something wrong here? :confused:

taz

Hello.

The command you’re sending isn’t quite right. If you want to turn servo 1 off, you need the command 0 data byte to have its sixth bit cleared:

servo 1 off command packet = 0x80, 0x01, 0x00, 0x01, 0x0F
servo 1 on command packet = 0x80, 0x01, 0x00, 0x01, 0x4F

- Ben