Ersky9x Test Versions

ersky9x is a port of er9x for use on the sky9x board.
User avatar
MikeB
9x Developer
Posts: 15719
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Ersky9x Test Versions

Post by MikeB » Fri Dec 13, 2013 11:45 pm

This is NOT intended as a thread for discussions, just as somewhere I can put test versions of ersky9x for people to try out.
The idea is I'll put a specific test version on here, with a reason why it is here. Later, when I have something else to test I'll remove that one and replace it with another.
This should stop lots of test versions all over the forum, and help avoid the forum taking up more space on the server than it needs to.

Mike.

Reason for test version: Main popup and MODEl SETUP index menu.
I've also done a significant change to the Taranis versions. This relates to the internal coding for mix inputs.
The reason is the Taranis has an extra analog input (the Plus has 2). I did have this in order with the other pots/sliders but this has the side effect that the internal codes for everything after are one more that the same item on the SKY and 9XR-PRO versions of ersky9x.
This makes swapping model files between Taranis and SKY not really work. The change makes the files very closely compatible. but will mean any models on the Taranis that use a mix input after SL (P3 on SKY) will need to be checked. This includes inputs like HALF, FULL, PPMx and other channels. The firmware does, however, make SR appear after SL when editing a mix.
REVERSE the right POT operation on Taranis


NOTE: 19-Feb-2018, r221 is now released, also eepskye r422 is released.

The size of ersky9x_rom.bin may exceed 256K. On the AR9X board, make sure you have a bootloader rev 2.1 or later, or the flashing may not handle this size. On the SKY board (only 256K flash) use ersky9xs_rom.bin (s for small). This removes many languages to make it fit in the flash.
Versions that use new scripting language:
ersky9xProvR222c2.zip
19-Sep-2018 17:20
SKY/AR9X/9XR-PRO/9Xtreme/QX7 Add Bluetooth TxD to ground when BT is OFF
(2.05 MiB) Downloaded 32 times
ersky9xProvR222c1.zip
17-Sep-2018 22:46
T12 switch and pot names changed
All, fix trim switch bug on trim going to centre
(2.05 MiB) Downloaded 16 times
ersky9xProvR222b9.zip
06-Sep-2018 22:33
Fix sign bug passing logitude to script
Add copy and past to voice alerts and logical switches
(2.07 MiB) Downloaded 57 times
ersky9xProvR222b8.zip
25-Aug-2018 13:03
Support Jumper T12 radio
Script additions (sqrt function and width parameter to drawnumber)
(2.07 MiB) Downloaded 80 times
ersky9xProvR222b6.zip
02-Aug-2018 18:19
Support inverted SPort polling on COM 1 for Multi Module
Includes file for Multi module assuming bootloader is present
(1.92 MiB) Downloaded 128 times
ersky9xProvR222b5.zip
25-Jul-2018 19:01
Fix voice overrun problem on Atmel radios (SKY/AR9X/9XR-PRO)
Add |d|<val to voice alert functions
(1.87 MiB) Downloaded 70 times
ersky9xProvR222b4.zip
15-Jul-2018 22:11
Enhancements to script language
Add crossfiresend()
(1.89 MiB) Downloaded 71 times
ersky9xProvR222b3.zip
07-Jul-2018 10:26
Fix FrSky Hub Altitude bug
Fix Voice alert BOTH with short filenames
X-Lite Switches support 2/3pos, trainer options, tidy hardware menu
Remove Failsafe option of "Repeat Send" and always keep sending the failsafe values
(1.89 MiB) Downloaded 98 times
ersky9xProvR222b2.zip
01-Jul-2018 16:51
Remove Failsafe option of "Repeat Send" and always keep sending the failsafe values
(1.89 MiB) Downloaded 60 times
ersky9xProvR222b1.zip
29-Jun-2018 11:16
Fix problem editing S6R/S8R values when "Menu only Edit" is enabled
Fix GPS altitude display scaling
Fix switch warning bug on X-Lite
Fix problem using encoder on Script selection
(1.89 MiB) Downloaded 40 times
ersky9xProvR222a9.zip
25-Jun-2018 08:29
Fix bug on SKY/PRO/AR9X module output for Multi/Dsm
Fix General menu model voice file bug
Reset Telemetry now a popup option, not on LONG EXIT
Xlite version included
(1.89 MiB) Downloaded 52 times
xlite_rom.zip
20-Jun-2018 23:45
First test version for the X-Lite.
Includes Apps:
Flash-Multi
Change-ID
(216.6 KiB) Downloaded 69 times
ersky9xProvR222a8.zip
03-Jun-2018 23:41
Add ModT "telemetry" value - Model use time
Horus, implement the "doublerate" XJT driver.
Wide screen radios, fix bug when editing custom telemetry screens.
Updated "Helptel.txt" file to include ModT.
Updated eepskye (Win and Linux) to include ModT.
(5.78 MiB) Downloaded 136 times
ersky9xProvR222a7.zip
30-May-2018 23:12
Add ability to edit model notes
Add RunT "telemetry" value - Radio on time
Prompt for reset of Radio on time when battery detected as possibly charged
XJT module has "double rate" option to reduce latency
Atmel based radios add PB14 option for XJT heartbeat
Atmel based radios, offer PA25 as extra switch input where possible
(5.78 MiB) Downloaded 77 times
ersky9xProvR222a6.zip
25-Apr-2018 19:17
Add safety switches display of channel uSec output and ability to set the safety value to a resolution of 0.1%
Also includes eepskye (Win and Linux) with the resolution change supported
(5.77 MiB) Downloaded 182 times
x7_romAnalog.zip
22-Apr-2018 22:23
Support for two extra POTs
(193.61 KiB) Downloaded 67 times
ersky9x9XT_romDbg1.zip
22-Apr-2018 20:26
Special test version with Debug
Only use if you have suspected EEPROM problems
(205.48 KiB) Downloaded 54 times
ersky9x9XT_romDebug.zip
21-Apr-2018 11:25
Special test version with Debug
Only use if you have suspected EEPROM problems
(205.62 KiB) Downloaded 62 times
ersky9x9XT_rom.zip
16-Apr-2018 18:35
Special test of "data from M64" problem
(205.52 KiB) Downloaded 66 times
ersky9x_PRO_9xt.zip
08-Apr-2018 19:49
Fix fifo operation for crossfire
Move 9XT debug to crossfire receive error 111
Remove #ifdef REVX around crossfire processing
'PRO and 9Xtreme, allow 64 byte crossfire send packets
9XT has some debug
(398.47 KiB) Downloaded 119 times
ersky9x_PRO_9xt.zip
08-Apr-2018 17:23
Move 9XT debug to crossfire receive error 111
Remove #ifdef REVX around crossfire processing
'PRO and 9Xtreme, allow 64 byte crossfire send packets
9XT has some debug
(398.49 KiB) Downloaded 60 times
ersky9x_PRO_9xt.zip
08-Apr-2018 15:51
'PRO and 9Xtreme, allow 64 byte crossfire send packets
9XT has some debug
(398.47 KiB) Downloaded 68 times
ersky9x_PRO_9xt.zip
07-Apr-2018 22:34
'PRO and 9Xtreme, fix crc on crossfire telemetry send
(398.51 KiB) Downloaded 63 times
ersky9x9XT_rom.zip
06-Apr-2018 15:33
9Xtreme only, includes crossfire telemetry script support.
(205.2 KiB) Downloaded 64 times
ersky9xr_rom.zip
06-Apr-2018 22:21
9Xtreme only, includes crossfire telemetry script support.
(193.16 KiB) Downloaded 76 times
ersky9xProvR222a5.zip
04-Apr-2018 17:17
Fix value of A1 and A2 in a script
(1.72 MiB) Downloaded 110 times
ChangId_apps.zip
02-Apr-2018 10:57
App to change the physical ID of a FrSky SPort device
(65.86 KiB) Downloaded 91 times
FlashMulti_9xt.zip
02-Apr-2018 10:57
App for 9Xtreme, may fix encoder not working
(16.43 KiB) Downloaded 80 times
FlashMulti_9xt.zip
31-Mar-2018 11:56
App for 9Xtreme
(16.34 KiB) Downloaded 76 times
FlashMulti_atmel.zip
31-Mar-2018 11:01
Fix rotary encoder problem
(14.17 KiB) Downloaded 105 times
ersky9xProvR222a4.zip
30-Mar-2018 12:10
Fix inverse video bug fix for "off grid" text.
Fix bug in script language bitfield function.
Limil exponent is script power function to a max of 20.
(1.72 MiB) Downloaded 127 times
ersky9xr_rom.zip
29-Mar-2018 23:59
9XR-PRO version with invers video bug fix for "off grid" text.
(192.9 KiB) Downloaded 101 times
FlashMulti_TaranisApps.zip
29-Mar-2018 12:16
Apps for Taranis (standard,plus and X7) that have an "Invert COM" option.
(45.25 KiB) Downloaded 118 times
ersky9xProvR222a3.zip
28-Mar-2018 20:52
These have a modified bootloader that allows "apps" to be run. Also included is an "app" that will flash new firmware to a MultiProtocol module.
For SKY, AR9X and 9XR-PRO, use the app "FlashMulti_atmel.app", it should work on all of them, auto-detecting the 9XR-PRO.
(1.72 MiB) Downloaded 116 times
ersky9xProvR222a2.zip
26-Mar-2018 18:25
Versions for Taranis, Taranis Plus and X7. These have a modified bootloader that allows "apps" to be run. Also included is an "app" that will flash new firmware to a MultiProtocol module.
(614.81 KiB) Downloaded 121 times
ersky9xProvR222a1.zip
20-Mar-2018 18:32
Fix SPort telemetry passing to script bug
Add uS value at top of MIXER display
Fix bug in telemetry buffer size testing
Script adds "bitfield" and "power" and "crossfirereceive" functions
Minor edits to remove warnings from newer compilers
Fix failsafe settings not being saved when changed
Display "FMx" when not name available for flight mode
(1.66 MiB) Downloaded 158 times
eepskyeL64_221.zip
20-Mar-2018 19:07
64-bit version of eepskye r422 for Linux
(7.28 MiB) Downloaded 96 times
ersky9xs_rom.zip
10-Nov-2017 16:33
2nd Special test version for capitaineflam25
(176.45 KiB) Downloaded 288 times
x9dp_romHrc2.zip
16-Oct-2017 11:55
Special test version for "happyrc1"
(183.85 KiB) Downloaded 105 times
ersky9xr_romDiag5.zip
05-Oct-2017 21:03
Special test version for 9XR-PRO testing COM1
(184.73 KiB) Downloaded 112 times
ersky9xr_romDiag.zip
26-Sep-2017 13:36
Special test versions for 9XR-PRO with serial DIAG mode
(368.09 KiB) Downloaded 93 times
ersky9x_romAFHDS2.zip
21-Aug-2017 15:14
Specific test version to fix AFHDS2A telemetry on ARUNI
(183.63 KiB) Downloaded 126 times
---------
ersky9xr_rom.zip
06-Mar-2017 09:36
R219 for 9XR-PRO
(168.62 KiB) Downloaded 223 times
ersky9x9XT_romI2Ctest.zip
06-Dec-2016 12:27
Special test version for OctavioS, encoder on I2C
(184.19 KiB) Downloaded 179 times
opentx.zip
Test version of openTx r2940 for Taranis 14-Aug-2014 16:55
Minor change to "maintenance mode" to report "No Files" if directory is empty
This is r2940 with the addition of "maintenance mode" to allow SPort device update
(153.38 KiB) Downloaded 380 times
opentx.zip
Test version of openTx r2940 for Taranis 14-Aug-2014 16:55
Minor change to "maintenance mode" to report "No Files" if directory is empty
This is r2940 with the addition of "maintenance mode" to allow SPort device update
(153.38 KiB) Downloaded 380 times
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Ersky9x Test Versions

Post by kaos » Tue Jan 28, 2014 11:56 am

May be with a narration of what this test version is testing and changes are involved comparing to the latest version or whichever version it is trying to compare?
then no one else would post anything else here. You can lock the thread that only you can make/update post.

User avatar
skylark
Posts: 197
Joined: Mon Jul 09, 2012 6:18 pm
Country: -
Location: Oxford, England

Re: Ersky9x Test Versions

Post by skylark » Sat Feb 15, 2014 11:43 pm

Mike,
Just tried the latest test version (r202), Looks good so far. Still playing around with the model store feature, really impressive. I'm really chuffed to bits with it. Brilliant. Great job mike.
Stan.
He who knows not and knows not he knows not, is a fool: SHUN HIM.

He who knows and knows he knows, is a wise man : SEEK HIM

But he who knows not and knows he knows not, is a baby: TEACH HIM.

Toxi81
Posts: 7
Joined: Thu Jun 19, 2014 4:48 pm
Country: -

Re: Ersky9x Test Versions

Post by Toxi81 » Thu Jun 19, 2014 5:52 pm

Hello MikeB,

I tried your newest test firmware ersky9x_rom from 18.june.2014 on my ersky v3 board, but the transmiter module ASSAN X8J doesn't work in PPM mode. Older firmwares work correctly. Can you help me with this?

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

Re: Ersky9x Test Versions

Post by MikeB » Fri Jun 20, 2014 3:36 pm

I'll need to check. For the 9XR-PRO, I had to make PPM drive out as open collector to let the transmitter power off properly when using PPM with a Turnigy module.
It is very likely this change is also in for the standard SKY board. I'll check, and remove the open collector drive for the SKY board. I may need to make it an option!

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


Toxi81
Posts: 7
Joined: Thu Jun 19, 2014 4:48 pm
Country: -

Re: Ersky9x Test Versions

Post by Toxi81 » Sun Jun 22, 2014 5:37 am

Thanks, I will wait for new version rom which will fix it.

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

Re: Ersky9x Test Versions

Post by MikeB » Sun Jun 22, 2014 7:21 am

Try the one I posted on the 21-Jun, the open drain/collector driver should only be in for the 9XR-PRO. The ordinary SKY board now always drives low and high.

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

Toxi81
Posts: 7
Joined: Thu Jun 19, 2014 4:48 pm
Country: -

Re: Ersky9x Test Versions

Post by Toxi81 » Fri Jun 27, 2014 4:30 pm

Hello Mike,

I tried your last version ersky9x_rom from 27.june and it works correctly. Thanks for your support with the problem in PPM mode...

idar66
Posts: 38
Joined: Tue Aug 19, 2014 8:12 am
Country: New Zealand

Re: Ersky9x Test Versions

Post by idar66 » Thu Apr 02, 2015 6:13 am

hi mike great job with esky9xr ive got taranis and 9xr pro, ive been using open tx until pro arrived, i upgraded 9xr pro to lastest esky9xr and im loving it took mr awhile but i getting there, can you tell me does verson 204 have your updates for sport updates and sbus inprovements like on lastest test versions, also the esky9xr zip do you just paste it into eepee folder to replace the old one already installed, thanks for help idar

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

Re: Ersky9x Test Versions

Post by MikeB » Thu Apr 02, 2015 10:18 am

r204 does NOT support PXX and SPort on the 'PRO, I think these were in from r211.
For eepskye, just copy the .exe from the .zip file into the eepe folder. You might rename or move the existing eepskye.exe first just in case you need to revert to it.

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

GhostSharp
Posts: 9
Joined: Thu Apr 09, 2015 8:18 am
Country: -

Re: Ersky9x Test Versions

Post by GhostSharp » Wed Dec 30, 2015 3:01 pm

Hi Mike,

The ersky9xProvR218i.zip is valid for 9XR PRO too?

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

Re: Ersky9x Test Versions

Post by MikeB » Wed Dec 30, 2015 3:41 pm

Yes, just use ersky9xr_rom.bin.

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

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

Re: Ersky9x Test Versions

Post by jhsa » Sat Feb 27, 2016 4:43 pm

Mike, the version "ersky9xProvR219h" from today has only mavlink updates? or also some other features/options that need testing? Just that I know what to look for after I've flashed it..

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

Re: Ersky9x Test Versions

Post by MikeB » Sat Feb 27, 2016 5:22 pm

The only thing other than Mavlink is when you are selecting the protocol within MULTI, if you go past the known, named options, it displays a number up to 31. This is a start to allow extra protocols in the MULTI module to be accessed without needing an immediate update to ersky9x.

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

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Sun Mar 06, 2016 5:07 pm

Hi Mike,

I'm struggling with the telemetry from my APM to my 9XR-Pro. I'm using a combo of XJT/X8R from FrSky and I have them bound in D16 mode and my model is using the Pxx protocol. I also have the HobbyKing cable that connects the serial port on the XJT module to the Futaba Trainer port on the top of the 9xrPro. I zapped the latest r219h code from this site.

On the quad side, I installed an AirborneProjects module instead of the Teensy-based APM_Mavlink_to_FrSky. I'm assuming they do the same job. I also configured my APM2.7.2 board as per AirborneProject's quick start guide https://www.airborneprojects.com/wp-con ... -Guide.pdf

I configured the model's A1 variable to have a multiplier of 4.7 which pegs the reading at 12v on the telemetry screen. The only other reading that seems to indicate a value is RSSI which fluctuates. I'm also getting an inconsistency between selecting COM1 and COM2 for the telemetry. If I select COM1, I get a voice alert "Telemetry Signal Acquired" and the RSSI value appears (A1 gets pegged to 12v). If I set to COM2 I get a voice alert "Telemetry Signal Lost" and then all values stay at 0. In both cases, all other values don't seem to register. Telemetry from the Mission Planner seems to work as expected (battery, RSSI, GPS, Flight mode, etc.).

Is there any troubleshooting I can do from the radio to at least confirm I'm getting a signal from the telemetry port?

Could the AirborneProjects module be what's wrong here?

Thanks,
Pat

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

Re: Ersky9x Test Versions

Post by jhsa » Sun Mar 06, 2016 5:38 pm

nuttybrewer wrote:Hi Mike,

I'm struggling with the telemetry from my APM to my 9XR-Pro. I'm using a combo of XJT/X8R from FrSky and I have them bound in D16 mode and my model is using the Pxx protocol. I also have the HobbyKing cable that connects the serial port on the XJT module to the Futaba Trainer port on the top of the 9xrPro. I zapped the latest r219h code from this site.
With the XJT module, you DO NOT use the telemetry cable between the module and the futaba trainer port.. That is only for the DJT module. The XJT is directly supported by the radio.
In the telemetry menu/frsky com port, select COM1.

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

Re: Ersky9x Test Versions

Post by MikeB » Sun Mar 06, 2016 7:12 pm

I've had a quick look at the source code for that device, it looks as though a lot of it is compatible, I'll need to have a closer look to confirm. It does seem to map most of the expected values onto suitable FrSky values.

As João says, use COM1, the 'PRO has an internal connection to the XJT so doesn't need the external cable.
Have you selected "ArduC" as the "Usr. Proto" in the telemetry menu?

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

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Thu Mar 17, 2016 8:30 pm

Ok, just got some Teensy 3.2 boards from PJRC. I loaded the APM_Mavlink_to_FrSky code into Arduino IDE (after installing the Teensyduino extra libraries).

At first it complained about clockspeed, so I dropped it to 16Mhz, now it says there's an error:
APM_Mavlink_to_FrSky:179: error: expected constructor, destructor, or type conversion before '(' token
ISR(USART_RX_vect)

I'm probably missing some libraries?

Mike, is there a github repository for this code? Your account only shows the ER9X code, just wondering (would make it easier for me than downloading ZIP files)

Also, is there a .hex file I could just upload to the teensy instead of compiling?

Razzor
Posts: 1
Joined: Thu Mar 17, 2016 10:00 pm
Country: -

Re: Ersky9x Test Versions

Post by Razzor » Thu Mar 17, 2016 10:27 pm

Hello Mike,

First off, thank you for your awesome work with this firmware. I have a 9XR-PRO with a HC-05 BT module and have tested some of the latest test versions 219g,i,j. However, I have some problems with the telemetry.

My telemetry setup:
APM 2.6 <-> OrangeRX with ULRS frimware <--AIR--> OrangeRx with ULRS firmware <-> Dual channel inverter <-> 9XR-PRO

So as you see I use a inverter to invert the serial communication between the OrangeRX module and the 9XR-PRO due to that the interface is inverted. The 9XR-PRO is also modded so that COM2 is used. I have selected ArduC as protocol and the correct baudrates etc. The settings seems to be correct because when I choose the BTDirect function I can connect with my phone and send/receive data to the APM, no problems at all here.

But, to get the BTDirect function to start working I have to first set the option to FMSserial and then back to BTDirect. I have to do this at every restart of the 9XR-PRO. I also don´t get any telemetry in 9XR-PRO with COM2 Func. set to Telemetry. With this setting I also don´t get any connection over BT (BT Telemetry is ON).

Best Regards
// Lukas

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

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 12:19 am

nuttybrewer wrote:At first it complained about clockspeed, so I dropped it to 16Mhz, now it says there's an error:
APM_Mavlink_to_FrSky:179: error: expected constructor, destructor, or type conversion before '(' token
ISR(USART_RX_vect)

I'm probably missing some libraries?

Mike, is there a github repository for this code? Your account only shows the ER9X code, just wondering (would make it easier for me than downloading ZIP files)
The code is written for the Atmel AVR processor (ATMEGA328 on an Arduino pro mini), so the ISR is specific for that processor. It will very likely need to be re-coded for a Teensy. I've not got a Teensy or done any coding for one.

I haven't put the code onto Github (yet).

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

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

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 12:28 am

Razzor wrote:My telemetry setup:
APM 2.6 <-> OrangeRX with ULRS frimware <--AIR--> OrangeRx with ULRS firmware <-> Dual channel inverter <-> 9XR-PRO

So as you see I use a inverter to invert the serial communication between the OrangeRX module and the 9XR-PRO due to that the interface is inverted. The 9XR-PRO is also modded so that COM2 is used. I have selected ArduC as protocol and the correct baudrates etc. The settings seems to be correct because when I choose the BTDirect function I can connect with my phone and send/receive data to the APM, no problems at all here.

But, to get the BTDirect function to start working I have to first set the option to FMSserial and then back to BTDirect. I have to do this at every restart of the 9XR-PRO. I also don´t get any telemetry in 9XR-PRO with COM2 Func. set to Telemetry. With this setting I also don´t get any connection over BT (BT Telemetry is ON).
The ArduC protocol selection is for when you use an Arduino pro mini to collect the MavLink data and convert it for transmission over the FrSky telemetry link. I haven't got as far as processing native MavLink, received on COM2, yet.

There is probably a baudrate problem on COM2. When you select telemetry, the baudrate is set for the expected telemetry according to the protocol to the Tx module. THis probably needs a few changes.

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

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

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 6:42 pm

The Aduino code is now on Github:
https://github.com/MikeBland/APM_Mavlink_to_FrSky.

I'm not sure when I'll have time to investigate the COM2 to BT function.

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

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Fri Mar 18, 2016 10:22 pm

Ok thanks a lot Mike! I just configured the Teensy for the converter code linked from the copter.ardupilot.com telemetry site. I'm getting GPS values, A1, the flight mode, etc.

Just a quick question, on the main HUD screen, there's a little battery icon at the top and it keeps flashing at 0% (Even though the A1 reading right next to it is getting my battery voltage at a value that seems proper). Should I be mapping something else in the configs?

Thanks,
Pat

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

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 10:49 pm

The battery icon shows the FUEL value, not the voltage. This relies on the current being measured and having a correct battery capacity entered in the APM.

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

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

Re: Ersky9x Test Versions

Post by MikeB » Sat Mar 19, 2016 12:35 pm

Razzor wrote:But, to get the BTDirect function to start working I have to first set the option to FMSserial and then back to BTDirect. I have to do this at every restart of the 9XR-PRO.
What setting do you have for "FrSky Com Port"?
There is a potential conflict between this setting and the "Com2 Function" setting. If you want to use Com2 for something other than telemetry, you (currently) need to make sure "FrSky Com Port" is set to 1.

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

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Sat Mar 19, 2016 2:16 pm

Hi All,

One very frustrating thing about developing new features on these newsgroups is that threads and stuff get lost. Could I invite everybody to log issues on Github instead? https://github.com/MikeBland/APM_Mavlin ... Sky/issues

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

Re: Ersky9x Test Versions

Post by MikeB » Sat Mar 19, 2016 10:06 pm

May we please move this discussion to this thread: viewtopic.php?f=7&t=8396.
This thread here is not meant for discussions, as mentioned in the first post.

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

tomismrkolj1
Posts: 53
Joined: Sun Jan 24, 2016 10:32 am
Country: -

Re: Ersky9x Test Versions

Post by tomismrkolj1 » Sun Mar 20, 2016 6:23 am

Mike,

I tried newest verisons. Arudino did not want to compile so i removed "f" after airspeed * 10 (instead airspeed * 10f).
Now numbers fluctuate (40 to 50), but do not seem to be mutiple of 0,9 to 1,8, which is usual fluctuation when pitot tube is closed - not in flight).

tomi

CptanPanic
Posts: 14
Joined: Tue Mar 22, 2016 12:32 am
Country: -

Re: Ersky9x Test Versions

Post by CptanPanic » Tue Mar 22, 2016 3:07 pm

nuttybrewer wrote:Hi All,

One very frustrating thing about developing new features on these newsgroups is that threads and stuff get lost. Could I invite everybody to log issues on Github instead? https://github.com/MikeBland/APM_Mavlin ... Sky/issues
I see that you are starting to use the Releases feature on github also? It would def make it easier to see when new stable release is ready for ersky9xr

User avatar
bob195558
Posts: 1891
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: Ersky9x Test Versions

Post by bob195558 » Tue Mar 22, 2016 3:27 pm

Sorry for jumping in here Mike.

Hi CptanPanic,
When you use eepSkye on your PC, it will auto check for new firmware updates.

Bob B.
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
3D Printing: (http://openrcforums.com/forum/viewforum.php?f=85)

Post Reply

Return to “ersky9x”