JJRC H26D

More
15 Jan 2016 09:04 - 15 Jan 2016 11:04 #41773 by SeByDocKy
Replied by SeByDocKy on topic JJRC H26D

hexfet wrote: There's no info in the altitude hold or flip captures - just the bind sequence followed by unchanging data. Need to get the altitude hold info.

I've updated the test build with the following changes. Please check and let me know.

The gimbal code is changed to just use the fixed rate same as the stock tx. If the channel is outside +/-50 the gimbal will move, otherwise it will not. See if this is easier to work with than the previous version.

The txid code is changed to same as the x800 (basically ignored). Should still work.

I was able to build a 7e version with gcc 4.8.4 :) Cannot build the 7e with 4.9.3 due to space.


Ok Just tested last build.. Yes the gimbal control is much better now with pots :)

and the Devo7E build is also working

Great Job as usual )


Last edit: 15 Jan 2016 11:04 by SeByDocKy.

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

More
16 Jan 2016 02:48 #41808 by hexfet
Replied by hexfet on topic JJRC H26D
Nice video :)

Please try the gimbal again with the updated test build. I simplified the code quite a bit.

Can you also please test with an MJX model? I put in the table of txid to rf channel mappings we've found so far, selected by fixed ID. No fixed ID should be same as current version. Please try a few values between 1 and 7. Since we haven't figured out the algorithm yet this is something I'd feel comfortable making a pull request with.

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

More
16 Jan 2016 08:09 - 16 Jan 2016 08:35 #41817 by SeByDocKy
Replied by SeByDocKy on topic JJRC H26D

hexfet wrote: Nice video :)

Please try the gimbal again with the updated test build. I simplified the code quite a bit.

Can you also please test with an MJX model? I put in the table of txid to rf channel mappings we've found so far, selected by fixed ID. No fixed ID should be same as current version. Please try a few values between 1 and 7. Since we haven't figured out the algorithm yet this is something I'd feel comfortable making a pull request with.


Part1: MJX X800 test; ID={1,2,3,4,5,7} OK, ID={6} KO
Part2: H26D test New gimbal code OK, ID={} OK, ID={2,3,6,7,9} OK, ID = {1,4,5,8} KO, ID={2222, 4444, 6666,7777,9999,1234,4321} OK, ID={1111,3333,5555,8888,5678} KO
Last edit: 16 Jan 2016 08:35 by SeByDocKy.

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

More
16 Jan 2016 17:26 - 16 Jan 2016 17:29 #41824 by goebish
Replied by goebish on topic JJRC H26D

hexfet wrote: Cannot build the 7e with 4.9.3 due to space.


Oops, we're into that again :(
I think PB has already made all the possible structs alignment to gain in size.
Last edit: 16 Jan 2016 17:29 by goebish.

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

More
17 Jan 2016 04:28 - 17 Jan 2016 04:29 #41851 by hexfet
Replied by hexfet on topic JJRC H26D

SeByDocKy wrote: Part1: MJX X800 test; ID={1,2,3,4,5,7} OK, ID={6} KO
Part2: H26D test New gimbal code OK, ID={} OK, ID={2,3,6,7,9} OK, ID = {1,4,5,8} KO, ID={2222, 4444, 6666,7777,9999,1234,4321} OK, ID={1111,3333,5555,8888,5678} KO

So only three of the seven MJX txid->rf channel mappings work for the H26D (0-none,2,3). That's enough to make a pull request :) Please check the updated build - all fixed id values should work. There are only three different mappings so only three aircraft simultaneously.
Last edit: 17 Jan 2016 04:29 by hexfet.

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

More
17 Jan 2016 07:28 #41854 by SeByDocKy
Replied by SeByDocKy on topic JJRC H26D

hexfet wrote:

SeByDocKy wrote: Part1: MJX X800 test; ID={1,2,3,4,5,7} OK, ID={6} KO
Part2: H26D test New gimbal code OK, ID={} OK, ID={2,3,6,7,9} OK, ID = {1,4,5,8} KO, ID={2222, 4444, 6666,7777,9999,1234,4321} OK, ID={1111,3333,5555,8888,5678} KO

So only three of the seven MJX txid->rf channel mappings work for the H26D (0-none,2,3). That's enough to make a pull request :) Please check the updated build - all fixed id values should work. There are only three different mappings so only three aircraft simultaneously.


Tested successfully (with the previous none-working IDs) :)
No problem too with the my MJX X800 :)

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

More
03 Oct 2016 05:48 - 03 Oct 2016 05:50 #54534 by ajtank
Replied by ajtank on topic JJRC H26D
I recently purchased a H26WH, the variant with altitude hold. It cannot bind using the H26D protocol. The circuit board looks similar to Seby's H26D but it probably carries a different MCU software.



I have uploaded the SPI capture of the binding with the stock transmitter here

Any comment on whether it is a known protocol is much appreciated.
Attachments:
Last edit: 03 Oct 2016 05:50 by ajtank. Reason: better clarity

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

More
03 Oct 2016 10:20 - 03 Oct 2016 10:30 #54545 by goebish
Replied by goebish on topic JJRC H26D
Looks like yet another MJXq variant, have you already tried to bind with every MJXq sub-formats ?
Also, can you tell me which RF chip is that ? I can't see it well in the picture (or maybe the RF chip is under the expoxy blob, and the other chip is a PA), I suppose it's a Beken 24xx.
Last edit: 03 Oct 2016 10:30 by goebish.

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

More
03 Oct 2016 10:36 #54546 by ajtank
Replied by ajtank on topic JJRC H26D
Yes I did try all available options under MJXq but no joy. The chip on the top edge is RFX2401 (PA+LNA) whilst the chip next to the crystal is covered by black epoxy. According to previous threads it is supposed to be a Beken transceiver.

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

More
03 Oct 2016 10:38 #54547 by goebish
Replied by goebish on topic JJRC H26D
Ok, I'll try to have a look at that.

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

More
03 Oct 2016 10:51 #54548 by goebish
Replied by goebish on topic JJRC H26D
It's pretty similar to the H26D format, looks like only the nrf24 address is different, I'll post a test build later today ...

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

More
03 Oct 2016 11:26 - 03 Oct 2016 11:30 #54550 by ajtank
Replied by ajtank on topic JJRC H26D
Thanks for the prompt feedback. I noticed Seby's H26D did not have a button to start the engine. The throttle can action as soon as binding has completed. On my H26WH I have to press the Altitude Hold button to start the engine before the throttle can work. By the way my radio is a Devo 10, thanks.
Last edit: 03 Oct 2016 11:30 by ajtank.

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

More
03 Oct 2016 12:39 #54551 by goebish
Replied by goebish on topic JJRC H26D
At first glance I can't see a flag that's related to that in your captures.
I suppose the stock TX only transmits packets after this button has been pushed, but we won't have to simulate that in Deviation ;)

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

More
03 Oct 2016 14:52 - 03 Oct 2016 14:53 #54553 by ajtank
Replied by ajtank on topic JJRC H26D
It would be really nice if that button can be skipped. Looking forward to the trial build.

I also got hold of a JXD 506 ( a gigantic version of JXD 510) which binds with V202 protocol. However it also requires a start button before throttle can apply. I am going to open a new thread for this quad later.
Last edit: 03 Oct 2016 14:53 by ajtank. Reason: typo

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

More
06 Oct 2016 06:14 #54648 by ajtank
Replied by ajtank on topic JJRC H26D

goebish wrote: It's pretty similar to the H26D format, looks like only the nrf24 address is different, I'll post a test build later today ...


Sorry if I miss anything. Has the test build been posted yet?

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

More
16 Oct 2016 11:30 #55004 by goebish
Replied by goebish on topic JJRC H26D
Not yet, it's on my list now ;)

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

More
19 Oct 2016 22:21 #55175 by goebish
Replied by goebish on topic JJRC H26D
Try this test build for Devo 10, it has a H26WH format option for MJXq protocol:
www.dropbox.com/s/ttd1pid1bbcx18f/deviat...0.0-5582b5a.zip?dl=1

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

More
20 Oct 2016 14:47 - 20 Oct 2016 14:50 #55192 by ajtank
Replied by ajtank on topic JJRC H26D
Thanks for the build. Things are weird.
First it can bind successfully. However I cannot arm the quad. The stock transmitter throttle is always centred and if I move it down and press the arm button, motor will not start. I tried to centre the Devo throttle during binding, but motor still would not start.
I just discovered my camera was faulty and so I could not test photo and video. However the camera can pan and tilt properly using Devo transmitter.
By the way there is no light on/off (ch5) on this quad and the stock transmitter also does not offer this feature.
Last edit: 20 Oct 2016 14:50 by ajtank.

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

More
20 Oct 2016 15:58 #55198 by goebish
Replied by goebish on topic JJRC H26D
Ok, it least it binds, that's a good thing :)
Did you press the arm button in your previous capture ?
I'm asking because I didn't see anything particular.

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

More
20 Oct 2016 16:03 #55200 by ajtank
Replied by ajtank on topic JJRC H26D
Yes. One capture only covers the binding and another one covers binding + arm + disarm. I can redo any capture if needed, just let me know, thanks.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum