ERSKY9X on Taranis
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
ERSKY9X on Taranis
Making a bit of progress with this, I thought it is time for it to have its own thread.
I have the menu system generally running. The problem, as with openTx, is how to use the 6 buttons. They don't easily map onto the buttons of the 9X, particularly if you rely on the existing labels of the Taranis.
I had thought to use the + and - buttons as the same function as the + and - buttons of the 9X. On the 9X these are LEFT and RIGHT, but on the Taranis they are aligned one above the other.
Taranis buttons:
MENU . . . . . . . . . . +
PAGE . . . . . . . . . . -
EXIT . . . . . . . . . . ENT
I'm thinking of ignoring the labels and using the following:
MENU . . . . . . . . . . UP
LEFT(-). . . . . . . . . . DOWN
EXIT . . . . . . . . . . RIGHT(+)
Comments, ideas, suggestions?
Mike.
NEW VERSIONS ARE NOW AVAILABLE ON THE ERSKY9X SITE AS PART OF NEW ERSKY9X RELEASES.
To keep test versions of this in the same place I'll post them here: I've changed the buttons to:
^[tab=30]/ (a tick)
<[tab=30]>
v[tab=30]X
I have the menu system generally running. The problem, as with openTx, is how to use the 6 buttons. They don't easily map onto the buttons of the 9X, particularly if you rely on the existing labels of the Taranis.
I had thought to use the + and - buttons as the same function as the + and - buttons of the 9X. On the 9X these are LEFT and RIGHT, but on the Taranis they are aligned one above the other.
Taranis buttons:
MENU . . . . . . . . . . +
PAGE . . . . . . . . . . -
EXIT . . . . . . . . . . ENT
I'm thinking of ignoring the labels and using the following:
MENU . . . . . . . . . . UP
LEFT(-). . . . . . . . . . DOWN
EXIT . . . . . . . . . . RIGHT(+)
Comments, ideas, suggestions?
Mike.
NEW VERSIONS ARE NOW AVAILABLE ON THE ERSKY9X SITE AS PART OF NEW ERSKY9X RELEASES.
To keep test versions of this in the same place I'll post them here: I've changed the buttons to:
^[tab=30]/ (a tick)
<[tab=30]>
v[tab=30]X
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!
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: ERSKY9X on Taranis
I would just go with how opened does it.
A pain to code, but will be easier for people to move between firmwares.
Sent from my GT-I9300 using Tapatalk
A pain to code, but will be easier for people to move between firmwares.
Sent from my GT-I9300 using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
But what about people who want to move from er9x/ersky9x to ersky9x on the Taranis? They haven't had to learn a new way already.
Progress update:
For now, I have the above navigation method working. It's easier to get everything working that way, then worry about improving it if necessary.
Menus all seem to be working, I can calibrate the sticks and the mixer seems to be working. Reading and writing the EEPROM is also working.
Next is to get the output to the Tx module going so I can actually control something!
After that, I need to look into the switches, there are more three position ones.
Then things like SD card, audio/voice, internal and external modules.
Mike.
Progress update:
For now, I have the above navigation method working. It's easier to get everything working that way, then worry about improving it if necessary.
Menus all seem to be working, I can calibrate the sticks and the mixer seems to be working. Reading and writing the EEPROM is also working.
Next is to get the output to the Tx module going so I can actually control something!
After that, I need to look into the switches, there are more three position ones.
Then things like SD card, audio/voice, internal and external modules.
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!
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: ERSKY9X on Taranis
Not really any different to the move from opentx on the 9x.
The relearn process is not hard, and only takes a few days to adjust to.
Sent from my GT-I9300 using Tapatalk
The relearn process is not hard, and only takes a few days to adjust to.
Sent from my GT-I9300 using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
Re: ERSKY9X on Taranis
Some relaearning is needed in all cases simply because of the different physical layout. With the 9X you do everything with the left hand on the D-pad and enter/exit on the right hand, and you can't do that on the Taranis. With your layout it would actually be pretty much reversed (mostly right hand for nav and left hand for enter/exit). Plus the user couldn't rely on the labels when lost.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
Depending on how much of the enlarged display I want to use, I could use 'soft' labels on the display!
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
PXX output to the internal module now working. I've done a BIND to a X8R and can move a servo. The BIND was on command from the menu, so lots now working.
I'll get back to this another day now.
Mike.
I'll get back to this another day now.
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: ERSKY9X on Taranis
Well done Mike!
Keep up the good work, I really appreciate your logical approach.
If you could eventually get DSM(X) support in as well
Great stuff, shame they made such a hash of the buttons layout
Clive
Keep up the good work, I really appreciate your logical approach.
If you could eventually get DSM(X) support in as well
Great stuff, shame they made such a hash of the buttons layout
Clive
Re: ERSKY9X on Taranis
Soft labels sound like a good idea.MikeB wrote:Depending on how much of the enlarged display I want to use, I could use 'soft' labels on the display!
Mike.
Great work Mike.
Colin.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
The DSM code is in ersky9x, so it should get included for the external module.
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
I may need to change the code structure a bit. The LCD on the Taranis takes a LOOOOONNNNGGGG time to update (around 10mS). During this time the processor is 100% updating the display. It's serial, 4 bits per pixel, and 27136 pixels!
This throws certain other timings out and can delay the mixer running. I know openTx did some changes in the area of running the mixer.
I've tried to speed the code up, but the compiler actually gets confused and generates the code in the wrong order!
Mike.
This throws certain other timings out and can delay the mixer running. I know openTx did some changes in the area of running the mixer.
I've tried to speed the code up, but the compiler actually gets confused and generates the code in the wrong order!
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: Sv: ERSKY9X on Taranis
How come there is 4 bits per pixel? I thought the LCD only supported 4 gray levels.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
It does actually support 16 levels, but the difference between levels was not clear, and sometimes couldn't be seen, so we settled on 4 clear grey scales.
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: ERSKY9X on Taranis
The LCD display of the Taranis is very strange. The upside is that it is highly readable outdoors. The downside is that it has very low contrast. I think that the contrast range is not even good enough to support two gray levels. Regardless of how I set the contrast, the light gray is either white or the dark gray is black. I can not remember when I last saw a worse display in a real product.
I don't know if you plan to support images of models. If not, you might just as well stick to using only black and white on the LCD. The gray tones add nothing to the Taranis interface of openTX, except fuzziness.
I don't know if you plan to support images of models. If not, you might just as well stick to using only black and white on the LCD. The gray tones add nothing to the Taranis interface of openTX, except fuzziness.
Re: ERSKY9X on Taranis
OpenTx defined 4 grays for text, but ended up never using them. All text is in B/W. We were thinking to use gray to display disabled mixer lines instead of bold for enabled ones, but that didn't look good enough either, as brightness changes a lot depending on the orientation you look the display from it could be misleading.
We only use them (and all 16 levels) for splash/model image/icons.
We only use them (and all 16 levels) for splash/model image/icons.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
I reckon I have the extra switches working correctly now, and the SPort telemetry is also working. Various other little things like the contrast and backlight brightness also working. SD card next, then the audio and voice.
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
SD card working, I have logging of the telemetry working, should be able to get voice going next.
Mike.
Edit: Audio and voice now working, it's talking to me
Well nearly, long voice files cause problems!
Mike.
Edit: Audio and voice now working, it's talking to me
Well nearly, long voice files cause problems!
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
I don't think the Taranis' hardware can use my current method of voice function. The SKY board has a 'proper' high speed SD card interface while the Taranis uses a much slower SPI interface. I'm not giving the voice task enough time to prepare the next buffers for a 16kHz sample rate. It cannot read the SD card fast enough in the time available.
Mike.
Edit: May have fixed it by increasing the priority and increasing the time slice of the voice task.
Update: Voice now seems to be fine. Soft power off looks OK, tweaking a few things, the only main thing left is the USB mass storage. This is needed to be able to access the EEPROM from the PC. I'm very close to being able to issue a test version. Eepskye will need updating to handle this, I haven't started on that yet!
Mike.
Edit: May have fixed it by increasing the priority and increasing the time slice of the voice task.
Update: Voice now seems to be fine. Soft power off looks OK, tweaking a few things, the only main thing left is the USB mass storage. This is needed to be able to access the EEPROM from the PC. I'm very close to being able to issue a test version. Eepskye will need updating to handle this, I haven't started on that yet!
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
Does anyone want to try a test version? Mass storage is still not in, but most everything else is in, although only the internal Tx module is supported. There are probably lots of details to sort out that I haven't tested yet.
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: ERSKY9X on Taranis
Yes, Mike I will try it.MikeB wrote:Does anyone want to try a test version? Mass storage is still not in, but most everything else is in, although only the internal Tx module is supported. There are probably lots of details to sort out that I haven't tested yet.
Mike.
Thanks,
Colin.
Re: Sv: ERSKY9X on Taranis
I would like to test it. Is there something specific you want the testing to concentrate on?MikeB wrote:Does anyone want to try a test version? Mass storage is still not in, but most everything else is in, although only the internal Tx module is supported. There are probably lots of details to sort out that I haven't tested yet.
Mike.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
On the first post of this thread I've posted a test version. You will see I'm using the idea of "SOFT" keys. I'm not sure I like the allocation I've currently got. To be compatible with the 9X I think I should go for:
UP[tab=80]MENU
LEFT/-[tab=60]RIGHT/+
DOWN[tab=60]EXIT
Apart from how easy is it to use the buttons probably the main change is handling the different switches so do they work everywhere?
BACKUP your EEPROM and make sure you have (or have backed up) a copy of openTx so you can go back if you wish to.
I'm still working on the mass storage bit so you can't backup the EEPROM once you have loaded this firmware (yet).
I've used a slightly different EEPROM arrangement from openTx.
I've still to start work on updating eepskye for this.
Voice files are the same as for ersky9x on the SKY board. Just put a copy on the SD card. They can be there as well as the original Taranis files. Until I get the mass storage running you will need to put the SD card in your PC directly.
Mike.
UP[tab=80]MENU
LEFT/-[tab=60]RIGHT/+
DOWN[tab=60]EXIT
Apart from how easy is it to use the buttons probably the main change is handling the different switches so do they work everywhere?
BACKUP your EEPROM and make sure you have (or have backed up) a copy of openTx so you can go back if you wish to.
I'm still working on the mass storage bit so you can't backup the EEPROM once you have loaded this firmware (yet).
I've used a slightly different EEPROM arrangement from openTx.
I've still to start work on updating eepskye for this.
Voice files are the same as for ersky9x on the SKY board. Just put a copy on the SD card. They can be there as well as the original Taranis files. Until I get the mass storage running you will need to put the SD card in your PC directly.
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
I've changed the test version buttons to the layout above and posted it on the first post. Rather than names I'll change the direction buttons to have arrows at some point.
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: Sv: ERSKY9X on Taranis
I am having problems with the initialization of the screen at boot. When I turn on the radio the LCD will most often remain completely blank. Turning it on and off repeatedly will eventually lead to that it is turned on.
On rare occasions I get parts of the screen covered by noise. That part looks like an old analog TV without reception.
I think that the processor is running even if the display is blank. I have defined a switch as backlight switch and I can always use it to turn the backlight on and off.
I am testing on a brand new Taranis. I will load it with openTX to check that the hardware is OK.
On rare occasions I get parts of the screen covered by noise. That part looks like an old analog TV without reception.
I think that the processor is running even if the display is blank. I have defined a switch as backlight switch and I can always use it to turn the backlight on and off.
I am testing on a brand new Taranis. I will load it with openTX to check that the hardware is OK.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
I'll check the LCD initialisation. I remember we had some problems with a blank screen when we first started.
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ERSKY9X on Taranis
OK, I've copied the LCD initialisation from openTx and posted another version.
I've changed the button labels to arrows etc:
^[tab=30]MENU
<[tab=30]>
v[tab=30]X
I've changed the button labels to arrows etc:
^[tab=30]MENU
<[tab=30]>
v[tab=30]X
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: Sv: ERSKY9X on Taranis
That fixed the initialization problem. The LCD now initializes each time I boot the radio.
But the problem with noise being written to the screen remains. If I boot over and over again the LCD will eventually show something like the picture. I can then keep using the menus etc with full functionality, but the noise part of the screen remains in place and the topmost row is only partly visible since the upper part of the row is above the top of the screen.
The little arrows are by the way a major improvement to the text labels. Much easier see and understand. I think a tick mark or a short OK would be good in stead of MENU.
But the problem with noise being written to the screen remains. If I boot over and over again the LCD will eventually show something like the picture. I can then keep using the menus etc with full functionality, but the noise part of the screen remains in place and the topmost row is only partly visible since the upper part of the row is above the top of the screen.
The little arrows are by the way a major improvement to the text labels. Much easier see and understand. I think a tick mark or a short OK would be good in stead of MENU.
Re: ERSKY9X on Taranis
I have found another bug.
If I long press any button to get past either of the two initial warnings (throttle and alarms disabled) the radio resets three seconds after the main screen has been displayed.
Edit: I have gotten one or two more reboots at the same point, without long presses. Not as consistent though. No reboots at any other point this far.
If I long press any button to get past either of the two initial warnings (throttle and alarms disabled) the radio resets three seconds after the main screen has been displayed.
Edit: I have gotten one or two more reboots at the same point, without long presses. Not as consistent though. No reboots at any other point this far.
Last edited by dvogonen on Tue Dec 10, 2013 6:14 pm, edited 1 time in total.
Re: ERSKY9X on Taranis
New very minor issue:
Setting the inactivity alarm below 10 (e.g. to 5) results in the time being displayed as 5mm rather than 5m.
Volare necesse est, vivere non est necesse.
Setting the inactivity alarm below 10 (e.g. to 5) results in the time being displayed as 5mm rather than 5m.
Volare necesse est, vivere non est necesse.
Re: Sv: ERSKY9X on Taranis
I am having a problem with the sound for the inactivity alarm. Basically I just do not get any sound, just a low clicking noise. I selected the BeepperVoice as beeper type and fetched the sound files from the ersky download page, unzipped them and put them in a folder called voice on the SD card. Voive seems to work since the battery alarm voice alarm has just started nagging.