meteo_stick

Meteo sensor board from Enac (absolute and differential pressure, temperature, humidity) aka Meteo Stick. Raw meteo data: - Pressure (absolute and differential) in ADC (ADS1220) - Temperature in ADC (ADS1220) - Humidity in ticks (period of the input signal) Calibration data are stored in an EEPROM. When a sensor is calibrated with several reference temperature, a linear interpolation is used. When using SEND_MS flag, scaled pressure, temperature and humidity data are sent over telemetry with the PAYLOAD_FLOAT message (array of float). When using LOG_MS flag, raw and calibrated pressure, temperature and humidity data are stored with raw gps data (position, speed, time, status). Field names and units are in the first line of the log file.

Configures

Name

Value

Description

MS_SPI_DEV

SPIX

Select SPI for external ADC

MS_PRESSURE_SLAVE_IDX

X

Index of the SPI slave for absolute pressure

MS_DIFF_PRESSURE_SLAVE_IDX

X

Index of the SPI slave for differential pressure

MS_TEMPERATURE_SLAVE_IDX

X

Index of the SPI slave for temperature

MS_HUMIDITY_PWM_INPUT

PWM_INPUTX

Select PWM input channel for humidity sensor

MS_EEPROM_SLAVE_IDX

X

Index of the SPI slave for calibration EEPROM

Section METEO_STICK

None

Name

Value

Description

LOG_MS

TRUE|FALSE

Log data on SD card (ascii format, raw PTU data + GPS data)

LOG_MS_FLIGHTRECORDER

TRUE|FALSE

Log data on SD card (METEO_STICK message in binary format)

MS_LOG_FILE

flightrecorder_sdlog

Log for binary format (only available with LOG_MS_FLIGHTRECORDER to TRUE)

SEND_MS_SYNC

TRUE|FALSE

Send data over telemetry sync to reading (METEO_STICK message, scaled PTU data)

USE_MS_EEPROM

TRUE|FALSE

Enable/disable usage of calibration data from EEPROM (default TRUE, set to FALSE if MS_EEPROM_SLAVE_IDX is not configured

MS_PRESSURE_OFFSET

0.

Offset of the absolute pressure sensor (only used if EEPROM is not used)

MS_PRESSURE_SCALE

1.

Scale factor of the absolute pressure sensor (only used if EEPROM is not used)

MS_TEMPERATURE_OFFSET

0.

Offset of the temperature sensor (only used if EEPROM is not used)

MS_TEMPERATURE_SCALE

1.

Scale factor of the temperature sensor (only used if EEPROM is not used)

MS_HUMIDITY_OFFSET

0.

Offset of the humidity sensor (only used if EEPROM is not used)

MS_HUMIDITY_SCALE

1.

Scale factor of the pressure sensor (only used if EEPROM is not used)

MS_DIFF_PRESSURE_OFFSET

0.

Offset of the differential pressure sensor (only used if EEPROM is not used)

MS_DIFF_PRESSURE_SCALE

1.

Scale factor of the differential pressure sensor (only used if EEPROM is not used)

Depends

  • pwm_meas

Sections