Hardware functions to deal with the DIYDrones airspeed kit, using MPXV7002. This is a differential sensor, so the value returned is first converted into calibrated airspeed, using http://en.wikipedia.org/wiki/Calibrated_airspeed.
More...
|
#define | VCC 5.0f |
|
#define | POWER (2.0f/7.0f) |
|
Hardware functions to deal with the DIYDrones airspeed kit, using MPXV7002. This is a differential sensor, so the value returned is first converted into calibrated airspeed, using http://en.wikipedia.org/wiki/Calibrated_airspeed.
Hardware functions to deal with the DIYDrones airspeed kit, using MPXV7002.
#define POWER (2.0f/7.0f) |
uint16_t PIOS_MPXV7002_Calibrate |
( |
uint8_t |
airspeedADCPin, |
|
|
uint16_t |
calibrationCount |
|
) |
| |
uint16_t PIOS_MPXV7002_Measure |
( |
uint8_t |
airspeedADCPin | ) |
|
float PIOS_MPXV7002_ReadAirspeed |
( |
uint8_t |
airspeedADCPin | ) |
|
void PIOS_MPXV7002_UpdateCalibration |
( |
uint16_t |
zeroPoint | ) |
|