mstrens / oXs_on_RP2040

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

GPS route in FRSKY always shows 0,.. does not change the value. #149

Open Matorra opened 5 days ago

Matorra commented 5 days ago

I have built one snsor whit a GPS M10 series, and I have connected it to a FRSKY receiver and Tx X20S. The data of Lat, Lon, Alt, Speed ​​work correctly but the route always marks zero. Does anyone have experience with this?

Satcomix commented 4 days ago

I have built one snsor whit a GPS M10 series, and I have connected it to a FRSKY receiver and Tx X20S. The data of Lat, Lon, Alt, Speed ​​work correctly but the route always marks zero. Does anyone have experience with this?

Hello Matorra, Here is my oXs_RP2040 Version with Beitian BE250 M10 with FrSky X20S and TD-R10 with FBUS Protocol. I can see every telemetry sensor and the values on my X20S, that are in the fields of protocol.txt for the S.Port/FBUS protocol. https://github.com/mstrens/oXs_on_RP2040/blob/test/doc/fields%20per%20protocol.txt If you want to show gps data on the display with a gps map widget in ETHOS with this one: https://ethosmap.hobby4life.nl/ you have to look in the instructions of the downloaded map file and enter the following coordinates in the ETHOS GPS Map widget with double N (north) data and double E (east) data for example. best regards, Torsten processing cmd

Version = 3.0.0 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 . . . . . . . . . = 12 (GPS_RX = 0, 1, 2, ..., 29) GPS Tx . . . . . . . . . = 13 (GPS_TX = 0, 1, 2, ..., 29) Sbus OUT . . . . . . . . = 2 (SBUS_OUT= 0, 1, 2, ..., 29) RPM . . . . . . . . . . = 4 (RPM = 0, 1, 2, ..., 29) SDA (I2C sensors) . . . . = 14 (SDA = 2, 6, 10, 14, 18, 22, 26) SCL (I2C sensors) . . . . = 15 (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 7 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 29 (V1 / V4 = 26, 27, 28, 29) RGB led . . . . . . . . . = 18 (RGB = 0, 1, 2, ..., 29) Logger . . . . . . . . . = 255 (LOG = 0, 1, 2, ..., 29) ESC . . . . . . . . . . . = 255 (ESC_PIN= 0, 1, 2, ..., 29) Locator CS . . . . . . . = 255 (SPI_CS = 0, 1, 2, ..., 29) SCK . . . . . . . = 255 (SPI_SCK= 10, 14, 26) MOSI . . . . . . = 255 (SPI_MOSI=11, 15, 27) MISO . . . . . . = 255 (SPI_MISO=8, 12, 24, 28) BUSY . . . . . . = 255 (SPI_BUSY=0, 1, 2, ..., 29) Output level High . . . . = 255 (HIGH = 0, 1, 2, ..., 29) Output level Low . . . . = 255 (LOW = 0, 1, 2, ..., 29)

Esc type is not defined

Protocol is Fbus(Frsky) CRSF baudrate = 420000 Logger baudrate = 115200 PWM is generated at = 50 Hz Voltage parameters: Scales : 10.000000 , 10.000000 , 0.100000 , 0.100000 Offsets: 0.000000 , 0.000000 , 1.500000 , 2.000000 Temperature sensors are connected on V3 and V4 RPM multiplier = 1.000000 Baro sensor is detected using MS5611 at I2c adress 77 Sensitivity min = 100 (at 100) , max = 300 (at 1000) Hysteresis = 5 Aispeed sensor is detected using MS4525 Vspeed compensation channel = 7 First analog to digital sensor is detected using ads1115 Measurement setup: 4 , 5 , 6 ,7 Gains: 1 , 1 , 1 ,1 Rates: 5 , 5 , 5 ,5 Offsets: 0.000000 , 0.000000 , 0.000000 ,0.000000 Scales: 1.000000 , 1.000000 , 1.000000 ,1.000000 Averaged on: 10 , 10 , 10 ,10 Second analog to digital sensor is detected using ads1115 Measurement setup: 4 , 5 , 6 ,7 Gains: 1 , 1 , 1 ,1 Rates: 5 , 5 , 5 ,5 Offsets: 0.000000 , 0.000000 , 0.000000 ,0.000000 Scales: 1.000000 , 1.000000 , 1.000000 ,1.000000 Averaged on: 10 , 10 , 10 ,10 Foreseen GPS type is Ublox (configured by oXs) :GPS is detected and has a fix Led color is normal (not inverted) Failsafe uses predefined values Chan 1...4 = 1500 1500 1500 1500 Chan 5...8 = 1500 1500 1500 1500 Chan 9...12 = 1500 1500 1500 1500 Chan 13...16= 1500 1500 1500 1500 Acc/Gyro is detected using MP6050 Acceleration param: ACC= 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 Gyro offsets X, Y, Z = 4 , -19 , -24 Orientation Horizontal is UP(Z+) Vertical is FRONT(X+)

Gyro is not configured (Rc channel used to select the gyro mode/gain is not defined)

No sequencers are defined

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

Cmd to execute: FV

GPS Latitude = XX.X224096 degree GPS Longitude = X.X171192 degree GPS Groundspeed = 12 cm/s GPS Heading = 247.680000 degree GPS Altitude = 8549 cm GPS Num sat. = 106 GPS Date J M A = 5 10 24 GPS Time H M S = 12 33 7 GPS Pdop = 384 GPS Home bearing = 219 degree GPS Home distance = 28 m Volt 1 = 6675 mVolt Current (Volt 2) = 6813 mA Capacity (using current) = 346 mAh Temp 1 (Volt 3) = 23 degree Temp 2 (Volt 4) = 23 degree Vspeed = -3 cm/s Baro Rel altitude = 198 cm Pitch = 6.000000 degree Roll = -7.000000 degree RPM = 1007 Hertz Ads 1 1 = 119 mVolt Ads 1 2 = 119 mVolt Ads 1 3 = 119 mVolt Ads 1 4 = 119 mVolt Ads 2 1 = 119 mVolt Ads 2 2 = 119 mVolt Ads 2 3 = 119 mVolt Ads 2 4 = 119 mVolt Airspeed = 168 cm/s Compensated Vspeed = 35 cm/s Gps cumulative distance = 43 Acc X = 0.212000g Acc Y = 0.007000g Acc Z = 0.813000g Reserve 5 = 614 Vspeed compensation = 1.10 pwmTop= 20000