Tarot ZYX-S issue using satellite receiver

More
25 Oct 2012 13:06 #2421 by Wene001
Replied by Wene001 on topic Tarot ZYX-S issue using satellite receiver
I will borrow a Dx5e(2 years old DSM2 only) from a friend to test.

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

More
25 Oct 2012 13:16 #2422 by PhracturedBlue
Replied by PhracturedBlue on topic Tarot ZYX-S issue using satellite receiver
Well, if you look at the docs, the only place we have any control at all is during binding. Once bound, the contents of the data packet are purely a 2 byte id (which is defined by the binding process) and 14 bytes of channel data.

So either:
a) the channel data itself we're sending isn't liked by the Tarot Rx
b) the binding data is somehow 'wrong' (despite binding ok) and this is somehow being passed to the TarotRx after binding is complete
c) something is still wrong with our data packet timing (despite binding working ok)
d) reusing the same 2 channels always somehow causes the Tarot to get mad

I'll be providing a fix for (d) soon which should fix the brownout issue when powering on the tx before Rx. Maybe it'll help, though I'm skeptical.

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

More
25 Oct 2012 13:43 #2424 by FDR
The problem indeed may be in the binding packet: don't forget, that we don't know the byte 10 and 13. These might describe some properties, which might be important for the Tarot, which is using the protocol in some low level way, since on it's config you should set the protocol very specific:


Looks like we "speak" only one of the DSM2 dialects...

The point "d" can fool the Tarot too: I don't know if they licence the protocol, or just reverse engineered it too, in which case they might interpret some conditions differently...

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

More
25 Oct 2012 14:53 #2425 by digitracer
Replied by digitracer on topic Tarot ZYX-S issue using satellite receiver

FDR wrote: I don't know if they licence the protocol, or just reverse engineered it too, in which case they might interpret some conditions differently...


So, would it be a bad idea to go and ask some Tarot engineers directly?
At least one does not give a miss to some chance of gaining the information needed.

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

More
25 Oct 2012 17:50 #2426 by vlad_vy

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

More
25 Oct 2012 19:02 #2427 by FDR
Wow, I think there are very useful informations! Thanks!

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

More
26 Oct 2012 02:07 #2430 by PhracturedBlue
Replied by PhracturedBlue on topic Tarot ZYX-S issue using satellite receiver
FYI, I got some additional logs from hammer22. They'll be helpful is supporting >7 ch and DSMX, but are unlikely to help much with the Tarot issue. Can someone provide a model file for whatever can be done with a Tarot today? From the above it appears that it it is possible to get aileraon and ele working? I'd like to see whatyou guys are using as a starting point, so I can see what is being transmitted in that configuration.
Also, flint posted thathe had a tart zyx working with DSM2 over on the RCG boards. I assume this is using a spektrum receiver, and not just the Sat, but that would probably be the ideal model.ini to start with, and I'd like to know what the Tarot behavior is with it.

Also, I turned in new code that should prevent the brownout issue. So far in my testing, it binds just as well as the current code, but I'd be interested in feedback from those with the means to test it out.

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

More
26 Oct 2012 17:20 #2435 by FDR
Has anybody with the Tarot tried it?

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

More
26 Oct 2012 18:34 #2436 by Wene001
Replied by Wene001 on topic Tarot ZYX-S issue using satellite receiver
I dont know how i can compile my own deviation release
and i get back my Devo8s on Sunday

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

More
26 Oct 2012 18:45 - 26 Oct 2012 18:48 #2437 by Wene001
Replied by Wene001 on topic Tarot ZYX-S issue using satellite receiver
Hello PB
Zyx-S is working with Deviation (1.1.2) in Receiver Mode with DSM2 Orange 6Ch Receiver(like the user in RCG board). All 6 Channels neutral. No mixers required.
Zyx-s is not working with Deviation (1.1.2) in DSM2 Satellite only mode
Aileron and Elevator are only displayed in config software (hardware not working at all) the other channels are displaying error.
Normally Number 0-100 is diplayed in the software if the stick is moved from one to the other side (Aileron an elevator do so)
The other channels are displaying invalid numbers like 3048 or so on.
Last edit: 26 Oct 2012 18:48 by Wene001.

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

More
26 Oct 2012 22:31 - 27 Oct 2012 02:15 #2438 by PhracturedBlue
Replied by PhracturedBlue on topic Tarot ZYX-S issue using satellite receiver
Thanks to vlad for that post, I now believe I know what needs to be done.
The dsm2 protocol does not require that channel data be sent in a specific order. Instead it encodes the channel number in each 16bit value. I did not know this, and have not been doing so.
I think this is why the tarot is confused.

As soon as I'm done testing, I will upload a new test build that you gyus can try out.

Edit: Actually, I'd already coded this, but hadn't documented it. But the channel ordering is different for each Tx, and maybe this is what the Tarot cares about.
Last edit: 27 Oct 2012 02:15 by PhracturedBlue.

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

More
27 Oct 2012 10:08 - 27 Oct 2012 13:32 #2439 by vlad_vy
Replied by vlad_vy on topic Tarot ZYX-S issue using satellite receiver

PhracturedBlue wrote: The dsm2 protocol does not require that channel data be sent in a specific order. Instead it encodes the channel number in each 16bit value.


I think that it used for ServoSync feature. If you select dual elevator mixing or 3-servo CCPM, ServoSync will see to it that those servos working together receive their pulses together. CCPM mixing = Aileron, Elevator and Pitch channels will be send in a row.



D1 is Aileron, D5 is Aux1 (pitch or second aileron ccpm), D2 is elevator.
Last edit: 27 Oct 2012 13:32 by vlad_vy.

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

More
27 Oct 2012 22:36 - 27 Oct 2012 22:36 #2446 by PhracturedBlue
Replied by PhracturedBlue on topic Tarot ZYX-S issue using satellite receiver
Here is a new build with my latest DSM2 fixes.
www.deviationtx.com/forum/5-news-announc...-dsm2-telemetry#2445
You should try using 6, 7, 8, 9 channels (regardless of what Tx you have) with each of the DSM2 options on the Tarot ZYX, and report back if anything works.
Last edit: 27 Oct 2012 22:36 by PhracturedBlue.

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

More
28 Oct 2012 19:17 #2456 by Wene001
Replied by Wene001 on topic Tarot ZYX-S issue using satellite receiver
Hello PB

Binding seems to be ok now
Orange 6Ch + 9 CH and Original Spektrum DSM2 Sat do binding and detect brownout like it should be.
But...
None of the channels are working for me.
6ch 7ch 8ch 9ch Mode testet on Orange 6ch and 9CH with rebinding every time.
Led lights solid as expected but none of the channels worked for me.
I can move the servos manually - no response
Tarot Zyx-s shows no channel response and is of coarse not working.

Werner

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

More
28 Oct 2012 19:23 #2457 by FDR
Which version is that?
He did some fix already about 4 hours ago...

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

More
28 Oct 2012 20:03 #2458 by Wene001
Replied by Wene001 on topic Tarot ZYX-S issue using satellite receiver
I tested with the version linked in Post #2446 in this Thread

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

More
28 Oct 2012 20:06 #2459 by FDR
Yep, but they were replaced in the meantime.
Please check the version info in the tx, or at least the version in the current filenames with the downloaded ones.

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

More
28 Oct 2012 21:22 #2461 by PhracturedBlue
Replied by PhracturedBlue on topic Tarot ZYX-S issue using satellite receiver
make sure the version is 'fc31fd71caa8' you can see this on the USB page, as well as the filename you downloaded. As FDR said, I uploaded the frimware, and then later replaced it with one that has actually been tested on a 6ch OrangeRx

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

More
28 Oct 2012 22:53 #2463 by Wene001
Replied by Wene001 on topic Tarot ZYX-S issue using satellite receiver
Tested again with newest version fc31fd71caa8
6Ch Orange works
9Ch Orange works in 6 and 7 Channel Mode
The 9 Ch Receiver binds in 8 Channel Mode too but the Led isnt going solid ?!?
7 Channels working
In 9 Channel Mode binding seems ok, but channel 8 is without signal (can move the servo manually) channel 9 is neutral (cant move manually) but there is no reaction on inputs assigned to channel 9.
Servo on Channel 9 moves 20 degrees one direction if you enter the channels (servo monitor) page, and comes back to neutral if you leave the channels page :-)

Zyx-s is now working with this firmware version.

While testing with my ZYX-S on highspeed digital servos in the heli i noticed that the servo movement is not 100% smooth.
Its like the servos are "stuttering".
Looks like the channel position is updated only 10 times a second or so. ?!?
Tested with my DX8 the servo movement is 100% smooth on the Zyx-S

Tested with an other Digital high speed servo on an "real" Rx like Orange 6 or 9Ch i cant reproduce this effect.

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

More
29 Oct 2012 01:23 - 29 Oct 2012 01:24 #2464 by PhracturedBlue
Replied by PhracturedBlue on topic Tarot ZYX-S issue using satellite receiver

Looks like the channel position is updated only 10 times a second or so. ?!?

The channels should be updated about once per 200 times per second (unless the drawing code is taking too long). I should probably do a test to see how quickly the update actually occurs. If the drawing code is causing channel calculation to slow down, I could possibly move channel update into an interrupt handler, though that is not ideal. Do you see the same jerky behavior with the orange RX without the Tarot?

Does the Tarot work with $ channels set to both 6 and 7?
Last edit: 29 Oct 2012 01:24 by PhracturedBlue.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum