Page 64 of 79

Re: ERSKY9x Questions

Posted: Fri Nov 09, 2018 1:54 pm
by jhsa
Ok. Most of my multi modes are installed internally in the radios. But I have a DIY made with an AVR chip that I can try on the pro.. give me some minutes..

João

Re: ERSKY9x Questions

Posted: Fri Nov 09, 2018 2:30 pm
by jhsa
Just tried it.. I can bind a DIY D8 compatible receiver with my external Multi Module installed on the PRO with r222c8 firmware..

João

Re: ERSKY9x Questions

Posted: Fri Nov 09, 2018 3:11 pm
by MikeB
I just flashed r222 c8 to my 'PRO, and tested binding using a STM multiprotocol module (1.2.0.26) with DSM2-22 to a Lemon DSM2 6 channel receiver. All binds and works OK.
Note that the binding procedure receives a response from the multi-module when bind has occured (with DSM protocol) and immediately leaves the "BINDING" screen. 2 or 3 seconds later the receiver completes binding at starts normal operation.

Mike

Re: ERSKY9x Questions

Posted: Fri Nov 09, 2018 3:45 pm
by mentero
Well, thank you guys,

It seems that I have something in my setup that is not working properly, and I'm a bit confused.

Knowing that the problem is on my side, I will investigate further and keep you posted.

Thanks again for your help,
Miguel

Re: ERSKY9x Questions

Posted: Fri Nov 09, 2018 3:56 pm
by jhsa
Go to model setup /telemetry, and check you have the right com port selected. Play with the invert com port setting..
Also, when in the Protocol /multi menu, if you scroll down, do you see the module's firmware version next to the bind button?

Re: ERSKY9x Questions

Posted: Fri Nov 09, 2018 4:49 pm
by mentero
I tried with c7 and everything works.
I then downloaded a fresh copy of c8, just to discover that the file is of different size of my previously downloaded c8. Dooooohhhh.

Corrupted file. Not too much, but enough to make you loose your time. Sorry for the hassle.

Needless to say, with the good copy of c8 everything works as expected.

This is a great piece of software with a great support.
Miguel

Re: ERSKY9x Questions

Posted: Fri Nov 09, 2018 6:34 pm
by jhsa
Nice that is working.. :) :D

João

Re: ERSKY9x Questions - Model Voice Files on R222c2

Posted: Wed Nov 14, 2018 11:56 am
by lancaster
Hi Mike/Joao
Having a bit of trouble with model name voice files since downloading R222c2 on to the 9Xtreme.

When editing a new model, the model voice file is now shown as a Name option only (previously was Number) although the old number options are continuing to play for old models.

I have entered various model names but can't get a name to play -tried loading new names (both generic and unique) into both the modelNames and root directory without success.

Any ideas?
regards
Hans

Re: ERSKY9x Questions

Posted: Wed Nov 14, 2018 12:14 pm
by jhsa
Model name files must be in the "modelNames" folder.
File names can only have 8 characters.
Files must be ".wav" format and 16Kb/s 16 Bit.

If you have numbered files, place them in the same folder, and just select the number when selecting a voice file.

To select a model name voice file, go to "Model Setup / General" menu, then scroll down to "Voice File", press MENU LONG, select the file you need, press MENU SHORT to listen to it, or press MENU LONG to select the file and go back to the previous menu.

I have currently r222c6 installed on my 9xtreme radio and this works..

João

Re: ERSKY9x Questions

Posted: Wed Nov 14, 2018 1:04 pm
by lancaster
Hi Joao
Thanks for the rapid response and helpful information.
I understand now - With previous versions, I could insert a model number in General and the model number ( and name) would be read from the list that I had put in the Root directory.

But following your advice to put either number or name files in the modelNames directory and then select them using MENU is clearly the correct way to do this.

All working fine now!

may thanks
Hans

Re: ERSKY9x Questions

Posted: Wed Nov 14, 2018 1:45 pm
by jhsa
Wonderful.. and it is easier.. But really, the number is just a name :) If you give the files a proper name, which is dead easy ;) You won't need that "Number/Voice File" list anymore.. Don't have to remember which number is what :) ;)

João

Re: ERSKY9x Questions - telemetry sensors

Posted: Tue Dec 11, 2018 11:57 am
by lancaster
Hi Mike/Joao

I'm looking at logging RSSI against distance from home.
I have seen that Open TX has a sensor 0420 that gives distance from home but I cant find the equivalent in Ersky9x.
I'm using a Extreme9x with version R222c2
Any ideas?
regards
Hans

Re: ERSKY9x Questions

Posted: Tue Dec 11, 2018 4:52 pm
by MikeB
I'm not aware of application ID 0420 being a "distance" value. It is not defined as such by FrSky, nor is it defined in the openTx code.
What hardware at the receiver end are you using that might be sending a specific value with this ID?
If such a value is being sent, then recent test versions have an option to use undefined ID values and process them.
Other than that, distance would rely on having a GPS sensor, then writing a script to obtain the "home" position then calculate the distance between that and the current position. There is a script that is doing that for "Inav".

Mike

Re: ERSKY9x Questions

Posted: Tue Dec 11, 2018 5:16 pm
by lancaster
MikeB wrote: Tue Dec 11, 2018 4:52 pm I'm not aware of application ID 0420 being a "distance" value. It is not defined as such by FrSky, nor is it defined in the openTx code.
What hardware at the receiver end are you using that might be sending a specific value with this ID?
If such a value is being sent, then recent test versions have an option to use undefined ID values and process them.
Other than that, distance would rely on having a GPS sensor, then writing a script to obtain the "home" position then calculate the distance between that and the current position. There is a script that is doing that for "Inav".

Mike
Hi Mike
Thanks for the reply
Sorry, I dont think I have given you enough information
I attach the link to the video clip that shows the '0420' sensor using smartport from the omnibus pro v2 F4 flight controller with open tx.
This using the MN8 GPS receiver.
Do I have to instead apply a script when using ERsky9X?
regards
Hans
https://www.youtube.com/watch?v=FCsRLakSTvU

Re: ERSKY9x Questions

Posted: Tue Dec 11, 2018 11:42 pm
by MikeB
Very naughty of them to be using 0420 as an ID. FrSky have made a range of "user" IDs available and this is not one of them. FrSky may decide to use 0420 for something themselves in the future.
Because this is not a "user ID", it won't be passed to scripts for processing.
From "R222c4" test version, I have added an option to handle "unknown" sensor IDs. There is a new option in the "Telemetry popup" of "Sensors". Select this, and, in your case, you should see the 0420 value appear, together with a settable value of where to store this. Probably store it in one of Cus1 to Cus6. At present, you may then need to use a Scaler to give it new name, e.g. "Dist".

Mike

Re: ERSKY9x Questions

Posted: Wed Dec 12, 2018 9:05 am
by Kilrah
For such uses they should be using an ID between 0x5100 and 0x51ff.

Re: ERSKY9x Questions - telemetry sensors

Posted: Wed Dec 12, 2018 1:28 pm
by lancaster
Thanks for the quick reply and the help Mike
I will give it a try but I may need to come back for some more help with this procedure
regards
Hans

Re: ERSKY9x Questions

Posted: Wed Dec 12, 2018 3:18 pm
by MikeB
This is a new feature, so needs a bit of testing anyway! I've raised an issue with Betaflight to get them to change the ID they are using.

Mike

Re: ERSKY9x Questions

Posted: Wed Dec 12, 2018 4:58 pm
by jhsa
Good luck Mike :) ;) :mrgreen:

João

Re: ERSKY9x Questions

Posted: Wed Dec 12, 2018 6:15 pm
by lancaster
thanks for interest and putting the work in, Mike
I will let events unfold before proceeding
regards
Hans

Re: ERSKY9x Questions

Posted: Wed Dec 12, 2018 9:16 pm
by MikeB
I'd be interested to know how you find this feature, and possible improvements to it.

Mike

Re: ERSKY9x Questions

Posted: Thu Dec 13, 2018 10:54 am
by lancaster
Hi Mike
Refering to Github:-
When using the Frsky telemetry module, the parameter was described as calculated by Open TX
https://github.com/iNavFlight/inav/blob ... lemetry.md

But with Smartport and a Flight control board, the sensor is now described as 0420 - distance to GPS home fix
https://github.com/iNavFlight/inav/blob ... lemetry.md

I see Cu1-6 can be selected under Scaler source but I'm not familiar with the Cu parameter - could you explain please?
regards
Hans

Re: ERSKY9x Questions

Posted: Thu Dec 13, 2018 4:47 pm
by MikeB
With everything connected up, go to the "model setup" menu and select "Telemetry". You should get a popup with 5 options, the last of which is "Sensors", select this.
You should now see a list of "unknown sensors", that is sensors with IDs that are not handled automatically by ersky9x. Hopefully, one of these is 0420. If it is, you should be able to select a "destination" for the data, choose "Cus1", this is "Custom sensor 1".
These Custom sensors are used for data that is not normally handled.
You should now be able to select "Cus1" for display on a custom telemetry screen, and see the value displayed.
If the value needs modifying, or you wish to give it a name and/or some units, set up a Scaler with "Cus" as the source. You may then select a unit, provide a (4 character) name, and select 0, 1 or 2 decimal places to display. If required, you may also use the offset, multiplier and divider to adjust the value, or scale it to different units.

Mike

Re: ERSKY9x Questions

Posted: Thu Dec 13, 2018 7:18 pm
by lancaster
Hi Mike
Thanks for taking the time to give me the details - I know you have many enquiries going
I will give it some testing
thanks again
regards
Hans

Re: ERSKY9x Questions

Posted: Thu Dec 13, 2018 10:35 pm
by lancaster
MikeB wrote: Thu Dec 13, 2018 4:47 pm With everything connected up, go to the "model setup" menu and select "Telemetry". You should get a popup with 5 options, the last of which is "Sensors", select this.
You should now see a list of "unknown sensors", that is sensors with IDs that are not handled automatically by ersky9x. Hopefully, one of these is 0420. If it is, you should be able to select a "destination" for the data, choose "Cus1", this is "Custom sensor 1".
These Custom sensors are used for data that is not normally handled.
You should now be able to select "Cus1" for display on a custom telemetry screen, and see the value displayed.
If the value needs modifying, or you wish to give it a name and/or some units, set up a Scaler with "Cus" as the source. You may then select a unit, provide a (4 character) name, and select 0, 1 or 2 decimal places to display. If required, you may also use the offset, multiplier and divider to adjust the value, or scale it to different units.
Hi Mike
Followed your instructions and everything is working as it should - great job!

'0420' appears in the sensor list ( although its the only one) and with the scaler setup, it now appears in the telemetry screen as 'dist' and also in the TX logging as 'Cus1'

Its like magic - thanks again Mike

I just need to carry out some flight tests to check values and adjust the scaler settings.

thanks
Hans
PS flashed ersky9xProvR222c5 as I couldnt get R222c4 to unzip

 ! Message from: Kilrah
fixed quote

Re: ERSKY9x Questions

Posted: Thu Dec 13, 2018 11:25 pm
by MikeB
The next test version will allow Cus1-Cus6 to be given names, and I'll use any such names as the heading in the log file (and the same for scalers' names).

It now seems likely that Betaflight will change from using 0420 to using one of the "user" IDs in the 5000 range.

Mike

Re: ERSKY9x Questions

Posted: Thu Dec 13, 2018 11:43 pm
by jhsa
That is awesome Mike, Thanks..
Also, I was here wondering if you could get the guys to change the ID.. Cool :)

João

Re: ERSKY9x Questions

Posted: Fri Dec 14, 2018 5:56 pm
by lancaster
Hi Mike
Tested the Distance telemetry parameter today.
3 flights with maximum distance 1 mile
The results seem to be reliable using units of feet and give great graphical results
The values obtained will need to be multiplied by on average 3.28, so I will apply a multiplier of 328 and a divisor of 100.
I dont think an offset is needed
I'm not sure about the extra scaler features, ie MOD VALUE, EX SOURCE and DESTINATION but I guess I dont need them for this feature
many thanks for your help
regards
Hans

Re: ERSKY9x Questions

Posted: Fri Dec 14, 2018 8:56 pm
by jhsa
The power of Ersky9x has been unleashed :)

João

Re: ERSKY9x Questions

Posted: Thu Feb 14, 2019 8:30 pm
by antlerhanger
jhsa wrote: Fri Nov 09, 2018 1:54 pm Ok. Most of my multi modes are installed internally in the radios. But I have a DIY made with an AVR chip that I can try on the pro.. give me some minutes..

João
So you have installed Multimodules inside your Radios ?
On your pro ?

Allen