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