dgatf / msrc

Multi Sensor for RC with RP2040 - FrSky D, SmartPort, XBUS, SRXL, IBUS, SBUS, Multiplex Sensor Bus, Jeti Ex Bus, Hitec
GNU General Public License v3.0
168 stars 41 forks source link

Smartport, GPS, voltage and BMP280 #62

Closed erwann56 closed 2 years ago

erwann56 commented 2 years ago

I just tested this configuration. There are several remarks:

dgatf commented 2 years ago

Gspd to KTS

KTS is the default unit for GPS speed in smartport. Value should be in accordance with KTS. I can't change that, but you could change the units of the sensor and apply a ratio to get KMH

Absence of BMP280 vario Absence of ALT BMP280

Does this happen when only is enabled BMP280 (and GPS disabled)? Is temperature available?

erwann56 commented 2 years ago

Exactly the same thing. The GPS is not disabled despite a "false" in the config.h Indeed, there is no temperature.

dgatf commented 2 years ago

You need to disable CONFIG_LUA in config.h

dgatf commented 2 years ago

Vspd inconsistent value

Fixed with b2adecfe25f86e3658dc3b555ad21b419e5ce6c3

erwann56 commented 2 years ago

with CONFIG_LUA in config.h disabled, Voltage, Temp1, Alt and Vspd are ok.

erwann56 commented 2 years ago

GPS, Voltage and BMP280 sensors are ok, when CONFIG_LUA in config.h is disabled

dgatf commented 2 years ago

You can enable It, but then you'll need to re-config with lua script

dgatf commented 2 years ago

Would be interesting to compare GPS vario with BMP280 vario. BMP280 is expected to provide much more accurate values

erwann56 commented 2 years ago

I actually think the pressure will be more accurate than the GPS. I will test during my next outing in the mountains and I will give you the result