which is MJX use protocol ?

More
04 Sep 2013 09:31 - 04 Sep 2013 09:40 #13547 by john
which is MJX use protocol ? was created by john
hello coders :)

helicopter MJX currently developing quite fast and stable, but I want to replace the TX of it because the design is not good

I do not know which protocol is used MJX ? Flysky A7105 nRF24L01 , cc2500 ... maybe are not them
Last edit: 04 Sep 2013 09:40 by john.

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

More
08 Sep 2013 13:19 #13648 by john
Replied by john on topic which is MJX use protocol ?
please help me . please :(

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

More
08 Sep 2013 15:53 #13650 by domcars0
Replied by domcars0 on topic which is MJX use protocol ?
Maybe nobody knows? Maybe you've better to ask to MJX ( www.mjxtoys.com/contact.asp ).

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:

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

More
11 Sep 2013 05:58 #13701 by john
Replied by john on topic which is MJX use protocol ?
thank domcar
I detected it use xtal 26mhz .I guess is cc2500 , because i see pin xtal is 8 and 10 .

Maybe protocol CC2500

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

More
11 Sep 2013 19:13 #13712 by victzh
Replied by victzh on topic which is MJX use protocol ?
You're confusing radio chip with protocol. Several different models can have same RF chip but different protocols. So if RF chip is CC2500 it does not mean that the protocol for the model is available.

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

More
12 Sep 2013 10:05 #13727 by mariashawn
Replied by mariashawn on topic which is MJX use protocol ?
Actually there is no documentation either, just the fact that something has changed.
The documentation (i.e. the user manual) is refreshed only on official releases... ;)

security+ study guide security+ study guide
ccnp pdf ccnp pdf

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

More
12 Sep 2013 10:21 #13728 by FDR
Replied by FDR on topic which is MJX use protocol ?

mariashawn wrote: Actually there is no documentation either, just the fact that something has changed.
The documentation (i.e. the user manual) is refreshed only on official releases... ;)

???

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

More
12 Sep 2013 14:52 #13732 by john
Replied by john on topic which is MJX use protocol ?
cc2500 of skytec protocol, someone try use for mjx ?

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

More
01 Dec 2013 23:03 - 01 Dec 2013 23:04 #16167 by btoschi
Replied by btoschi on topic which is MJX use protocol ?
I have sniffed some SPI traffic on a broken MJX F45 - the init sequence at bootup is for Beken BK2421, it looks just like deviationtx code (v202_init() in file protocol/v202_nrf24l01.c) - I think this is the init sequence shown in the datasheet, though I'm not absolutely sure about that.

I haven't digged too deep into the format, but payload looks like this:
CA 00 A4 72 40 40 40 43 3A 01 00 00 00 00 00 1E
CA 00 A8 72 40 40 40 43 3A 01 00 00 00 00 00 22
CA 88 B6 72 40 40 40 43 4A 01 00 00 00 00 00 B8
First one is sync code, last one is Checksum.

Channel hopping sequence (this is programmed using cmd 25 xx after receiving/sending)
2f 1f 2c 31 39 33 1b 2e 3d 3b 23 1e 18 21 3c 2b
(and restarts over)

I was not able to capture anything meaningful of the pairing sequence due to my cheapo Scana Logic, which has really limited RAM onboard.

Not too sure if that helps, but anyone more firm with the protocols should be able to figure out which protocol it can be, and which ones are ruled out by this.

Note that I'll get a much better logic analyzer around christmas (I hope) and I have the old RX board here (logic part okay, motors won't start) for further testing.
Last edit: 01 Dec 2013 23:04 by btoschi.

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

More
02 Dec 2013 04:48 #16176 by victzh
Replied by victzh on topic which is MJX use protocol ?
Buy a Saleae clone, they're nothing more that Cypress CY7C68013A with some discretes, so they're extremely cheap.

I doubt that the first one is a sync code, underlying packet structure of nRF24L01 does not require such code. It can be some semi-static flags, e.g. V202 passes different flags during binding and if you press extra buttons on TX.

Also, somewhere there is a TX id. It can be inside the packet, or can be just the address used by nRF24L01. In the latter case there should be a separate address for binding.

Frequency hopping depends on TX id, so you need to decipher it as well.

On a second thought, I took a look at the following things - packet size, frequency hopping length, packet typical layout - these telling 40 40 40 and 00 00 00 bytes. It is V202, with modified frequency hopping generation. Your TX id is most probably 0x43, 0x3A, 0x01. Take a look at V202 protocol's sent_packet function. Layout is the same as yours.

To figure out the correspondence between TX id and frequency hopping sequence you need to use the transmitter program modified to gather this information - it should reset the receiver, switch to new TX id, issue binding packets and logic analyzer should trace what frequencies this TX id makes the receiver to listen to. I used an Arduino code for this, if you want it, you can have it.

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

More
06 Dec 2013 18:31 #16341 by victzh
Replied by victzh on topic which is MJX use protocol ?
@btoschi, how's the progress? Need help?

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

More
09 Dec 2013 22:13 #16455 by btoschi
Replied by btoschi on topic which is MJX use protocol ?
Hi,

I was away last week and still waiting for my new logic analyzer.
Also I need to lend the MJX's TX from my colleague as I sniffed traffic when repairing it (actually the RX board had to be replaced - seems FETs or something were broken, at least motors did not spin up and servoes did not react after binding, even though MCU did work fine and servoes DID move on init. Strange thing, new board fixed that). Besides that my kids are keeping me busy, thus it will take some time to advance.

Still have the damaged RX board, so I won't need the heli itself, but unless I know how to bind I'll need the original TX (also checking eBay, but that takes a while...) :P

Do you know whether I can use a nRF board for testing (have two of them for arduino fun) or if I need to buy a Beken board for that?

Arduino code would be great, as that saves me time I'd spent on bugfixing my code :P

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

More
10 Dec 2013 03:44 #16461 by victzh
Replied by victzh on topic which is MJX use protocol ?
Check out bitbucket.org/rivig/v202 , it a code for real controller, which I used when reversed V202. It reads 4 analog signals - 4 sticks. It is a base setup of what I usually do with new protocol (so far I've done 2 totally myself - V202 and SLT, and Esky and Hisky I am bringing to shape). I also modify this code if I need to find out the frequency hopping pattern. I created a separate repo for it: bitbucket.org/rivig/tactic_slt which contains similar SPI decoding scripts, the TX code, and the sniffer. The sniffer requires some programmable logic, but it is not relevant for this protocol - I mainly shared it so you can use the structure, not the specific sniffing part.

Beken and nRF are more or less equivalent, you can use either. The code I wrote for Arduino shows how to test for and initialize a Beken.

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

More
14 Dec 2013 04:14 #16607 by john
Replied by john on topic which is MJX use protocol ?
Hello bitoschi

Mean is F45 used modul 2.4ghz BK2421 ?


when you complete, you can share few picture here ? I want use arduino to control PPM .
thanks

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

More
17 Dec 2013 02:09 #16728 by john
Replied by john on topic which is MJX use protocol ?
hi betoshi

can you answer me ?

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

More
17 Dec 2013 06:19 #16731 by victzh
Replied by victzh on topic which is MJX use protocol ?
Hard to tell. As far as I can tell gathering it from various sourcces, MJX changed their protocol from nRF24L01 (Beken is a clone of it) to CC2500. But may be I'm wrong, as I don't have any MJX models, can't tell first hand.

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

More
17 Dec 2013 20:43 - 18 Dec 2013 00:00 #16758 by btoschi
Replied by btoschi on topic which is MJX use protocol ?
Hi all,
sorry, I'm quiet busy right now.
Job is demanding, so are the kids :P

I've won a MJX F45 TX on eBay for some bucks and waiting for it to arrive, which will let me dig into the bind sequence when I have some spare time left.

I can definately confirm that F645 TX/RX revision 3 does use Beken chip as I have sniffed SPI traffic on both ends when I had TX and heli here, and the init sequence is for Beken (plus it has CE pin). Not too sure about older revision TX/RX as I had heard that these are not compatible, but that may be even the case with a slightly modified bind sequence with same RF chip ...

I have (possibly interesting) Photographs of some RX/TX units plus analysis of the hardware for some RC models, which I'd like to share sometime, though I don't know where to upload and where to share (Many are not too useful for this forum as they are WiFi, or even custom 2.4Ghz protocol using a special SoC for communication on both ends...).

Regarding CC2500 - it seems that's the chip used with the old protocol (F45 V1, X100) - one can see 26MHz xtals on these RF boards (just google for images). All newer models (F45 V2,V3, F46, F47, F48, ...) seem to be using the new BK2421 based protocol (tells the internet, not confirmed).
Last edit: 18 Dec 2013 00:00 by btoschi. Reason: comment regarding CC2500 added

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

More
18 Dec 2013 06:55 - 18 Dec 2013 06:57 #16767 by john
Last edit: 18 Dec 2013 06:57 by john.

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

More
18 Dec 2013 09:18 #16769 by victzh
Replied by victzh on topic which is MJX use protocol ?

john wrote: www.topstoys.com/mjx-f45019-receiver-pcb...ersion-2-p-3554.html


No, these boards are not 2.4GHz ones. 2.4GHz RF chip is a small QFN - Quad Flat No leads, any of them - CC2500, nRF24L01 etc.

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

More
18 Dec 2013 10:00 #16770 by FDR
Replied by FDR on topic which is MJX use protocol ?
The RF chip might be on the bottom side, but the tx antenna is definitely a 2.4GHz one...

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

Time to create page: 0.097 seconds
Powered by Kunena Forum