- Posts: 610
which is MJX use protocol ?
- Durete
- Offline
I'm waiting to meet with my buddy to capture SPI traces (again) from his X300C transmitter.
We captured some days ago the "conflictive" functions, but we make any mistake and they are useless.
In worse case, I just ordered a new X600, so don't worry the protocol will be fully hacked in a while.
Anyway, looking the good captures I took some days ago (not all captures were corrupted) , I can see there are 2 TX/protocol versions, so I guess will be needed for sure a protocol option.
Please Log in or Create an account to join the conversation.
- neorigel
- Offline
- Posts: 2
Any help would be really appreciated!
Please Log in or Create an account to join the conversation.
- Lukappaseidue
- Offline
- Posts: 15
Durete wrote: Just a quick update. I haven't forget this protocol
I'm waiting to meet with my buddy to capture SPI traces (again) from his X300C transmitter.
We captured some days ago the "conflictive" functions, but we make any mistake and they are useless.
In worse case, I just ordered a new X600, so don't worry the protocol will be fully hacked in a while.
Anyway, looking the good captures I took some days ago (not all captures were corrupted) , I can see there are 2 TX/protocol versions, so I guess will be needed for sure a protocol option.
HAPPY to see you again ... waiting for your work
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
You need a nRF24L01 module. The * in front of the protocol name means the module required for that protocol is not installed.neorigel wrote: Hi all. Sorry to be a complete nube, but I just had a quick question: Is it possible to bind an MJX X600 to a Devo 10 without an extra module installed? I've gone through all of the firmware updates with the most current nightly build (I even added Hexfet's protocol combo), so *MJXq is showing on my transmitter screen, but I still can't seem to get it to bind.
Any help would be really appreciated!
Please Log in or Create an account to join the conversation.
- neorigel
- Offline
- Posts: 2
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
Definitely there are 2 MJX protocol versions.
I will name this 2 versions as V1 for X600, X400, X300,... TXs (Mini size), and V2 for X800 and X900 TXs (Micro/Nano size).
Most V1 Quadcopters have Headless, RTH and share Function button to Flip/Camera depending on camera attached or not.
V2 Quadcopters doesn't have Headless or RTH and have 2 camera functions (Picture/Video)
Byte 10 is a sort of version control, and also are affected packets 11 and 14.
I guess we will need a protocol option to cover all functions.
Byte 10:
TX V1:
0x00 lights on
0x02 lights off (Seems to work only with newer V1 Quadcopters and don't work in V2 Quadcopters. At least doesn't work with my X800)
TX V2:
0x10 lights on
0x11 flip by button (seems to work with V1 Quadcopters)
0x12 lights off (seems to work only with newer V1 Quadcopters, ex. X300C and newer X600)
Byte 11:
TX V1:
0x00 RTH Off
0x01 RTH On (doesn't work with V2 Quadcopters since they don't have Headless/RTH)
TX V2:
0x00 Always
Byte 14:
TX V1:
0xC0 Bind Stage.
0x00 Beginners Mode (low rates)
0x02 Intermediate Mode (High rates with Auto-Flip Disabled)
0x04 Expert Mode (High rates with Auto-Flip Enabled)
0x10 Function Button (Flip without camera attached, Camera when attached)
0x20 Headless Mode (doesn't work with V2 Quadcopters since they don't have Headless/RTH)
TX V2:
0xC0 Bind Stage.
0x00 Beginners Mode (low rates)
0x02 Intermediate Mode (High rates with Auto-Flip Disabled)
0x04 Expert Mode (High rates with Auto-Flip Enabled)
0x08 Picture Function (When camera attached)
0x10 Video Function (When camera attached)
Here are my SPI captures from the X300C TX.
dl.dropboxusercontent.com/u/14941708/X300C_Traces.zip
@ Hexfet. Could you help us to code this mess?
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
I managed to add 3 protocol options (Format) on this protocol. WLH08, X600 and X800.
The first format option, as you know is to control the WLH08 Quadcopter.
The X600 option is for X600, X300 and similar Quadcopters (I don't know all models ) with Headless and RTH.
The X800 option is for X800 and X900, so micro/nano size without headless nor RTH.
Please test and report how is working for you guys. Very interested to test especially with X600 and WLH08 Quadcopter.
I didn't modify almost nothing at WLH08 code (at least intentionally ) , but should be better to test.
On X600, X300 and so on, should be work Headless mode, RTH, 2 types of flips (channels 6 and 11) and light control in some models as reported before. The X600 share the flip button for Video function when camera is attached. In case somebody could test with a camera attached, the video function should be channel 11.
On X800 should be work light control, Picture/Video (untested till now) and 2 types of flips (channels 6 and 11).
This is the full channel map:
CHANNEL1, // Aileron
CHANNEL2, // Elevator
CHANNEL3, // Throttle
CHANNEL4, // Rudder
CHANNEL5, // Leds (Working reversed as usual, and reported to work only in some models)
CHANNEL6, // Flip Mode
CHANNEL7, // Still camera (Only in X800)
CHANNEL8, // Video camera (Only in X800)
CHANNEL9, // Headless (Only in X600, X300C, X400 V2 and similar Quadcopters)
CHANNEL10, // Return To Home (Only in X600, X300C, X400 V2 and similar Quadcopters)
CHANNEL11, // AutoFlip by button (Video when camera attached on X600)
And here is the Devo 7e test build:
Build removed because I need to correct the rudder channel
As I wrote before many times, this is 99% Hexfet's code, so thanked to him
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
Can Hexfet, includes your new MJXq code into his combo test ?
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
Hexfet has this code, I guess he will take a look when he has some free time.
I don't know what code he used on his last combo build, but this one have all latest protocols, including MT9916 from Goebish
Edit: BTW, did you test with your X800, X900, X600 or WLH08 quadcopters? You could test all options
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
I forgot to disable the rudder Dynamic trims, and the rudder channel isn't working fine
I will correct the code and re-upload again in a few hours
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
dl.dropboxusercontent.com/u/14941708/dev...e-v4.0.1-337f038.zip
Please Log in or Create an account to join the conversation.
- Lukappaseidue
- Offline
- Posts: 15
I hope to mod my devo 7e this week end to test it with my x600
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
including Headless, light control and RTH on X300C with X600 protocol format
Tests on X600 and WLH08 are required.
The only not tested functions till now, are Picture/Video on X800 (using the MicroSd card Cameras from MJX)
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
The headless mode is a little bit "weird" using Devo.
I'm guessing the driven trims on Aileron and Pitch are affecting the Headless function...
I will try acivate driven trims only when headless is disabled.
New test build in a few hours....
More tests are welcome !
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
Thank you
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
Anyway, here is my X800 and X600 model files (including icons) with all functions/channels configured for every model.
Edit: The X600 model file is not tested, since I haven't receive yet, but should be ok.
Please Log in or Create an account to join the conversation.
- AdventuresInDroning
- Offline
- Posts: 5
Please Log in or Create an account to join the conversation.
- AdventuresInDroning
- Offline
- Posts: 5
AdventuresInDroning wrote: First of all thanks for doing this! I've updated my deviation version to the dfu file you supplied and copied over the protocol folder after. I see the MJX 600 under my models on my controller using MJXq protocol but all I can do is bind and reset gyro. Odd think is the only thing that makes the props go crazy is flipping the hold switch on the devo7e (channel 5?). What am I doing wrong? Trying help test so sorry if this is a simple/stupid thing.
Disregard, Durete's last post including his model files did it. I guess I needed to setup the channels, I had assumed that was already done. Will test fly today, great job!
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
I need to verify the file, stupid me to just have it loaded into the 7E without verification, for each quad I choose the X600 or X800 option in the protocol options.
I'll try your new files tomorrow and report back, unfortunately he hasn't got a camera so no test for video.
Thank you mate.
Please Log in or Create an account to join the conversation.
- Durete
- Offline
- Posts: 610
Upsss.... I hope everything is fineblackmoon wrote: Durete, I was at my friends house and just tested the two files that are on page 11, the X800 I think it's yours worked like a charm (only flight and lights testing), but the file for the X600 (from Morphin) scared the hell out of me, something is wrong with that one, as soon as I released the THold switch and stick to bottom, the motors jumped to full, stick to max cut the motors
I need to verify the file, stupid me to just have it loaded into the 7E without verification, for each quad I choose the X600 or X800 option in the protocol options.
I'll try your new files tomorrow and report back, unfortunately he hasn't got a camera so no test for video.
Thank you mate.
Yep, the X800 file from page 11 is mine.
My X600 model file from 4 post ago, is a copy from my X800 model file, adding the missing channels/functions. It's fully untested but should be ok.
I need to figure out how to disable the driven trims when headless mode is enabled to compile a new build to test. I'm not a programmer and is difficult to me
I will do it as soon as possible.
Thank for testing to everyone!
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- which is MJX use protocol ?