# Quickstart Guide

When you received XBLink 5G R2, all software has been installed, you can check your credential on your box.

{% hint style="danger" %}
Please do not install any software or flash XBLink 5G R2.
{% endhint %}

## Step 1: Setup XBLink 5G R2

### 1. Insert Nano SIM Card

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2F6kmhTc7RQAFdjNG6Ta0x%2FIMG_9300.jpg?alt=media&#x26;token=b7e6581f-f10a-40e9-ade5-852a636eee28" alt="SIM Card must be faced up"><figcaption><p>SIM Card must be faced up</p></figcaption></figure>

{% hint style="info" %}
The SIM card is recessed into the enclosure and you might need a tool to push it into the socket. You can hear a "**click**" when the card is inserted.
{% endhint %}

### 2. Connect antennas

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FsdRWeZeJovs3TErwLeR2%2F1.png?alt=media&#x26;token=682eeeca-6fe5-4723-8464-5b03fbefec5b" alt=""><figcaption><p>Connect Antennas to XBLink 5G R2</p></figcaption></figure>

{% hint style="warning" %}
**Note:** Be careful with the antenna port. Remove or Install it in a **straight angle**.

**We are not responsible if the antenna is damaged due to physical impact**
{% endhint %}

{% hint style="info" %}
**Antenna installation and removal instructions:** [**here**](https://www.youtube.com/watch?v=lAXGtti88gc)
{% endhint %}

### 3. Connect XBCam V2

Connect XBCam V2 to USB type C port.

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FX0Vb0UvMYD2VXYLYXFV3%2FIMG_9304.jpg?alt=media&#x26;token=cc8fe9c9-1d72-42ca-b705-4137b427ac9b" alt="" width="563"><figcaption><p>Connect XBCam V2 to USB type C port.</p></figcaption></figure>

{% hint style="info" %}
**Note:** We currently support variety of Cameras and Gimbals in [**here**](https://docs.xbstation.com/xblink-5g-r2/user-manual/advanced-configuration/cameras-and-gimbals)
{% endhint %}

### 4. Connect Flight Controller

You can use Telemetry 1 or 2 of Pixhawk for connection with XBLink 5G R2 via [**COM1/AUX**](https://docs.xbstation.com/user-manual/getting-started/interfaces#com1-aux-j3) port.

<div><figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FTZ6QzxvDPvkGTMYian44%2F2.png?alt=media&#x26;token=c59adf87-3a48-4b25-8b75-3e951d5bbc1e" alt="" width="563"><figcaption><p>  <em>XBLink 5G R2 connect to Pixhawk 6X</em></p></figcaption></figure> <figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2F6oFlEu4VZ69JqgiKSsgA%2FHardware%20Setup.drawio%20(1).png?alt=media&#x26;token=da2e9c9b-9f51-4e0b-83f2-7db5b5dacde0" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Note:** Config baud rate of Pixhawk to 57600, SERIAL1\_BAUD (Default 57, it means 57600), SERIAL1\_PROTOCOL: 2 (MAVLink 2)
{% endhint %}

### 5. Power up

XBLink 5G R2 supports 7-30V voltage input. We highly recommend **3-4 S battery or 12V DC UBEC** (minimum 3A) to power (6S battery is possible but make sure it's high quality and low discharge)

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2F10kPeIr5mgWMDMGzS8KD%2F3.jpg?alt=media&#x26;token=8fc018cd-0b9f-4134-84d3-220dcf343fca" alt=""><figcaption><p>Power up XBLink 5G R2</p></figcaption></figure>

{% hint style="danger" %}
If you use low quality or high discharge 6S battery for drone, we are not responsible for damage.
{% endhint %}

### 6. Done

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FCFnnWC2c4HW1ijgQcsOv%2FIMG_9312.jpg?alt=media&#x26;token=29e80bb3-4d94-4bd7-9ba9-23a7c63306e5" alt="" width="563"><figcaption><p>XBLink 5G R2 connect to Pixhawk 6X</p></figcaption></figure>

{% hint style="success" %}
Once XBLink 5G R2 has **coban color** continue to the [next step](#step-2-configure-flight-controller).
{% endhint %}

#### More information: [here](https://www.youtube.com/watch?v=NP6trVaF70w\&time_continue=2\&source_ve_path=NzY3NTg\&embeds_referring_euri=https%3A%2F%2Fcdn.iframe.ly%2F)

{% embed url="<https://www.youtube.com/watch?embeds_referring_euri=https://cdn.iframe.ly/&source_ve_path=NzY3NTg&time_continue=2&v=NP6trVaF70w>" %}

## Step 2: Configure Flight Controller

You can use Telemetry 1 or 2 of Pixhawk for connection with XBLink 5G R2. Telemetry 1 is normally used for Telemetry Radio (like: RFD900...) and Telemetry 2 for XBLink 5G R2.

The baud rate on XBLink 5G R2 **must be same** with Pixhawk baud rate (Telemetry**1** or **2**).

* For ArduPilot : **SERIAL2\_BAUD = 57**(Default, it means 57600),

  **SERIAL2\_PROTOCOL**=**2** (MAVLink 2)

#### **More information:** [**here**](https://ardupilot.org/copter/docs/common-telemetry-port-setup.html)

* For PX4: **SER\_TEL2\_BAUD = 57600** (Default 921600, you should change to 57600 for save data)

{% hint style="info" %}
**Note:** If you have problem with Telemetry 2 port, you can use Telemetry 1 Port

(Default baud rate Telemetry 1 is 57600, MAVLink:1).

XBLink 5G R2 still works normally with both MAVLink 1 and MAVLink 2.
{% endhint %}

## Step 3: Connect XBStationPilotApp and Ground Station Software

1. Download: [here](https://docs.xbstation.com/xblink-5g-r2/user-manual/xbstationpilotapp/download)
2. Open [XBStationPilotApp](https://docs.xbstation.com/xblink-5g-r2/user-manual/xbstationpilotapp)
3. Login (Username and password in XBLink 5G R2 box)
4. Connect to [GCS](https://docs.xbstation.com/xblink-5g-r2/user-manual/xbstationpilotapp/ground-station)

#### **More detail, refer this link:** [**here**](https://youtu.be/8mLK-jrc7eE)

{% embed url="<https://youtu.be/8mLK-jrc7eE>" %}

## Step 4: Test and Flight

1. Put XBLink 5G R2 on your drone
2. Check the connection between XBLink 5G R2 to Pixhawk, Camera, SIM Card, Antennas
3. Connect battery
4. Waiting about 30s for XBLink 5G R2 start up
5. Check led Indicator: [LED meanings](https://docs.xbstation.com/xblink-5g-r2/user-manual/getting-started/led-indicator)
6. Open XBStationPilotApp, Login
7. Connect to GCS: QGroundControl or Mission Planner

### **Optional: Register your Email and change your Password**

Please refer this link:

{% content-ref url="xbcloud/pilot" %}
[pilot](https://docs.xbstation.com/xblink-5g-r2/xbcloud/pilot)
{% endcontent-ref %}
