ERSKY9X Coding

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
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 »

A windows .bmp file (2 colours), 64 wide, 32 high, put the file in the \images directory on the SD card.

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, will try that and see what happens.

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
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

ERSKY9X Coding

Post by Daedalus66 »

Hi Mike

Two issues with ERSky9x in the X7. (I'm on version c1 but don't think these issues have been addressed in c2, c3 or c4.)

1. The encoder button does not function as Menu to select Bind under Protocol (specifically with Multi).

2. Pressing the button to power down takes critical timing. Holding it for more than a fraction of a second restarts the Tx.

Neither of these is critical. The Tx is working well otherwise.
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 »

1. Should be working in c4. c5 will have the encoder button working on a few other places and an encoder on SKY/PRO/AR9X boards should work in maintenence mode and the bootloader.
2. I'll check, as soon as the "SHUTTING DOWN message appears the switch should be released. I seem to have plenty of time to do that, but then I have a "shutting down" voice message that leaves "SHUTTING DOWN" on the display for longer. I'll look to keep the "SHUTTING DOWN" on the display until you have released the switch.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Re: ERSKY9X Coding

Post by Daedalus66 »

Sounds good. Thank you.

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

Re: ERSKY9X Coding

Post by jhsa »

I'm having problems in converting the image to 2 colors.

What free program can I use for that and how to do it? Any tutorial out there? I have windows Paint and Inkscape.

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 »

Also, I am seeing another situation here while setting up a new model. This is a methanol powered plane, with a Frsky D8R-II Plus receiver configured to measure its internal voltage on A1. So it has the shunt in place.
Now the problem. For the voltage to match my multimeter (that I consider fairly accurate) and reads 4.6V when not moving the servos, I need a value of 12.7 inserted in the A1 range field. This is strange already as the internal divider in the receiver should be 4:1, right? That would give a max value of 13.2 as far as I know.

Now the second problem. When I start moving the servos the multimeter reads sometimes 4.0V, but the radio reports a minimum of 4.2V, so also too high. It looks like the scaling is also all over the place?
Will have to test with other receiver, and also with a divider built by me to try finding out where the problem is..
Instead of using the servos to lower the voltage, later I will use an adjustable power supply.
Will post the results here, but I leave a little question here, did anyone see similar problem?

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

Re: ERSKY9X Coding

Post by MikeB »

The Tx and Rx RSSI values and A1 and A2 values are averaged to prevent the displayed value jumping and so being difficult to read. This may result in a brief drop not being fully reported, so seeing a low of 4.2 when you briefly saw 4.0 on your meter is likely to happen.

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 »

jhsa wrote: Sun Mar 26, 2017 12:26 pm I'm having problems in converting the image to 2 colors.

What free program can I use for that and how to do it? Any tutorial out there? I have windows Paint and Inkscape.
Windows paint, File|Properties has a radio button to select black and white.

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 will also power the model from a variable power supply and check..

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 could load the attached image to the model via Model Setup / General, found the new display in the debug menus, but the image is not displayed..

João
Attachments
Easystar64.zip
(379 Bytes) Downloaded 198 times
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 »

That's Microsoft for you! You change it to black and white, it creates a black and white image, then saves it as a colour image.
Load the image into paint, then choose "save as", choose BMP, then select Monochrome from the list.

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 »

"c5" posted!
On the mixers menu, the top line shows the output response for the channel the current mix is on
The Taranis X7 and X9E wait for the power button to be released before shutting down.
SKY/PRO/AR9X handle Multi serial update on internal module and/or Com2. The polarity of Com1 and Com2 is auto detected.
Support encoder in bootloader and maintenance mode.
Sort more places where the encoder button didn't work fully.

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 »

Woow, Thanks Mike.. I would like to test the COM 2 flashing feature, but the module I have installed internally is the STM32 one, and in the 9xtreme radio :( This is without a doubt a great addition. Actually I can see loads of new great additions in "c5", thank you.

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 »

Ok, image now works and displays correctly.
But I'm, very disappointed with the result. The overall quality of the screen is so much lower. The trims for example, are really a great step back from what we currently have. The model name as well. I think that with this screen size it won't be possible to keep the same screen quality. I mean, even the picture of the model is so low quality that any generic picture of an airplane or helicopter would be ok.. Not possible to have details.

Even the splash screen picture is already low resolution. This one is even half of the size. If we had a bigger LCD, sure, why not? Very welcome. At least we could keep the normal screen quality on the really important information. Like this, I don't think it is possible.
Just my opinion.

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: Sun Mar 26, 2017 8:42 pm
On the mixers menu, the top line shows the output response for the channel the current mix is on
This very nice Mike, than you. This shows the channel output,just like in the "Bars" main screen, right? What makes me think that is that it follows the sticky T-Cut programmed in the safety switches. Or should it show the Mix Output instead??

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, there is a problem if you select the beep countdown and minute beep in the Radio Setup / Audio Haptic menus.
set a model with timer count down. When the last five seconds start playing, for example 4 and 2 won't play. Radio will only vibrate.. I was alerted for this by a friend, as I don't use this settings in the radio setup audio haptic menu. I set them in the model setup only. Are those settings really needed in the radio setup menu? they seem to be causing more problems than being helpful :)

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 »

The bar in the mixer is the same as that on the main screen so does include any safety switch.
I think I'll remove (compile out) the image test screen for now. It will need more work if it is to be useful.
Just tested beep countdown on a 'PRO. I had both boxes ticked on radio and model, together with haptic on the model.
All worked correctly!

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 »

Bootloader menu. Encoder wheel works, but if you hit the center button to select a file, the radio just starts normally. not possible to select a file for flashing.
It works fine in the maintenance menu.

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 »

Please select the options in the Radio Setup /AudioHaptic menu, but not in the Model Setup / Timers menu..
Then you will see the problem.

Also, why would you have to select both? Aren't the options in Radio Setup /AudioHaptic menu general optionsfor the timer audio behavior? I'm a bit confused. Something doesn't seem right :)

Another problem, a friend using the "b8" test version says he cannot enter the Voice Audio menu. he says that when he tries to do so, the backlight flickers and the display return to the previous main menu.. I can't reproduce it on my radio :(

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

Re: ERSKY9X Coding

Post by MikeB »

Tried just the options in the radio menu, all still worked OK.
Bootloader seems to be working for me, at least to some extent, with the encoder button.
Voice Audio menu OK for me as well.

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 »

ok, will have to make a video then :) Please standby

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 »

Here is a video of the problem..


João
Attachments
Timer Audio.zip
(7.55 MiB) Downloaded 112 times
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 »

Ok, encoder centre button in bootloader mode does not work, at least on my radio. Please see attached video..
It did work once, but I'm not able to reproduce that. I don't think I'm doing anything wrong?? :o

João
Attachments
VID_20170327_005816.zip
(7.87 MiB) Downloaded 107 times
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
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Re: ERSKY9X Coding

Post by Daedalus66 »

Hi Mike

A few points about c5 on the X7.

Encoder button now works properly in normal operation and the shutdown process is also fine.

I now realize that the shutdown problem arose because I was waiting for the "shutting down" message to disappear before releasing the button. My view is that this is not an unreasonable thing to do and that the new approach is a helpful step in fool-proofing the system. You soon discover that shutdown actually happens when you release the button.

Thank you for the channel output indicator on the Mixer page. This will be really useful.

No problem with VoiceAudio Menu.

In Bootloader mode the encoder button works fine (long press for flash) but the Menu button does nothing.

In Maintenance mode the Menu button works but the encoder button doesn't.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ERSKY9X Coding

Post by jhsa »

9xtreme, bootloader mode, encoder centre button does nothing. Works fine in maintenance mode..

On the 9XR-PRO, in bootloader mode, the centre button behaves exactly as with the Ar9x board. Encoder wheel works fine. Centre button reboots the radio..

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 »

Daedalus66 wrote: Sun Mar 26, 2017 11:46 pmIn Maintenance mode the Menu button works but the encoder button doesn't.
Seems to be working OK for me. You use a short press to select and a long press as exit.

I'll check the bootloader much later today.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Re: ERSKY9X Coding

Post by Daedalus66 »

OK now on Maintenance mode operation. It takes a very quick press on the button and the Encoder button has different feel from Menu button. So my normal "short press" was not quick enough.
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 »

jhsa wrote: Mon Mar 27, 2017 12:48 am9xtreme, bootloader mode, encoder centre button does nothing. Works fine in maintenance mode..

On the 9XR-PRO, in bootloader mode, the centre button behaves exactly as with the Ar9x board. Encoder wheel works fine. Centre button reboots the radio.
9Xtreme may be a problem. The bootloader doesn't have access to the hardware configuration, so how can it know where the encoder button is connected. Where is yours connected anyway?

On SKY type boards, as with the QX7, the encoder button works as short press to select and long press as exit.
Are you trying with a short press on the encoder button?

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 »

jhsa wrote: Sun Mar 26, 2017 10:51 pmHere is a video of the problem.
Timer problem. I can't reproduce the problem, but then I also don't have that double beep instead of the time.
What is timer 2 set to? It may be this is causing the beeps, and blocking timer 1 output.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “erskyTx (was ersky9x)”