- Posts: 2631
Eachine CG023 protocols - what are they?
- goebish
- Offline
- I Void Warranties
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.
Please Log in or Create an account to join the conversation.
- czajunia
- Offline
- Posts: 66
Maybe a combination then with a common part. Something like XN_EACHINE or XN_CG023 / XN_CX10B / XN_CX10G / XN_H7, etc.
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Yes, they have different payload size, but they're pretty similar.victzh wrote: blue and green can be unified, right?
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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 ?
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
- Durete
- Offline
- Posts: 610
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
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.
- vasiliy_gr
- Offline
- Posts: 67
www.rcgroups.com/forums/showpost.php?p=31778974&postcount=119
Please Log in or Create an account to join the conversation.
- mbk17
- Offline
- Posts: 31
Thanks
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
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 !!!!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
- 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.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
- 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.
- Durete
- Offline
- Posts: 610
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Any chance of capturing camera functions ?
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Eachine CG023 protocols - what are they?