Hardware functions to deal with the DIYDrones airspeed kit, using MPXV5004. 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 MPXV5004. 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 MPXV5004.
| #define POWER (2.0f/7.0f) |
| uint16_t PIOS_MPXV5004_Calibrate |
( |
uint8_t |
airspeedADCPin, |
|
|
uint16_t |
calibrationCount |
|
) |
| |
| uint16_t PIOS_MPXV5004_Measure |
( |
uint8_t |
airspeedADCPin | ) |
|
| float PIOS_MPXV5004_ReadAirspeed |
( |
uint8_t |
airspeedADCPin | ) |
|
| void PIOS_MPXV5004_UpdateCalibration |
( |
uint16_t |
zeroPoint | ) |
|