# Configure Modes & Mavlink Buttons

\
Herelink Blue is fitted with six programmable buttons and one hardware wheel. These can be configured to control sbus channel outputs from the Air Unit's dual sbus connector and to send Mavlink commands to the autopilot via Solex, QGC, or Mission Planner. For examples, flight mode selection, servo output, and control GCS. You Can configure buttons A, B, C, D, Cam, Home, and HW Wheel as Mavlink commands in Solex and QGC.

These commands include:

* Vehicle Mode
* Home Mode Prompt
* Take Picture
* Toggle Video
* Camera Switch
* Map/Video toggle
* Toggle HUD
* Set Servo
* Non-Latch Servo
* Set Relay
* MAVLink command
* Arm
* Disarm
* Toggle Arm
* Wheel Settings
* Clear Wheel Settings

In Ardupilot and PX4, Solex TX and QGC have on-screen switching control for selecting and changing flight modes If you want to set one or more buttons to change flight mode, it must be set only to Mavlink button commands, i.e. set button control in Solex or QGC, not the Sbus signal in Channel 5. Mavlink provides a secure command link for flight mode changes, immune to system restarts and signal loss. After the configuration flight mode is selected, the user should confirm that the **Fail Safe** been set correctly and test before using it.&#x20;

**Note**: Ardupilot sets Sbus channel 5 as the default flight mode selection, which should be disabled when using Herelink Blue by setting the "FLTMODE\_CH" parameter in all parameters to 0.

\*\*Home button: \*\* You are advised to use the RTL command by long or short pressing the Home button.

## Configure Buttons <a href="#configure-buttons" id="configure-buttons"></a>

## **Solex** <a href="#solex" id="solex"></a>

### **Button Mapping**

* Open Solex

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FEZmrKEy2RISukgHE5TO0%2FScreen%20Shot%202022-07-31%20at%208.29.38%20AM.png?alt=media\&token=230279ba-247b-4349-a5e0-d3f459829cda)

* Click the menu in the top left corner

Select **Button Mapping**

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FukvHmuyPXIW7x6tH9NsE%2FScreen%20Shot%202022-07-31%20at%208.30.30%20AM.png?alt=media\&token=9362f2f0-285c-4dba-8595-c160cb95ab1b)

Choose desired button

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FVJ8YnxC53Xk9fcix8Uhy%2FScreen%20Shot%202022-07-31%20at%208.31.08%20AM.png?alt=media\&token=75554f3e-4ed7-4943-afab-5e213c7614f4)

Select either Click or Long Click (**Note** this allows you to set two functions to each button)

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2F026w5DZbk10a9YZj4k1o%2FScreen%20Shot%202022-07-31%20at%208.31.51%20AM.png?alt=media\&token=305b0b3b-d038-4864-b22f-58e9201cfc48)

For example, if you want to set Button A, click Button A and then click the option box on the right to select the desired function.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FtfAUuphI2LR1OUSZ3S22%2FScreen%20Shot%202022-07-31%20at%208.32.31%20AM.png?alt=media\&token=20addbe2-a53c-4931-8c28-ebd5e21f55f1)

For example, if you want to set the button as flight mode switch, click the gear icon and choose the desired flight mode for chosen button.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FstdLCVpIncMF8YGAiCET%2FScreen%20Shot%202022-07-31%20at%208.33.25%20AM.png?alt=media\&token=0f835c3f-04ed-4eb5-9735-51cc06ce06ed)

select desired flight mode

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FArEXcVddJR3KEyFGnXtE%2FScreen%20Shot%202022-07-31%20at%208.34.04%20AM.png?alt=media\&token=76d52999-4248-4fc7-b72a-5accab7a412b)

For other BUTTONS that need to be set, please use procedure above to set corresponding function. Then click "SAVE BUTTONS" at the bottom to save the settings.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FXMCODMQpF9mSkkZQtL8G%2FScreen%20Shot%202022-07-31%20at%208.34.35%20AM.png?alt=media\&token=1b008467-ac8d-4685-a06f-31ded1fa94fa)

### **Hardware Wheel**

Wheel configuration in Solex TX to Servo output channels 1-16 on the Autopilot, you also have the ability to switch the servo output via a button in Solex.

* Open Solex
* Click the hamburger menu icon in top left corner
* Select Button Mapping as above
* Click WHEEL SETTINGS in the bottom right corner

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FaZsOv9kuO5C1YirJHL8e%2FScreen%20Shot%202022-07-31%20at%208.36.31%20AM.png?alt=media\&token=a47abf64-2a78-40ee-96da-6b088ff866f2)

Select the desired servo channel from 1-16

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FQA1WvHlRQeRJDBZ2w7qv%2FScreen%20Shot%202022-07-31%20at%208.37.06%20AM.png?alt=media\&token=3c7c49b2-016b-4245-a5b9-0ca0381a47f8)

Set the PWM output range suitable for your application.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FkXAR6YL7cpq6TfJ7RPC5%2FScreen%20Shot%202022-07-31%20at%208.37.39%20AM.png?alt=media\&token=8eb8e31e-7e39-4b84-b61d-505daa10ff1d)

* Click on the **Enabled** to activate the output.
* Finish by clicking **OK** and click **SAVE BUTTONS** in bottom corner.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FoWzgoLUPyvyTosjklX3f%2FScreen%20Shot%202022-07-31%20at%208.38.29%20AM.png?alt=media\&token=fcf9ea9b-fd92-4d9c-9cf5-f63e1310a262)

To configure a button to change the wheel servo output configure the button to **WHEEL SETTINGS**.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2F1HWXH5RqDvf3T47Tju9H%2FScreen%20Shot%202022-07-31%20at%208.39.05%20AM.png?alt=media\&token=1873c772-d5ac-4fe3-a6ab-1582b712f0df)

Click the gear icon and set new channel and PWM values and click **OK** and then **SAVE BUTTONS** in bottom right corner.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FTGY8A5tLnkP2IiDjMRIC%2FScreen%20Shot%202022-07-31%20at%208.39.39%20AM.png?alt=media\&token=aba97fe5-9674-48ab-a55a-510ad5d5e713)

* Once changed the wheel will output on the new selected channel, to return to its original servo output you will need to program one button function to Clear Wheel Settings as shown above.

## **QGC**

* Open QGC
* Click gear icon on top left corner.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2Fl4rWEse362Fm84AKmd5x%2FScreen%20Shot%202022-07-31%20at%208.40.46%20AM.png?alt=media\&token=ad023ef3-d5c5-4b16-b473-4b459f636c0c)

* Select **Button**
* Select the box on left for desired button.
* Click the drop-down menu to select features.
* Repeat the procedure for each button and select desired flight mode.

![](https://852512312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVrcyBmQ9GGCFzH6hj8Sm%2Fuploads%2FWgaaxzH4OmpqyEZs9ksT%2FScreen%20Shot%202022-07-31%20at%208.41.23%20AM.png?alt=media\&token=8bf46bf0-a7e6-4f54-850e-d5e59cec8ebb)


---

# 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://docs.nwblue.com/nw-blue/products/radio-controllers/herelink-blue/user-guide/configure-modes-and-mavlink-buttons.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.
