Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
meteo_stick.h File Reference
#include "std.h"
#include "peripherals/ads1220.h"
+ Include dependency graph for meteo_stick.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MeteoStick
 Raw sensors structure. More...
 

Macros

#define USE_MS_EEPROM   TRUE
 

Functions

void meteo_stick_init (void)
 Functions. More...
 
void meteo_stick_periodic (void)
 Periodic function. More...
 
void meteo_stick_event (void)
 Event function. More...
 
void meteo_stick_report (void)
 

Variables

struct MeteoStick meteo_stick
 General structure. More...
 

Detailed Description

Data acquisition module for ENAC PTU board

provides meteo data:

  • temperature
  • humidity
  • absolute pressure
  • differential pressure

based on the ADS1220 spi ADC for pressures and temperature, and PWM input for humidity

data can be send other telemetry and/or logged on SD card (on capable autopilots)

designed and debugged by Michel Gorraz and Alexandre Bustico @ Enac (2014)

Definition in file meteo_stick.h.


Data Structure Documentation

◆ MeteoStick

struct MeteoStick

Raw sensors structure.

Definition at line 59 of file meteo_stick.h.

+ Collaboration diagram for MeteoStick:
Data Fields
float current_airspeed calibrated airspeed
float current_humidity calibrated humidity
float current_pressure calibrated pressure
float current_temperature calibrated temperature
struct Ads1220 diff_pressure differential pressure
uint32_t humidity_period humidity (in ticks)
struct Ads1220 pressure absolute pressure
bool reset_dp_offset reset differential pressure offset
struct Ads1220 temperature temperature

Macro Definition Documentation

◆ USE_MS_EEPROM

#define USE_MS_EEPROM   TRUE

Definition at line 50 of file meteo_stick.h.

Function Documentation

◆ meteo_stick_event()

◆ meteo_stick_init()

◆ meteo_stick_periodic()

◆ meteo_stick_report()

void meteo_stick_report ( void  )

Definition at line 497 of file meteo_stick.c.

References DefaultChannel, DefaultDevice, and meteo_stick_send_data().

+ Here is the call graph for this function:

Variable Documentation

◆ meteo_stick

struct MeteoStick meteo_stick