- Posts: 1016
JJRC H26D
- SeByDocKy
- Topic Author
- Offline
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 )
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
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.
- SeByDocKy
- Topic Author
- Offline
- Posts: 1016
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
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1891
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.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
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Topic Author
- Offline
- Posts: 1016
hexfet wrote:
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.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
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.
- ajtank
- Offline
- Posts: 278
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.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
Please Log in or Create an account to join the conversation.
- ajtank
- Offline
- Posts: 278
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
Please Log in or Create an account to join the conversation.
- ajtank
- Offline
- Posts: 278
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
- ajtank
- Offline
- Posts: 278
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.
Please Log in or Create an account to join the conversation.
- ajtank
- Offline
- Posts: 278
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.
- 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.dropbox.com/s/ttd1pid1bbcx18f/deviat...0.0-5582b5a.zip?dl=1
Please Log in or Create an account to join the conversation.
- ajtank
- Offline
- Posts: 278
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.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
- ajtank
- Offline
- Posts: 278
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- JJRC H26D