Versions Compared

Key

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

...

Section
Column
width60%

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

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

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 estimate the air speed using a differential pressure sensor and a pitot tube.
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.

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

Sensor position

You may choose a good place for your pitot tube, the static pressure should not be disturbed by aerodynamic effects that artificially increase the static pressure due to a too close fuselage or wing.

Column
width60%

 

APM analog airspeed sensor

...

Section
Column
width50%

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

Output port 5 is a good choice 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 PWR port
pin 3
Sonar PWR port
pin 4
PWR port
pin2

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 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 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 scale value still a little high.

 

...


...