# 6 📐 Calibration

{% hint style="danger" %}
You should NOT attach the legs to the servos before the first-time calibration.

When the servos are powered off, their output shafts can be rotated to random angles. If you attach the legs, the robot won't know where the legs are pointing. When the robot is powered, the legs could run into each other or collide with the body. The servos may be damaged after getting stuck for a long time.&#x20;
{% endhint %}

The joints of the robot have to be calibrated before future use. Make sure all the servos are connected to the right spot on the circuit board in the right direction, the battery is powering (the yellow LED in the cat's logo is lighting up), and all the legs and head/tail are NOT attached to the servos so that the servos can rotate freely.

Our calibration routine will send a calibration signal to the main board and rotate all the joints to known positions. Then you can attach the legs close to the reference posture, and fine-tune the angles using the software.&#x20;

There are three methods to calibrate Nybble:

* Use the mobile app [**Petoi**](https://docs.petoi.com/app-guide).&#x20;
* Use the [**Petoi Desktop App**](https://docs.petoi.com/desktop-app/calibrator).&#x20;
* Use the [**Arduino IDE**](https://docs.petoi.com/arduino-ide/calibration-with-arduino-ide).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nybble.petoi.com/chapter6.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
