Eachine CG023 protocols - what are they?

More
29 Dec 2014 19:59 #27316 by avroarrow4ever
Eachine CG023 protocols - what are they? was created by avroarrow4ever
Hi all, I hope I am writing this in the right section. I just ordered an Eachine CG023 (Blade nano QX clone) from BG, just wondering what protocol it uses and if Deviation will work with it. I have a Devo 10 in transit to me with both additional modules, but won't be here for a while. Just planning ahead. Thanks.

For those who are curious,
www.banggood.com/Eachine-CG023-Mini-2_4G...er-RTF-p-956820.html

Cheap as hell, $22.99USD RTF, even cheaper if you use "bestbg" as a discount code.

Thanks.

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

More
29 Dec 2014 20:42 - 29 Dec 2014 20:43 #27317 by btoschi
Replied by btoschi on topic Eachine CG023 protocols - what are they?
Hi,

I'm pretty sure you will find a LT8910 RF chip inside the quadcopter and the transmitter, as that's what is inside Eachine CG022 and H1, see www.deviationtx.com/forum/protocol-devel...-h1-a-k-a-mini-ninja for H1 protocol details.

This means: This one is currently not supported by Deviation and needs some work to go.

One and only way to harvest a (short range) LT8910 module I know is to get hands on the transmitter of a tiny quadcopter which is labeled as "CX033" nano 6-axis quadcopter (V272 clone, NOT the cheerson mini-phantom). This one:


But still you would need to attach that small RF module to your Devo and have an implementation of the proper protocol in DeviationTX.

That requires attaching a logic analyzer to sniff SPI traffic to RF chip on transmitter side (as protocol is 99.9% not the same as on CG022).
Plus someone willing to spend (and actually have) time to implement, test and finalize code for Deviation.

Even that I have SPI captures, two CX033 and a CG022 to test LT8910 integration and am able to do the coding, testing and finalization - I don't have spare time yet.
Family fun (three small kids) plus way too much unfinished projects waiting for me :)
Last edit: 29 Dec 2014 20:43 by btoschi.

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

More
29 Dec 2014 20:56 #27318 by avroarrow4ever
Replied by avroarrow4ever on topic Eachine CG023 protocols - what are they?
Thanks for the reply. Once I get the CG023 I'll take pics of everything and see what's inside. Hopefully in the near future a solution will be found.

I too have three young kids running around, so I know what it is like! :-)

Thanks again!

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

More
30 Dec 2014 21:05 - 30 Dec 2014 21:08 #27358 by mikemacwillie
Replied by mikemacwillie on topic Eachine CG023 protocols - what are they?
I just got one Yesterday.. It's got an XN297 in the quad (Impossible to photograph with my phone..)

Here's the TX module:

copy.com/thumbs_public/8S4sYjeA22UJaaTb/IMAG0372.jpg?size=1024
Last edit: 30 Dec 2014 21:08 by mikemacwillie.

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

More
31 Dec 2014 15:26 - 01 Jan 2015 14:31 #27383 by avroarrow4ever
Replied by avroarrow4ever on topic Eachine CG023 protocols - what are they?
I googled it (XN297) quickly. It is apparently made by Panchip mainly for a wireless mouse! :ohmy:

Here is the spec page....
www.panchip.com/en/products_show.aspx?cid=63&id=333
Last edit: 01 Jan 2015 14:31 by avroarrow4ever.

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

More
11 May 2015 09:10 - 14 May 2015 14:49 #32382 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
I just uploaded Devo7e & Devo10 test builds for EAchine 3D X4 and CG023.
Should be compatible with Attop YD-829 and YD-829C too (need aileron reversal)

Requires NRF24L01 module, please report :)

www.deviationtx.com/downloads-new/catego...-cg023-nrf24l01-test
Last edit: 14 May 2015 14:49 by goebish.

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

More
11 May 2015 15:40 #32396 by victzh
Replied by victzh on topic Eachine CG023 protocols - what are they?
I have extremely bad luck with Eachine 3D X4 - the props are so brittle that I managed to break left forward one twice! I'm out of props, nothing else fits this heli (the props should be flat), slow boat from banggood is coming in in a month or two!

I'll check your code with a black prop instead of nice white one!

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

More
11 May 2015 15:45 - 11 May 2015 15:45 #32397 by victzh
Replied by victzh on topic Eachine CG023 protocols - what are they?

avroarrow4ever wrote: I googled it (XN297) quickly. It is apparently made by Panchip mainly for a wireless mouse! :ohmy:

Here is the spec page....
www.panchip.com/en/products_show.aspx?cid=63&id=333


CYRF6936 was intended for wireless mice originally as well :-) And nRF24L01+ is used by Microsoft and Logitech in their wireless mice and keyboards.

XN297 is hacked, so some of XN297-based helis is not too hard to cover. Some are still a problem.
Last edit: 11 May 2015 15:45 by victzh.

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

More
11 May 2015 15:50 #32399 by avroarrow4ever
Replied by avroarrow4ever on topic Eachine CG023 protocols - what are they?
I have my batteries on the chargers now, and I hope to get to trying it out later tonight. My CG023 I think has a bad motor (haven't used it in a while), but I should be able to report on basic stuff. I'll keep everyone posted. Thanks again!

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

More
12 May 2015 04:04 #32429 by avroarrow4ever
Replied by avroarrow4ever on topic Eachine CG023 protocols - what are they?
goebish: Thanks for the file, seems to work ok. I'll go into more details below.

TX: Devo 10
Quad: CG023 with the Right Rear motor failing. Also using a 300mah battery.

-TX flashing OK, no problems.
-Made a new file from within the TX, found the Eachine protocol, binded OK, no problems.

Did not fly well, it was all over and hard to predict.

Copied and modified a working V911 file, or I should say I copied the control bits of the V911 file into the CG023 one. Had to remove all reverse codes. It seems to fly the same now as the stock TX, but with the motor failing it drifts back and to the right.

I am not 100% familiar with the model building codes, so I still need to program in the led lights and such. On the next nice day outside I'll take it to the park and see what I can figure out. It is a bit cranky to fly inside. :-)

In the mean time, I've attached my model.ini file for all to see and mod.

Thanks again for making the flash upgrade!
Attachments:

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

More
12 May 2015 09:29 - 12 May 2015 09:56 #32436 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Cool, first reports from here and rcg seems to indicate it's working fine, for both machines.

Say thanks to victzh, he's the wizard who made this possible ;)

Note that there are still a few things unimplemented:
- rate is fixed to 100%, using dual rate is not a good option because controls have a low resolution (only 7 bits per channels for roll / pitch / yaw).
- trims are not implemented (they are on the RX side, I'm not sure where to put them in deviation, protocol options dialog ?)
- can't support many aircraft flying at the same time, I've to crack TX id / RF channel relationship (should be easy as there's no channel hopping)
Last edit: 12 May 2015 09:56 by goebish.

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

More
12 May 2015 13:45 #32443 by vasiliy_gr
Replied by vasiliy_gr on topic Eachine CG023 protocols - what are they?
I decided to try also 7e build (I already reported yesterday on rcg my results with devo10). But there is a problem - I have "Bad/missing protocol modules!" message on restart with EachineX4 protocol selected. All other protocols seems to work correctly. Protocol executable is stored on 7e's FS:
vasil@vgserver:/var/run/media/vasil/76B7-F536/protocol> sha1sum eachinex4.mod 
feb30ca276c5f97e2785b84c0055fff6c055f286  eachinex4.mod
I tried reloading dfu and rewriting protocol directory - nothing helped.

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

More
12 May 2015 13:52 #32444 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Привет!

Ok, I'll try to rebuild after a distclean and will upload this evening, I can't test myself as I do not have a Devo 7e.

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

More
12 May 2015 14:12 #32445 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
... or maybe there's a limitation on the filesystem and it doesn't work because "eachinex4" is more than 8 characters long, I'll shorten it.

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

More
12 May 2015 14:46 - 12 May 2015 14:46 #32449 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?
Files updated, same url, new protocol name: EAchine4:
www.deviationtx.com/downloads-new/catego...-cg023-nrf24l01-test

Thanks very much for testing and reporting, gotta love this community :)
Last edit: 12 May 2015 14:46 by goebish.

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

More
12 May 2015 15:19 #32450 by hexfet
Replied by hexfet on topic Eachine CG023 protocols - what are they?

goebish wrote: Cool, first reports from here and rcg seems to indicate it's working fine, for both machines.

Say thanks to victzh, he's the wizard who made this possible ;)

Thanks to victzh and you both. Been wanting to try a 3d quad :)

goebish wrote: - rate is fixed to 100%, using dual rate is not a good option because controls have a low resolution (only 7 bits per channels for roll / pitch / yaw).
- trims are not implemented (they are on the RX side, I'm not sure where to put them in deviation, protocol options dialog ?)

Probably biased but recommend the approach in the yd717 and symax protocols:
- Quad always set to highest rate. Use Deviation scale in mixes to adjust stick response.
- Use the trim channels to extend control range by driving the trim with appropriately scaled channel value. Deviation trims handle any real trim adjustments.

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

More
12 May 2015 15:48 #32454 by vasiliy_gr
Replied by vasiliy_gr on topic Eachine CG023 protocols - what are they?

goebish wrote: Files updated, same url, new protocol name: EAchine4:
www.deviationtx.com/downloads-new/catego...-cg023-nrf24l01-test

Thanks very much for testing and reporting, gotta love this community :)

Привет! :)
I checked the updated 7e build. Now everything is ok. Cg023 is flying greately. Previously I reported some strange behaviour with light channel - now it's gone. So it was simply LVC warning with old battery in my case.

And again - many thanks for you and all those who make it possible.

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

More
12 May 2015 17:15 - 12 May 2015 17:25 #32458 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?

hexfet wrote: Been wanting to try a 3d quad :)


Mind this is a toy, not a real 3D aircraft nor trainer:

- no rate ("acro") mode, you can't disable the accelerometer and fly on gyroscope only.
- low throttle is -100 (TX stick) , not 0 :angry:

... if I remember well it's using a Cortex M0 stm32 MCU and mpu6050 ... may try to port bradwii on it later ;)
Last edit: 12 May 2015 17:25 by goebish.

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

More
12 May 2015 20:07 #32464 by victzh
Replied by victzh on topic Eachine CG023 protocols - what are they?
And if it's upside down throttle up moves it up, not down as in the real 3D heli.

I am not a big fan of using protocol trims as extension for the range. It can be implemented differently for different models - different multiplier or even different sign of multiplier. So for one model it would extend the range, and for another - contract.

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

More
12 May 2015 20:37 #32466 by goebish
Replied by goebish on topic Eachine CG023 protocols - what are they?

victzh wrote: using protocol trims as extension for the range.


Ah yes, you mean I could use the protocol trims to extend the range for >100% scale, maybe it would work.

That's what I did for a PPM to IR adapter for 3 channels toy copters to extend yaw range, it's working fine
github.com/goebish/irTxAdapter

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

Time to create page: 0.096 seconds
Powered by Kunena Forum