airspeed_ets

Airspeed ETS (I2C). Driver for the EagleTree Systems Airspeed Sensor v3 connected via an I2C port. This device measures airspeed from 4m/s to 156m/s with about 0,5 m/s resolution Notes: + Connects directly to a flightcontroller board I2C port. + Has I2C signal level conversion build in. + Multiple sensors can be chained together. + Sensor may be in the default or in 3rd-party mode. Per default the sensor is in Eagltreemode, but if you have set your sensor to 3rd-party mode only then must you add the define AIRSPEED_ETS_3RD_PARTY_MODE to your airframe This driver has only been tested with v3 of the sensor hardware, older versions might or might not work. Sensor module wire assignments: - Red wire: 3V-16V - White wire: Ground - Yellow wire: SDA - Brown wire: SCL

Configures

Name

Value

Description

AIRSPEED_ETS_I2C_DEV

i2cX

set i2c peripheral (default: i2c0)

Defines

Name

Value

Description

AIRSPEED_ETS_OFFSET

0

sensor reading offset for sensor in proprietary mode (default: 0)

AIRSPEED_ETS_SCALE

1.76

sensor scale factor for sensor in proprietary mode (default: 1.8)

AIRSPEED_ETS_START_DELAY

1.5

set initial start delay in seconds(float), somtimes needed if sensor initialization is not OK, default 0.2s

AIRSPEED_ETS_SYNC_SEND

flag to transmit the data as it is acquired

AIRSPEED_ETS_3RD_PARTY_MODE

Read raw value for sensor in third-party mode

AIRSPEED_ETS_USE_FILTER

TRUE

Enable or disable a filter on the sensor output values

AIRSPEED_ETS_LOWPASS_TAU

0.15

Time constant for second order Butterworth low pass filter .15 is about 1hz

USE_AIRSPEED_ETS

TRUE|FALSE

Set airspeed in state interface for this sensor

AIRSPEED_ETS_SDLOG

TRUE|FALSE

start logging to SD card for Chibios only

Depends

  • i2c

Provides

  • airspeed