Library and demo program for MS4525DO differential pressure sensor based pitot tube, using I2C interface
Temperature values are correct. But I dont trust the PSI and airspeed (especially airspeed).
Code blended and ported from a combination of the following sources:
- https://forum.arduino.cc/index.php?topic=309653.0
- https://github.com/PX4/Firmware/blob/master/src/modules/commander/airspeed_calibration.cpp
- https://github.com/PX4/Firmware/tree/master/src/drivers/differential_pressure/ms4525
F303_logger.h
- Committer:
- epremeaux
- Date:
- 2019-09-13
- Revision:
- 0:5965bf423184
File content as of revision 0:5965bf423184:
// Telemetry UART
#define TELEM_TX PA_9
#define TELEM_RX PA_10
// Battery ADC
#define BAT_V PB_0
// I2C
#define I2CSDA PB_7
#define I2CSCL PB_6
// Strain Gauges
#define LIFT_CLK PB_1
#define LIFT_DAT PF_0
#define DRAG_CLK PF_1
#define DRAG_DAT PA_8
// Buzzer
// SD Card
#define MOSI PA_7
#define MISO PA_6
#define SCLK PA_5
#define SSEL PA_4
// Local ADC
Emery Premeaux