Guys, can you help me, please, with MPXV7002DP?
This is my config:
oXs_config_basic.h:
// ***** 2.1 - Frsky data *****
...
#define ACCY_SOURCE ADS_VOLT_1 // select between TEST_1, TEST_2, TEST_3, GLIDER_RATIO , SECONDS_SINCE_T0 ,AVERAGE_VSPEED_SINCE_TO , VOLT_1, VOLT_2, VOLT_3, VOLT_4, VOLT_5, VOLT_6, PITCH, ROLL , YAW, ADS_VOLT_1, ADS_VOLT_2, ADS_VOLT_3, ADS_VOLT_4
oXs_config_advanced.h:
// ***** 6.6 - Ads1115 parameters *****
#define ADS_MEASURE A0_TO_A1 , ADS_OFF , ADS_OFF , ADS_OFF // select 4 values between A0_TO_A1, A0_TO_A3, A1_TO_A3, A2_TO_A3, A0_TO_GND, A1_TO_GND, A2_TO_GND, A3_TO_GND, ADS_OFF
#define ADS_FULL_SCALE_VOLT MV2048, MV2048, MV2048, MV2048 // select between MV6144 MV4096 MV2048 MV1024 MV512 MV256
#define ADS_OFFSET 0, 0 , 0 , 0 // must be an integer (positive or negative)
#define ADS_SCALE 1, 1, 1, 1 // can be a float
#define ADS_RATE MS2 , MS2, MS2 , MS2 // select between MS137, MS69, MS35, MS18, MS9, MS5, MS3 , MS2
#define ADS_AVERAGING_ON 8 , 8, 8, 8 // number of values used for averaging (must be between 1 and 254)
//#define ADS_CURRENT_BASED_ON ADS_VOLT_1 // uncomment if current, and comsumption have to be calculated based on one of ADS voltage measurement; select then the voltage to be used between ADS_VOLT_1, ADS_VOLT_2, ADS_VOLT_3, ADS_VOLT_4
#define ADS_AIRSPEED_BASED_ON ADS_VOLT_1 // uncomment if airspeed (and dte) have to be calculated based on one of ADS voltage measurement ; select then the voltage to be used between ADS_VOLT_1, ADS_VOLT_2, ADS_VOLT_3, ADS_VOLT_4
I have D8R RX, and in Taranis I have setup for AccY:
Unit kmh
Precision 0.00
Ratio 10
Offset 0
When I connect ADS1115 input (A0) to GND, in Taranis I have AccY = -80.30kmh, when I connect it to +5V, in Taranis is +80.31kmh.
A1 I have connected to 5k + 5k resistors ( +2.5V). Normaly at MPXV7002DP output is approx 2.6V = 6kmh. Blowing into pitot tube has no noticeable response
![Sad :-(](./images/smilies/icon_e_sad.gif)
My questions:
1, is my config on OXS correct?
2, what should be MPXV7002DP measurement range in Taranis. Electrically it is +0.5v to 4.5V, so +/-2V differentionally to A1. It represent what speed?
Thanks,
Daniel