pascallanger / DIY-Multiprotocol-TX-Module

Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.
https://www.rcgroups.com/forums/showthread.php?t=2165676&goto=newpost
GNU General Public License v3.0
1.65k stars 439 forks source link

Hitec Red AFHSS Support #161

Closed z3r0c00l2005 closed 6 years ago

z3r0c00l2005 commented 6 years ago

Hi Guys, it woudl be great to see support for the Hitec Red protocol as used for the Ares range of indoor/park flyers (I believe this is the same as the Minima protocol)

z3r0c00l2005 commented 6 years ago

I'm having issues connecting the module over USB today - it's not showing up as a port anymore, tried reflashing the bootloader but that's not helped either!

pascallanger commented 6 years ago

You can do the same using serial just to be able to move forward... Exact same process but ftdi instead of USB.

z3r0c00l2005 commented 6 years ago

The only message dumped is for the selected protocol, nothing else in either bind or normal mode

pascallanger commented 6 years ago

I've just published v1.2.0.25 adding the F5s in the packets. Could you test Minima again with this version?

z3r0c00l2005 commented 6 years ago

Looks much better :) Reflashed with 1.2.0.25 and the aileron/elevator channels are silky smooth now :)

I'll flight test tomorrow, although looking pretty good....Thanks :D

pascallanger commented 6 years ago

Are you able to do a range test? Like do a sweep test on a servo and walk away with the receiver? I really have no idea what the 2 bytes do. I've reproduced the real TX but since they vary... On my side I've used a fix value.

pascallanger commented 6 years ago

I'll do some tests tomorrow and see if I can get a correlation with something.

z3r0c00l2005 commented 6 years ago

I'll range check tomorrow, does the "range" option in open tx reduce the power output in the module too?

Annoyingly I've only got 3 channel models to check with... So far I'm confident that they're working well now, guess the extra bytes could be channel padding maybe?

pascallanger commented 6 years ago

Yes the range option limits the module power output of any loaded protocol. I need to check more carefully on the dumps if I can find out a correlation.

pascallanger commented 6 years ago

Please check the latest version 1.2.0.26 which has some improvements:

z3r0c00l2005 commented 6 years ago

Ok, on 1.2.0.25.....

Fokker binds and works well with Rx id 21....very juddery on id 01 or 11

Sopwith and spad jerky on any id, slightly better after tuning but not flyable

pascallanger commented 6 years ago

I thought you said it was working? What do you mean by rx id?

z3r0c00l2005 commented 6 years ago

On the bench the Fokker was ok, I'd just not tried the others yet

The Reciever number parameter in open TX

z3r0c00l2005 commented 6 years ago

I've a couple of flights in on the Fokker bound with ID 21 and it's great. I can only guess that the 3 recievers are slightly different in resilience, although they all work ok with the HiTec module.

For testing I've been using the same model setup on the transmitter, just rebinding with the different models

pascallanger commented 6 years ago

RX_num is between 0 and 15. That's why it sounded strange. Have you tired 1.2.0.26 yet?

z3r0c00l2005 commented 6 years ago

I'll reflash hopefully in the next couple of days. Didn't have chance before coming flying :)

pascallanger commented 6 years ago

Please use v1.2.027 for further testings of Minima/Micro receivers. I think I've nailed down the bug which was an overlook during implementation...

z3r0c00l2005 commented 6 years ago

Will do, just flashed 1.2.0.27 although need to head back to work now (why is there never enough free time!)) will hopefully get to try binding the models tonight and feedback when i get chance.

z3r0c00l2005 commented 6 years ago

I think we (well I say "we" but I really mean you!) are just about there :)

Flashed 1.2.0.27 and bound all 3 separate models using rx nums 1, 2 and 3, no Optional offset needed and all 3 receivers are responding smoothly on throttle, aileron and rudder channels.

Great work Pascal, much appreciated :)

pascallanger commented 6 years ago

Cool! Minima/micro are OK. Full telemetry is done as well. I still need to document and push the new code to GitHub but basically it's done.

pascallanger commented 6 years ago

Closing the thread since both Optima + telemetry and Minima are working.

Pascal