- Posts: 776
New FrSkyX protocol
- aMax
- Offline
Bozos wrote: Thank you very much for your answer. I did that too at the model setup. But what I set on the transmitter isn't in order the rssi to work at the transmitters telemetry? Doesn't my flight controller take the rssi value directly from the receiver from sbus?
Thought you already got it.
This rx has NO telemetry , hence the transmitter is not involved in this game.
The signal is generated by the receiver and can be grabbed from a pad on the pcb or with special versions of firmware from
the sbus signal. So the flight controller and his set up is the part you have to inspect.
Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
I am using a Frsky G-RX8 receiver with the Frsky x protocol on my devo 12s
All seems good but I cannot reset the telemetry altitude. Each time I bind the rx the altitude is 15 m or so.
Is it a way to reset this value ?
Thanks for help.
Morlacus
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
So maybe the first altitude value received is not accurate - some small value perhaps. Do you have an FTDI adapter or logic analyzer to capture the telemetry from the trainer port? If not I can make a test build or two to figure out what's happening.
Anyone else have the same experience with any frsky altitude sensor?
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
I have exactly the same as Moriacus, I have two G-RX8 receivers.
What is strange is that the altitude offset is quite consistent, one is always around 15m and the other around 35m.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Also do the altitude values start immediately around 15 (or 35), or do they take a few seconds to reach that value?
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
I have tested the build
The V3 shows 0 before turning on the Rx.
With Rx on it shows 113 and the altitude is approx 11 meters
the value of the altitude comes apparently immediatly
Regards
Morlacus
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
Same for me, V3 shows 0 before turning on the Rx.
With Rx on it shows 118 and the altitude is approx 13 meters immediately.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
What is the altitude above sea level where y'all live?
The test build is updated (same build number) with a protocol option named ALT TEST. Setting this to Enabled will reset the internal "ground level" value to zero. It will then be set internally to the next received altitude value, which should cause the displayed altitude to stay near zero. Let's see what the VOLT3 value becomes after using this option. Please take a screenshot.
The protocol option will immediately be set back to disabled by the protocol code, so don't be surprised if you don't even see it displayed as Enabled. Choosing enabled will still reset the saved ground level.
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
I have tested the new build.
The altitude of my workshop is approx 55 m.
The altitude given by the rx is approx 11 to 15 m (could differ according to the weather conditions of the day)
When enabling the Alt test resets the altitude in the alt box to zero. the V3 shows 137 or so.
When turning off the Tx or the Rx alone (the other is on) the altiude is kept when the other is turned on.
If both Tx and Tx are turned off, when turning on both, the altitude shown is the same as before reseting (11 this morning)
So it would be necessary for the moment to reset the altitude each time. May be it would be good to have this possibility left in the protocol.
Regards
Morlacus
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
I'd prefer to keep setting the ground level automatically. Resetting it through a protocol option is awkward and frskyx is already at max number of options. I couldn't find any information about how often the altitude telemetry value is sent. The test build is updated with the ALT TEST protocol option changed to be the number of altitude telemetry samples received before setting the ground level value. Please test to find a value where the altitude telemetry value goes to zero after a short time (maybe 2 seconds) after powering on the receiver. When changing the ALT TEST value the tx must be turned off and on to use the new value.
Which brings up another question. With the current test firmware what volt3 value is shown if the receiver is powered off after it's been on for a while, then the ground level reset with the protocol option, then the receiver powered on again? Does the ground level still get set to about 113, or is it the higher value when the receiver is warmed up?
Thanks for the testing!
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
The V3 value shows allways a red box with 0V
The alt shown this morning without doing anything is approx 11m
I did the following procedure
Tx on RX on alt :11 approx
Tx on - RX on - set alt test to zero - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 11 m approx
Tx on - RX on - set alt test to 1 - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 9 m approx
Tx on - RX on - set alt test to 2 - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 7.5 m approx
Tx on - RX on - set alt test to 3 - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 6 m approx
Tx on - RX on - set alt test to 5 - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 4 m approx
Tx on - RX on - set alt test to 8 - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 2 m approx
Tx on - RX on - set alt test to 10 - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 0 m approx
Tx on - RX on - set alt test to 50 - Tx on - Tx off - alt telem :0 - Tx off - Rx off - Tx on - Rx on - Alt telem 0 m approx
So from 11m the alt test has to be more than 10. A alt test automatically set to the first value or an average of the ten or so frist values sent by te Rx would be good.
Regards
Ps I wonder if there is a spare for the main switch of a Devo 12 S
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
The altitude value changes very rapidly on the telemetry screen I would say probably more than 10 times by second. If it is the same rythm than the vario, it is very fast, the vario display is hard do read due to the change speed.
may be for a better accuracy you could leave the firsts 5 values (even if I have never seen weird values)
Regards
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
I need to set Alt test to 20 to get a value below 1m
With 'alt test' at 10 I read 1.63m
with 'alt test' at 0 I read 12.8 m
With 'Alt test' at 50 it takes alraedy about 6sec before having an altitude and still not totaly at 0.
is it possible to wait 10 cycles and deduct 1m ?
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
Is there need for new test or a decision taken on the reset ?
Will this be soon in a nightly build ?
regards
Morlacus
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
The results indicate the altitude value from the sensor takes some time to get to a steady value. It would be nice to know if the standalone vario sensor behaves the same, but still need a solution for the GRX8. If either of you have an FTDI adapter it would be helpful to get a capture of the telemetry.
OpenTX telemetry sets the "ground level" to the first altitude telemetry value received. The UI provides a way to reset the value to the current altitude. It also is reset if no altitude telemetry value is received for about 20 seconds.
One idea for deviation is to make some values on the telemetry test page clickable, with the action being to reset the value to zero. It seems possible but complicated. Another idea is to add a "reset telemetry" button to the model menu (possibly only if the protocol supports telemetry). This would reset all pseudo-telemetry values (like ground level, battery consumption, min cell value, etc). The things you'd want to reset between flights. I'm looking into these options - other suggestions welcome.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
So it is not impossible to implement, but probably all the protocols would need a callback function...
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
The clickable button would be a good idea, It would be simple also to have a reset button in the protocol page where was the alt test.
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
One more question on Frsky protocol
What is the best way to have the best tuning of freq fine ?
The manual says O or -41. At -41 i have no signal.
On the other hand the LQI stays at 127.
I have a signal for a freq-fine setting from -20 to 60. Is the best the average ?
Thanks for your advices
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- New FrSkyX protocol