mstrens / oXs_on_RP2040

version of openXsensor to be used on raspberry pi pico RP2040 (more protocols, more functionalities)
87 stars 22 forks source link

Consult SDP810-500PA for the reasons for unsuccessful airspeed testing #93

Closed aepub closed 1 year ago

aepub commented 1 year ago

purchased an SDP810-500PA today, which uses a 5V voltage and is connected to the SDA and SCL of RP2040, including the previous MS5611 and MP6050. The SDA and SCL pins are connected to three sensors. Unfortunately, the remote control did not see the speed information, and I blew air into the airspeed tube, but there was no change. speed1 speed12 speed2 speed32 speed244

aepub commented 1 year ago

Today, I tested the MS4525D0 module and I am very excited that it has a display and will have corresponding changes; Unfortunately, SDP810-500 did not display anything, and the I2C address was also modified in config. h during compilation! 810-500-1

mstrens commented 1 year ago

It is strange that the SDP sensor is discovered (it means that it replies to his I2C address) but does not provide data.

I do not have such a sensor. So I wrote some code but I could not test it. As far I remember some user tried a sdp3X successfully but I am not sure about the SDP810.

In the oXs program, there are 2 main parts:

When the RP2040 is connected to a PC via the USB port, the PC can display some debug information and let you enter some commands (like you did when you selected the Exbus protocol). There are 2 commands that can help finding in which part there is an error.

Please make those tests. If the bug is in the first part, I could make a version with even more debug messages in order to find the bug.

mstrens commented 1 year ago

Just to be sure: the sdp can measure differential pressures. It means that the returned pressure value can be positive or negative. Only the positive values are used to calculate an airspeed (for negative values oXs return 0). Are you sure that you connected the sensor in the right way to the pitot tubes?

aepub commented 1 year ago

My sensor is connected to the pitot tube, and I tried to blow air into the pitot tube, but there was no data change. I happen to have an original JETI airspeed meter, and blowing air into it will cause airspeed to appear.

aepub commented 1 year ago

16:59:53.226 -> processing cmd 16:59:53.226 -> 16:59:53.226 -> Cmd to execute: 16:59:53.226 -> 16:59:53.226 -> Version = 2.7.0 16:59:53.226 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 16:59:53.226 -> Primary channels input = 21 (PRI = 5, 9, 21, 25) 16:59:53.226 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 16:59:53.226 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 16:59:53.226 -> GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) 16:59:53.226 -> GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) 16:59:53.226 -> Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) 16:59:53.226 -> RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) 16:59:53.226 -> SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) 16:59:53.226 -> SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) 16:59:53.226 -> PWM Channels 1, 2, 3 ,4 = 0 1 2 3 (C1 / C16= 0, 1, 2, ..., 15) 16:59:53.226 -> PWM Channels 5, 6, 7 ,8 = 4 5 6 7 16:59:53.226 -> PWM Channels 9,10,11,12 = 8 255 255 255 16:59:53.226 -> PWM Channels 13,14,15,16 = 255 255 255 255 16:59:53.226 -> Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29) 16:59:53.226 -> 16:59:53.226 -> Protocol is Jeti (Exbus) 16:59:53.226 -> CRSF baudrate = 420000 16:59:53.226 -> Voltage parameters: 16:59:53.226 -> Scales : 7.845450 , 75.000000 , 0.141670 , 1.000000 16:59:53.226 -> Offsets: 60.000000 , 125178.000000 , 59.000000 , 0.000000 16:59:53.226 -> One temperature sensor is connected on V3 16:59:53.226 -> RPM multiplier = 1.000000 16:59:53.226 -> Baro sensor is detected using MS5611 16:59:53.226 -> Sensitivity min = 100 (at 100) , max = 300 (at 1000) 16:59:53.226 -> Hysteresis = 5 16:59:53.226 -> Acc/Gyro is detected using MP6050 16:59:53.226 -> Acceleration offsets X, Y, Z = 0 , 0 , 0 16:59:53.226 -> Gyro offsets X, Y, Z = 0 , 0 , 0 16:59:53.226 -> Airspeed sensor is detected using SDP3X 16:59:53.226 -> No Vspeed compensation channel defined; oXs uses default settings 16:59:53.226 -> First analog to digital sensor is not detected 16:59:53.226 -> Second analog to digital sensor is not detected 16:59:53.226 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is detected but has not (yet) a fix 16:59:53.226 -> Led color is normal (not inverted) 16:59:53.226 -> Failsafe type is HOLD 16:59:53.226 -> 16:59:53.226 -> No sequencers are defined 16:59:53.226 -> 16:59:53.226 -> Config parameters are OK

16:59:59.076 -> Cmd to execute: FV 16:59:59.076 -> 16:59:59.076 -> GPS Latitude = -89.1234560 degree 16:59:59.076 -> GPS Longitude = -178.1234560 degree 16:59:59.076 -> GPS Groundspeed = 0 cm/s 16:59:59.076 -> GPS Heading = -179.120000 degree 16:59:59.076 -> GPS Altitude = -56721 cm 16:59:59.076 -> GPS Num sat. = 0 16:59:59.076 -> GPS Date J M A = 16 4 23 16:59:59.076 -> GPS Time H M S = 34 19 49 16:59:59.076 -> GPS Pdop = 3 16:59:59.076 -> GPS Home bearing = -179 degree 16:59:59.076 -> GPS Home distance = 0 m 16:59:59.076 -> Volt 1 = -7321 mVolt 16:59:59.076 -> Current (Volt 2) = -89321 mA 16:59:59.076 -> Volt 3 = -15321 mVolt 16:59:59.076 -> Volt 4 = -14321 mVolt 16:59:59.076 -> Capacity (using current) = 0 mAh 16:59:59.076 -> Temp 1 (Volt 3) = -19 degree 16:59:59.076 -> Temp 2 (Volt 4) = -21 degree 16:59:59.076 -> Vspeed = -258 cm/s 16:59:59.076 -> Baro Rel altitude = -46821 cm 16:59:59.076 -> Pitch = -89 degree 16:59:59.076 -> Roll = -78 degree 16:59:59.076 -> Yaw = -67 degree 16:59:59.076 -> RPM = 0 Hertz 16:59:59.076 -> Ads 1 1 = -11111 mVolt 16:59:59.076 -> Ads 1 2 = -12121 mVolt 16:59:59.076 -> Ads 1 3 = -13131 mVolt 16:59:59.076 -> Ads 1 4 = -13141 mVolt 16:59:59.076 -> Ads 2 1 = -21212 mVolt 16:59:59.076 -> Ads 2 2 = -22222 mVolt 16:59:59.076 -> Ads 2 3 = -23232 mVolt 16:59:59.076 -> Ads 2 4 = -24242 mVolt 16:59:59.076 -> Airspeed = 0 cm/s 16:59:59.076 -> Compensated Vspeed = -167 cm/s 16:59:59.076 -> Sbus hold counter = 0 16:59:59.076 -> Sbus failsafe counter = 0 16:59:59.076 -> Gps cumulative distance = 0 17:00:04.034 -> processing cmd 17:00:04.034 ->

17:00:04.034 -> Cmd to execute: FVN 17:00:04.034 -> 17:00:04.034 -> GPS Latitude = -89.1234560 degree 17:00:04.034 -> GPS Longitude = -178.1234560 degree 17:00:04.034 -> GPS Groundspeed = 0 cm/s 17:00:04.034 -> GPS Heading = -179.120000 degree 17:00:04.034 -> GPS Altitude = -56721 cm 17:00:04.034 -> GPS Num sat. = 0 17:00:04.034 -> GPS Date J M A = 16 4 23 17:00:04.034 -> GPS Time H M S = 34 19 49 17:00:04.034 -> GPS Pdop = 3 17:00:04.034 -> GPS Home bearing = -179 degree 17:00:04.034 -> GPS Home distance = 0 m 17:00:04.034 -> Volt 1 = -7321 mVolt 17:00:04.034 -> Current (Volt 2) = -89321 mA 17:00:04.034 -> Volt 3 = -15321 mVolt 17:00:04.034 -> Volt 4 = -14321 mVolt 17:00:04.034 -> Capacity (using current) = 0 mAh 17:00:04.034 -> Temp 1 (Volt 3) = -19 degree 17:00:04.034 -> Temp 2 (Volt 4) = -21 degree 17:00:04.034 -> Vspeed = -258 cm/s 17:00:04.034 -> Baro Rel altitude = -46821 cm 17:00:04.034 -> Pitch = -89 degree 17:00:04.034 -> Roll = -78 degree 17:00:04.034 -> Yaw = -67 degree 17:00:04.034 -> RPM = 0 Hertz 17:00:04.034 -> Ads 1 1 = -11111 mVolt 17:00:04.034 -> Ads 1 2 = -12121 mVolt 17:00:04.034 -> Ads 1 3 = -13131 mVolt 17:00:04.034 -> Ads 1 4 = -13141 mVolt 17:00:04.034 -> Ads 2 1 = -21212 mVolt 17:00:04.034 -> Ads 2 2 = -22222 mVolt 17:00:04.034 -> Ads 2 3 = -23232 mVolt 17:00:04.034 -> Ads 2 4 = -24242 mVolt 17:00:04.034 -> Airspeed = 0 cm/s 17:00:04.034 -> Compensated Vspeed = -167 cm/s 17:00:04.034 -> Sbus hold counter = 0 17:00:04.034 -> Sbus failsafe counter = 0 17:00:04.034 -> Gps cumulative distance = 0 17:00:04.034 -> Internal telemetry fields are now filled with NEGATIVE dummy values 17:00:04.034 -> To get real values again, you have to power down 17:00:08.459 -> processing cmd 17:00:08.459 ->

17:00:08.459 -> Cmd to execute: FVP 17:00:08.459 -> 17:00:08.459 -> GPS Latitude = 89.1234560 degree 17:00:08.459 -> GPS Longitude = 178.1234560 degree 17:00:08.459 -> GPS Groundspeed = 2468 cm/s 17:00:08.459 -> GPS Heading = 179.120000 degree 17:00:08.459 -> GPS Altitude = 135721 cm 17:00:08.459 -> GPS Num sat. = 23 17:00:08.459 -> GPS Date J M A = 16 4 23 17:00:08.459 -> GPS Time H M S = 34 19 49 17:00:08.459 -> GPS Pdop = 123 17:00:08.459 -> GPS Home bearing = 179 degree 17:00:08.459 -> GPS Home distance = 234 m 17:00:08.459 -> Volt 1 = 7321 mVolt 17:00:08.459 -> Current (Volt 2) = 89321 mA 17:00:08.459 -> Volt 3 = 15321 mVolt 17:00:08.459 -> Volt 4 = 14321 mVolt 17:00:08.459 -> Capacity (using current) = 34321 mAh 17:00:08.459 -> Temp 1 (Volt 3) = 136 degree 17:00:08.459 -> Temp 2 (Volt 4) = 148 degree 17:00:08.459 -> Vspeed = 258 cm/s 17:00:08.459 -> Baro Rel altitude = 246821 cm 17:00:08.459 -> Pitch = 89 degree 17:00:08.459 -> Roll = 78 degree 17:00:08.459 -> Yaw = 67 degree 17:00:08.459 -> RPM = 369 Hertz 17:00:08.459 -> Ads 1 1 = 11111 mVolt 17:00:08.459 -> Ads 1 2 = 12121 mVolt 17:00:08.459 -> Ads 1 3 = 13131 mVolt 17:00:08.459 -> Ads 1 4 = 13141 mVolt 17:00:08.459 -> Ads 2 1 = 21212 mVolt 17:00:08.459 -> Ads 2 2 = 22222 mVolt 17:00:08.459 -> Ads 2 3 = 23232 mVolt 17:00:08.459 -> Ads 2 4 = 24242 mVolt 17:00:08.459 -> Airspeed = 15151 cm/s 17:00:08.459 -> Compensated Vspeed = 167 cm/s 17:00:08.459 -> Sbus hold counter = 98 17:00:08.459 -> Sbus failsafe counter = 12 17:00:08.459 -> Gps cumulative distance = 135791 17:00:08.459 -> Internal telemetry fields are now filled with POSITIVE dummy values 17:00:08.459 -> To get real values again, you have to power down

aepub commented 1 year ago

In order to install the SDP810-500A sensor, I specially designed a PCB, z I bought a CNC pitot tube.

mstrens commented 1 year ago

When you send the FVP command, did you get an airspeed value (other than 0) on the handset?

Without sending a command, did you try to invert your 2 tubes connecting the pitot and the sensor.

aepub commented 1 year ago

Screen at startup: open FVP: fvp FVN: fvn

mstrens commented 1 year ago

So the FVP values are transmitted. So the bug should be in the first part of the code.

Here a version 2.7.1 (not available on github) to check if oXs can read the data from the SDP. Use it with the RP2040 connected to the PC (via USB). Every 2 msec, oXs is supposed to read the SDP and if OK, it should (with this version) send to the PC a line with 3 values about the pressure (raw values); Could you make a copy/paste of some of those lines when blowing in the pitot tube to see what oXs get from the sensor.

oXs.zip

aepub commented 1 year ago

Did you modify the I2C address of SDP810-500 when compiling the code? I found that the SDP810-500 sensor was not recognized in the serial monitor!

mstrens commented 1 year ago

No, I forgot it. I will make a new version.

mstrens commented 1 year ago

Here with I2S = 0X25 oXs.zip

aepub commented 1 year ago

There are no other lines besides this information! 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf

aepub commented 1 year ago

Version = 2.7.1 Function GPIO Change entering XXX=yyy (yyy=255 to disable) Primary channels input = 21 (PRI = 5, 9, 21, 25) Secondary channels input = 255 (SEC = 1, 13, 17, 29) Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) 0 0 inf Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) PWM Channels 5, 6, 7 ,8 = 255 255 255 255 PWM Channels 9,10,11,12 = 255 255 255 255 PWM Channels 13,14,15,16 = 255 255 255 255 Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29)

Protocol is Jeti (Exbus) CRSF baudrate = 420000 Voltage parameters: Scales : 1.000000 , 1.000000 , 0.141670 , 1.000000 0 0 inf Offsets: 0.000000 , 0.000000 , 59.000000 , 0.000000 One temperature sensor is connected on V3 RPM multiplier = 1.000000 Baro sensor is detected using MS5611 Sensitivity min = 100 (at 100) , max = 300 (at 1000) Hysteresis = 5 Acc/Gyro is detected using MP6050 Acceleration offsets X, Y, Z = 0 , 0 , 0 Gyro offsets X, Y, Z = 0 , 0 , 0 Airspeed sensor is detected using SDP3X No Vspeed compensation channel defined; oXs uses default settings First analog to digital sensor is not detected Second analog to digital sensor is not detected Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected Led color is normal (not inverted) Failsafe type is HOLD

No sequencers are defined 0 0 inf

Config parameters are OK Press ? + Enter to get help about the commands 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf

0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 in f 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf 0 0 inf

mstrens commented 1 year ago

It is strange! oXs does not get an error when reading the sensor but the values are always 0 (on first 2 bytes)

Here a version (2.7.2) oXs.zip where I should read the 9 bytes provided by the sensor (pressure, temp, scale and crc). I removed the previous message and I inserted only one line of message with the data captured when the sensor is initialized. The line begins with "SDP first read:" and should contains 9 values.

mstrens commented 1 year ago

Perhaps I found the bug. Here a version 2.7.3 with

aepub commented 1 year ago

I used 2.73, but still did not display the speed data of the changes. Attached are FV, FVN, and FVP data. 222 15:01:32.816 -> Version = 2.7.2 15:01:32.816 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 15:01:32.816 -> Primary channels input = 21 (PRI = 5, 9, 21, 25) 15:01:32.816 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 15:01:32.816 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 15:01:32.816 -> GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) 15:01:32.816 -> GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) 15:01:32.816 -> Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) 15:01:32.816 -> RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) 15:01:32.816 -> SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) 15:01:32.816 -> SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) 15:01:32.816 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 15:01:32.816 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 15:01:32.816 -> PWM Channels 9,10,11,12 = 255 255 255 255 15:01:32.816 -> PWM Channels 13,14,15,16 = 255 255 255 255 15:01:32.816 -> Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29) 15:01:32.816 -> 15:01:32.816 -> Protocol is Jeti (Exbus) 15:01:32.816 -> CRSF baudrate = 420000 15:01:32.816 -> Voltage parameters: 15:01:32.816 -> Scales : 8.384600 , 71.000000 , 0.141670 , 1.000000 15:01:32.816 -> Offsets: 1079.230713 , 117857.000000 , 59.000000 , 0.000000 15:01:32.816 -> One temperature sensor is connected on V3 15:01:32.816 -> RPM multiplier = 1.000000 15:01:32.816 -> Baro sensor is detected using MS5611 15:01:32.816 -> Sensitivity min = 100 (at 100) , max = 300 (at 1000) 15:01:32.816 -> Hysteresis = 5 15:01:32.816 -> Acc/Gyro is detected using MP6050 15:01:32.816 -> Acceleration offsets X, Y, Z = 0 , 0 , 0 15:01:32.816 -> Gyro offsets X, Y, Z = 0 , 0 , 0 15:01:32.816 -> Airspeed sensor is detected using SDP3X 15:01:32.816 -> No Vspeed compensation channel defined; oXs uses default settings 15:01:32.816 -> First analog to digital sensor is not detected 15:01:32.816 -> Second analog to digital sensor is not detected 15:01:32.816 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 15:01:32.816 -> Led color is normal (not inverted) 15:01:32.816 -> Failsafe type is HOLD 15:01:32.816 -> 15:01:32.816 -> No sequencers are defined 15:01:32.816 -> 15:01:32.816 -> Config parameters are OK 15:01:32.816 -> Press ? + Enter to get help about the commands 15:01:32.816 -> 15:01:32.816 -> >>

15:01:56.386 -> Cmd to execute: FV 15:01:56.386 -> 15:01:56.386 -> GPS Latitude = 89.1234560 degree 15:01:56.386 -> GPS Longitude = 178.1234560 degree 15:01:56.386 -> GPS Groundspeed = 2468 cm/s 15:01:56.386 -> GPS Heading = 179.120000 degree 15:01:56.386 -> GPS Altitude = 135721 cm 15:01:56.386 -> GPS Num sat. = 23 15:01:56.386 -> GPS Date J M A = 16 4 23 15:01:56.386 -> GPS Time H M S = 34 19 49 15:01:56.386 -> GPS Pdop = 123 15:01:56.386 -> GPS Home bearing = 179 degree 15:01:56.386 -> GPS Home distance = 234 m 15:01:56.386 -> Volt 1 = 7321 mVolt 15:01:56.386 -> Current (Volt 2) = 89321 mA 15:01:56.386 -> Volt 3 = 15321 mVolt 15:01:56.386 -> Volt 4 = 14321 mVolt 15:01:56.386 -> Capacity (using current) = 34321 mAh 15:01:56.386 -> Temp 1 (Volt 3) = 136 degree 15:01:56.386 -> Temp 2 (Volt 4) = 148 degree 15:01:56.386 -> Vspeed = 258 cm/s 15:01:56.386 -> Baro Rel altitude = 246821 cm 15:01:56.386 -> Pitch = 89 degree 15:01:56.386 -> Roll = 78 degree 15:01:56.386 -> Yaw = 67 degree 15:01:56.386 -> RPM = 369 Hertz 15:01:56.386 -> Ads 1 1 = 11111 mVolt 15:01:56.386 -> Ads 1 2 = 12121 mVolt 15:01:56.386 -> Ads 1 3 = 13131 mVolt 15:01:56.386 -> Ads 1 4 = 13141 mVolt 15:01:56.386 -> Ads 2 1 = 21212 mVolt 15:01:56.386 -> Ads 2 2 = 22222 mVolt 15:01:56.386 -> Ads 2 3 = 23232 mVolt 15:01:56.386 -> Ads 2 4 = 24242 mVolt 15:01:56.386 -> Airspeed = 15151 cm/s 15:01:56.386 -> Compensated Vspeed = 167 cm/s 15:01:56.386 -> Sbus hold counter = 98 15:01:56.386 -> Sbus failsafe counter = 12 15:01:56.386 -> Gps cumulative distance = 135791

15:02:13.302 -> Cmd to execute: FVN 15:02:13.302 -> 15:02:13.302 -> GPS Latitude = -89.1234560 degree 15:02:13.302 -> GPS Longitude = -178.1234560 degree 15:02:13.302 -> GPS Groundspeed = 0 cm/s 15:02:13.302 -> GPS Heading = -179.120000 degree 15:02:13.302 -> GPS Altitude = -56721 cm 15:02:13.302 -> GPS Num sat. = 0 15:02:13.302 -> GPS Date J M A = 16 4 23 15:02:13.302 -> GPS Time H M S = 34 19 49 15:02:13.302 -> GPS Pdop = 3 15:02:13.302 -> GPS Home bearing = -179 degree 15:02:13.302 -> GPS Home distance = 0 m 15:02:13.302 -> Volt 1 = -7321 mVolt 15:02:13.302 -> Current (Volt 2) = -89321 mA 15:02:13.302 -> Volt 3 = -15321 mVolt 15:02:13.302 -> Volt 4 = -14321 mVolt 15:02:13.302 -> Capacity (using current) = 0 mAh 15:02:13.302 -> Temp 1 (Volt 3) = -19 degree 15:02:13.302 -> Temp 2 (Volt 4) = -21 degree 15:02:13.302 -> Vspeed = -258 cm/s 15:02:13.302 -> Baro Rel altitude = -46821 cm 15:02:13.302 -> Pitch = -89 degree 15:02:13.302 -> Roll = -78 degree 15:02:13.302 -> Yaw = -67 degree 15:02:13.302 -> RPM = 0 Hertz 15:02:13.302 -> Ads 1 1 = -11111 mVolt 15:02:13.302 -> Ads 1 2 = -12121 mVolt 15:02:13.302 -> Ads 1 3 = -13131 mVolt 15:02:13.302 -> Ads 1 4 = -13141 mVolt 15:02:13.302 -> Ads 2 1 = -21212 mVolt 15:02:13.302 -> Ads 2 2 = -22222 mVolt 15:02:13.302 -> Ads 2 3 = -23232 mVolt 15:02:13.302 -> Ads 2 4 = -24242 mVolt 15:02:13.302 -> Airspeed = 0 cm/s 15:02:13.302 -> Compensated Vspeed = -167 cm/s 15:02:13.302 -> Sbus hold counter = 0 15:02:13.302 -> Sbus failsafe counter = 0 15:02:13.302 -> Gps cumulative distance = 0 15:02:13.302 -> Internal telemetry fields are now filled with NEGATIVE dummy values 15:02:13.302 -> To get real values again, you have to power down

15:02:32.682 -> Cmd to execute: FVP 15:02:32.682 -> 15:02:32.682 -> GPS Latitude = 89.1234560 degree 15:02:32.682 -> GPS Longitude = 178.1234560 degree 15:02:32.682 -> GPS Groundspeed = 2468 cm/s 15:02:32.682 -> GPS Heading = 179.120000 degree 15:02:32.682 -> GPS Altitude = 135721 cm 15:02:32.682 -> GPS Num sat. = 23 15:02:32.682 -> GPS Date J M A = 16 4 23 15:02:32.682 -> GPS Time H M S = 34 19 49 15:02:32.682 -> GPS Pdop = 123 15:02:32.682 -> GPS Home bearing = 179 degree 15:02:32.682 -> GPS Home distance = 234 m 15:02:32.682 -> Volt 1 = 7321 mVolt 15:02:32.682 -> Current (Volt 2) = 89321 mA 15:02:32.682 -> Volt 3 = 15321 mVolt 15:02:32.682 -> Volt 4 = 14321 mVolt 15:02:32.682 -> Capacity (using current) = 34321 mAh 15:02:32.682 -> Temp 1 (Volt 3) = 136 degree 15:02:32.682 -> Temp 2 (Volt 4) = 148 degree 15:02:32.682 -> Vspeed = 258 cm/s 15:02:32.682 -> Baro Rel altitude = 246821 cm 15:02:32.682 -> Pitch = 89 degree 15:02:32.682 -> Roll = 78 degree 15:02:32.682 -> Yaw = 67 degree 15:02:32.682 -> RPM = 369 Hertz 15:02:32.682 -> Ads 1 1 = 11111 mVolt 15:02:32.682 -> Ads 1 2 = 12121 mVolt 15:02:32.682 -> Ads 1 3 = 13131 mVolt 15:02:32.683 -> Ads 1 4 = 13141 mVolt 15:02:32.683 -> Ads 2 1 = 21212 mVolt 15:02:32.683 -> Ads 2 2 = 22222 mVolt 15:02:32.683 -> Ads 2 3 = 23232 mVolt 15:02:32.683 -> Ads 2 4 = 24242 mVolt 15:02:32.683 -> Airspeed = 15151 cm/s 15:02:32.683 -> Compensated Vspeed = 167 cm/s 15:02:32.683 -> Sbus hold counter = 98 15:02:32.683 -> Sbus failsafe counter = 12 15:02:32.683 -> Gps cumulative distance = 135791 15:02:32.683 -> Internal telemetry fields are now filled with POSITIVE dummy values 15:02:32.683 -> To get real values again, you have to power down

aepub commented 1 year ago

On the hardware connection, SDP810-500 uses a 5V power supply, uses SDA and SCL interfaces with MS5611 and MP6050, and uses a 4.7K pull-up resistor to 3.3V. Should this be a problem?

mstrens commented 1 year ago

I presume that using 4.7K pull-up to 3.3V is ok. In theory using also a MS5611 and MP6050 should not be an issue. Still I saw a post on Rcgroups about a GY86 module that delivers no altitude. So I am not 100% sure.

With version 2.7.2 (or 2.7.3), oXs should, after a reset, generate a line starting with "SDP first read:" followed by 9 values. Do you get such a line? If yes, what are the 9 values? Note: it is just generated once (after each reset) during the setup of oXs.

If you can easily disconnect the MS5611+MP6050 from the I2C bus, you could also make a test without those components. If it is difficult to disconnect them, I could make a version of oXs where I do not try to read those addresses.

mstrens commented 1 year ago

I just noticed that when you did not yet used a FVP of FVN command, the compensated VSpeed displayed on the handset seems abnormal (to high value). If you did not yet disconnected the MS5611, could you also display the uncompensated value of Vspeed (this one is calculated based only the MS5611) and should be close to 0 when the sensor does not move up/down.

aepub commented 1 year ago

« Clean boot

Config parameters are OK Press ? + Enter to get help about the commands ADS1115 sensor I2C Addr=48 Write error for ads1115 Error in Set up of ads1115. ADS1115 sensor I2C Addr=49 Write error for ads1115 Error in Set up of ads1115. erro r read MS4525 (airspeed sensor) at startup SDP first read: 0 0 0 0 0 0 0 0 0 sdp3x has been succesfuly detected Setup1 takes 114565 usec

aepub commented 1 year ago

My MS5611 and MP6050 are integrated on a PCB, making it difficult to disconnect them. Perhaps this PCB will not function properly!

aepub commented 1 year ago

Is it possible that my newly purchased SDP810-500 is damaged?

aepub commented 1 year ago

After restarting, I executed FV, FVP, and FVN in sequence. I'm not sure if these data are helpful! 17:00:57.613 -> ADS1115 sensor I2C Addr=48 17:00:57.613 -> Write error for ads1115 17:00:57.613 -> Error in Set up of ads1115. 17:00:57.613 -> ADS1115 sensor I2C Addr=49 17:00:57.613 -> Write error for ads1115 17:00:57.613 -> Error in Set up of ads1115. 17:00:57.613 -> error read MS4525 (airspeed sensor) at startup 17:00:57.706 -> SDP first read: 0 0 0 0 0 0 0 0 0 17:00:57.706 -> sdp3x has been succesfuly detected 17:00:57.706 -> Setup1 takes 114549 usec 17:00:57.706 -> 17:00:57.706 -> Version = 2.7.2 17:00:57.706 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 17:00:57.706 -> Primary channels input = 21 (PRI = 5, 9, 21, 25) 17:00:57.706 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 17:00:57.706 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 17:00:57.706 -> GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) 17:00:57.706 -> GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) 17:00:57.706 -> Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) 17:00:57.706 -> RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) 17:00:57.706 -> SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) 17:00:57.706 -> SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) 17:00:57.706 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 17:00:57.706 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 17:00:57.706 -> PWM Channels 9,10,11,12 = 255 255 255 255 17:00:57.706 -> PWM Channels 13,14,15,16 = 255 255 255 255 17:00:57.706 -> Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29) 17:00:57.706 -> 17:00:57.706 -> Protocol is Jeti (Exbus) 17:00:57.706 -> CRSF baudrate = 420000 17:00:57.706 -> Voltage parameters: 17:00:57.706 -> Scales : 8.384600 , 76.000000 , 0.141670 , 1.000000 17:00:57.706 -> Offsets: 1079.230713 , 125920.000000 , 59.000000 , 0.000000 17:00:57.706 -> One temperature sensor is connected on V3 17:00:57.706 -> RPM multiplier = 1.000000 17:00:57.706 -> Baro sensor is detected using MS5611 17:00:57.706 -> Sensitivity min = 100 (at 100) , max = 300 (at 1000) 17:00:57.706 -> Hysteresis = 5 17:00:57.706 -> Acc/Gyro is detected using MP6050 17:00:57.706 -> Acceleration offsets X, Y, Z = 0 , 0 , 0 17:00:57.706 -> Gyro offsets X, Y, Z = 0 , 0 , 0 17:00:57.706 -> Airspeed sensor is detected using SDP3X 17:00:57.706 -> No Vspeed compensation channel defined; oXs uses default settings 17:00:57.706 -> First analog to digital sensor is not detected 17:00:57.706 -> Second analog to digital sensor is not detected 17:00:57.706 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 17:00:57.706 -> Led color is normal (not inverted) 17:00:57.706 -> Failsafe type is HOLD 17:00:57.706 -> 17:00:57.706 -> No sequencers are defined 17:00:57.706 -> 17:00:57.706 -> Config parameters are OK 17:00:57.706 -> Press ? + Enter to get help about the commands 17:02:45.055 -> processing cmd 17:02:45.055 -> 17:02:45.055 -> Cmd to execute: FV 17:02:45.055 -> 17:02:45.055 -> Volt 1 = -981 mVolt 17:02:45.055 -> Current (Volt 2) = 16 mA 17:02:45.055 -> Capacity (using current) = 0 mAh 17:02:45.055 -> Temp 1 (Volt 3) = 50 degree 17:02:45.055 -> Vspeed = -1 cm/s 17:02:45.055 -> Baro Rel altitude = -4 cm 17:02:45.055 -> Pitch = 892 degree 17:02:45.055 -> Roll = -43 degree 17:02:45.055 -> RPM = 0 Hertz 17:02:45.055 -> Airspeed = 2147483647 cm/s 17:02:45.055 -> Compensated Vspeed = 2147483647 cm/s 17:02:52.269 -> processing cmd 17:02:52.269 -> 17:02:52.269 -> Cmd to execute: FVP 17:02:52.269 -> GPS Latitude = 89.1234560 degree 17:02:52.269 -> GPS Longitude = 178.1234560 degree 17:02:52.269 -> GPS Groundspeed = 2468 cm/s 17:02:52.269 -> GPS Heading = 179.120000 degree 17:02:52.269 -> GPS Altitude = 135721 cm 17:02:52.269 -> GPS Num sat. = 23 17:02:52.269 -> GPS Date J M A = 16 4 23 17:02:52.269 -> GPS Time H M S = 34 19 49 17:02:52.269 -> GPS Pdop = 123 17:02:52.269 -> GPS Home bearing = 179 degree 17:02:52.269 -> GPS Home distance = 234 m 17:02:52.269 -> Volt 1 = 7321 mVolt 17:02:52.269 -> Current (Volt 2) = 89321 mA 17:02:52.269 -> Volt 3 = 15321 mVolt 17:02:52.269 -> Volt 4 = 14321 mVolt 17:02:52.269 -> Capacity (using current) = 34321 mAh 17:02:52.269 -> Temp 1 (Volt 3) = 136 degree 17:02:52.269 -> Temp 2 (Volt 4) = 148 degree 17:02:52.269 -> Vspeed = 258 cm/s 17:02:52.269 -> Baro Rel altitude = 246821 cm 17:02:52.269 -> Pitch = 89 degree 17:02:52.269 -> Roll = 78 degree 17:02:52.269 -> Yaw = 67 degree 17:02:52.269 -> RPM = 369 Hertz 17:02:52.269 -> Ads 1 1 = 11111 mVolt 17:02:52.269 -> Ads 1 2 = 12121 mVolt 17:02:52.269 -> Ads 1 3 = 13131 mVolt 17:02:52.269 -> Ads 1 4 = 13141 mVolt 17:02:52.269 -> Ads 2 1 = 21212 mVolt 17:02:52.269 -> Ads 2 2 = 22222 mVolt 17:02:52.269 -> Ads 2 3 = 23232 mVolt 17:02:52.269 -> Ads 2 4 = 24242 mVolt 17:02:52.269 -> Airspeed = 15151 cm/s 17:02:52.269 -> Compensated Vspeed = 167 cm/s 17:02:52.269 -> Sbus hold counter = 98 17:02:52.269 -> Sbus failsafe counter = 12 17:02:52.269 -> Gps cumulative distance = 135791 17:02:52.269 -> Internal telemetry fields are now filled with POSITIVE dummy values 17:02:52.269 -> To get real values again, you have to power down 17:02:59.818 -> processing cmd 17:02:59.818 -> 17:02:59.818 -> Cmd to execute: FVN 17:02:59.818 -> 17:02:59.818 -> GPS Latitude = -89.1234560 degree 17:02:59.818 -> GPS Longitude = -178.1234560 degree 17:02:59.818 -> GPS Groundspeed = 0 cm/s 17:02:59.818 -> GPS Heading = -179.120000 degree 17:02:59.818 -> GPS Altitude = -56721 cm 17:02:59.818 -> GPS Num sat. = 0 17:02:59.818 -> GPS Date J M A = 16 4 23 17:02:59.818 -> GPS Time H M S = 34 19 49 17:02:59.818 -> GPS Pdop = 3 17:02:59.818 -> GPS Home bearing = -179 degree 17:02:59.818 -> GPS Home distance = 0 m 17:02:59.818 -> Volt 1 = -7321 mVolt 17:02:59.818 -> Current (Volt 2) = -89321 mA 17:02:59.818 -> Volt 3 = -15321 mVolt 17:02:59.818 -> Volt 4 = -14321 mVolt 17:02:59.818 -> Capacity (using current) = 0 mAh 17:02:59.818 -> Temp 1 (Volt 3) = -19 degree 17:02:59.818 -> Temp 2 (Volt 4) = -21 degree 17:02:59.818 -> Vspeed = -258 cm/s 17:02:59.818 -> Baro Rel altitude = -46821 cm 17:02:59.818 -> Pitch = -89 degree 17:02:59.818 -> Roll = -78 degree 17:02:59.818 -> Yaw = -67 degree 17:02:59.818 -> RPM = 0 Hertz 17:02:59.818 -> Ads 1 1 = -11111 mVolt 17:02:59.818 -> Ads 1 2 = -12121 mVolt 17:02:59.818 -> Ads 1 3 = -13131 mVolt 17:02:59.818 -> Ads 1 4 = -13141 mVolt 17:02:59.818 -> Ads 2 1 = -21212 mVolt 17:02:59.818 -> Ads 2 2 = -22222 mVolt 17:02:59.818 -> Ads 2 3 = -23232 mVolt 17:02:59.818 -> Ads 2 4 = -24242 mVolt 17:02:59.818 -> Airspeed = 0 cm/s 17:02:59.818 -> Compensated Vspeed = -167 cm/s 17:02:59.818 -> Sbus hold counter = 0 17:02:59.818 -> Sbus failsafe counter = 0 17:02:59.818 -> Gps cumulative distance = 0 17:02:59.818 -> Internal telemetry fields are now filled with NEGATIVE dummy values 17:02:59.818 -> To get real values again, you have to power down

aepub commented 1 year ago

2.7.3 data

17:07:21.493 -> Clean boot 17:07:21.493 -> 17:07:21.493 -> Config parameters are OK 17:07:21.493 -> Press ? + Enter to get help about the commands 17:07:21.493 -> ADS1115 sensor I2C Addr=48 17:07:21.493 -> Write error for ads1115 17:07:21.493 -> Error in Set up of ads1115. 17:07:21.493 -> ADS1115 sensor I2C Addr=49 17:07:21.493 -> Write error for ads1115 17:07:21.493 -> Error in Set up of ads1115. 17:07:21.493 -> error read MS4525 (airspeed sensor) at startup 17:07:21.619 -> SDP first read: 0 0 0 0 0 0 0 0 0 17:07:21.619 -> sdp3x has been succesfuly detected 17:07:21.619 -> Setup1 takes 114532 usec 17:07:21.619 -> 17:07:21.619 -> Version = 2.7.3 17:07:21.619 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 17:07:21.619 -> Primary channels input = 21 (PRI = 5, 9, 21, 25) 17:07:21.619 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 17:07:21.619 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 17:07:21.619 -> GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) 17:07:21.619 -> GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) 17:07:21.619 -> Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) 17:07:21.619 -> RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) 17:07:21.619 -> SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) 17:07:21.619 -> SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) 17:07:21.619 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 17:07:21.619 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 17:07:21.619 -> PWM Channels 9,10,11,12 = 255 255 255 255 17:07:21.619 -> PWM Channels 13,14,15,16 = 255 255 255 255 17:07:21.619 -> Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29) 17:07:21.619 -> 17:07:21.619 -> Protocol is Jeti (Exbus) 17:07:21.619 -> CRSF baudrate = 420000 17:07:21.619 -> Voltage parameters: 17:07:21.619 -> Scales : 8.384600 , 76.000000 , 0.141670 , 1.000000 17:07:21.619 -> Offsets: 1079.230713 , 125920.000000 , 59.000000 , 0.000000 17:07:21.619 -> One temperature sensor is connected on V3 17:07:21.619 -> RPM multiplier = 1.000000 17:07:21.619 -> Baro sensor is detected using MS5611 17:07:21.619 -> Sensitivity min = 100 (at 100) , max = 300 (at 1000) 17:07:21.619 -> Hysteresis = 5 17:07:21.619 -> Acc/Gyro is detected using MP6050 17:07:21.619 -> Acceleration offsets X, Y, Z = 0 , 0 , 0 17:07:21.619 -> Gyro offsets X, Y, Z = 0 , 0 , 0 17:07:21.619 -> Airspeed sensor is detected using SDP3X 17:07:21.619 -> No Vspeed compensation channel defined; oXs uses default settings 17:07:21.619 -> First analog to digital sensor is not detected 17:07:21.619 -> Second analog to digital sensor is not detected 17:07:21.619 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 17:07:21.619 -> Led color is normal (not inverted) 17:07:21.619 -> Failsafe type is HOLD 17:07:21.619 -> 17:07:21.619 -> No sequencers are defined 17:07:21.619 -> 17:07:21.619 -> Config parameters are OK 17:07:21.619 -> Press ? + Enter to get help about the commands 17:07:22.033 -> processing cmd 17:07:22.033 -> 17:07:22.033 -> Cmd to execute: 17:07:22.033 -> 17:07:22.033 -> Version = 2.7.3 17:07:22.033 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 17:07:22.033 -> Primary channels input = 21 (PRI = 5, 9, 21, 25) 17:07:22.033 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 17:07:22.033 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 17:07:22.033 -> GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) 17:07:22.033 -> GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) 17:07:22.033 -> Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) 17:07:22.033 -> RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) 17:07:22.033 -> SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) 17:07:22.033 -> SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) 17:07:22.033 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 17:07:22.033 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 17:07:22.033 -> PWM Channels 9,10,11,12 = 255 255 255 255 17:07:22.033 -> PWM Channels 13,14,15,16 = 255 255 255 255 17:07:22.033 -> Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29) 17:07:22.033 -> 17:07:22.033 -> Protocol is Jeti (Exbus) 17:07:22.033 -> CRSF baudrate = 420000 17:07:22.033 -> Voltage parameters: 17:07:22.033 -> Scales : 8.384600 , 76.000000 , 0.141670 , 1.000000 17:07:22.033 -> Offsets: 1079.230713 , 125920.000000 , 59.000000 , 0.000000 17:07:22.033 -> One temperature sensor is connected on V3 17:07:22.033 -> RPM multiplier = 1.000000 17:07:22.033 -> Baro sensor is detected using MS5611 17:07:22.033 -> Sensitivity min = 100 (at 100) , max = 300 (at 1000) 17:07:22.033 -> Hysteresis = 5 17:07:22.033 -> Acc/Gyro is detected using MP6050 17:07:22.033 -> Acceleration offsets X, Y, Z = 0 , 0 , 0 17:07:22.033 -> Gyro offsets X, Y, Z = 0 , 0 , 0 17:07:22.033 -> Airspeed sensor is detected using SDP3X 17:07:22.033 -> No Vspeed compensation channel defined; oXs uses default settings 17:07:22.033 -> First analog to digital sensor is not detected 17:07:22.033 -> Second analog to digital sensor is not detected 17:07:22.033 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 17:07:22.033 -> Led color is normal (not inverted) 17:07:22.033 -> Failsafe type is HOLD 17:07:22.033 -> 17:07:22.033 -> No sequencers are defined 17:07:22.033 -> 17:07:22.033 -> Config parameters are OK 17:07:22.033 -> Press ? + Enter to get help about the commands 17:07:22.033 -> 17:07:22.033 -> >>

17:08:46.301 -> Cmd to execute: FV 17:08:46.301 -> 17:08:46.301 -> Volt 1 = -972 mVolt 17:08:46.301 -> Current (Volt 2) = -54 mA 17:08:46.301 -> Capacity (using current) = 0 mAh 17:08:46.301 -> Temp 1 (Volt 3) = 53 degree 17:08:46.301 -> Vspeed = -3 cm/s 17:08:46.301 -> Baro Rel altitude = -32 cm 17:08:46.301 -> Pitch = 1021 degree 17:08:46.301 -> Roll = 58 degree 17:08:46.301 -> RPM = 0 Hertz 17:08:46.301 -> Airspeed = 2147483647 cm/s 17:08:46.301 -> Compensated Vspeed = 2147483647 cm/s

17:09:03.683 -> Cmd to execute: FVP 17:09:03.683 -> 17:09:03.683 -> GPS Latitude = 89.1234560 degree 17:09:03.683 -> GPS Longitude = 178.1234560 degree 17:09:03.683 -> GPS Groundspeed = 2468 cm/s 17:09:03.683 -> GPS Heading = 179.120000 degree 17:09:03.683 -> GPS Altitude = 135721 cm 17:09:03.683 -> GPS Num sat. = 23 17:09:03.683 -> GPS Date J M A = 16 4 23 17:09:03.683 -> GPS Time H M S = 34 19 49 17:09:03.683 -> GPS Pdop = 123 17:09:03.683 -> GPS Home bearing = 179 degree 17:09:03.683 -> GPS Home distance = 234 m 17:09:03.683 -> Volt 1 = 7321 mVolt 17:09:03.683 -> Current (Volt 2) = 89321 mA 17:09:03.683 -> Volt 3 = 15321 mVolt 17:09:03.683 -> Volt 4 = 14321 mVolt 17:09:03.683 -> Capacity (using current) = 34321 mAh 17:09:03.683 -> Temp 1 (Volt 3) = 136 degree 17:09:03.683 -> Temp 2 (Volt 4) = 148 degree 17:09:03.683 -> Vspeed = 258 cm/s 17:09:03.683 -> Baro Rel altitude = 246821 cm 17:09:03.683 -> Pitch = 89 degree 17:09:03.683 -> Roll = 78 degree 17:09:03.683 -> Yaw = 67 degree 17:09:03.683 -> RPM = 369 Hertz 17:09:03.683 -> Ads 1 1 = 11111 mVolt 17:09:03.683 -> Ads 1 2 = 12121 mVolt 17:09:03.683 -> Ads 1 3 = 13131 mVolt 17:09:03.683 -> Ads 1 4 = 13141 mVolt 17:09:03.683 -> Ads 2 1 = 21212 mVolt 17:09:03.683 -> Ads 2 2 = 22222 mVolt 17:09:03.683 -> Ads 2 3 = 23232 mVolt 17:09:03.683 -> Ads 2 4 = 24242 mVolt 17:09:03.683 -> Airspeed = 15151 cm/s 17:09:03.683 -> Compensated Vspeed = 167 cm/s 17:09:03.683 -> Sbus hold counter = 98 17:09:03.683 -> Sbus failsafe counter = 12 17:09:03.683 -> Gps cumulative distance = 135791 17:09:03.683 -> Internal telemetry fields are now filled with POSITIVE dummy values 17:09:03.683 -> To get real values again, you have to power down

17:09:17.210 -> Cmd to execute: FVN 17:09:17.210 -> 17:09:17.210 -> GPS Latitude = -89.1234560 degree 17:09:17.210 -> GPS Longitude = -178.1234560 degree 17:09:17.210 -> GPS Groundspeed = 0 cm/s 17:09:17.210 -> GPS Heading = -179.120000 degree 17:09:17.210 -> GPS Altitude = -56721 cm 17:09:17.210 -> GPS Num sat. = 0 17:09:17.210 -> GPS Date J M A = 16 4 23 17:09:17.210 -> GPS Time H M S = 34 19 49 17:09:17.210 -> GPS Pdop = 3 17:09:17.210 -> GPS Home bearing = -179 degree 17:09:17.210 -> GPS Home distance = 0 m 17:09:17.210 -> Volt 1 = -7321 mVolt 17:09:17.210 -> Current (Volt 2) = -89321 mA 17:09:17.210 -> Volt 3 = -15321 mVolt 17:09:17.210 -> Volt 4 = -14321 mVolt 17:09:17.210 -> Capacity (using current) = 0 mAh 17:09:17.210 -> Temp 1 (Volt 3) = -19 degree 17:09:17.210 -> Temp 2 (Volt 4) = -21 degree 17:09:17.210 -> Vspeed = -258 cm/s 17:09:17.210 -> Baro Rel altitude = -46821 cm 17:09:17.210 -> Pitch = -89 degree 17:09:17.210 -> Roll = -78 degree 17:09:17.210 -> Yaw = -67 degree 17:09:17.210 -> RPM = 0 Hertz 17:09:17.210 -> Ads 1 1 = -11111 mVolt 17:09:17.210 -> Ads 1 2 = -12121 mVolt 17:09:17.210 -> Ads 1 3 = -13131 mVolt 17:09:17.210 -> Ads 1 4 = -13141 mVolt 17:09:17.210 -> Ads 2 1 = -21212 mVolt 17:09:17.210 -> Ads 2 2 = -22222 mVolt 17:09:17.210 -> Ads 2 3 = -23232 mVolt 17:09:17.210 -> Ads 2 4 = -24242 mVolt 17:09:17.210 -> Airspeed = 0 cm/s 17:09:17.210 -> Compensated Vspeed = -167 cm/s 17:09:17.210 -> Sbus hold counter = 0 17:09:17.210 -> Sbus failsafe counter = 0 17:09:17.210 -> Gps cumulative distance = 0 17:09:17.210 -> Internal telemetry fields are now filled with NEGATIVE dummy values 17:09:17.210 -> To get real values again, you have to power down

mstrens commented 1 year ago

It is clear that when oXs tries to get data from the SDP, it get only 0. I do not understand why. There are no real errors detected on the I2C bus. When oXs sent commands, it checks that the I2C sensor replies with an ACK. That seems to be the case. This works because when we use a wrong I2C address, we get an error.

I can make change to oXs to see if I can read e.g. the type of SDP. This require specific commands I think. I will check the datasheet.

It would also be possible to test just the SDP alone if you could be able to connect it to another MCU board (e.g. an RP2040 zero or an arduino uno/pro mini/nano). Do you have such a board?

aepub commented 1 year ago

This is the data using RP2040 ZORE, SDP810-500 uses a 5V power supply and no pull-up resistance! 17:18:05.976 -> Config parameters are OK 17:18:05.976 -> Press ? + Enter to get help about the commands 17:18:05.976 -> error write reset MS5611 17:18:06.008 -> write error spl06 17:18:06.008 -> Write error for BMP280 17:18:06.008 -> ADS1115 sensor I2C Addr=48 17:18:06.008 -> Write error for ads1115 17:18:06.008 -> Error in Set up of ads1115. 17:18:06.008 -> ADS1115 sensor I2C Addr=49 17:18:06.008 -> Write error for ads1115 17:18:06.008 -> Error in Set up of ads1115. 17:18:06.008 -> Write error for msp6050 on reset 17:18:06.008 -> error read MS4525 (airspeed sensor) at startup 17:18:06.088 -> SDP first read: 0 0 0 0 0 0 0 0 0 17:18:06.088 -> sdp3x has been succesfuly detected 17:18:06.088 -> Setup1 takes 142463 usec 17:18:06.088 -> 17:18:06.088 -> Version = 2.7.3 17:18:06.088 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 17:18:06.088 -> Primary channels input = 255 (PRI = 5, 9, 21, 25) 17:18:06.088 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 17:18:06.088 -> Telemetry . . . . . . . . = 0 (TLM = 0, 1, 2, ..., 29) 17:18:06.088 -> GPS Rx . . . . . . . . . = 1 (GPS_RX = 0, 1, 2, ..., 29) 17:18:06.088 -> GPS Tx . . . . . . . . . = 2 (GPS_TX = 0, 1, 2, ..., 29) 17:18:06.088 -> Sbus OUT . . . . . . . . = 255 (SBUS_OUT= 0, 1, 2, ..., 29) 17:18:06.088 -> RPM . . . . . . . . . . = 255 (RPM = 0, 1, 2, ..., 29) 17:18:06.088 -> SDA (I2C sensors) . . . . = 6 (SDA = 2, 6, 10, 14, 18, 22, 26) 17:18:06.088 -> SCL (I2C sensors) . . . . = 7 (SCL = 3, 7, 11, 15, 19, 23, 27) 17:18:06.088 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 17:18:06.088 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 17:18:06.088 -> PWM Channels 9,10,11,12 = 255 255 255 255 17:18:06.088 -> PWM Channels 13,14,15,16 = 255 255 255 255 17:18:06.088 -> Voltage 1, 2, 3, 4 = 26 255 255 255 (V1 / V4 = 26, 27, 28, 29) 17:18:06.088 -> 17:18:06.088 -> Protocol is Jeti (non Exbus) 17:18:06.088 -> CRSF baudrate = 420000 17:18:06.088 -> Voltage parameters: 17:18:06.088 -> Scales : 7.900000 , 1.000000 , 1.000000 , 1.000000 17:18:06.088 -> Offsets: 0.000000 , 0.000000 , 0.000000 , 0.000000 17:18:06.088 -> No temperature sensors are connected on V3 and V4 17:18:06.088 -> RPM multiplier = 1.000000 17:18:06.088 -> Baro sensor is not detected 17:18:06.088 -> Acc/Gyro is not detected 17:18:06.088 -> Airspeed sensor is detected using SDP3X 17:18:06.088 -> Vspeed compensation channel = 0 17:18:06.088 -> First analog to digital sensor is not detected 17:18:06.088 -> Second analog to digital sensor is not detected 17:18:06.088 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 17:18:06.088 -> Led color is normal (not inverted) 17:18:06.088 -> Failsafe type is HOLD 17:18:06.088 -> 17:18:06.088 -> No sequencers are defined

17:19:52.867 -> Cmd to execute: FV 17:19:52.867 -> 17:19:52.867 -> Volt 1 = 5909 mVolt 17:19:52.867 -> Airspeed = 2147483647 cm/s 17:19:52.867 -> Vspeed compensation = 1.10

17:20:06.718 -> Cmd to execute: FVP 17:20:06.718 -> 17:20:06.718 -> GPS Latitude = 89.1234560 degree 17:20:06.718 -> GPS Longitude = 178.1234560 degree 17:20:06.718 -> GPS Groundspeed = 2468 cm/s 17:20:06.718 -> GPS Heading = 179.120000 degree 17:20:06.718 -> GPS Altitude = 135721 cm 17:20:06.718 -> GPS Num sat. = 23 17:20:06.718 -> GPS Date J M A = 16 4 23 17:20:06.718 -> GPS Time H M S = 34 19 49 17:20:06.718 -> GPS Pdop = 123 17:20:06.718 -> GPS Home bearing = 179 degree 17:20:06.718 -> GPS Home distance = 234 m 17:20:06.718 -> Volt 1 = 7321 mVolt 17:20:06.718 -> Current (Volt 2) = 89321 mA 17:20:06.718 -> Volt 3 = 15321 mVolt 17:20:06.718 -> Volt 4 = 14321 mVolt 17:20:06.718 -> Capacity (using current) = 34321 mAh 17:20:06.718 -> Temp 1 (Volt 3) = 136 degree 17:20:06.718 -> Temp 2 (Volt 4) = 148 degree 17:20:06.718 -> Vspeed = 258 cm/s 17:20:06.718 -> Baro Rel altitude = 246821 cm 17:20:06.718 -> Pitch = 89 degree 17:20:06.718 -> Roll = 78 degree 17:20:06.718 -> Yaw = 67 degree 17:20:06.718 -> RPM = 369 Hertz 17:20:06.718 -> Ads 1 1 = 11111 mVolt 17:20:06.718 -> Ads 1 2 = 12121 mVolt 17:20:06.718 -> Ads 1 3 = 13131 mVolt 17:20:06.718 -> Ads 1 4 = 13141 mVolt 17:20:06.718 -> Ads 2 1 = 21212 mVolt 17:20:06.718 -> Ads 2 2 = 22222 mVolt 17:20:06.718 -> Ads 2 3 = 23232 mVolt 17:20:06.718 -> Ads 2 4 = 24242 mVolt 17:20:06.718 -> Airspeed = 15151 cm/s 17:20:06.718 -> Compensated Vspeed = 167 cm/s 17:20:06.718 -> Sbus hold counter = 98 17:20:06.718 -> Sbus failsafe counter = 12 17:20:06.763 -> Gps cumulative distance = 135791 17:20:06.763 -> Vspeed compensation = 1.10 17:20:06.763 -> Internal telemetry fields are now filled with POSITIVE dummy values 17:20:06.763 -> To get real values again, you have to power down

17:20:27.548 -> Cmd to execute: FVN 17:20:27.548 -> 17:20:27.548 -> GPS Latitude = -89.1234560 degree 17:20:27.548 -> GPS Longitude = -178.1234560 degree 17:20:27.548 -> GPS Groundspeed = 0 cm/s 17:20:27.548 -> GPS Heading = -179.120000 degree 17:20:27.548 -> GPS Altitude = -56721 cm 17:20:27.548 -> GPS Num sat. = 0 17:20:27.548 -> GPS Date J M A = 16 4 23 17:20:27.548 -> GPS Time H M S = 34 19 49 17:20:27.548 -> GPS Pdop = 3 17:20:27.548 -> GPS Home bearing = -179 degree 17:20:27.548 -> GPS Home distance = 0 m 17:20:27.548 -> Volt 1 = -7321 mVolt 17:20:27.548 -> Current (Volt 2) = -89321 mA 17:20:27.548 -> Volt 3 = -15321 mVolt 17:20:27.548 -> Volt 4 = -14321 mVolt 17:20:27.548 -> Capacity (using current) = 0 mAh 17:20:27.548 -> Temp 1 (Volt 3) = -19 degree 17:20:27.548 -> Temp 2 (Volt 4) = -21 degree 17:20:27.548 -> Vspeed = -258 cm/s 17:20:27.548 -> Baro Rel altitude = -46821 cm 17:20:27.548 -> Pitch = -89 degree 17:20:27.548 -> Roll = -78 degree 17:20:27.548 -> Yaw = -67 degree 17:20:27.548 -> RPM = 0 Hertz 17:20:27.548 -> Ads 1 1 = -11111 mVolt 17:20:27.548 -> Ads 1 2 = -12121 mVolt 17:20:27.548 -> Ads 1 3 = -13131 mVolt 17:20:27.548 -> Ads 1 4 = -13141 mVolt 17:20:27.548 -> Ads 2 1 = -21212 mVolt 17:20:27.548 -> Ads 2 2 = -22222 mVolt 17:20:27.548 -> Ads 2 3 = -23232 mVolt 17:20:27.548 -> Ads 2 4 = -24242 mVolt 17:20:27.548 -> Airspeed = 0 cm/s 17:20:27.549 -> Compensated Vspeed = -167 cm/s 17:20:27.549 -> Sbus hold counter = 0 17:20:27.549 -> Sbus failsafe counter = 0 17:20:27.549 -> Gps cumulative distance = 0 17:20:27.549 -> Vspeed compensation = 1.10 17:20:27.549 -> Internal telemetry fields are now filled with NEGATIVE dummy values 17:20:27.549 -> To get real values again, you have to power down

aepub commented 1 year ago

After using RP2040 zreo alone,

Command FVN, remote control display: Airspeed 0KM/H Comp Vspeed -1.67m/s

Command FVP, remote control displays: Airspeed 545KM/h Comp Vspeed 1.67m/s

mstrens commented 1 year ago

Here a comment for a previous test you made: FV just after a clean boot (so before a FVP or FVN) gives the values that oXS get (calculates) from the sensors. Vspeed seems OK. So MS5611 is OK Airspeed has a very high value but this is the result of getting 0 in reply from the SDP during the initilization process.

At this stage, FVP and FVN commands does not help because the issue is not in the second part of the program (when data are transmitted)

About you test with a RP2040 zero alone: It seems it is the same issue.

I made a new 2.7.4 version (in attachement) where oXs tries to read the product identifier of the SDP. Just like previous version, there should be a one line message that begin with "SDP product first bytes:" generated during the initialization after each reboot. This lines should contains also 9 values. At least some should be different from 0. oXs.zip

aepub commented 1 year ago

18:24:35.300 -> 18:24:35.300 -> Config parameters are OK 18:24:35.300 -> Press ? + Enter to get help about the commands 18:24:35.300 -> error write reset MS5611 18:24:35.347 -> write error spl06 18:24:35.347 -> Write error for BMP280 18:24:35.347 -> ADS1115 sensor I2C Addr=48 18:24:35.347 -> Write error for ads1115 18:24:35.347 -> Error in Set up of ads1115. 18:24:35.347 -> ADS1115 sensor I2C Addr=49 18:24:35.347 -> Write error for ads1115 18:24:35.347 -> Error in Set up of ads1115. 18:24:35.347 -> Write error for msp6050 on reset 18:24:35.347 -> error read MS4525 (airspeed sensor) at startup 18:24:35.347 -> SDP product first bytes: 0 0 81 2 F0 DA 0 0 0 18:24:35.456 -> SDP first read: 0 0 81 2 F0 DA 0 0 0 18:24:35.456 -> sdp3x has been succesfuly detected 18:24:35.456 -> Setup1 takes 144405 usec 18:24:35.456 -> 18:24:35.456 -> Version = 2.7.4 18:24:35.456 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 18:24:35.456 -> Primary channels input = 5 (PRI = 5, 9, 21, 25) 18:24:35.456 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 18:24:35.456 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 18:24:35.456 -> GPS Rx . . . . . . . . . = 1 (GPS_RX = 0, 1, 2, ..., 29) 18:24:35.456 -> GPS Tx . . . . . . . . . = 2 (GPS_TX = 0, 1, 2, ..., 29) 18:24:35.456 -> Sbus OUT . . . . . . . . = 255 (SBUS_OUT= 0, 1, 2, ..., 29) 18:24:35.456 -> RPM . . . . . . . . . . = 255 (RPM = 0, 1, 2, ..., 29) 18:24:35.456 -> SDA (I2C sensors) . . . . = 6 (SDA = 2, 6, 10, 14, 18, 22, 26) 18:24:35.456 -> SCL (I2C sensors) . . . . = 7 (SCL = 3, 7, 11, 15, 19, 23, 27) 18:24:35.456 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 18:24:35.456 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 18:24:35.456 -> PWM Channels 9,10,11,12 = 255 255 255 255 18:24:35.456 -> PWM Channels 13,14,15,16 = 255 255 255 255 18:24:35.456 -> Voltage 1, 2, 3, 4 = 26 255 255 255 (V1 / V4 = 26, 27, 28, 29) 18:24:35.456 -> 18:24:35.456 -> Protocol is Jeti (Exbus) 18:24:35.456 -> CRSF baudrate = 420000 18:24:35.456 -> Voltage parameters: 18:24:35.456 -> Scales : 7.900000 , 1.000000 , 1.000000 , 1.000000 18:24:35.456 -> Offsets: 0.000000 , 0.000000 , 0.000000 , 0.000000 18:24:35.456 -> No temperature sensors are connected on V3 and V4 18:24:35.456 -> RPM multiplier = 1.000000 18:24:35.456 -> Baro sensor is not detected 18:24:35.456 -> Acc/Gyro is not detected 18:24:35.456 -> Airspeed sensor is detected using SDP3X 18:24:35.456 -> Vspeed compensation channel = 0 18:24:35.456 -> First analog to digital sensor is not detected 18:24:35.456 -> Second analog to digital sensor is not detected 18:24:35.456 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 18:24:35.456 -> Led color is normal (not inverted) 18:24:35.456 -> Failsafe type is HOLD 18:24:35.456 -> 18:24:35.456 -> No sequencers are defined 18:24:35.456 -> 18:24:35.456 -> Config parameters are OK 18:24:35.456 -> Press ? + Enter to get help about the commands

mstrens commented 1 year ago

at least with this test, the 9 values are not all 0. Still I suspect that those are not the expected values (does not seems to be the product ID given in the datasheet). So it could be that this is just the content of an un-intialized buffer. To clarify this, I made a version 2.7.5 where I prefill the buffer with special values before reading the SDP. Can you try this version and report the same lines as before oXs.zip

aepub commented 1 year ago

OK, I have installed version 2.75 and also executed the FV, FVP, and FVN commands! I still use RP2040 ZERO!

19:21:15.838 -> Clean boot 19:21:15.838 -> 19:21:15.838 -> Config parameters are OK 19:21:15.838 -> Press ? + Enter to get help about the commands 19:21:15.838 -> error write reset MS5611 19:21:15.869 -> write error spl06 19:21:15.869 -> Write error for BMP280 19:21:15.869 -> ADS1115 sensor I2C Addr=48 19:21:15.869 -> Write error for ads1115 19:21:15.869 -> Error in Set up of ads1115. 19:21:15.869 -> ADS1115 sensor I2C Addr=49 19:21:15.869 -> Write error for ads1115 19:21:15.869 -> Error in Set up of ads1115. 19:21:15.869 -> Write error for msp6050 on reset 19:21:15.869 -> error read MS4525 (airspeed sensor) at startup 19:21:15.869 -> SDP product first bytes: 0 0 81 2 F0 DA 0 0 0 19:21:15.947 -> SDP first read: 0 0 81 2 F0 DA 0 0 0 19:21:15.947 -> sdp3x has been succesfuly detected 19:21:15.947 -> Setup1 takes 144167 usec 19:21:15.947 -> 19:21:15.947 -> Version = 2.7.5 19:21:15.947 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 19:21:15.947 -> Primary channels input = 5 (PRI = 5, 9, 21, 25) 19:21:15.947 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 19:21:15.947 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 19:21:15.947 -> GPS Rx . . . . . . . . . = 1 (GPS_RX = 0, 1, 2, ..., 29) 19:21:15.947 -> GPS Tx . . . . . . . . . = 2 (GPS_TX = 0, 1, 2, ..., 29) 19:21:15.947 -> Sbus OUT . . . . . . . . = 255 (SBUS_OUT= 0, 1, 2, ..., 29) 19:21:15.947 -> RPM . . . . . . . . . . = 255 (RPM = 0, 1, 2, ..., 29) 19:21:15.992 -> SDA (I2C sensors) . . . . = 6 (SDA = 2, 6, 10, 14, 18, 22, 26) 19:21:15.992 -> SCL (I2C sensors) . . . . = 7 (SCL = 3, 7, 11, 15, 19, 23, 27) 19:21:15.992 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 19:21:15.992 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 19:21:15.992 -> PWM Channels 9,10,11,12 = 255 255 255 255 19:21:15.992 -> PWM Channels 13,14,15,16 = 255 255 255 255 19:21:15.992 -> Voltage 1, 2, 3, 4 = 26 255 255 255 (V1 / V4 = 26, 27, 28, 29) 19:21:15.992 -> 19:21:15.992 -> Protocol is Jeti (Exbus) 19:21:15.992 -> CRSF baudrate = 420000 19:21:15.992 -> Voltage parameters: 19:21:15.992 -> Scales : 7.900000 , 1.000000 , 1.000000 , 1.000000 19:21:15.992 -> Offsets: 0.000000 , 0.000000 , 0.000000 , 0.000000 19:21:15.992 -> No temperature sensors are connected on V3 and V4 19:21:15.992 -> RPM multiplier = 1.000000 19:21:15.992 -> Baro sensor is not detected 19:21:15.992 -> Acc/Gyro is not detected 19:21:15.992 -> Airspeed sensor is detected using SDP3X 19:21:15.992 -> Vspeed compensation channel = 0 19:21:15.992 -> First analog to digital sensor is not detected 19:21:15.992 -> Second analog to digital sensor is not detected 19:21:15.992 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 19:21:15.992 -> Led color is normal (not inverted) 19:21:15.992 -> Failsafe type is HOLD 19:21:15.992 -> 19:21:15.992 -> No sequencers are defined 19:21:15.992 -> 19:21:15.992 -> Config parameters are OK 19:21:15.992 -> Press ? + Enter to get help about the commands 19:21:15.992 -> processing cmd 19:21:15.992 -> 19:21:15.992 -> Cmd to execute: 19:21:15.992 -> 19:21:15.992 -> Version = 2.7.5 19:21:15.992 -> Function GPIO Change entering XXX=yyy (yyy=255 to disable) 19:21:15.992 -> Primary channels input = 5 (PRI = 5, 9, 21, 25) 19:21:15.992 -> Secondary channels input = 255 (SEC = 1, 13, 17, 29) 19:21:15.992 -> Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) 19:21:15.992 -> GPS Rx . . . . . . . . . = 1 (GPS_RX = 0, 1, 2, ..., 29) 19:21:15.992 -> GPS Tx . . . . . . . . . = 2 (GPS_TX = 0, 1, 2, ..., 29) 19:21:15.992 -> Sbus OUT . . . . . . . . = 255 (SBUS_OUT= 0, 1, 2, ..., 29) 19:21:15.992 -> RPM . . . . . . . . . . = 255 (RPM = 0, 1, 2, ..., 29) 19:21:15.992 -> SDA (I2C sensors) . . . . = 6 (SDA = 2, 6, 10, 14, 18, 22, 26) 19:21:15.992 -> SCL (I2C sensors) . . . . = 7 (SCL = 3, 7, 11, 15, 19, 23, 27) 19:21:15.992 -> PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) 19:21:15.992 -> PWM Channels 5, 6, 7 ,8 = 255 255 255 255 19:21:15.992 -> PWM Channels 9,10,11,12 = 255 255 255 255 19:21:15.992 -> PWM Channels 13,14,15,16 = 255 255 255 255 19:21:15.992 -> Voltage 1, 2, 3, 4 = 26 255 255 255 (V1 / V4 = 26, 27, 28, 29) 19:21:15.992 -> 19:21:15.992 -> Protocol is Jeti (Exbus) 19:21:15.992 -> CRSF baudrate = 420000 19:21:15.992 -> Voltage parameters: 19:21:15.992 -> Scales : 7.900000 , 1.000000 , 1.000000 , 1.000000 19:21:15.992 -> Offsets: 0.000000 , 0.000000 , 0.000000 , 0.000000 19:21:15.992 -> No temperature sensors are connected on V3 and V4 19:21:15.992 -> RPM multiplier = 1.000000 19:21:15.992 -> Baro sensor is not detected 19:21:15.992 -> Acc/Gyro is not detected 19:21:15.992 -> Airspeed sensor is detected using SDP3X 19:21:15.992 -> Vspeed compensation channel = 0 19:21:15.992 -> First analog to digital sensor is not detected 19:21:15.992 -> Second analog to digital sensor is not detected 19:21:15.992 -> Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected 19:21:15.992 -> Led color is normal (not inverted) 19:21:15.992 -> Failsafe type is HOLD 19:21:15.992 -> 19:21:15.992 -> No sequencers are defined 19:21:15.992 -> 19:21:15.992 -> Config parameters are OK 19:21:15.992 -> Press ? + Enter to get help about the commands 19:21:15.992 -> 19:21:15.992 -> >>

19:22:02.966 -> Cmd to execute: FV 19:22:02.966 -> 19:22:02.966 -> Volt 1 = 5900 mVolt 19:22:02.966 -> Airspeed = 2147483647 cm/s 19:22:02.966 -> Vspeed compensation = 1.10

19:22:16.434 -> Cmd to execute: FVP 19:22:16.479 -> 19:22:16.479 -> GPS Latitude = 89.1234560 degree 19:22:16.479 -> GPS Longitude = 178.1234560 degree 19:22:16.479 -> GPS Groundspeed = 2468 cm/s 19:22:16.479 -> GPS Heading = 179.120000 degree 19:22:16.479 -> GPS Altitude = 135721 cm 19:22:16.479 -> GPS Num sat. = 23 19:22:16.479 -> GPS Date J M A = 16 4 23 19:22:16.479 -> GPS Time H M S = 34 19 49 19:22:16.479 -> GPS Pdop = 123 19:22:16.479 -> GPS Home bearing = 179 degree 19:22:16.479 -> GPS Home distance = 234 m 19:22:16.479 -> Volt 1 = 7321 mVolt 19:22:16.479 -> Current (Volt 2) = 89321 mA 19:22:16.479 -> Volt 3 = 15321 mVolt 19:22:16.479 -> Volt 4 = 14321 mVolt 19:22:16.479 -> Capacity (using current) = 34321 mAh 19:22:16.479 -> Temp 1 (Volt 3) = 136 degree 19:22:16.479 -> Temp 2 (Volt 4) = 148 degree 19:22:16.479 -> Vspeed = 258 cm/s 19:22:16.479 -> Baro Rel altitude = 246821 cm 19:22:16.479 -> Pitch = 89 degree 19:22:16.479 -> Roll = 78 degree 19:22:16.479 -> Yaw = 67 degree 19:22:16.479 -> RPM = 369 Hertz 19:22:16.479 -> Ads 1 1 = 11111 mVolt 19:22:16.479 -> Ads 1 2 = 12121 mVolt 19:22:16.479 -> Ads 1 3 = 13131 mVolt 19:22:16.479 -> Ads 1 4 = 13141 mVolt 19:22:16.479 -> Ads 2 1 = 21212 mVolt 19:22:16.479 -> Ads 2 2 = 22222 mVolt 19:22:16.479 -> Ads 2 3 = 23232 mVolt 19:22:16.479 -> Ads 2 4 = 24242 mVolt 19:22:16.479 -> Airspeed = 15151 cm/s 19:22:16.479 -> Compensated Vspeed = 167 cm/s 19:22:16.479 -> Sbus hold counter = 98 19:22:16.479 -> Sbus failsafe counter = 12 19:22:16.479 -> Gps cumulative distance = 135791 19:22:16.479 -> Vspeed compensation = 1.10 19:22:16.479 -> Internal telemetry fields are now filled with POSITIVE dummy values 19:22:16.479 -> To get real values again, you have to power down

19:22:35.609 -> Cmd to execute: FVN 19:22:35.609 -> 19:22:35.609 -> GPS Latitude = -89.1234560 degree 19:22:35.609 -> GPS Longitude = -178.1234560 degree 19:22:35.609 -> GPS Groundspeed = 0 cm/s 19:22:35.609 -> GPS Heading = -179.120000 degree 19:22:35.609 -> GPS Altitude = -56721 cm 19:22:35.609 -> GPS Num sat. = 0 19:22:35.609 -> GPS Date J M A = 16 4 23 19:22:35.609 -> GPS Time H M S = 34 19 49 19:22:35.609 -> GPS Pdop = 3 19:22:35.609 -> GPS Home bearing = -179 degree 19:22:35.609 -> GPS Home distance = 0 m 19:22:35.609 -> Volt 1 = -7321 mVolt 19:22:35.609 -> Current (Volt 2) = -89321 mA 19:22:35.609 -> Volt 3 = -15321 mVolt 19:22:35.609 -> Volt 4 = -14321 mVolt 19:22:35.609 -> Capacity (using current) = 0 mAh 19:22:35.609 -> Temp 1 (Volt 3) = -19 degree 19:22:35.609 -> Temp 2 (Volt 4) = -21 degree 19:22:35.609 -> Vspeed = -258 cm/s 19:22:35.609 -> Baro Rel altitude = -46821 cm 19:22:35.609 -> Pitch = -89 degree 19:22:35.609 -> Roll = -78 degree 19:22:35.609 -> Yaw = -67 degree 19:22:35.609 -> RPM = 0 Hertz 19:22:35.609 -> Ads 1 1 = -11111 mVolt 19:22:35.609 -> Ads 1 2 = -12121 mVolt 19:22:35.609 -> Ads 1 3 = -13131 mVolt 19:22:35.609 -> Ads 1 4 = -13141 mVolt 19:22:35.609 -> Ads 2 1 = -21212 mVolt 19:22:35.609 -> Ads 2 2 = -22222 mVolt 19:22:35.609 -> Ads 2 3 = -23232 mVolt 19:22:35.609 -> Ads 2 4 = -24242 mVolt 19:22:35.609 -> Airspeed = 0 cm/s 19:22:35.609 -> Compensated Vspeed = -167 cm/s 19:22:35.609 -> Sbus hold counter = 0 19:22:35.609 -> Sbus failsafe counter = 0 19:22:35.609 -> Gps cumulative distance = 0 19:22:35.609 -> Vspeed compensation = 1.10 19:22:35.609 -> Internal telemetry fields are now filled with NEGATIVE dummy values 19:22:35.609 -> To get real values again, you have to power down

mstrens commented 1 year ago

Thanks for testing. The values are the same as in previous tests. I presume they are really returned by the sensor because in 2.7.5 oXs pre-fill the buffer with other values.
The returned values are very strange. 19:21:15.869 -> SDP product first bytes: 0 0 81 2 F0 DA 0 0 0 19:21:15.947 -> SDP first read: 0 0 81 2 F0 DA 0 0 0 3rd value = "81" should be a CRC on the first 2 (= 0 0). 9th value = "0" should be a CRC on the 7 and 8 values (= 0 0). I did not yet checked how CRC is calculated but in any case, it is not normal having 2 different CRC (once 81 and once 0) for the same values (0 0).

At this stage, I do not understand. I will have to stop testing for today because I have to leave home. I will further think on the issue. We can continue to morrow if it is ok for you. Do you have an arduino board (uno, pro mini, nano) that could be used for testing a total different program just for SDP?

aepub commented 1 year ago

Okay, continue testing tomorrow, what I should be able to find is Arduino 328P!

mstrens commented 1 year ago

I checked CRC calculation. When we get 0 0 81 2 F0 DA 0 0 0, I noticed that: 81 is indeed the CRC of 0 0 DA is indeed the CRC of 2 F0 The last 0 is strange because it is not the CRC of the 0 0 before. I do not understand. It looks like the sensor reply only part of the expected data.

Furthermore, it is strange that the sensor provided the same reply when oXs requested the product ID and when oXs requested the pressure/temperature.

I made a version 2.7.6 where oXs

mstrens commented 1 year ago

If version 2.7.6 does not help, I suggest to make a test with another program. I found some arduino program made by sensirion (manufacturer of sdp8xx). Here is a link to this program https://github.com/Sensirion/arduino-i2c-sdp

The instructions are given in the link (in the readme section. Please note that you have first to install this program as a library. Then there is a second library to install (see the link under Dependancies" in the readme section). In Arduino IDE, I installed the package for the board RP2040. In menu "tools" + "board manager", there a several options for RP2040. I selected the package made by philhower. This package allows to select a board Waveshave RP2040-Zero. Once the board and the libraries are installed, it is possible to use the example provided by Sensirion (with menu "Files"+ "Example" + "Sesirion I2C SDP" + "ExempleUsage" I could not test it myself but I could at least compile it. Note: I do not know at this stage which GPIO pins are used for the I2C with this program. I suspect they are not the same as oXs. I can eventually look for this.

The program is supposed to display the product ID of your device and then the pressure and temperature. If it works, then the issue is in oXs and it makes sense to continue to search for a solution. If it does not work with this original sensirion program, then I presume your device is defect.

mstrens commented 1 year ago

I think that default I2C pins for RP2040 in Arduino are:

aepub commented 1 year ago

This is the information I obtained using version 2.7.6! RP2040 zero board used!

« Clean boot

Config parameters are OK Press ? + Enter to get help about the commands error write reset MS5611 write error spl06 Write error for BMP280 ADS1115 sensor I2C Addr=48 Write error for ads1115 Error in Set up of ads1115. ADS1115 sensor I2C Addr=49 Write error for ads1115 Error in Set up of ads1115. Write error for msp6050 on reset error read MS4525 (airspeed sensor) at startup SDP - bytes read after a Stop command: 0 0 0 0 0 0 0 0 0 error write command reset to sdp3x Setup1 takes 44455 usec

Version = 2.7.6 Function GPIO Change entering XXX=yyy (yyy=255 to disable) Primary channels input = 5 (PRI = 5, 9, 21, 25) Secondary channels input = 255 (SEC = 1, 13, 17, 29) Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) GPS Rx . . . . . . . . . = 1 (GPS_RX = 0, 1, 2, ..., 29) GPS Tx . . . . . . . . . = 2 (GPS_TX = 0, 1, 2, ..., 29) Sbus OUT . . . . . . . . = 255 (SBUS_OUT= 0, 1, 2, ..., 29) RPM . . . . . . . . . . = 255 (RPM = 0, 1, 2, ..., 29) SDA (I2C sensors) . . . . = 6 (SDA = 2, 6, 10, 14, 18, 22, 26) SCL (I2C sensors) . . . . = 7 (SCL = 3, 7, 11, 15, 19, 23, 27) PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) PWM Channels 5, 6, 7 ,8 = 255 255 255 255 PWM Channels 9,10,11,12 = 255 255 255 255 PWM Channels 13,14,15,16 = 255 255 255 255 Voltage 1, 2, 3, 4 = 26 255 255 255 (V1 / V4 = 26, 27, 28, 29) Protocol is Jeti (Exbus) CRSF baudrate = 420000 Voltage parameters: Scales : 7.900000 , 1.000000 , 1.000000 , 1.000000 Offsets: 0.000000 , 0.000000 , 0.000000 , 0.000000 No temperature sensors are connected on V3 and V4 RPM multiplier = 1.000000 Baro sensor is not detected Acc/Gyro is not detected Airspeed sensor is not detected Vspeed compensation channel = 0 First analog to digital sensor is not detected Second analog to digital sensor is not detected Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected Led color is normal (not inverted) Failsafe type is HOLD

No sequencers are defined

Config parameters are OK Press ? + Enter to get help about the commands processing cmd

aepub commented 1 year ago

The Arduino test results also seem to have issues! SDA = gpio 4 SCL = gpio 5 adr1 adr2 adr3

aepub commented 1 year ago

The I2C definition of RP2040 ZREO is: GP4- SDA; GP5- SCL; The address of SDP810 is 0X25, and none of the above should be a problem. Perhaps there is a defect in my module hardware, and I am trying to purchase a new one for retesting. It is estimated that it will take about 3-4 days to receive it! 2040

aepub commented 1 year ago

I'm really sorry, I just found out that my module is not SDP810-500PA, it's ADP810-500PA module. Perhaps the merchant gave me the wrong model, but I haven't noticed it yet! adp810

mstrens commented 1 year ago

This probably explains that oXs did not work. I just had a look at the ADP810 datasheet and even if it looks quite similar, it does not support all commands as SDP810.

If you want, it is probably possible to change oXs code in order to use ADP810 but performance will be less than with SDP810. It requires about 10ms minimum per pressure conversion while SDP requires only 500ms, calculates itself averages and does not require a new I2C command for each conversion. So ADP810 will probably give more noisy measurement but perhaps this is still acceptable.

Let me know if you want that I adapt oXs code to support ADP810.

aepub commented 1 year ago

I have repurchased SDP810-500PA, but ADP810 has already been used and welded to the PCB, so it cannot be returned. If this code can support more sensors, such as adding support for ADP810, I can test it after you modify the code, so that everyone may have more options. Thanks for your help!

aepub commented 1 year ago

Perhaps it is also possible to increase support for SOP-8 packaged sensors such as MPXV7002DP

mstrens commented 1 year ago

I made some changes in order to use an ADP810 (I hope). After a reboot, oXs should display a line beginning with "SDP first read" and 9 values. Those values should be different from all 0 or a sequence 0 1 2 3... You can test it with you standalone RP2040. You can also (with this stand alone device) send several FV commands (not FVP nor FVN). Airspeed should be present in the displayed values on pc with a value different from 0 if you blow on the pitot tube

If this works, you should get airspeed on the handset with you other rp2040

Here version 2.7.7 oXs.zip

aepub commented 1 year ago

The information that appears using 2.7.7 is as follows:

Clean boot Config parameters are OK Press ? + Enter to get help about the commands ADS1115 sensor I2C Addr=48 Write error for ads1115 Error in Set up of ads1115. ADS1115 sensor I2C Addr=49 Write error for ads1115 Error in Set up of ads1115. erro r read MS4525 (airspeed sensor) at startup SDP first read: FF F1 B3 18 10 9B 0 3C 39 sdp3x has been succesfuly detected Setup1 takes 114667 usec

Version = 2.7.7 Function GPIO Change entering XXX=yyy (yyy=255 to disable) Primary channels input = 21 (PRI = 5, 9, 21, 25) Secondary channels input = 255 (SEC = 1, 13, 17, 29) Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) PWM Channels 5, 6, 7 ,8 = 255 255 255 255 PWM Channels 9,10,11,12 = 255 255 255 255 PWM Channels 13,14,15,16 = 255 255 255 255 Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29)

Protocol is Jeti (Exbus) CRSF baudrate = 420000 Voltage parameters: Scales : 8.384600 , 76.000000 , 0.141670 , 1.000000 Offsets: 1079.230713 , 125920.000000 , 59.000000 , 0.000000 One temperature sensor is connected on V3 RPM multiplier = 1.000000 Baro sensor is detected using MS5611 Sensitivity min = 100 (at 100) , max = 300 (at 1000) Hysteresis = 5 Acc/Gyro is detected using MP6050 Acceleration offsets X, Y, Z = 0 , 0 , 0 Gyro offsets X, Y, Z = 0 , 0 , 0 Airspeed sensor is detected using SDP3X No Vspeed compensation channel defined; oXs uses default settings First analog to digital sensor is not detected Second analog to digital sensor is not detected Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected Led color is normal (not inverted) Failsafe type is HOLD

No sequencers are defined

Config parameters are OK Press ? + Enter to get help about the commands Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050 Write error for MPU6050

aepub commented 1 year ago

Blowing air into the pitot tube indicates that the remote control data has changed, indicating that it is already working. However, in static conditions (without blowing into the pitot tube), Airspeed will jump between -1Km/h and+2Km/H, while Comp Vspeed will jump between -1m/s and+2m/s. 31 32 33

mstrens commented 1 year ago

Airspeed sensor does not provide accurate value for low speed because the difference of pressure is very very small between 0 and 1km/h. When the airspeed increase (change e.g. from 30 to 31 km/h, the difference of pressure must be much higher and so can be better detected/measured by the airspeed sensor). Making many measurements and averaging can increase accuracy (and reduce noise). That is the reason why using a SDPxxx sensor should be better because it allows to get about 20 X more measurements per second.

Fluctuations in Vspeed are probably the result of a noisy airspeed signal. People using SDPxxx sensors did not get so big fluctuations (or at least I did not get claims) Perhaps is ADP not a good choice or I should have to calculate an average on more measurement but then the Vspeed will become much less reactive. Note: compensated Vspeed is based on 2 measurement : Vspeed+airspeed. To be sure that Vspeed does not fluctuate to much, you could perhaps also display Vspeed on your handset near the compensated airspeed.

oXs.zip It is not normal to get "Write error for MPU6050" when the MPU sensor has been detected. I think that you did not get this message with previous version (as old as 2.7.1). I now made a version 2.7.8 with a minor change about MPU6050 but I am not sure it will help.

aepub commented 1 year ago

Thank you very much for your efforts. The ADP810-500PA is now working perfectly, blowing air into the pitot tube, which can display a maximum speed value of 107KM/h. Looking forward to testing the newly purchased SDP810-500PA in a few days. Thank you again! 107

aepub commented 1 year ago

Hi, mstrens I have received the newly purchased SDP810-500PA, which is using main's 2.5.0 or test's 2.71-2.76. I cannot recognize SDP810-500PA!

»

« Clean boot

Config parameters are OK Press ? + Enter to get help about the commands ADS1115 sensor I2C Addr=48 Write error for ads1115 Error in Set up of ads1115. ADS1115 sensor I2C Addr=49 Write error for ads1115 Error in Set up of ads1115. error read MS4525 (airspeed sensor) at startup error write command to sdp3x Setup1 takes 13733 usec

Version = 2.7.1 Function GPIO Change entering XXX=yyy (yyy=255 to disable) Primary channels input = 21 (PRI = 5, 9, 21, 25) Secondary channels input = 255 (SEC = 1, 13, 17, 29) Telemetry . . . . . . . . = 255 (TLM = 0, 1, 2, ..., 29) GPS Rx . . . . . . . . . = 25 (GPS_RX = 0, 1, 2, ..., 29) GPS Tx . . . . . . . . . = 24 (GPS_TX = 0, 1, 2, ..., 29) Sbus OUT . . . . . . . . = 23 (SBUS_OUT= 0, 1, 2, ..., 29) RPM . . . . . . . . . . = 22 (RPM = 0, 1, 2, ..., 29) SDA (I2C sensors) . . . . = 18 (SDA = 2, 6, 10, 14, 18, 22, 26) SCL (I2C sensors) . . . . = 19 (SCL = 3, 7, 11, 15, 19, 23, 27) PWM Channels 1, 2, 3 ,4 = 255 255 255 255 (C1 / C16= 0, 1, 2, ..., 15) PWM Channels 5, 6, 7 ,8 = 255 255 255 255 PWM Channels 9,10,11,12 = 255 255 255 255 PWM Channels 13,14,15,16 = 255 255 255 255 Voltage 1, 2, 3, 4 = 26 27 28 255 (V1 / V4 = 26, 27, 28, 29)

Protocol is Jeti (Exbus) CRSF baudrate = 420000 Voltage parameters: Scales : 8.384600 , 76.000000 , 0.141670 , 1.000000 Offsets: 1079.230713 , 125920.000000 , 59.000000 , 0.000000 One temperature sensor is connected on V3 RPM multiplier = 1.000000 Baro sensor is detected using MS5611 Sensitivity min = 100 (at 100) , max = 300 (at 1000) Hysteresis = 5 Acc/Gyro is detected using MP6050 Acceleration offsets X, Y, Z = 0 , 0 , 0 Gyro offsets X, Y, Z = 0 , 0 , 0 Airspeed sensor is not detected No Vspeed compensation channel defined; oXs uses default settings First analog to digital sensor is not detected Second analog to digital sensor is not detected Foreseen GPS type is Ublox (configured by oXs) :GPS is not (yet) detected Led color is normal (not inverted) Failsafe type is HOLD

No sequencers are defined

Config parameters are OK Press ? + Enter to get help about the commands processing cmd