# Servo Programmer

{% hint style="danger" %}
The Servo Programmer is **NOT** compatible with the [max](https://docs.axon-robotics.com/servos/max "mention") and [mini](https://docs.axon-robotics.com/servos/mini "mention")
{% endhint %}

{% hint style="success" %}
The Servo Programmer **IS** compatible with the [max](https://docs.axon-robotics.com/archive/max "mention") [mini](https://docs.axon-robotics.com/archive/mini "mention") and [micro](https://docs.axon-robotics.com/archive/micro "mention")
{% endhint %}

### Getting Started&#x20;

Download the Axon Programming Software (from [#software-download](#software-download "mention")). It should look like this:

<figure><img src="https://2269588985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9eh1a50wToy49XgPSa8i%2Fuploads%2F0WXSiMdOyfqqr82mPrKC%2Fservo%20programming%20software.png?alt=media&#x26;token=e79e8b01-a5a8-4e57-a41d-db3bd0c73e8c" alt=""><figcaption><p>Axon Servo Programming Software v1.0.5</p></figcaption></figure>

Once installed, restart your device, open the software, and plug in the Axon Servo Programmer into a USB port on your computer. Wait for the Axon Servo Programming Software to detect it. The icon on the bottom left should change to connected, and a message will be displayed in the log.&#x20;

Plug in a compatible Axon Robotics Servo into the Servo Programmer, with the grey signal wire on the right hand side. Wait for the Axon Servo Programming Software to say "Servo Plugged In." Once successful, click "Read" to load your servos current settings into the software. You are now ready to modify the parameters.

### Switching from Servo to CR Mode

Download the CR Mode firmware (from [#software-download](#software-download "mention")). Click "Mode" on the Axon Servo Programming Software, and locate the file you downloaded. Hit "Ok," and wait for the log to indicate that the change was successful.&#x20;

### Switching from CR Mode to Servo Mode

The process for switching from CR Mode to Servo Mode is the same. Download the Servo Mode firmware (from [#software-download](#software-download "mention")) and follow the same steps as above.&#x20;

### Parameters

Here is a brief description of what each of the parameters do:

* Servo Angle: Operating travel of the servo, scaled from 0->255 to 0->355
* Servo Neutral: Offsets the Neutral Position of the servo (in us)

{% hint style="warning" %}
Significant adjustments to the servo neutral position can cause unintended side affects. Proceed with caution.&#x20;
{% endhint %}

* Dampening Factor: Adjusts the D coefficient in the servo PID loop

{% hint style="warning" %}
It is not recommended to adjust Dampening Factor. It is tuned to work out of the box, and should not need to be modified.&#x20;
{% endhint %}

* PWM Power: Allows you to set a cap on the maximum power output power of the servo. Useful for use on current limited devices. 0% = no power, 100% = max power

{% hint style="success" %}
For 4.8v operation on a REV Robotics Control or Expansion Hub, the recommended value for PWM Power is 66% for the Axon MAX/MAX+ and 75% for the Axon MINI/MINI+. For 6.0v operation using the REV Robotics Servo Power Modules, the recommended value is 85%, however it can be used at 100%. If at 100%, be mindful of the temperature of the servo, and do not allow it to get too hot, or it will shut down to protect itself from burning out.&#x20;
{% endhint %}

* Sensitivity: Dead-band of the servo. Ultra high = 1us
* Soft Start: Limits acceleration on startup
* Inversion: Reverses the direction of the servo (CCW default)&#x20;
* Loose PWM Protection: Servo behavior when it looses signal
  * Release: Acts as if the servo wasn't powered
  * Hold: Holds the last position it was set to
  * Neutral: Goes to the middle position
* Overload Protection: Reduces the power output of the servo when stalled (to avoid burning out the motor)
  * Sets max power to a certain percent after a stalling for a specified number of seconds

{% hint style="success" %}
It is highly recommended to leave Overload Protection at the default (or more conservative) settings to avoid damaging your servos
{% endhint %}

{% hint style="warning" %}
There is no 3-stage Overload Protection in CR Mode. Be careful when operating servos in high load scenarios in CR Mode.&#x20;
{% endhint %}

#### Adjusting a parameter

Once you have modified the parameters to your liking, press "write" and wait for the log to indicate the write was successful.&#x20;

### Software Download

[Axon Programming Software](https://cdn.shopify.com/s/files/1/0657/9182/0008/files/Axon_Servo_Programming_Software_v1.0.5.exe?v=1679586956)

[Axon MAX+ Servo Mode](https://cdn.shopify.com/s/files/1/0657/9182/0008/files/Axon_Max_Servo_Mode.sfw?v=1679588434)

[Axon MAX+ CR Mode](https://cdn.shopify.com/s/files/1/0657/9182/0008/files/Axon_Max_Modified_CR_Mode.sfw?v=1679588434)

[Axon MINI+ Servo Mode](https://cdn.shopify.com/s/files/1/0657/9182/0008/files/Axon_Mini_Servo_Mode.sfw?v=1679588434)

[Axon MINI+ CR Mode](https://cdn.shopify.com/s/files/1/0657/9182/0008/files/Axon_Mini_Modified_CR_Mode.sfw?v=1679588434)
