Turnigy 9Xtreme, XJT, and Telemetry

Cant get your radio to work? General Hardware issues?
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

I see...
Well it had me abort that one mission because I was flying my "work horse" craft that videos all of the construction progress with very stable results. I was flying out in a distant open field and didn't want to lose the craft to a severe crash.

It is not so much as updating telemetry Joao, I often fly out to beyond the range of the Tx with auto missions. I have the throttle failsafe set to continue with mission.

The mission I speak of was about 2Km round trip on a huge spline mission around some hills.

pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Would there be an issue of refreshing the battery/ fuel level reading in flight?
I added "BatRemaining" to my Mission Planner GUI and noticed that refreshed continuously.
The battery/ fuel level on the controller only refreshes when you, or auto-disarm takes place.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

Is this using native mavlink telemetry, or an Arduino converter to give XJT telemetry?
I'd need to work out, to start with, what happens to a "BatRemaining" telemetry value to see why it doesn't normally update.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

The native mavlink is providing the realtime mAh & BatRemaining changes to Mission Planner.
I use that Rs232-to-ttl converter to feed the XJT Telemetry
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

It comes down to what SPort ID these values are using. Have you any documentation detailing this?
I'm assuming you hve a XJT Tx module and a X8R/X6R receiver.

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

pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Sorry, I do not have any coding documentation
And yes, XJT Tx with an X8R Rx

Maybe watch for the signal when the FC disarms?
Something with that sends a signal to refresh about a second later.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

Try "raw logging" to capture what is arriving at the Tx. See here: viewtopic.php?f=7&t=40&p=123508&hilit=r ... ng#p123508, for how to enable raw logging.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Sorry to ask, but how do you set the switch?
I do not see anything anywhere to do so.
RAW logging I can enable.
But cannot trigger by switch.
9Xtreme
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

It used to be in the Telemetry menu, near the end, but it has now moved to the "Logging" menu, selected in the popup when you select Telemetry.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Here you go Mike.
It was a one minute flight to get the battery down a bit.
Started out 99% and when disarmed, refreshed to 95%
Attachments
TAROT_680-2017-05-04.zip
(1.68 KiB) Downloaded 220 times
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

In the telemetry menu, do you have anything set as the "Current source", and is the mAh Alarm set to anything?
The "Raw logging" setting is not saved through a power cycle, so your log file wasn't the raw data.
Also, what do you have as the "Usr Proto".
If you could have another go at a raw log file it will likely be useful. Power on, set the Raw Logging on, then switch on the logging.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Will not hold the logging setting through a power cycle - got it!

I don't have anything set as the "Current source" that I know of.
Not familiar with the "User Proto".

I will have to try again tomorrow afternoon.
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Now I understand - Sleep does wonders...
Current Source - Fas
User Proto - ArduC

New raw log file attached
Attachments
TAROT_680-2017-05-05.zip
(12.25 KiB) Downloaded 192 times
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

I understand what is happening. The value of the battery capacity is only sent occasionally, and I only set the FUEL value when I receive this.
I probably need to store this value, and flag up I have received it, then set the fuel value every time I receive the mAh value.

You could try the following for now.
1. With the current source set to Fas, the firmware should be calculating the mAh used. If you set a value in "mAh Alarm" of your battery capacity (or just under), then the Fuel value should be filled in from this. This is NOT using the mAh value sent over Mavlink.
2. Set the current source to A2, with A2 ratio set to 0.00. The firmware will try to integrate the current to give mAh used, but as the current is always seen as 0 (from the A2 source), the mAh value will not be changed. It will, however, be filled in from the Mavlink data. If you set a value in "mAh Alarm" of your battery capacity (or just under), then the Fuel value should be filled in from this.

In either case, the Fuel value will be filled in from the Mavlink data when the battery capacity value is received, but this should be about the same.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Thanks Mike,

That looks like it makes it work with battery % updates regularly.

Only thing I see that is not a real issue is on disarm, the % displayed will "flash" between the last read value and 10 points higher.
IE 56% for 2 seconds and 65% for 2 seconds and back.

*Just checked my logs and I used 35% so the latter higher reading is accurate.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

Did you use option 1 or option 2?
Option 2 may give better results as it should be using the mAh value from the FC rather than calculating it from the "Amps" value sent.

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: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

Here is a "better" option (for now).

I believe you are using a 10000 mAh battery.
Set a scaler:
Source mAh.
Offset -10000 (Yes negative) (Note, hold the MENU button pressed while editing to change in steps of 100).
Sign -
This gives you a value that starts at 10000, and counts down the mAh used.
If you set the Divider to 100 (10000 / 100), you get a percentage remaining. Store this as the Fuel value.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

I used option 1 for my reported results.
That will be fine for now as I don't need an exact reading for now.
But I will keep all the options in my information catalog.

I use a 10,000 for my 680pro and 5200 for the 550 and 450 with an occasional parallel 2x 5200 in the 550
SocJon23
Posts: 3
Joined: Sun May 07, 2017 3:06 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by SocJon23 »

hey mikeb...i had a couple questions for you about an orangerx switchable module for my futaba 14sg that I made. I was hoping you could pm me and help me out...this was the only way I could get a hold of you! Sorry to bug you this way....ive pretty much exhausted my options online and all
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

Please give links to any existing forum posts where you have asked any questions so I can read up the background to your problem(s).

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
SocJon23
Posts: 3
Joined: Sun May 07, 2017 3:06 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by SocJon23 »

I have a 14sg and modified a switchable ORX module to work thru my trainer port...it works great with my spectrum bnf stuff but I cannot get it to bind to any of my 3 Walkera micro helix. This is the module that has the dip switched on the back of the module. Sw 1 places the module into walkera devo, but will not bind. I have tried to switch the ID on the module countless times. I've searched everywhere for a remedy and couldn't find anything that helped. I came across a few of your posts thru Google search and thought "I need to ask that guy....he seems pretty smart" I'm sorry to post about it in this discussion but I couldnt pm you and didnt really see a better forum to ask in. if there is already a discussion on this i would gladly post there as to not cludder this discussion. I have a V120Do2s, a mini cp, and a genius cp. I am not sure if these 3 helis even match the walkera signal of my module anymore.... thanks again for your help ! -Jon
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

I know there have been problems with ORX modules, there is definitely a bug in them.
There is this project: https://www.rcgroups.com/forums/showthr ... -TX-Module, that works with many protocols.
Fo those protocols that use the same chip as the ORX module, I created a version of this that runs on the ORX module. It is included in the sources.
This thread: viewtopic.php?f=40&t=8753, gives details regarding flashing the ORX module.
If you don't have an open source radio, you would need a suitable programmer to be able to flash the firmware.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
SocJon23
Posts: 3
Joined: Sun May 07, 2017 3:06 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by SocJon23 »

I don't believe my 14sg is an open source radio. I will try a few things and get back to you. I really appreciate the help !
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

So I scared the heck out of myself yesterday.
Flew a 14,000 ft (travel distance) spline mission with my F550.
I flew with dual 5200mAh batteries to ensure enough capacity.
However, i forgot to change within the Mission Planner parameters and the controller alarm.

1/2 way through "Battery at 20%" from mission planner and "Low Capacity" starts kicking in from the controller.
Of course it was because I did not change the capacity values.

Is there any way to limit the repetitiveness of the "Low Capacity" alarm?
Right now, it is an annoying, immediate and continuous repeat except for the timer time call out.
Even while the controller was powering down, it overrode the shutdown sound with "Low Capacity".
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

If you use the "better" method above, and set the mAh alarm to 0, you will disable the inbuilt "Low Capacity" alarm. You may then set a voice alert to monitor the fuel value and report at whatever repeat rate you like (or just once).

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

MikeB wrote: Sat May 13, 2017 11:38 pm If you use the "better" method above, and set the mAh alarm to 0, you will disable the inbuilt "Low Capacity" alarm. You may then set a voice alert to monitor the fuel value and report at whatever repeat rate you like (or just once).

Mike.
OK, set a "Scaler" ?
How is that done?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

Model setup, select "Globals" and you get a popup where you select "Scalers".

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

Understood.
Now, with the attached settings, it initially appears capacity is working but now what used to be fasv now shows 4.0v...flipping for an instant to show current voltage 16.4v
And that reading is with the craft turned off

**other issues not related to TX**
Total loss of power in flight while testing.
Crash from about 30m up
Assessing damage

***broke a T4-3D gimbal and all propellers.
We will be fine in a day or two.
Attachments
20170515_002416090_iOS.jpg
20170515_002359322_iOS.jpg
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by MikeB »

I can't reproduce the FasV value changing with a test setup.
When testing, have a look at the "Logging" menu (in the Globals popup). A tick appears on the right of the display when data for each item is being updated. Does such a tick appear besie FasV?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
pmshop
Posts: 125
Joined: Sun Aug 14, 2016 8:10 pm
Country: -

Re: Turnigy 9Xtreme, XJT, and Telemetry

Post by pmshop »

When I return the scaler setting back to how I found them, everything is back to normal.
Correct FasV reading and the battery icon only refreshes on disarm.

Post Reply

Return to “Hardware”