# Quick Start Guide

## Ardupilot Setup Guide

To enable DroneCAN detection, set the following parameters:

If the sensor is connected to the CAN 1 port:

* CAN\_P1\_DRIVER=1
* CAN\_D1\_PROTOCOL=1

If the sensor is connected to the CAN 2 port:

* CAN\_P2\_DRIVER=1
* CAN\_D2\_PROTOCOL=1

Set airspeed sensor type to DroneCAN:

* ARSPD\_TYPE=8

Save the configuration and reboot the flight controller for settings to take effect.

Before flying, please connect to the ground station to check that there is no wind and ensure that the airspeed value is within the range of 0\~3m/s (if it exceeds the range, need to perform airspeed offset calibration)

![](/files/B4dUz3SLJ9THpMKBB3iN)

* Hold the pitot tube with your hand and blow air into the pitot tube. If the airspeed value changes according to the airflow speed, the inspection is complete.

### **Airspeed calibration**

{% hint style="info" %}
The airspeed ratio of different installations and individual airspeed gauges will be somewhat different. The airspeed gauge needs to be calibrated on the first flight.

1. *//Enable automatic airspeed calibration*
2. \- ARSPD\_AUTOCAL=1
   {% endhint %}

There is also a great article on the Ardupilot documentation website that provides more insight into airspeed sensor calibration:

<https://ardupilot.org/plane/docs/calibrating-an-airspeed-sensor.html#calibrating-an-airspeed-sensor>

### **Perform calibration (choose one of the following two methods)：**

* Method A: Lift off in QStabilize or QLoiter multi-axis mode and switch to FBWA (self-stabilizing A mode) to control the drone to fly and hover for about 5 minutes. After the ground station message bar prompts that the calibration is completed, execute the landing. With calibration's completion, set ARSPD\_AUTOCAL to 0.
* Method B: If you don’t know how to fly in FBWA mode, you can fly with the airspeed sensor enabled but not using it (ARSPD\_USE=1; ARSPD\_TYPE=8; do not fly in windy conditions when performing this operation); the aircraft will fly using ground speed (relative ground speed), and use Loiter mode to hover for about 5 minutes after takeoff. When the ground station message bar indicates the calibration is completed, perform the landing. After the calibration is completed, set ARSPD\_AUTOCAL to 0.

The setup and configuration described in this chapter apply to the DroneCan Airspeed sensor with a controller running PX4 firmware.

## **PX4 Setup Guide**

Run QGroundControl, and set the parameters below. Restart the vehicle to save the configurations.

![descript](/files/gM3OpSY7rTxVCMyc0O8G)

* Set UAVCAN\_ENABLE to Sensors automatic Config
* Reboot
* Set UAVCAN\_SUB\_ASPD to Enable
* Set UAVCAN\_SUB\_DPRES to Enable
* Reboot

### **Multiple Airspeed Sensors**

If you have multiple airspeed sensors, then you can select which sensor is preferred as the primary source using ASPD\_PRIMARY. Value 1, 2, and 3 reflect the order of the started airspeed sensor:

* 0: Synthetic airspeed estimation (groundspeed minus windspeed)
* 1: First airspeed sensor started (default)
* 2: Second airspeed sensor started
* 3: Third airspeed sensor started

The airspeed selector validates the selected sensor first and only falls back to other sensors if the selected sensor fails the airspeed checks (ASPD\_DO\_CHECKS is used to configure the checks).

The selected sensor is then used to supply data to the estimator (EKF2) and the controllers.

### **Performing the Calibration**

![descript](/files/GIHAyW3IyDUSXFe4E7Ni)

* Select the "Q" icon > Vehicle Setup > Sensors (sidebar) to open Sensor Setup.
* Click the Airspeed sensor button.
* Shield the sensor from the wind (i.e. cup it with your hand). Take caution not to block any of its holes.
* Click OK to start the calibration.
* Once asked, blow into the tip of the pitot tube to signal the end of calibration.

## **Tip**

Blowing into the tube is also a basic way to check that the dynamic and static ports are installed correctly. If they are swapped, then the sensor will read a large negative differential pressure when you blow into the tube, and the calibration will abort with an error.


---

# 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.holybro.com/peripherals/dlvr-airspeed-dronecan/quick-start-guide.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.
