FrSky Telemetry page #5: Mavlink data from APM

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
Post Reply
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

ImageImage

er9x r812-based firmware for Turnigy 9X with FrSky hardware mod. Use Arduino Pro mini for converting Mavlink data to old FrSky protocol (SPort not yet supported).
Code size not yet optimized now and working on atmega128 and above.

Source code and binaries https://code.google.com/p/er9x-frsky-mavlink/
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

Jarko

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by Jarko »

Welcome
Excellent work.
Unfortunately, there is the same problem reported here: viewtopic.php?f=5&t=5387
MikeB released hotfix.
Can you do the same in your firmware?
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

Jarko wrote:Welcome
Excellent work.
Unfortunately, there is the same problem reported here: viewtopic.php?f=5&t=5387
MikeB released hotfix.
Can you do the same in your firmware?
Thanks for you comment!

Fixes A1/A2 display bug.
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
Jarko

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by Jarko »

Now displays correctly.
Well done!
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

New version released.
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

shortmann
Posts: 3
Joined: Tue Jun 03, 2014 5:27 pm
Country: Austria

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by shortmann »

Hi!

I have a moded 9XR!
I am flashed your firmware but the THR and AIL switch does no work!
What make it flase?

Sry for my bad english I am from Austria!
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by LTMNO »

Make sure your TeZ board is flashed with the latest?
Do you have TeZ board?
Custom 9x with M64/Telemetry Mod
shortmann
Posts: 3
Joined: Tue Jun 03, 2014 5:27 pm
Country: Austria

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by shortmann »

I have no tez-board! I use a 9xr with telemetry mod!
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

shortmann wrote:Hi!
I have a moded 9XR!
I am flashed your firmware but the THR and AIL switch does no work!
What make it flase?
Radio setup (page1) -> FrSky Mod done

Good luck!
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
shortmann
Posts: 3
Joined: Tue Jun 03, 2014 5:27 pm
Country: Austria

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by shortmann »

Thanks! that was it!
Lioon
Posts: 20
Joined: Wed Feb 06, 2013 6:13 am
Country: Germany
Location: Berlin

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by Lioon »

Hi, does anybody know if this works with the jDrones IOBoard (http://www.jdrones.com/wiki/guide-jd-io ... vL2sX.dpbs)?
All the best, Markus
DaniSi
Posts: 6
Joined: Sun Aug 03, 2014 9:28 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by DaniSi »

Works this also with OpenTX?
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

DaniSi wrote:Works this also with OpenTX?
sorry, no.
er9x only.
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
thatjoshguy
Posts: 3
Joined: Tue Aug 19, 2014 10:50 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by thatjoshguy »

Hello! I recently installed this software package on my 9x and inexpensive Arduino Pro Micro clone. This is fantastic! Miles above the JD-IOBoard code. Fantastic work here, really!

I am going through the source and am attempting to find which variable holds the MOTOR ARMED status, and what the possible values are. I want to control a set of LEDs for motor arm notificaiton as well as GPS status and possibly even different patterns for flight modes. I am able to use dataProvider->getTemp1() to get the current flight mode, which is returned as an INT, but what about motor arm status? is that apmBaseMode, and if so what are the possible values I should be looking for?
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

Now new version https://code.google.com/p/er9x-frsky-ma ... runk%2Fbin released with 8-ch lighting support
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
Brodziek
Posts: 15
Joined: Thu Mar 20, 2014 5:55 pm
Country: Poland

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by Brodziek »

I downloaded the source files using svn update, try to do your own compilation and is unfortunately an error. Compilation fails. Previous version r14 compile correctly. Is this a bug in a file? Can you verify this?
Using Tapatalk
Jarko

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by Jarko »

I downloaded the source files using svn update, try to do your own compilation and is unfortunately an error. Compilation fails. Previous version r14 compile correctly. Is this a bug in a file? Can you verify this?
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

Brodziek wrote:I downloaded the source files using svn update, try to do your own compilation and is unfortunately an error. Compilation fails. Previous version r14 compile correctly. Is this a bug in a file? Can you verify this?
1. Use latest Arduino IDE 1.0.6
2. Import libraies

if compilation fails send me, please, errors log.
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
Brodziek
Posts: 15
Joined: Thu Mar 20, 2014 5:55 pm
Country: Poland

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by Brodziek »

Sigh ... did not specify exactly. I wanted to make your own compilation of your firmware er9x-FrSky for Turnigy. And here is the problem (I use the compile-128.bat, but no version will not compile). Mavlink-driver is ok.
Using Tapatalk
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

Brodziek wrote:Sigh ... did not specify exactly. I wanted to make your own compilation of your firmware er9x-FrSky for Turnigy. And here is the problem (I use the compile-128.bat, but no version will not compile). Mavlink-driver is ok.
You can use compiled binaries.
I don't have full build instruction. You must download WINAVR, then update grep utils.
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
Brodziek
Posts: 15
Joined: Thu Mar 20, 2014 5:55 pm
Country: Poland

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by Brodziek »

Thanks. Already is ok. [WHITE SMILING FACE]
Using Tapatalk
philsson
Posts: 18
Joined: Tue Jan 06, 2015 2:02 pm
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by philsson »

working for anyone with latest version of arducopter?
4refr0nt
Posts: 15
Joined: Mon May 05, 2014 11:43 am
Country: -

Re: FrSky Telemetry page #5: Mavlink data from APM

Post by 4refr0nt »

I'm not tested firmware with latest version of arducopter. May be later. Please, wait some time.
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

Post Reply

Return to “er9x”