built an OpenXSensor, added MS5611 sensor and a current sensor (bidirectional ACS758).
- transmitting altitude (Alt) and vertical speed (Vspd) works.
- transmitting current (Amps) works
- transmitting FUEL works
- rpm i don't know, 'cause lack of sensor
- transmitting VOLT1 to ACCX works
FasV and therefore Fwat on the TX always show 0.
Can someone please point me to my thinking error?
Here an excerpt of my oxs_config.h (no calibration values, 'cause only bench testing):
Code: Select all
#define PIN_Voltage1 0 // Pin for measuring Voltage 1 ( Analog In Pin! )
#define PIN_Voltage2 8 // Pin for measuring Voltage 2 ( Analog In Pin! )
#define PIN_Voltage3 8 // Pin for measuring Voltage 3 ( Analog In Pin! )
#define PIN_Voltage4 8 // Pin for measuring Voltage 4 ( Analog In Pin! )
#define PIN_Voltage5 8 // Pin for measuring Voltage 5 ( Analog In Pin! )
#define PIN_Voltage6 8 // Pin for measuring Voltage 6 ( Analog In Pin! )
#define offset_1 0
#define mVoltPerStep_1 4.89 // = 5000 / 1023 (if Vcc =5 volt)
#define NUMBEROFCELLS 1 // keep this line but set value to 0 (zero) if you do not want to transmit cell voltage.
#define SETUP_DATA_TO_SEND \
DEFAULTFIELD , ALTIMETER , 1 , 1 , 0 , \
DEFAULTFIELD , VERTICAL_SPEED , 1 , 1 , 0 , \
DEFAULTFIELD , RPM , 1 , 1 , 0 , \
DEFAULTFIELD , CURRENTMA , 1 , 1 , 0 , \
FRSKY_USERDATA_VFAS_NEW , VOLT1 , 1 , 1 , 0 , \
FRSKY_USERDATA_ACC_X , VOLT1 , 1 , 1 , 0 , \
FRSKY_USERDATA_FUEL , MILLIAH , 1 , 1 , 0
Thanks
Klaus