baro_ets

Baro ETS (I2C). Driver for the EagleTree Systems Baro Sensor. Has only been tested with V3 of the sensor hardware. Notes: Connect directly to TWOG/Tiny I2C port. Multiple sensors can be chained together. Sensor should be in the proprietary mode (default) and not in 3rd party mode. Sensor module wire assignments: - Red wire: 5V - White wire: Ground - Yellow wire: SDA - Brown wire: SCL

Configures

Name

Value

Description

BARO_ETS_I2C_DEV

i2cX

set i2c peripheral (default: i2c0)

Defines

Name

Value

Description

BARO_ETS_SCALE

scale

scale factor to convert raw ADC measurement to pressure in Pascal (default: 37.5)

BARO_ETS_ALT_SCALE

scale

scale factor to convert raw ADC measurement to altitude change in meters (default: 0.32)

BARO_ETS_ALT_SCALE

scale

pressure offset in Pascal when converting raw adc to real pressure (default: 101325.0=

BARO_ETS_START_DELAY

delay

set initial start delay in seconds

BARO_ETS_SYNC_SEND

flag to transmit the data as it is acquired

Depends

  • i2c

Provides

  • baro