Mechanical Claw for Robot Arm with MG996R Servo
In this tutorial, we will learn how to make a mechanical claw for your robotic arm. We are using the MG99R metal servo, to control the claw, which is perfect for handling rigorous tasks. Weighing only 60 grams and having the maximum angular spacing of 50mm (5cm), this metal servo can be used for a wide variety of applications.
Step wise Assembly:
Upload and Run the Code
Connect the Arduino to the computer using the USB Cable.
Open Arduino IDE software
Select the appropriate board under Tools > Board
Select the appropriate Serial Port under Tools > Port
Here is an example code that you can upload. It will open and close the claw periodically after 1 second. Calibrate the open and close angles of the mechanical claw by changing the appropriate angles in OpenClaw() and CloseClaw() functions.
The example code can be found here.
Author: Nakul Garg