www.keyestudio.com
myservo3.write(pos3); // lower arm will draw back
delay(5);
if(pos3<35) // limit the retracted angle
{
pos3=35;
}
}
}
*****************************************************************************************************
Test Result:
Upload the code to main board and stack the shield onto it and wire them
up, then 4DOF robot arm will keep the initial position. You can control the
robot arm with Joysticks
3.4 Add Memory Function
Memorize One Posture
Description:
In the previous section, use the analog value of pin X,Y of 2 Joystick
modules to control the robot arm.
In the following experiment, we add a memory function for the robot arm,
111
Need help?
Do you have a question about the 4DOF and is the answer not in the manual?
Questions and answers