This is great Mike, thanks.. Question, would it be possible to increase the number of custom telemetry fields in the future?
Thanks
João
Crossfire telemetry and GPS data
Re: Crossfire telemetry and GPS data
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Crossfire telemetry and GPS data
It may be possible, but what for?
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Crossfire telemetry and GPS data
You never know the future. At the rate things get developed. i wouldn't be surprised if they were needed soon
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Crossfire telemetry and GPS data
You may use a Scaler as well if you just need to re-name something. I'll add more custom items if/when they are needed.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Crossfire telemetry and GPS data
That is what I meant. There is the possibility. Thanks Mike
João
Sent from my BLN-L21 using Tapatalk
João
Sent from my BLN-L21 using Tapatalk
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Crossfire telemetry and GPS data
Hi, Mike! Would it be possible to increase the number of custom telemetry fields?
After you add XFIRE protocol for AR9X board I am starting experimenting with Express LRS.
But ELRS sends 10 custom sensors, one that I needed is TX power (TPWR in OpenTX)
Here is screen from TX16S with ERLS and from AR9X with Custom sensors Also Custom sensor 1 show TX_RSSI1 in strange value, at the erskyTX "239" and at TX16S at the same spot "-16dB". I guess that I need some scaler but what Multiplier and divider should I use for it? I could also record raw telemetry log from debug menu if it's needed.
Thank you
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Crossfire telemetry and GPS data
Try the test version I've just posted. For the RSSI value, it looks like the value is a signed, 8-bit value, so just try subtracting 256.
There should be 10 custom sensors, and the Tx power one (Cus7), should have the correct value.
Mike
There should be 10 custom sensors, and the Tx power one (Cus7), should have the correct value.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Crossfire telemetry and GPS data
Wow it was fast Everything works! For RSSI I created scaler with offset -256 and now it matches the RSSI values at the OSD
One small issue about TX power it shows 0 for 50mw and 250mw.
10mw, 25mw, 100mw, 500mw and 1000mw shown right.
And also new sensors from 7 to 10 are present only in the drop-down menus and are not present at first screen of Telemetry => Sensors, where they can be renamed.
Thank you very much!
One small issue about TX power it shows 0 for 50mw and 250mw.
10mw, 25mw, 100mw, 500mw and 1000mw shown right.
And also new sensors from 7 to 10 are present only in the drop-down menus and are not present at first screen of Telemetry => Sensors, where they can be renamed.
Thank you very much!
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Crossfire telemetry and GPS data
Try the one I've just posted, names should be available. The TxPower uses a table of values to look up the actual power from the index returned by the Rx. I've added 250, as I can see in openTx, but I've had to guess that 50 follows in the table, openTx source code doesn't show it.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Crossfire telemetry and GPS data
Perfect, thank you names available for all custom sensors! 250mw power also shows correctly.
And about power 50mw it's well known bug in Crossfire protocol. I found this quote from one of ELRS developer at ELRS Discord server:
Thank you one more time for fast response and great firmware for my 10 years old TX
And about power 50mw it's well known bug in Crossfire protocol. I found this quote from one of ELRS developer at ELRS Discord server:
Also found that new custom sensors not available in the Telemetry => Logging menu, just in case if you want to add it in future test version for other radios alsoWe need it as an enum option in the CRSF protocol. Currently it doesn't exist
Thank you one more time for fast response and great firmware for my 10 years old TX