EasyManua.ls Logo

Keyestudio 4DOF - Dual-Joystick Controlling

Keyestudio 4DOF
276 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
144
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.
Right
Joystick
Servo
Left Joystick
Servo
X1<50
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° )
X2<50
Servo 4 gradually reduces to 0°
(push the left joystick to the
right, the claw is closed)
X1>1000
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° )
X2>1000
Servo 4 gradually increases to
180° (push the left joystick to
the left, the claw opens)

Related product manuals