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
All articles loaded
No more articles to load
PictoBlox Supported Boards