Eachine CG023 protocols - what are they?

More
17 May 2015 00:06 - 17 May 2015 00:07 #32674 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Maybe I'm wrong but I think using a common protocol for all xn297 models is not a good idea.
The protocols (cg023 / cx10 "green" / cx 10 "blue" / H7) are different, code would be ugly.

EAchine is not a good name either because they also use chips other than xn297.
Last edit: 17 May 2015 00:07 by goebish.

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

More
17 May 2015 00:23 - 17 May 2015 00:41 #32675 by czajunia
Replied by czajunia on topic Eachine CG023 protocols - what are they?
You probably right.
:unsure:
Maybe a combination then with a common part. Something like XN_EACHINE or XN_CG023 / XN_CX10B / XN_CX10G / XN_H7, etc.
Last edit: 17 May 2015 00:41 by czajunia.

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

More
17 May 2015 00:55 #32676 by victzh
Replied by victzh on topic Eachine CG023 protocols - what are they?
Too long, Deviation protocol name should be short. XN prefix is not needed in the protocol name, no other protocol has it and generally, users don't care. I'd suggest CG023, CX10 (blue and green can be unified, right?), EAH7 (There can be another H7 - too short a name), etc.

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

More
17 May 2015 00:59 #32677 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?

victzh wrote: blue and green can be unified, right?

Yes, they have different payload size, but they're pretty similar.

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

More
17 May 2015 05:48 #32681 by SeByDocKy
Replied by SeByDocKy on topic Eachine CG023 protocols - what are they?

victzh wrote: Too long, Deviation protocol name should be short. XN prefix is not needed in the protocol name, no other protocol has it and generally, users don't care. I'd suggest CG023, CX10 (blue and green can be unified, right?), EAH7 (There can be another H7 - too short a name), etc.


I am afraid in a future, there will be a lot of new protocols implemented with tiny variations. Are CG023 and H7 protocol very different actually ?

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

More
17 May 2015 10:17 #32684 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Yes, they are.

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

More
24 May 2015 12:11 #32914 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
@ Goebish
Did you change something related with the channel order or reversed throttle channel after push the code into the repo?
There are a report at RCGroups and another by Frequent Flyer at YouTube talking about weird things with some channels after merge the code, different than the experimental build.
This reports are related using the CG023 protocol with the Attop YD-829, not with the CG023.
With the experimental build seems to work more or less ok, but with the nightly build the throttle channel is reversed and channels 1 and 2 moved.
I have not checked myself, my YD-829 is on the slow boat yet.
Sorry to be so concise, I haven't tested myself and don't have the precise information.

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

More
24 May 2015 12:15 - 24 May 2015 12:21 #32915 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
That's weird, I don't remember I've changed something in the code between the test build and my commit ...
Anyway, if you only have to swap / invert some channels with Attop machines, that's not a big deal, I could add an extra protocol option for that, but is it worth the trouble as Deviation can already handle it ?
Last edit: 24 May 2015 12:21 by goebish.

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

More
24 May 2015 12:19 #32916 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
I think the only thing that changed between the test build and the code commit is that I added rate selection in protocol option, but it defaults to High, same as test build ...
Note that I have moved rate selection from protocol option to channel 10 in my latest commit but it hasn't been pushed to main branch yet.

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

More
24 May 2015 12:22 #32917 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?

goebish wrote: I think the only thing that changed between the test build and the code commit is that I added rate selection in protocol option, but it defaults to High, same as test build ...
Note that I have moved rate selection from protocol option to channel 10 in my latest commit but it hasn't been pushed to main branch yet.


Yep, I know, it's not merged yet.
Ok, don't worry I will test myself and provide you more info after receive my quad. Please, don't worry and thanks!

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

More
24 May 2015 12:26 #32918 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Oh I don't worry, worst case you'll have to submit captures from your cg023 and attop stock transmitters (if you bought a rtf) to help tackle the issue ;)

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

More
24 May 2015 12:39 #32920 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
Yep, no problem, I will submit SPI captures from my Attop TX in case don't work (I don't have the CG023).
BTW, you can take a look here at RCGroups where a user report the issues:
www.rcgroups.com/forums/showthread.php?p=31701272

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

More
01 Jun 2015 18:51 #33330 by vasiliy_gr
Replied by vasiliy_gr on topic Eachine CG023 protocols - what are they?
As I had doubts where I should post my testing results of YD-829 with deviation - posted them here:
www.rcgroups.com/forums/showpost.php?p=31778974&postcount=119

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

More
02 Jun 2015 23:54 #33372 by mbk17
Replied by mbk17 on topic Eachine CG023 protocols - what are they?
Read through this thread but couldn't quite clarify if the Eachine H8 mini is currently compatible and/or working with deviation. If someone could answer this and if it yes provide a method how to bind with the 7e that would be great.

Thanks

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

More
05 Jun 2015 22:46 - 11 Oct 2015 23:53 #33486 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
Hi Goebish :)

I captured SPI traces from stock YD-829 TX. According some people the CG023 TX control fine this quadcopter, but the current CG023 implementation at DeviationTX seems to have a lot of problems to fly the YD-829.
I captured every channel/function in a single file.
Bind sequence at one file
Pitch/Roll/Yaw and Throttle, I captured at every rate (Stock TX has 3 rates) starting from low rates, full stick movement at every rate.
Flips. I captured 4 flips. One at every side.
Headless mode. I captured on-off headless for 2 times.
Trims adjustments. One single file for every Trim. The captured is detailed in the name of each file.
Since I bought the no camera version, my TX doesn't have the camera buttons, maybe the CG023 camera functions could be the same... We need to figure it. ;)

SPI captures removed

Thanks !!!!
Last edit: 11 Oct 2015 23:53 by Durete. Reason: Removed SPI captures not needed actually

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

More
05 Jun 2015 23:07 - 05 Jun 2015 23:12 #33487 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
I think I need captures of stuffs that don't work as expected:
- rates
- light

Also, are you sure a stock cg023 controller can control a YD-829 ? Looks like it's the same protocol except aileron is reversed and flags are all mixed up.

edit: oh ok, rates are already in your last captures.
Last edit: 05 Jun 2015 23:12 by goebish.

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

More
05 Jun 2015 23:24 #33488 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
I can add a protocol option but need a few more captures:

- leds on/off
- photo snapshot
- video on/off

Photo & video are not the same than for cg023, their flags are used for rates on yd-829.
Even if you have the version without camera maybe your tx has the buttons ? Or at least the pads for them on the pcb ;) ?

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

More
05 Jun 2015 23:26 #33489 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
The YD-829 doesn't have light control... at least is not explained at the manual :dry:

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

More
05 Jun 2015 23:28 #33490 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Ok, I'm asking because according to the rcg thread some flags combination can cause the leds to flicker...

Any chance of capturing camera functions ?

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

More
05 Jun 2015 23:28 - 05 Jun 2015 23:29 #33491 by Durete
Replied by Durete on topic Eachine CG023 protocols - what are they?
Sorry, my TX doesn't have the camera buttons or pads at the pcb. There is an small ribbon at the main PCB uses at the camera version to connect an small PCB with the camera buttons. Maybe I could try to bridge some traces at this ribbon to find "something" :whistle:
Last edit: 05 Jun 2015 23:29 by Durete.

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

Time to create page: 0.101 seconds
Powered by Kunena Forum