> For the complete documentation index, see [llms.txt](https://docs.gremsy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gremsy.com/gimbals/pixy-lr-sp/installation/viozio-control-cable/setup-with-the-ardupilot-system.md).

# Setup with the Ardupilot System

## HARDWARE SETUP

<figure><img src="/files/Xf9wnU3RUX5yhnEirna8" alt=""><figcaption></figcaption></figure>

Connect the Pixy LR S-port UART to the Telem2 on the Ardupilot systems.

## PARAMETER SETTING

**Firmware Requirement**

* Version: Ardupilot 4.3 or higher
* Support Mavlink v2 protocol

**Set up the telemetry baud rate**

*Typically, the telemetry port used on a Pixhawk is Telemetry 2, which corresponds to SERIAL2. If another telemetry port (e.g. Telemetry X) is used, it will correspond to SERIALX accordingly.*

Pixy LR SP connects to FC at the baud rate of 1250000.&#x20;

* SERIAL2\_PROTOCOL: “Mavlink2”
* SERIAL2\_BAUD: “1250000"

**Set mount params**

***Ardupilot 4.3 or higher***

* MNT1\_DEFLT\_MODE: "3" (RC control mode)
* MNT1\_TYPE: “6” (MAVLink gimbal)
* MNT1\_RC\_RATE: “240” // change control gimbal by speed <br>

***Ardupilot lower 4.3***

* MNT\_TYPE: “SToRM32 MAVLINK"

**Settings stream rate to receive forward messages from telemetry 2 (from Autopilot)**

* SR2\_POSITION: "10" // receive GPS messages
* SR2\_EXT\_STAT: "2" // receive GPS lock signal

**Set cam type**

* CAM1\_TYPE: "5"

**Note**: Reboot the Pixhawk after changing any parameters.

## SETTING APP QGroundControl

**Setup video streaming**

* Use HDMI: Choose "Herelink AirUnit.

<figure><img src="/files/ZkBTnH0bX7gSz2lEVFJI" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.gremsy.com/gimbals/pixy-lr-sp/installation/viozio-control-cable/setup-with-the-ardupilot-system.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
