mf_ptu

PTU board from Meteo France (pressure, temperature, humidity). Raw meteo data: - Pressure in ADC - Temperature in ADC - Humidity in micro-seconds (period of the input signal) When using SEND_PTU flag, scaled pressure, temperature and humidity data are sent over telemetry with the PAYLOAD_FLOAT message (array of float). If scale factors and offset are not specified, raw values are sent (scale=1.0, offset=0). When using LOG_PTU flag, raw 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

ADC_PRESSURE

ADC_X

Select ADC channel for pressure sensor

ADC_TEMPERATURE

ADC_X

Select ADC channel for temperature sensor

PWM_INPUT_HUMIDITY

PWM_INPUTX

Select PWM input channel for humidity sensor

Section MF_PTU

None

Name

Value

Description

PTU_POWER_GPIO

GPIOX,GPIOYY

If defined, enable power by setting the specified GPIO to 1 at starup

PTU_PRESSURE_OFFSET

0

Offset in ADC of the pressure sensor

PTU_PRESSURE_SCALE

1.

Scale factor of the pressure sensor

PTU_TEMPERATURE_OFFSET

0

Offset in ADC of the temperature sensor

PTU_TEMPERATURE_SCALE

1.

Scale factor of the temperature sensor

PTU_HUMIDITY_OFFSET

0

Offset in micro seconds of the humidity sensor

PTU_HUMIDITY_SCALE

1.

Scale factor of the pressure sensor

LOG_PTU

TRUE|FALSE

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

SEND_PTU

TRU|FALSE

Send data over telemetry (PAYLOAD_FLOAT message, scaled PTU data)

Depends

  • pwm_meas

Sections