- Posts: 16
Eachine CG023 protocols - what are they?
- avroarrow4ever
- Topic Author
- Offline
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.
- btoschi
- Offline
- Posts: 151
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
Please Log in or Create an account to join the conversation.
- avroarrow4ever
- Topic Author
- Offline
- Posts: 16
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.
- mikemacwillie
- Offline
- Posts: 152
Here's the TX module:
copy.com/thumbs_public/8S4sYjeA22UJaaTb/IMAG0372.jpg?size=1024
Please Log in or Create an account to join the conversation.
- avroarrow4ever
- Topic Author
- Offline
- Posts: 16
Here is the spec page....
www.panchip.com/en/products_show.aspx?cid=63&id=333
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
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.
- victzh
- Offline
- Posts: 1386
avroarrow4ever wrote: I googled it (XN297) quickly. It is apparently made by Panchip mainly for a wireless mouse!
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.
Please Log in or Create an account to join the conversation.
- avroarrow4ever
- Topic Author
- Offline
- Posts: 16
Please Log in or Create an account to join the conversation.
- avroarrow4ever
- Topic Author
- Offline
- Posts: 16
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!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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)
Please Log in or Create an account to join the conversation.
- vasiliy_gr
- Offline
- Posts: 67
vasil@vgserver:/var/run/media/vasil/76B7-F536/protocol> sha1sum eachinex4.mod
feb30ca276c5f97e2785b84c0055fff6c055f286 eachinex4.mod
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
www.deviationtx.com/downloads-new/catego...-cg023-nrf24l01-test
Thanks very much for testing and reporting, gotta love this community
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
Thanks to victzh and you both. Been wanting to try a 3d quadgoebish 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
Probably biased but recommend the approach in the yd717 and symax protocols: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 ?)
- 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.
- vasiliy_gr
- Offline
- Posts: 67
Привет!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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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
... if I remember well it's using a Cortex M0 stm32 MCU and mpu6050 ... may try to port bradwii on it later
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
- Home
- Forum
- Development
- Protocol Development
- Eachine CG023 protocols - what are they?