ERSKY9X Coding

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

MikeB wrote:Fixed, new test version posted.
The Model setup|Music menu includes a "Configure" option that takes you to the Music setup menu.
The display of TSSI/Tx=/Swr should be fixed.
Thanks Mike, will check now..
The buffer for the text storage of the Multi.txt file has been increased,it was not large enough for the latest file.
I had problems with one of my little quads with the latest few multiprotocol binaries.. Could that be the problem? I mean selecting a sub protocol could actually being selecting some other sub proto??

I have fixed the problem (bug) by using an "ID717_Nrf24l01.ino" file from an old version and compiled..
Hmmm, reading what I have just wrote, I think the bug might be within the multiprotocol itself, but I ask anyway.. ;)

Thanks

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

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

MikeB wrote:Fixed, new test version posted.
Confirmed fixed, at least on Ar9x.. Will flash the PRO and the 9XT in a minute.
The Model setup|Music menu includes a "Configure" option that takes you to the Music setup menu.
This is cool Mike, and really needed Thank you. So, the music debug menu can be removed?
Any possibility of making the playlist selection a per model feature? That would be cool. If not, it is still cool. :)
The difference is that you could select a different album/playlist to listen when a different model is selected without having to change the folder every time. Not only thinking about music here. Imagine that you are training some pattern flying and need different audio files/playlist for different models. Not really a big deal, but it would be more comfortable :) :) It is great as it is anyway..

João

EDIT: by the way, what are the "RBxx" sources in telemetry? There is no description for them..
EDIT1: Working on 9XT as well :)
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
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

"RBxx" is the Redundancy Box data. Anything missing from the Helptel.txt file may be easily added, that's why it is a simple text file. At the moment there is a limit of 16 characters for the description. I'm not sure whether the item name is needed on the bottom line with the description, I put it there to help during this development, but since the item is highlighted, perhaps we just need the description, in which case it could be 21 characters long.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Thanks Mike, I think it is not needed. As you say the item is already highlighted..
"RBxx" is the Redundancy Box data
Where, what for and how can these be used?

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
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: ERSKY9X Coding

Post by Kilrah »


User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Ahh ok, thanks.. Forgot about this gadget :)

I have been working since a couple years on something similar with another forum member :) but the project is a bit stopped at the moment :) I would like to finish it though :)

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
User avatar
bob195558
Posts: 2377
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: ERSKY9X Coding

Post by bob195558 »

Aloft Hobbies, FrSky Redundancy Bus : (http://alofthobbies.com/frsky-redundancy-bus.html).
FrSky Redundancy Bus, $77.50
FrSky Redundancy Bus, $77.50
Bob B.
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

New test version with the source editing method extended to scalers, voice alerts and mixes.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Thanks Mike. That is great. will test in a little while..

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
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Mike, testing 9XT, Mixer, long pressing a source on the edit mix menu takes me to the dual rate/expo screen. How do I see all sources when editing a mix?

Thanks

João

EDIT: Working on Voice Alarms and Scalers..
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
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

I forgot to mention that! If the existing sources is one of the sticks, then MENU LONG takes you to the expo/dual rate menu. If the existing source is not one of the sticks, then you do get to the new editing method. I've still to sort being able to get to either the expo or the new editing menu when you have a stick as the source!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

if this was the only way of selecting the sources (it should be in my opinion), you could maintain calling the DR/Expo menu for the source with a long menu press.. As far as I can see this method works better as we have a better overview of the sources, and we can also move vertically and horizontally to navigate to the one we need much faster, and in my opinion there is no need for keeping the old method..

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
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ERSKY9X Coding

Post by ReSt »

In voice alerts, on the first page pressing menu long on any line pops up the input selections.
Should only happen on the first line I think.

Reinhard
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Missed that one :) You are right, confirmed.. :)

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
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

I've got the fix for that!
This editing method should also be working in logical switches when selecting values.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Thanks Mike, what about the functions in logical switches? They could use this editing feature and also a little explanation at the bottom..

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
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: ERSKY9X Coding

Post by KAL »

Hi MIke,

I found that when DSMx is selected for telemetry UsrProto
only COM1 can be selected as FrSky Com Port (PRO and 9XT).
Is this as intended?

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

I think "Frsky COM Port" should really be renamed to "Telemetry COM Port" or similar if it doesn't fit on the screen, as ErSky9x now supports some other protocols that also provide telemetry.. The multi module has a few as far as I know.. And of course there is the DSM, Mavlink, etc.. :)

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
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: ERSKY9X Coding

Post by KAL »

Hi João,

the naming is a different thing...

My "problem" is the fact that I can't select COM2 for protocol DSMx.
So with 9XT, Bangood 4in1 and a DSM RX I can't use the AUTO function for binding
(or I find a way to connect the 3.3V level telemetry output of the 4in1 to COM1).

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

At the moment DSM telemetry is only supported on COM 1, so COM 1 is forced when DSMx is selected.
I'll change "FrSky" to "Telem." for the COM port text.
The logical switch functions may be tricky, they are 7 characters long so even 3 don't really fit across the screen, I'll need to think about these.

KAL: How are you mounting your 4-in-1 module? I plug mine in to the module bay (it's in a module case), then the bottom pin is a direct connection to COM 1. I have the firmware in the 4-in-1 compiled with "INVERT_TELEMETRY" defined.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: ERSKY9X Coding

Post by KAL »

HEUREKA :D 8-) :lol:

It works!

Because of some false assumptions while error tracking
I connected the telemetry output of the 4in1 to COM2 (pin 14) of my 9XT.

Now the telemetry out of the 4in1 is directly connected to COM1 (black cable),
4in1 is set to inverted telemetry out (this was the trigger for all my problems :shock: )
and everything's good now :D .

Thank you all
Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

I had a similar problem yesterday. See here..

viewtopic.php?f=126&t=9601

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
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Mike, I have my 9XT backlight set to R100, G28 and B0. This gives an Orange/Yellowish color. Since a couple days I have noticed that sometimes when I am just playing with the radio, the backlight turns a bit more green.
It just happened again. I was testing switches by looking at the bars moving on the main screen, changed to view the screen that shows channels 9 to 16, and then the backlight just changed color.. Rebooted the radio, and it started with the correct color again.. I have no idea which sequence of events (if any) triggers this..

Thanks

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
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: ERSKY9X Coding

Post by KAL »

Now that my telemetry problem is solved
I stumbled over a puzzling issue:

I have an OrangeRX RX3SM.
The PRO with a Banggood 4in1 recognizes it as DSMX-22 / 6ch.
But with same 4in1 in a 9XT it is recognized as DSM2-22 / 6ch.

If I disable telemetry, the 9XT works only in DSM2-22 mode.
But PRO (with same 4in1) works in DSM2-22 and DSMX-22 mode.

Note: it's the same 4in1 swapped between the radios!

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

I assume you have r220 on both radios, are using AUTO mode, and using the bind option in the menu.
What, if anything, gets displayed at the bottom of the binding display?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: ERSKY9X Coding

Post by KAL »

MikeB wrote:... and using the bind option in the menu ...
Yes, and I have the latest test version on both radios and tried both AUTO and manual selection.

The displayed info on bottom of binding page corresponds to the then automatically selected mode on protocol screen.

When I select DSMX-22 on the PRO while having disabled telemetry (by selecting a false protocol) everything works good.
If I do this on the 9XT, the servos are kind of moving but do not exactly follow the sticks.

When telemetry is enabled and I try binding in DSMX-22 mode the 9XT shows "DSM2 22ms 6ch" on binding screen
and then shows DSM2-22 as selected protocol type.
Trying this on the PRO it shows "DSMX 22ms 6ch" on binding screen and shows DSMX-22 as selected protocol type.
In this case the servos act as they should.

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

I seem to be able to reproduce this so I'll investigate!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ERSKY9X Coding

Post by MikeB »

Multi/DSM on 9Xtreme (and Taranis) fixed.
I've also extended the new editing method to the logical switch functions (new Helptel.txt file included).
The voice alerts bug with this new editing method is also fixed.
New test versions posted.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Thank you Mike.. That is awesome.. Will Test now..

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
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

Mike, I have been noticing some strange behavior when copying models from my 9xt radio to the Ar9x and vice-versa.

if a model uses for example the external model on one of the radios, after I copy the model to the other, the internal module is selected.. I have just seen it happen again as I copied a model. Could you please have a look??

I have a little request if possible, and I don't know how difficult it would be to implement it or if it is even possible. :)
But I copy models between radios a lot, specially when testing, and every time I need to connect the radios to the PC. That makes it impossible to do it at the field unless I take a computer :( That is when it is probably when we would share a model with someone else.
Many of us now have bluetooth modules installed in our radios and they work as serial interface devices, right? so that could probably allow for file (model, settings, eeprom, voice files, music files etc) transfer, right?
An ".eepm" file is about 4K so it wouldn't take very long, right?
With mobile phones people even send much bigger files like music and videos over BT.
Maybe we would need some SD card browser to select a file to send to another radio.
This could also be extended to the PC? (you have already data transfer between PC and radio working over BT.
I believe this would be of a great help for most of us and certainly a great addition to a great firmware :)

Thanks

João

EDIT: New editing also working with the logical switch functions.. Tested on the 9XT and will test with Ar9x in a little while..
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

Post Reply

Return to “erskyTx (was ersky9x)”