Joint Calibrator

Robots can be precisely calibrated using the Petoi Desktop App.

Please refer to the introduction for installing the Petoi Desktop App and connecting the robot to your computer.

Prepare for calibration

This robotic arm is already fully assembled.

For the pre-assembled kit, install the neck servo in the servo slot using two M2 x 5 self-tapping screws. Then you can do the fine-tuning.

Install the robotic arm

The rationale for calibration

Understand the zero state and the coordinate system

After entering the calibration mode, with all servos rotated to their zero angles, attach the head, tail, and legs prepared in the previous section to the body. They are generally perpendicular to their linked body frames. The calibration pose is shown below:

For the construction kit, please install the servo-related components as shown in the picture (calibration mode) and ensure they are perpendicular to each other (the upper leg is perpendicular to the torso, and the lower leg is perpendicular to the upper leg).

circle-exclamation

Rotating the limbs counterclockwise from their zero states will be positive (the same as in polar coordinates). Viewed from the left side of the robot's body, the counter-clockwise rotation of the joint is defined as the positive direction.

circle-info

The only exception is the head tilt angle for Nybble. It’s more natural to say head up, while it’s the result of rotating clockwise.

circle-info

However, from the right side of the robot's body, the rotation directions' positive and negative are just opposite.

Discrete angular intervals

If we look closer at the servo shaft, we can see it has a certain number of teeth. That’s for attaching the servo arms and avoiding sliding in the rotational direction. In our servo sample, the gears divide 360 degrees into 25 sectors, each taking 14.4 degrees(offset of -7.2~7.2 degrees). That means we cannot always get a perfect perpendicular installation.

Calibration process

Enter the calibration mode

circle-info

Connect the battery to the mainboard, then long-press the battery button for more than 3 seconds to power on the robot.

After a battery powers on the robot, there are two methods to enter the calibration mode:

  • It will automatically enter calibration mode when you click the Joint Calibrator button.

  • Click the Calibrate button in the Joint Calibrator interface.

circle-info

The servo slider is not available in the light yellow background area in the interface.

The joint calibration interface for Bittle X+Arm, which uses BiBoard V1 in the Petoi Desktop App, is as follows:

For Bittle X+Arm with BiBoard V1

Some customers already have Bittle X (BiBoard V0), which can also be equipped with a robotic arm. The joint calibrator interface is as follows. Please note the wiring of the servo:

For Bittle X+Arm with BiBoard V0

Installing and Fine-tuning

circle-exclamation

For the Construction kit, after entering the calibration state, please install the neck servo and legs as follows:

Install the neck servo and leg servos

circle-info

Note:

You must use the neck section with a J-hook (as pictured below) to prevent the neck from falling when using this robot arm.

Installing the neck servo is the same as installing the head of Bittle.

Installing the leg servos is the same as installing the legs of Bittle.

Install the robot arm

This robot arm is already fully assembled. After finishing calibrating the neck servo and the leg servos, power off the robot and install the servo slot on the neck servo with two M2*5 self-tapping screws.

Then, power on the robot, and do the joint calibration for the servos on the robot arm.

Fine-tuning

circle-info

The pre-assembled robot should already have the components adequately installed. You can do the joint calibration for fine-tuning directly, without needing to uninstall the head and legs.

Please use the L-shaped calibration tool included in the package as a calibration reference. According to the joint numbers shown in the calibration interface picture, click and drag the corresponding joint sliders or click the blank areas of the slider tracks to fine-tune the joints to a right angle.

Please note that when calibrating the servos, adjust the upper leg first, then change the lower leg.

Align the upper leg first
Pay attention to the reference edges for the lower leg
circle-info

If the offset is more than +/-9 degrees, you need to remove the corresponding leg and reinstall it by rotating one tooth and then dragging the corresponding slider. For example, when it is adjusted to +9 and still not right, remove the corresponding leg and shift one tooth when attaching it. Then, you should get a smaller offset in the opposite direction.

The process of fine-tuning the legs and the neck servo (joint index 0) is the same as that of Bittle / Bittle X'sarrow-up-right (as above).

Please click the blank part of the slider track and follow the calibration posture below to fine-tune Servo 1 (joint index 1) on the robotic arm.

Please click the Auto button to fine-tune the claw servo (joint index 2) on the robotic arm.

You can also manually click the blank part of the corresponding slider track and adjust the gear on the servo output shaft to the position shown in the figure above.

Validation and Save data

You can switch between "Rest", "Stand up" and "Walk" to test the calibration effect.

If you want to continue calibrating, please click the Calibration button, and the robot will be in the calibration state again (all servos will move to the calibration position immediately).

circle-exclamation

After calibration, remember to click the "Save" button to save the calibration offset. Otherwise, click the "Abort" button to abandon the calibration data. You can save the calibration in the middle in case your connection is interrupted.

circle-info

When you close this window, there is a message box shown below:

To save the calibration data, please click the "Yes" button; otherwise, click the "No" button. Click the "Cancel" button to cancel or quit.

Install the screws for the construction kit

After completing the joint calibration, install the center screws to fix the components and servo gears.

Last updated