Dobot failed homing and back to zero


#1

I had try connect dobot with arduino, when I tried program to call home position. It went to the left but it failed to back to zero. the dobot arm keep moved lower through the based and there was a noisy vibration from the motor (because it crush the base).

The program I wrote as follow :
void loop()
{

Serial.println("\r\n======Enter demo application======\r\n");
//Dobot_GetPoseEx(1);
Pose pose;
pose.x = 250;
pose.y = 0;
pose.z = 0;
pose.rHead = 10;

SetHomeParamsCmd(&pose);

Serial.println("\r\n======Finish demo application======\r\n");
SetHomeCmd();

Dobot_SetPTPWithLCmd(JUMP_XYZ,200,0,0,0,20);
Dobot_SetPTPCmd(JUMP_XYZ,200,0,0,0);

}

I had try to set manually setHome using teaching playback and try to redownload firmware again but still not working.

Do you guys know how to solve this problem??

nb: *I did this for 2 dobot magician and all same behavior, it was my foolishness


#2

it solved, I try upload newfirmware using MCUISP, then setHome again using playing and teachback, afterward try to move joint arms j1,j2 and j3 manually. at last click again home position button using dobot Studio. and it worked