calibrate angles – base () link1 () link 2 () rotational () gripper ()

calibrate angles block

Calibrate angles – base () link 1 () link 2 () rotational () gripper () is a stack block available in Robotic Arm extension for evive and other Arduino boards. This block should be included every time you work with the robotic arm as this block calibrates the angles of the servo motors and saves it in the memory of evive.

Input Parameters

  1. Enter the error angle of base servo.
  2. Enter the error angle of link 1 servo.
  3. Enter the error angle of link 2 servo.
  4. Enter the error angle of the rotational servo.
  5. Enter the error angle of the gripper servo.
evive Notes Icon
Note: This block is available in both Stage and Upload mode.


Here, in the given script, we’ll be calibrating the entire robotic arm i.e. all the six servos before working it. Write the script given below to calibrate all the servo angles.calibration script

  • Run the script by clicking on the green flag.
  • If the robotic arm is straight, keep the base angle as 0° in the calibrate angles blocks. If it is not straight, then change the base offset angle and run the script. Use the trial and error method to calibrate the servos.on block. For example, if the base angle is about 15° towards the left, then set the base angle as -15° in the calibrate angles block.Calibarting Base ServoCalibarting Base Servo
  • Similarly, calibrate the rotational servos. If it is straight, keep the rotational angle as 0°. If not, then change the rotational servo offset block.
  • Now, it’s time to calibrate the link servos. Using a scale, measure the distance of the end effector from the head of Rotational Servo to the base center in the Y and Z direction. If it is 200mm in both directions, then it’s ok; otherwise, change the link 1 and link 2 angles in the calibrate angles block, so that the distance is 200mm along both the axes.

Calibrating the Link 1 and 2Servo:

evive Alert
If you need to change any angle by more than 25 degrees, then disassemble the Robotic Arm and carefully reassemble it.

Run the script every time you calibrate a part.

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
Featured Image Pick and Place RObotic Arm

Pick and Place Robotic Arm

This is a four degree of freedom robotic arm capable of picking and placing small objects. With medium sized links, the robotic arm can fit perfectly on your table top.

evive Robotic Arm

Sketching Robot

This is a three degree of freedom robotic arm with a pen holder as its end effector. You can code this robot to draw anything, write your name, sketch your face and much more.

Simple Robotic Arm

Robotic Arm with Two Motors

In this project, we will make the robotic arm without any end effectors. There will be only two servo motors in the robot. We will control this robot using two potentiometers.

Gripper Control

Controlling Gripper using Potentiometer

A gripper is a device which enables the holding of an object to be manipulated. In this tutorial you will learn how to assemble and control gripper you get with Robotic Arm.

All articles loaded
No more articles to load
PictoBlox Supported Boards
Close Menu


Get an extra 10% OFF + FREE shipping worldwide on orders above $100.