Eachine CG023 protocols - what are they?

More
06 Jun 2015 23:36 - 06 Jun 2015 23:37 #33562 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
This means we're reaching the limits for Devo 7e...
But this still doesn't explain our problem... :(

I could push the code with shorter period, but I don't like knowing something is fishy...
Last edit: 06 Jun 2015 23:37 by goebish.

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

More
07 Jun 2015 00:32 #33564 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
The weird thing is at Devo 10 is working with 4100 period ;)

At least I finished to install the environment :P

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

More
07 Jun 2015 01:01 #33565 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
Why this error?
+ Compiling 'pages/128x64x1/advanced/mixer_limits.c'
 + Compiling 'pages/128x64x1/advanced/mixer_page.c'
 + Compiling 'pages/128x64x1/advanced/mixer_setup.c'
 + Building 'devo7e.elf'
 + Optimizing placement and re-linking
  File "./../utils/dfu.py", line 42
    print 'File: "%s"' % file
                     ^
SyntaxError: Missing parentheses in call to 'print'
make: *** [devo7e.dfu] Error 1

Trying to build latest DeviationTx Repo, or Goebish Repo.
Using GNU Tools ARM Embedded 4.8 2014q1

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

More
07 Jun 2015 01:05 #33566 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
That's probably because you're using python 3 but python 2 is required instead.

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

More
07 Jun 2015 01:06 - 07 Jun 2015 01:07 #33567 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
Right! I installed latest Pyton :P
Thanks!!!!
Last edit: 07 Jun 2015 01:07 by Durete.

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

More
07 Jun 2015 09:54 - 07 Jun 2015 09:56 #33573 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
How many could be the shortest safe period value to test?
We found with 2050 the delays are little noticeable, but what lowest value we could test?
Sorry about hammering the thread, but it's weird in Devo 10 is working perfect at stock packet period, and with the same code the 7e needs shorter period...

PS. Finally my environment is building perfect :) . Thanks guys!
Last edit: 07 Jun 2015 09:56 by Durete.

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

More
07 Jun 2015 10:54 - 07 Jun 2015 10:55 #33575 by vasiliy_gr
Replied by vasiliy_gr on topic Eachine CG023 protocols - what are they?
Hi, comrades! I have a new interesting idea and new test results on yd-829.

I started with idea - may be the problem is not in devo7e itself but in modules difference between those I have there in devo7e and devo10?.. In 7e I have that '+PA' module from BG. And in 10 I have module from wltoys stock TX. So the last is (or I think it to be) without PA.

So in 7e I have 'has_pa-nrf24l01 = 1' setting on, and in 10 it is commented out. And I really had problems previously if it is set other way. But for this test I reversed this setting on both devo's. Also I installed 4100 firmware on both to be exactly sure to receive highest delay issue.

The result on devo10 - nothing changed, no delay at all. On 7e with 4100 - it is nearly ok, delay is very low, similar to delay with 2050 firmware or even less. With 2050 firmware I do not feel delay at all.

So... Certainly it is not a solution. As has_pa-nrf24l01 setting do have some meaning, I believe, and should not be altered for this reason. But there can be some incompatibility with protocol code (or its chip emulation level) and PA handling code.

I expect this can be helpful.
Last edit: 07 Jun 2015 10:55 by vasiliy_gr.

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

More
07 Jun 2015 11:34 - 07 Jun 2015 12:22 #33577 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
@Durete, it should be safe to go as low as 1300, that's what the green CX-10 protocol uses, but this is not a proper solution, it should work with 4100.

@vasiliy_gr, strange, from my understanding, has_pa-nrf24l01 only affects output power for range tests, but maybe I'm wrong. We've no control over the PA on those boards anyway (unlike the A7105-d03), it's always enabled.
Last edit: 07 Jun 2015 12:22 by goebish.

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

More
07 Jun 2015 11:41 #33578 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?

goebish wrote: @Durete, it should be safe to go as low as 1300, that's what the green CX-10 protocol uses, but this is not a proper solution, it should work with 4100.


Yep, I agree with you. I don't feel confident knowing something weird is going :(
I will build with 1300 period, only for testing...

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

More
07 Jun 2015 11:53 #33579 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
With 1300 period, as expected the delay is almost the same as with 2050 period, or very slightly noticeable.

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

More
07 Jun 2015 12:32 #33580 by czajunia
Replied by czajunia on topic Eachine CG023 protocols - what are they?
Hi guys. I know it's a little bit late as this has already been tested properly but just wanted to report that I managed to give it a go this morning and my finding are essentially the same as what has already been reported. 4100 was kinda flyable but it was weird to control the quad. This delay feels as if there is some communication interruption or something. Like as if not all the packets are being received/sent or just being lost. What I mean is that when I moved the stick in one direction the quad would start flying in that direction pretty much without delay but there would be some jerkiness in the movement meaning that instead of going smoothly in one direction it would start smoothly and then suddenly accelarate (jump). But I guess we can say this is just a delay.

I thought that with 2100 it was flying quite good actually. Didn't have much time to test it but it felt almost OK. If I didn't have an original radio and wasn't aware of the issue I could think this was how the quad flew. Didn't have time to tes 2050 or anything below that.

What I also noticed (this probably has nothing to do with the issue discussed here and was just a coincidence but I thought I'd mention it) that the quad seem to be drifting in one direction quite badly on the 4100 and noticably less at 2100 even though I haven't changed the trims or anything. I didn't notice any drifitng with stock controller. It proably just needs some calibration though.

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

More
07 Jun 2015 12:35 - 07 Jun 2015 12:37 #33581 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
I don't see any drifting issue. The quad drift sometimes when you release the stick but is because the delayed communication.
Last edit: 07 Jun 2015 12:37 by Durete.

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

More
07 Jun 2015 12:36 #33582 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Thanks czajunia, which Devo model and nRF24l01 board do you have ?

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

More
07 Jun 2015 16:02 #33586 by vasiliy_gr
Replied by vasiliy_gr on topic Eachine CG023 protocols - what are they?
Repeated my own tests with disabling PA on Devo7e - and can't reproduced the previous result. Now delay is the same no matter this setting. Meanwhile on Devo10 there is still no delay.

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

More
07 Jun 2015 16:16 #33587 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
I was going to post when I saw your post.
I repeat your test some minutes ago with my own build (4100 period and PA disabled) and didn't notice any difference.
The same delay as with PA enabled.
My 7e has the same PA+ module from Banggood as your.

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

More
07 Jun 2015 17:56 #33589 by czajunia
Replied by czajunia on topic Eachine CG023 protocols - what are they?

goebish wrote: Thanks czajunia, which Devo model and nRF24l01 board do you have ?

Sorry, forgot to mention this. I have 7E and the PA+ module from Banggood.

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

More
08 Jun 2015 15:59 #33632 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
More tests...
Since I am testing 2 protocols under development, I compiled my own build using latest DeviationTX repo + Goebish YD-829 + First test version for Hontai from Hexfet.
This time I compiled using 4100 period, as stock TX.
I found using Fixed ID we have the delay at commands always, but with blank Fixed ID, and after some power resets (TX and Quadcopter) sometimes I managed to bind/fly almost perfect.
If I'm not wrong, when we don't have Fixed Id, the TX is calculated using some unique internal serial number from TX.
Could be the delay issue related with the TX ID?
@ Goebish, since I share my SPI captures, and we have my TX id and RF channels related, please could you build a test version using as TX id and RF channels my owns?
Only for testing purpose, because I have the hunch this weird issue is related with this values.
Thanks!

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

More
08 Jun 2015 16:14 - 08 Jun 2015 16:15 #33635 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
I don't think this is related, but this is worth a try, here's the protocol source file with your stock transmitter ID and rf channel hardcoded.
gist.github.com/goebish/2c2a7502b211fbda2d8f
Last edit: 08 Jun 2015 16:15 by goebish.

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

More
08 Jun 2015 17:12 - 08 Jun 2015 17:12 #33637 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
Just tested. You were right :( No change at all.
I'm run out of ideas :(
I noticed something that in previous tests I didn't recall. You can noticed the delay even at floor, before take off, making fast changes at throttle stick. But when you are in the air and past some time I have the sensation the delays are gone... I don't know... :huh:
Last edit: 08 Jun 2015 17:12 by Durete.

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

More
08 Jun 2015 18:10 #33642 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
What if you lower output power ?

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

Time to create page: 0.086 seconds
Powered by Kunena Forum