Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ADS1114 airspeed sensor

Module XML file: airspeed_ads1114.xml

Module to extend the baro_board module with an airspeed sensor using ads1114 adc

Module functions

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • airspeed_periodic()
    • Frequency in Hz: 60.
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw airspeed_ads1114.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="airspeed_ads1114" dir="sensors">
<doc>
<description>
ADS1114 airspeed sensor.
Module to extend the baro_board module with an airspeed sensor using ads1114 adc
</description>
</doc>
<depend require="baro_board.xml"/>
<header>
<file name="airspeed_ads1114.h"/>
</header>
<periodic fun="airspeed_periodic()" freq="60."/>
<makefile target="ap">
<file name="airspeed_ads1114.c"/>
<define name="USE_BARO_DIFF"/>
<define name="USE_ADS1114_2"/>
<define name="ADS1114_2_PGA" value="0x1"/> <!-- PGA gain = 1 (+/- 4.096V) -->
</makefile>
</module>