er9x development

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

Should already be there! The "Trim Setting" - Fine etc is replaced by FM1-FM4 if any of those flight modes are active.

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

User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

I don't know where all the time goes! I've finally managed to get my Arduino Due out and started to play with it. Just getting all the build tools and files sorted.
I'll start using the Arduino IDE, but I'll probably need to create a custom program at the end of the day so I can get the ersky9x bootloader working!
Just to start with, I've got the "blink" example running, so all the basics work!

Compared to the SKY board (including the 9XR-PRO) the Due has:
No EEPROM
No soft power switch
No RTC xtal and battery?
No current monitor (not a serious problem)
No RS232 serial buffer
No SD card I/F
No audio amp/volume control

Of these, compared to Mega64 running er9x, the only problem is the lack of EEPROM.

What might be worth considering is creating a "shield" with all these on. I will probably use a stripboard initially to add some of these (one by one).

The initial plan is to have the M64 (128/2561) just acting as an I/O processor (sticks, buttons, trims, switches and display) and get er9x running on the Due using a serial interface to the M64. Maybe I can also use the EEPROM on the M64 as well!

There is no specific timescale to getting this working!

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: er9x development

Post by jhsa »

But Mike, the eeprom on the m64 is very small :o Isn't there any other way of adding an external eeprom?

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: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

I need to start somewhere easily, a larger EEPROM would be needed.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: er9x development

Post by andrewju »

Wow, sounds attractive!


MikeB wrote:Compared to the SKY board (including the 9XR-PRO) the Due has:
No EEPROM
No soft power switch
No RTC xtal and battery?
No current monitor (not a serious problem)
No RS232 serial buffer
No SD card I/F
No audio amp/volume control

Of these, compared to Mega64 running er9x, the only problem is the lack of EEPROM.

What might be worth considering is creating a "shield" with all these on. I will probably use a stripboard initially to add some of these (one by one).
So we'll need the stock board, the Duo and a "shield" board on top? I don't mind, I will go for this option. But for the final product - looking at it from the "minimizing potential failures" point of view, it may be better to adapt a design of the Sky9x or similar board and come up with a single-board replacement for the stock 9x... I know this has already been attempted at least a couple of times, so maybe I'm wrong... Just thinking aloud...

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

Re: er9x development

Post by jhsa »

----
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
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: er9x development

Post by 4refr0nt »

Hi!
I'm develop small feature er9x-812 fork for displaying MavLink data on er9x telemetry screen #5 via FrSky protocol.
Please see my project and help me merge this features to er9x r813.



Tnx!
Image
Donate to FrSky-Mavlink
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7EERYFP7D2K7Q&lc=US&item_name=FrSky%2dMavlink%20converter%20for%20er9x&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

OK, I've noted this. I'll see what I can do. I will be some days before I can properly do much as we (my wife and I) are re-decorating the room all our computers and my work area are in normally so I don't have much time or facilities just at the moment.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: er9x development

Post by LTMNO »

4refr0nt wrote:Hi!
I'm develop small feature er9x-812 fork for displaying MavLink data on er9x telemetry screen #5 via FrSky protocol.
Please see my project and help me merge this features to er9x r813.



Thx!
Image
I accidentally posted this on OpenTx Thread but meant to ask.. will this support the SPort or SBUS ports on newer FrSky Modules like X8R. I don't have any older Modules unfortunately.


Thanks... great work!

Another Question,
Could this work on Teensy which is SPort Capable?
p.s. this is amazing, this is definitely the direction the UI should go for using the 9x Radios.
Custom 9x with M64/Telemetry Mod
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

Not everybody uses Mavlink and not everybody fly multirotors, I don't think this is the ONLY way to go ;) :)
It could be supported of course ;) :D

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
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: er9x development

Post by LTMNO »

Hi João, we might not all fly Multi-Rotor/Mavlink.. but UI is always the way to go... its all about the UI when it comes to the lips and rouge of any interface. ;-)
Custom 9x with M64/Telemetry Mod
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

That screen looks a bit too crowded to me ;) But that is only me

By the way, have you see the new menus in er9x? That is the way to go in my opinion :)

João

Mike, Idea here. Why not also allow for the active flight mode name in the custom telemetry screen? Maybe we could also have a second custom screen?

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
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: er9x development

Post by LTMNO »

I would agree, the screen is busy, but i assume that we can work with it... code level.. if it is there.. the good news we can format and remove stuff if necessary.
More customer screen options would be great.
Custom 9x with M64/Telemetry Mod
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: er9x development

Post by 4refr0nt »

LTMNO wrote:Could this work on Teensy which is SPort Capable?
p.s. this is amazing, this is definitely the direction the UI should go for using the 9x Radios.
May be. Why not? Some code adaptation needed.
Donate to FrSky-Mavlink
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7EERYFP7D2K7Q&lc=US&item_name=FrSky%2dMavlink%20converter%20for%20er9x&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: er9x development

Post by 4refr0nt »

jhsa wrote:That screen looks a bit too crowded to me ;)
Yes. But we already have not crowded screens on ARDUPILOT version.
ImageImage
Donate to FrSky-Mavlink
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7EERYFP7D2K7Q&lc=US&item_name=FrSky%2dMavlink%20converter%20for%20er9x&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

Doesn't have to be very crowded, and it doesn't need to have only 2 items :) A good compromise would be the already existent "Custom Telemetry Screen" in er9x. It could be adapted to also display the required information.

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
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: er9x development

Post by LTMNO »

4refr0nt wrote:
LTMNO wrote:Could this work on Teensy which is SPort Capable?
p.s. this is amazing, this is definitely the direction the UI should go for using the 9x Radios.
May be. Why not? Some code adaptation needed.
Awesome. This way those that run x8r can utilize the feature as well. How much effort?
Or can the pro mini support SBus or SPort.


Sent from my iPhone using Tapatalk
Custom 9x with M64/Telemetry Mod
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

FrSky make a SPort to UART converter. When working in one direction only (without error correction) it supports a maximum of 160 bytes/second. This is, I believe, higher than the user data rate available on the user port of the 'D' series receivers. Using this would make the aircraft implementation very easy, just put the serial into the SPort to UART converter and pluh the converter into the SPort of a 'X' series receiver.

The main problem with this is the Tx end. At present, the only way to recover the serial data is to use another SPort to UART converter to get the serial data. To use the data without this would need finding out the exat contents of a SPort data pack that contains this serial data. That is something on my "to do" list, waiting for some time to be allocated to it.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: er9x development

Post by Kilrah »

MikeB wrote:To use the data without this would need finding out the exat contents of a SPort data pack that contains this serial data. That is something on my "to do" list, waiting for some time to be allocated to it.
I hoped we could integrate the decoding in OpenTX to make the data available to the firmware and on the Taranis' UART and asked FrSky for the protocol spec, but the only answer I managed to get is "it's complicated". So I guess it would have to be a case of reverse-engineering.

We're aiming for the more direct way now, directly on the smart port.
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: er9x development

Post by 4refr0nt »

APM MavLink to FrSky X8R S.Port converter. More photo.

Some code may be usefull for S.Port implementation.
Donate to FrSky-Mavlink
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7EERYFP7D2K7Q&lc=US&item_name=FrSky%2dMavlink%20converter%20for%20er9x&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: er9x development

Post by LTMNO »

4refr0nt wrote:
jhsa wrote:That screen looks a bit too crowded to me ;)
Yes. But we already have not crowded screens on ARDUPILOT version.
ImageImage

This looks good that the information is there.. but scrolling over 8 pages just doesn't seem user friendly.
The good news is that the information is available, so organizing it in 1-2 screens shouldn't be a problem? ;-)
Custom 9x with M64/Telemetry Mod
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: er9x development

Post by rperkins »

Hello
wanting to back up my radio and settings before testing some things out.
Went to compile the latest eepe er9x
are the source codes still current at code.google.com ?

Just want to verify:
latest er9x is rev 813 from August 2014
latest eepe is rev 405 from April 2014

thanks
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

Those are the latest I've committed, yes. I have some later test versions where I've just posted (on here) the .hex (for er9x) and the .exe (for eepe).
I need to commit these, but just haven't had time to sort everything out. Part of the problem is I can't build the MAC version of eepe, I have to commit just the sources, get someone else to build the MAC version, then I commit all the executables.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: er9x development

Post by rperkins »

Thanks Mike for the response.

just thinking out loud here.
You could always post the src and leave it up to the user to compile it to meet their needs. If you do compile something leave it out of the tree.
Not sure what the standard method for doing something like this , but if I look at a project like avrdude, they dont even host binaries in the dev tree.
that way when I do a 'svn up' I'm not twiddling my thumbs while 34M of binary is downloaded.

9.5M eepe.dmg
9.4M eepskye.dmg
6.0M eePeInstall.exe
6.0M eePeInstall.zip
740K eepe-amd64.deb
900K eepe-i386.deb
816K eepskye-i386.deb
34M total
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

What we need is a browser based version of eepe/eepskye ;) No more problems with different operating systems.. :D

Randy, not everybody can compile software.. I find it a pain for example, and most of the times I can't do it.. And when I do it, I use arduino. That says it all :mrgreen:
Some of us are not very good with computers.. :)

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: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

I've committed r814, changes:

Process A3 and A4 telemetry values
Flash saving
Fix GVAR as volume bug
Rotary Encoder improvements
Initialise PPM polarity at start
Handle SPort GPS data
128/2561 add voice alarms
128/2561 add timer1 reset switch
mixer delay and slow improvements
128/2561 add model index menu
Add custom stick names option
Add custom switch ~= option
1. The hard coded VOLT_THRESHOLD, ALT ALARM and MAH ALARM have been removed, along with "FmodeTrim" in a mix.
The alarms can be done with custom and audio/voice switches.
FmodeTrim is now redundant as we have "real" flight modes.
2. Add Throttle idle option at the centre as well as at -100%.
3. New option in a mix to ignore any expo and dual rates on stick inputs.
Add "expo" as a curve option.
Modify A1/A2 scaling code (saves flash)
Use scaled value of A1/A2 when used as source to scalers
Scaler offset to -32000 to +32000, (MENU to edit in steps of 100)
Move the stick mode setting to "Controls" from "General"

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: er9x development

Post by LTMNO »

Hello Mike, thanks for the update... just curious if this is the behaivour that is expected...
When in the Radio Menu System and on the 14th page and I goto Telemetry, you can only update the A1 and not A2?
Just Curious...
Custom 9x with M64/Telemetry Mod
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: er9x development

Post by jhsa »

Confirmed. That could be because it is still not ready.. :)

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
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: er9x development

Post by LTMNO »

Coolbeans, anything i can do to help debug ;-)
Also, the Voice Alarms menu is interesting... is that attainable in the eepe? I don't see that anywhere?
perhaps its just a representation of the VS? just checking.
Custom 9x with M64/Telemetry Mod
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x development

Post by MikeB »

The voice alarms are new, I haven't got them into eepe yet (they are in eepskye for ersky9x).
I'l check the TELEMETRY page update. It is the same page you get to going left and right (about 10/14). Is A2 editable there?

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

Post Reply

Return to “er9x”