mstrens / oXs_on_RP2040

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

Baudrate telemetry data #118

Closed J-charles-C closed 12 months ago

J-charles-C commented 12 months ago

Hello, It's not an issue. what is the frequency of the telemetry data transmitted to the radio? On the radio, you cannot adjust the cooling and I did not find this parameter in the settings of your software.

Thanks

mstrens commented 12 months ago

It depends on several parameters:

J-charles-C commented 12 months ago

Good morning,

I use the FRSKY SPORT protocol. I would like to know the RPM refresh. I find that the data does not refresh too little even though I chose, in my radio, a display on one sample and not 5. I have a radio with ETHOS.

THANKS

mstrens commented 12 months ago

RPM is currently calculated at 10Hz. In rpm.cpp there is a line

define RPM_COUNTER_INTERVAL_USEC 100000 // 100 msec

Sport allows to transmit one field every 22ms in the best case. If oXs has only RPM to transmit (or less than 5 fields to transmit) , it will send it about once every 110 msec. If there are many other fields to transmit (e.g for GPS), it could be that there is more than 110 msec between 2 rpm values (depending on the priority you define in config.h)

J-charles-C commented 12 months ago

OK,

I understand better why I have a gap between my test RP2040 and the one on my helicopter which has, in addition, other probes activated like a GPS.

THANKS

Jc