Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Section
Column
width60%

Airspeed sensor sensors are used for fixed wing setup setups and feed extra flight information for PathFollower or simply detect stall state.

This page describes how to setup a an analog airspeed sensor using a Revolution, Revolution Nano, or Sparky2board.

Others Other airspeed sensors that use the i2c port are already supported using the vehicle setup wizard

Column
width40%
Panel
titleIn this page
Table of Contents

 

...

Hardware

Section
Column
width40%

Airspeed sensors estimates estimate the air speed using a differential pressure sensor and a pitot tube.
Pitot A pitot tube has two pipes, one for static pressure (side of tube) and other for dynamic pressure in front of the tube.

Two differential analog sensors are supported: MPXV7002DP and MPXV5004DP

Connections are pretty simple: Gnd, +5V, and analog voltage proportional to the airspeed.

Sensor The sensor can be connected in to various ports, according to the board you use. See next part.

Column
width60%

 

APM analog airspeed sensor

 

...

Select the analog input

Section
Column
width50%

Go to the System > UAVOBrowser > Settings > HwSettings > ADCRouting and select the adc input pin used for AnalogAirspeed function.

The output Output port 5 is a good choice for for the airspeed input, it's still free to use for most fixed wing setups and easy to connect using a servo connector.

Here is the adc mapping for various boards:

Boardadc0adc1adc2adc3adc4adc5adc6
RevolutionSonar port
pin 3
Sonar port
pin 4
Output port
out 3

Output port
out 4

Output_port
out 5

Output port
out 6

internal
Sparky2Sonar port
pin 3
Sonar port
pin 4
Output port
out 3

Output port
out 4

Output_port
out 5

Output port
out 6

internal
RevoNano

FlexiIO
pin 4

FlexiIO
pin 5
FlexiIO
pin 6
FlexiIO
pin 7
FlexiIO
pin 8
Output_port
out 5
Output port
out 6

FlexiIO refers to the receiver port

Column
width50%

 

 

...

Configuring sensor

Section
Column
width50%

Choose sensor type

Go to the System > UAVOBrowser > Settings > AirspeedSettings and select the sensor type you use: MPXV7002 or MPXV5004

 

Column
width50%

 

Section
Column
width50%

Calibrate sensor

At this point you can do some flight testing and compare the average airspeed value and GPS ground speed using a an OPlink.

Doing circles at a stabilized cruise speed you can notice the wind that increase airspeed when wind is in front and reduce airspeed when wind is on back, for almost similar ground speed from pilot point of view.
You may need to find the Scale value to measure a almost accurate airspeed value.

 

Warning
titleAbout analog sensors

Keep in mind those sensor are cheap, not really linear or temperature compensated.

As a side effect, the temperature can affect the ZeroPoint value set automatically at start up and when the sensor warm, this ZeroValue vary on sensor side.

Column
width50%

 

 

Almost calibrated sensor, the airspeed factor still a little high.

...