Devo 12S DSMX Range and Telemetry Questions

More
28 Jan 2015 14:48 #28156 by Indigo
Replied by Indigo on topic Devo 12S DSMX Range and Telemetry Questions
I'm currently working on DSMX Telemetry problems with Thomas Heiss.

The problems are caused by data integrity issues in receiving telemetry data .

Deviation could also be transmitting occasional bad packets, so I have also added a fix for #594: Data integrity of Channels array

Anyway it would be good to have a number of people test this. Downloads are available here:
bitbucket.org/Indigo1/deviation/downloads

aMax wrote: hardware.c/2014-05-21/
Allow use of txid override on Devo7e. Devo7e will always be in telemetry mode now

Reversing that change (ie. Enabling On/Off for telemetry mode on Devo7e), makes the module file size too large (max size is 4KB). However, I found another way to reduce code size so Telemetry On/Off should now work. :P

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 15:21 - 28 Jan 2015 15:25 #28161 by aMax
Nice, ...switching off by default?

BTW , the former module size is 26 bytes larger than the size of the latest module.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 28 Jan 2015 15:25 by aMax.

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 15:58 #28163 by aMax
Thanks Dude.

All new protocols, no buzzing and telemetry switching again(DMS2/DMSX), nice.
Will test more.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 16:17 #28164 by cmpang
Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
a big thanks Indigo..

Oop... power output stays at default. Not able to change ... (on both DSM and Devo protocol)

cmPang

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 16:26 - 28 Jan 2015 16:35 #28165 by aMax
On my 7e the power setting is working as normal.

Edit: Did you copy your old tx & hardware.ini back?

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 28 Jan 2015 16:35 by aMax.

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 16:38 #28167 by cmpang
Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
I've copied the whole new file system other than the tx.ini

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 16:47 - 28 Jan 2015 16:49 #28168 by aMax
Edit your hardware.ini, the PA is set to zero.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 28 Jan 2015 16:49 by aMax.

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 16:53 #28169 by cmpang
Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
yep.. it works now

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 17:04 #28170 by aMax
Ok, please report your experience with the build and DSMX.
You may find more occasions than me at the moment (bad weather).
I´m eagerly interested in this.(quad on the bench)

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 17:49 #28172 by cmpang
Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
1. It is 1:46 am here in Hong Kong and so I can only perform a bench check. Setting to 100uW all seems fine. Orange LED blink at times but not frequent. Looks to be on par with my Devo receivers.

2. Sadly the 2x3 switches are gone in this build

Will perform longer range test tomorrow..

cmPang

Please Log in or Create an account to join the conversation.

More
28 Jan 2015 18:21 #28176 by aMax
Then you have done your switches in a different way.
...3x2 sitches are working!
They are displayed at stick input and channel output....and values change.

....hardware.ini..???

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02

Please Log in or Create an account to join the conversation.

More
29 Jan 2015 02:13 #28192 by cmpang
Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
left my 7e overnight at 300uW, my orange receiver only get one red flash ...



cmPang

Please Log in or Create an account to join the conversation.

More
29 Jan 2015 11:05 - 29 Jan 2015 11:33 #28199 by cmpang
Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
further test tonight.

Setting to 1mW output, the receiving signal performance is on par with the trusty Devo protocol. This comparison is based on NO red led lights up in the receiver. It does get infrequent orange led flashing tough.


cmPang
Last edit: 29 Jan 2015 11:33 by cmpang.

Please Log in or Create an account to join the conversation.

More
29 Jan 2015 11:51 #28202 by cmpang
Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
Another test with telemetry ON. Surprisingly, get the same result as with telemetry OFF above.

So would Indigo please comment, or other than get the switching function to work, you have also fixed some coding regarding telemetry?

cmPang

Please Log in or Create an account to join the conversation.

More
30 Jan 2015 02:41 #28224 by Indigo
Replied by Indigo on topic Devo 12S DSMX Range and Telemetry Questions
The received telemetry data is copied to an array where it is then used. Some values (fades,frameloss,holds) were being stored as 8bit so maximum value was 255. Thomas fixed that and made maximum 9999, but we were still getting wrong values displayed and losses going quickly to 9999. Losses were being shown as FadesL and holds as ?FadesA? caused by values overwriting adjacent memory spaces due to 32bit value stored into 16bit slot. Could these wrong fade values be triggering a channel change? This problem was with only the dsm2/dsmx protocol. This is what we fixed.

I also removed all the 16bit <-> 32bit data type conversions from stick inputs through mixer to channel outputs. It's now all 32bit, the natural data type of the 32bit CPU. With all the unecessary data type conversions removed the code size is reduced and will run faster.

Here is a summary of other changes made:
  • Enable telemetry On/Off for Devo7e using dsm2/dsmx protocol
  • Telemetry monitor enhancements:
  1. Display automatically when each alarm sounds for first time
  2. While displayed make ENT or EXT button mute the alarm
  3. Make the alarm value flash
  4. Make alarm self reset (eg. voltage drops momentarily)
  5. Display volts to 2 decimal places when value < 10V.
  • Add Telemetry config enhancements:
    1. >= really does mean >= unless value is zero. Zero will never trigger an alarm state.
    2. Volts configurable to 2 decimal places.
    3. RPM increment changed from 10 to 50.
    [/ul]
    The telemetry data is stored on rx and current values are constantly being sent back to the tx. You can verify this by leaving rx on and turning tx off and then on again. The same telemetry values will appear with +1 for holds. Same if you go out of range and loose binding, when you come back in range and rebind the values will be the same. If telemetry data received by tx contains error; a wrong value will be displayed briefly until the value is next updated.

    To clear telemetry data you need to turn the rx off. Is there a protocol command that will tell rx to clear telemetry data???

    Because Telemetry data is on the rx is should be possible to use another tx for some time (view the telemetry data) and switch off that tx and then switch on your Devo with deviation and verify that the telemetry values are the same.

    If should also be possible to fly with Telemetry Off. Then afterwards turn Telemetry On to view the data collected by the rx.

    Downloads (updated today) are available here:
    bitbucket.org/Indigo1/deviation/downloads

    Please Log in or Create an account to join the conversation.

    More
    30 Jan 2015 03:15 #28225 by cmpang
    Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
    a simple question is : once we switch off telemetry, will Deviation bypass all the telemetry processes in our transmitter? I mean not leaving any chance for telemetry to get in..

    reason for my question is some of us have no plan to use telemetry in the near future... we just want a robust one way radio to control our model.. and that is best to us..

    thx for the great job,Indigo

    cmPang

    Please Log in or Create an account to join the conversation.

    More
    30 Jan 2015 10:04 - 30 Jan 2015 10:05 #28231 by Indigo
    Replied by Indigo on topic Devo 12S DSMX Range and Telemetry Questions
    Yes bypass. To answer your question, I have studied the code and this is what I found.

    When telemetry is off, it skips reading that data packet and waits for the next data packet it needs. If the number of channels is 7 or less, the wait time is longer because more (not needed) packets are skipped.

    When binding, if protocol is DSMX and number of channels is 7 or less it sends a different code within the binding packet. Presumably to tell rx that telemetry data is not needed.
    Last edit: 30 Jan 2015 10:05 by Indigo.

    Please Log in or Create an account to join the conversation.

    More
    30 Jan 2015 10:08 #28232 by cmpang
    Replied by cmpang on topic Devo 12S DSMX Range and Telemetry Questions
    thanks a lot. Will perform some real life test in one or two days.

    Please Log in or Create an account to join the conversation.

    More
    30 Jan 2015 10:46 #28234 by linux-user
    Replied by linux-user on topic Devo 12S DSMX Range and Telemetry Questions

    Indigo wrote: Yes bypass.
    When binding, if protocol is DSMX and number of channels is 7 or less it sends a different code within the binding packet. Presumably to tell rx that telemetry data is not needed.

    Hi,
    this thread from the DSM2 development may help to understand some of the DSM2/DSMX quirks.

    Please Log in or Create an account to join the conversation.

    More
    30 Jan 2015 11:18 - 30 Jan 2015 11:19 #28236 by vlad_vy
    Replied by vlad_vy on topic Devo 12S DSMX Range and Telemetry Questions

    Indigo wrote: When binding, if protocol is DSMX and number of channels is 7 or less it sends a different code within the binding packet. Presumably to tell rx that telemetry data is not needed.


    Not that case. If telemetry enabled, it send 0xB2, without that telemetry unit does not work with 6-7 channels Rx.

    But, it can be problem for other Rx (e.g. 7200BX). For that case it sends 0xA2 if telemetry disabled.
    Last edit: 30 Jan 2015 11:19 by vlad_vy.

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.076 seconds
    Powered by Kunena Forum