3) Dual-JoyStick Controlling
Description:
In the previous section, we have introduced how to use 4 Servo to control the robot arm. Next, combine those two
experiments. Use two Joystick modules to control 4DOF robot arm realize different motions.
At first, set the boot posture. The Joystick control is shown as below table.
Servo 1 gradually reduces to 0° (push the right
joystick to the right, the servo that controls the
arm rotation turns right, and stops at 0° )
Servo 4 gradually reduces to 0°
(push the left joystick to the
right, the claw is closed)
Servo 1 gradually increases to 180° (push the
right joystick to the left, the servo that controls
the arm rotation turns left, and stops at 180° )
Servo 4 gradually increases to
180° (push the left joystick to
the left, the claw opens)