A gripper is a device which enables the holding of an object to be manipulated. The easier way to describe a gripper is to think of the human hand. Just like a hand, a gripper enables holding, tightening, handling and releasing of an object. The gripper you get with the Robotic Arm kit is actuated using Servo Motor.
Your Gripper is Complete :), Now we have to program it.
In the following example, I will be showing you how to control servo through channel 1. Given below is the circuit diagram:
A Servo pin has three wires (Order to be connected in evive, left to right)
Upload the latest firmware into evive using Arduino IDE. If you don’t have firmware installed, download it from here. If you don’t have Arduino installed, go through this page to install Arduino.
Once you have uploaded the firmware into evive, go through the following steps:
Use the following code to control The gripper:
Arduino uno has 6 PWM pins: 3, 5, 6, 9, 10, and 11 which provide 8-bit PWM output with the analogWrite() function.
We will controlling servo using Pin 3.