Paparazzi UAS  v5.15_devel-229-g3fb4ee4
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
meteo_stick.h File Reference

Data acquisition module for ENAC PTU board. More...

#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...




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


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

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


Definition at line 50 of file meteo_stick.h.

Function Documentation

Variable Documentation

struct MeteoStick meteo_stick

General structure.

Definition at line 85 of file meteo_stick.c.

Referenced by get_diff(), get_humidity(), get_pressure(), get_temp(), meteo_stick_event(), meteo_stick_init(), and meteo_stick_periodic().