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.62k stars 436 forks source link

Frsky Archer Plus Binding issue #814

Closed r41065 closed 1 year ago

r41065 commented 1 year ago

New FrSky Archer R10+ does not bind with 4in1.

Works fine with original XJT ( X9D) or ISRM (X9Lite) in ACCST D16 v2 ( LBT, not testet if FCCv2 also works, FCCv1 did not)

Tried all D16 Modes ( FCC /LBT in v1 and v2 ) also with different Values of Finetuning.

In Cloned Modus Receiver also works, but no Chance to bind to a different ID...

kochpet commented 1 year ago

@pascallanger Hi, would it be helpful if I send you a Saleae Logic trace of the ACCST D16 binding process with the Archer R10Plus?

jogybaer0815 commented 1 year ago

it is a pity that these important receiver types are not supported. No idea how the developers can be supported to work here... I own Archer R10 and can donate one.

ShahzaibNayyar commented 1 year ago

Hi, I was wondering if anyone has successfully paired the Archer SR10+ Receiver with the RadioMaster TX16s. The Archer SR10+ Receiver's documentation indicates that it can operate with both the ACCST D16 V2 and ACCESS protocols, and the TX16s also supports ACCST D16 V2. So, what seems to be the problem?

mick-74 commented 1 year ago

Hi also for me Radiomaster TX16s with latest edgetx and latest 4-in-1 module doesn't work.

Jetiman commented 1 year ago

Here also. TX16s and Archer SR10+ will not work. I have two Tx16s. I can test with one if help is needed.

r41065 commented 1 year ago

FrSky introduces a complete Series of Archer Plus Receiver ( RS Mini, RS+, R6+, GR6+, R8+, GR8+, SR8+, SR10+, R10+ , SR12+, R12+)

hopefully there will be a solution

MikeBland commented 1 year ago

I very recently acquired an Archer Plus R10+, so I've found a solution that I've tested working on two, different, MPM modules. File FrSkyX_cc2500.ino: Change line 54 from: memcpy(&packet[7],"\x00\x18\x0A\x00\x00\xE0\x02\x0B\x01\xD3\x08\x00\x00\x4C\xFE\x87\xC7",17); to memcpy(&packet[7],"\x00\xCC\x00\x00\x00\x70\x14\x15\x00\xD3\x08\x00\x00\xCE\xE2\x85\xC7\x00\x00\x00\x00",21); Change line 56 from: memcpy(&packet[7],"\x27\xAD\x02\x00\x00\x64\xC8\x46\x00\x64\x00\x00\x00\xFB\xF6\x87\xC7",17); to memcpy(&packet[7],"\x27\xFB\x00\x00\x00\xBC\xEF\x19\x00\x26\x07\x00\x00\xB7\xED\x85\xC7\xA7\xA7\xA7\xA7",21); Change liness 66 & 67 from: packet[20] ^= 0x0E ^ rx_tx_addr[3]; // Update the ID packet[21] ^= 0x1C ^ rx_tx_addr[2]; // Update the ID to packet[20] ^= rx_tx_addr[3]; // Update the ID packet[21] ^= rx_tx_addr[2]; // Update the ID and add a new line 68 as: packet[22] ^= rx_tx_addr[1] & 0x3F; // Update the ID

It appears the Archer Plus receivers may be more selective, so the MPM only operates over a reduced tuning range, the first one I got working had a tuning range of -20 to +20, and the second from -25 to +15, so you may need to try several different tuning values to obtain a bind.

mick-74 commented 1 year ago

Hi Thanks for the sharing, but sorry, can you help me to test it with module 4in1 installed on radiomaster tx16s pls?

MikeBland commented 1 year ago

You need to be able to compile the firmware yourself until the changes are added to the repository.

pascallanger commented 1 year ago

I'll include it in the next build.

mick-74 commented 1 year ago

thanks guys. do you know when it will be available? I don't know how to compile the firmware so I need to wait you mate.

jogybaer0815 commented 1 year ago

It is easy to compile with arduino - @pascallanger described it well how to do it..

Great. Works absolutely perfectly. Big thanks to @MikeBland

mick-74 commented 1 year ago

Hi guys, some one can share version for Radiomaster TX16S? I appreciate a lot :D

jogybaer0815 commented 1 year ago

what channel order?

mick-74 commented 1 year ago

AETR

jogybaer0815 commented 1 year ago

please... (cut .csv) Mode Multi FrSkyX2 D16 - my optimum Freq. fine tune: +25

multi-stm-1.3.3.27_AETR.bin.csv

mick-74 commented 1 year ago

Really a BIG THANKS! I will try next week when I come to home.

mick-74 commented 1 year ago

Hi all, Finally I tested it on SR10+ and it works fine. Thanks to all for the support and patience :D

mick-74 commented 1 year ago

Hi all, again sorry. I am trying to use LUA from FRSKY that for them is for opentx but I am not able to make lua working fine. wizard doesn't work fine, Image missing and so on. Anyone has found a lua script to set gyro? thx

dbock300 commented 1 year ago

please... (cut .csv) Mode Multi FrSkyX2 D16 - my optimum Freq. fine tune: +25

multi-stm-1.3.3.27_AETR.bin.csv

If this is a compiled file how do you cut the .csv ?

mick-74 commented 1 year ago

rename with same name, removing csv extension.

dbock300 commented 1 year ago

When I try to rename it the .csv extension doesn't appear. So it's not there to delete. Windows 10

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: mick-74 @.> Sent: Wednesday, June 28, 2023 1:23:26 PM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: dbock300 @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

rename with same name, removing cav extension.

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1611883080, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAECXCCR2XW4FNX3Y56LALXNRZB5ANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

mick-74 commented 1 year ago

set known extension visible.

dbock300 commented 1 year ago

Got it thanks, hidden file extensions. Receiver now bound. Next for Frsky LUA script to work with Edge

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: mick-74 @.> Sent: Wednesday, June 28, 2023 1:42:56 PM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: dbock300 @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

set known extension visible.

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1611905883, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAECXDKA2GEIWKFP456XSDXNR3LBANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

BladeScraper-Designs commented 1 year ago

please... (cut .csv) Mode Multi FrSkyX2 D16 - my optimum Freq. fine tune: +25

multi-stm-1.3.3.27_AETR.bin.csv

Confirmed this .bin is working well. I have an iRangeX IRX4 and it flashed just fine and now my Archer Plus RS Mini binds successfully. 20230630_105429 (Yes I'm aware that this transmitter can bind to the RX just fine by itself, but I wanted to test this fix with the Multimodule)

UltraFly commented 1 year ago

I was encountering the same binding issue between my TX16S and SR10+. I updated the firmware on the SR10+ using the FrSky cable (no joy), and then flashed the Multi-Module with the "multi-stm-1.3.3.27_AETR.bin" firmware you provided. The receiver now binds correctly but testing with servos plugged into it reveals that they move correctly but in a very jerky manner. I wonder if this firmware really fixes the issue completely or if there is still a timing issue or something.

MikeBland commented 1 year ago

The change only affects the binding. I tested it using a X9LiteS with a URUAV (Lite) module to a R10+ and everything works smoothly.

mick-74 commented 1 year ago

Hi, on my side with tx16s 4in1 all seems ok, the issue that I have now is related to the LUA that doesn't work also following frsky manual that suggest 1.0.2 firmware and specific lua. no way to calibrate or set receiver. also STK doesn't work well.. :(

UltraFly commented 1 year ago

Maybe something went wrong when I updated to the v1.0.5 firmware for the SR10+. That firmware is apparently a pretty substantial change, they change the channels used for stabilisation and S-Port behavior so i guess any testing should be done on this one

Ralf-W commented 1 year ago

Today I have bound my TX16S with internal 4in1 MPM successfully to an Archer Plus GR6 (GR6+) using V1.3.3.27. Binding was immediately successful in a range from -2 to +51. Thus I have to set frequency tuning to +26 for my TX16S with internal 4in1 MPM. Servos run smoothly with this setting. Voltage telemetry worked directly after binding. The internal variometer came alife after the first power cycle.

My successful settings in EdgeTx 2.8.5: Multi FrSkyX2 LBT(EU), CH1-CH16, binding with Ch1-8 Telem ON.

Thanks to everybody, making this work!

Then I flashed mm-stm-serial-aetr-v1.3.3.28.bin - and no binding was possible within a frequency range from -80 to +80. The green LED starts flickering while the TX is in bind mode within a frequency tuning range from about -5 to +50.

MRC3742 commented 1 year ago

Then I flashed mm-stm-serial-aetr-v1.3.3.28.bin - and no binding was possible within a frequency range from -80 to +80. The green LED starts flickering while the TX is in bind mode within a frequency tuning range from about -5 to +50.

That's because the code changes and additions listed above, by MikeBland, have not yet been added to the master branch. I've attached a zip file with the new self compiled code. (with the updates listed above added for the new Archer Plus Receivers) mm-stm-1.3.3.28_AETR_PlusFix.bin.zip

The lua scripts should now also work using this firmware file. This is one of the fixes that was added to the master branch for 1.3.3.28

Rich

Ralf-W commented 1 year ago

Thanks Rich! I just tested your extended version mm-stm-1.3.3.28_AETR_PlusFix.bin: As expected it binds successfully to my Archer Plus GR6 (GR6+)

Is this version 1.3.3.28, or 1.3.3.27 safe to fly an airplane? How large is the risk that their improvements damage proven features of the stable version 1.3.3.20? Where can I find a changelog between 1.3.3.20 and 1.3.3.28? Or where/how can I compare the source codes?

MRC3742 commented 1 year ago

Review the commits to the master branch since 1.3.3.20 was released (Oct 12, 2022) (https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/commits/master)

I would consider this a test firmware! These changes appear to work but you should range test first and fly it in a safe area with an inexpensive foamie before trusting it.

Rich

Ralf-W commented 1 year ago

OK! Thamks again!

dbock300 commented 1 year ago

I used the new firmware 1.3.3.28 fix. Receiver bound no problem flew with no issues. Used the new lua script for setup worked fine. But the calibration lua script executes but does not display the x,y,z numbers or the receiver orientation as the old lua script did.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Ralf-W @.> Sent: Saturday, August 19, 2023 4:08:36 AM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: dbock300 @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

Thanks Rich! I just tested your extended version mm-stm-1.3.3.28_AETR_PlusFix.bin: As expected it binds successfully to my Archer Plus GR6 (GR6+)

Is this version 1.3.3.28, or 1.3.3.27 safe to fly an airplane? How large is the risk that their improvements damage proven features of the stable version 1.3.3.20? Where can I find a changelog between 1.3.3.20 and 1.3.3.28? Or where/how can I compare the source codes?

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1684900118, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAECXB3DUAVLSWNABKOM3TXWB7BJANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

ahmad-kassem commented 1 year ago

I flashed V1.3.3.28_AETR_PlusFix.bin to my TX16S, and ACCST V1.0.5 to my Archer Plus RS, I can bind the receiver but not all telemetry sensors are being discovered and therefore Betaflight lua is not working. Any Advice?

Ralf-W commented 1 year ago

Did you power cycle the Rx after binding? Then, delete all sensors and search sensors again. In my tests it took some time before all available telemetry sensors were found. Finally stop sensor search. Hope this helps. I my case it did the trick.

dbock300 commented 1 year ago

Can anyone help with new Lua script ? The calibration does not show the orientation or the x,y,z values.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Ralf-W @.> Sent: Thursday, August 24, 2023 10:06:37 AM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: dbock300 @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

Did you power cycle the Rx after binding? Then, delete all sensors and search sensors again. In my tests it took some time before all available telemetry sensors were found. Finally stop sensor search. Hope this helps. I my case it did the trick.

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1691861627, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAECXESYD73HFBKHHPWDILXW5UX3ANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

ahmad-kassem commented 1 year ago

Did you power cycle the Rx after binding? Then, delete all sensors and search sensors again. In my tests it took some time before all available telemetry sensors were found. Finally stop sensor search. Hope this helps. I my case it did the trick.

I did power cycle several times, and i waited for 3 minutes for the telemetry sensors scan, but still i am not finding all the sensors. what else could I try?

Update: I tried tge receiver on ikon2 and it is working fine, telemetry and ikon2 lua works also, so I guess the problem is related to BetaFlight.

pascallanger commented 1 year ago

Available in v1.3.3.29

RudiKleinSA commented 1 year ago

Thank you for above.

Where do I find v1.3.3.29?

I have now bound Archer plus RS8,

however I cannot calibrate with lua script on Radiomaster TX16S

Ralf-W commented 1 year ago

v.1.3.3.29 is here: https://downloads.multi-module.org/latest-test/

RudiKleinSA commented 1 year ago

Thank You very much.

I have the Archer plus RS8

I updated to my TX16S Multimodule to v1.3v3v29 but cannot do Frsky S8R / S6R RX calibration.

I am on v2.9.0-rc2 Providence

The calibration goes to the first screen saying to put the receiver in the following position eg Flat

X=Green Y=Green Z=RED

I also turned the receiver in all directions - the stabilisation seems to work, but I cannot do the calibration and plane setup.

dbock300 commented 1 year ago

Similar problem with SR10 plus. Doesn't show orientation or values. 3rd report no reply

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: RudiKleinSA @.> Sent: Sunday, August 27, 2023 7:39:21 AM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: dbock300 @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

Thank You very much.

I have the Archer plus RS8

I updated to my TX16S Multimodule to v1.3v3v29 but cannot do Frsky S8R / S6R RX calibration.

I am on v2.9.0-rc2 Providence

The calibration goes to the first screen saying to put the receiver in the following position eg Flat

X=Green Y=Green Z=RED

I also turned the receiver in all directions - the stabilisation seems to work, but I cannot do the calibration and plane setup.

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1694657932, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAECXHGUJNUJII4NSCS5MLXXM5XTANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

pascallanger commented 1 year ago

I don't have any of these RXs so no idea what's going wrong... If someone ship or sponsor a RX then I can have a look.

MRC3742 commented 1 year ago

I don't have one of these to test either but reviewing the calibration lua script (v1.02 dated 2023/07/03) I see that the following code is listed for the X,Y,Z values.

local calibrationFields = { {"X:", VALUE, 0x9E, 0, -100, 100, "%"}, {"Y:", VALUE, 0x9F, 0, -100, 100, "%"}, {"Z:", VALUE, 0xA0, 0, -100, 100, "%"} }

Has anyone tested that this script is working on a FrSky X10 or X12 running OTX?

Rich

EDIT: Possibly the "Z value 0xA0" is not being read as RudiKleinSA posted above,

The calibration goes to the first screen saying to put the receiver in the following position eg Flat

X=Green Y=Green Z=RED

dbock300 commented 1 year ago

I'm running Edge tx which might be the issue.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: MRC3742 @.> Sent: Sunday, August 27, 2023 11:47:44 AM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: dbock300 @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

I don't have one of these to test either but reviewing the lua script I see that the following code is listed for the X,Y,Z values.

local calibrationFields = { {"X:", VALUE, 0x9E, 0, -100, 100, "%"}, {"Y:", VALUE, 0x9F, 0, -100, 100, "%"}, {"Z:", VALUE, 0xA0, 0, -100, 100, "%"} }

Has anyone tested that this script is working on a genuine FrSky TX running OTX?

Rich

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1694712018, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAECXCRYMIJ2N2XX72W5EDXXN23BANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

RudiKleinSA commented 1 year ago

Hi,

I have a Radiomaster TX16S EDGE2.9RC2 mm-stm-serial-aetr-v1.3.3.30 and Lua Scripts

I can bind on Protocol D18 8CH & LBT 8CH.

Lua Calibration Script does not work - It does not pass the first screen - see photo.

Is there anything I can do for the developers to fix this?

image image image image

BladeScraper-Designs commented 1 year ago

This is not a Multiprotocol issue. You need to download the OpenTX Lua script from the receiver product page. The new receivers have a different system and thus have diff configuration requirements.

Keith


From: RudiKleinSA @.> Sent: Tuesday, August 29, 2023 12:31:33 PM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: Keith @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

[image]https://user-images.githubusercontent.com/93178003/264102822-803e7f47-3312-4e93-b50b-77d2c8067c9d.png [image]https://user-images.githubusercontent.com/93178003/264103175-a931f459-f23d-4592-b265-72ef8c033e35.png [image]https://user-images.githubusercontent.com/93178003/264103650-d8767888-2dde-4d4f-94af-d1fb6631a906.png [image]https://user-images.githubusercontent.com/93178003/264103388-735fcafa-cc6d-4dd1-991c-078170922d2f.png

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1697864669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJU3RFKTPXC7O2OAJUVQD53XXYRPLANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

dbock300 commented 1 year ago

Keith I have downloaded the new Lua script.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Keith @.> Sent: Tuesday, August 29, 2023 12:33:34 PM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: dbock300 @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

This is not a Multiprotocol issue. You need to download the OpenTX Lua script from the receiver product page. The new receivers have a different system and thus have diff configuration requirements.

Keith


From: RudiKleinSA @.> Sent: Tuesday, August 29, 2023 12:31:33 PM To: pascallanger/DIY-Multiprotocol-TX-Module @.> Cc: Keith @.>; Comment @.> Subject: Re: [pascallanger/DIY-Multiprotocol-TX-Module] Frsky Archer Plus Binding issue (Issue #814)

[image]https://user-images.githubusercontent.com/93178003/264102822-803e7f47-3312-4e93-b50b-77d2c8067c9d.png [image]https://user-images.githubusercontent.com/93178003/264103175-a931f459-f23d-4592-b265-72ef8c033e35.png [image]https://user-images.githubusercontent.com/93178003/264103650-d8767888-2dde-4d4f-94af-d1fb6631a906.png [image]https://user-images.githubusercontent.com/93178003/264103388-735fcafa-cc6d-4dd1-991c-078170922d2f.png

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1697864669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJU3RFKTPXC7O2OAJUVQD53XXYRPLANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/pascallanger/DIY-Multiprotocol-TX-Module/issues/814#issuecomment-1697867346, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAECXENLJJDXDA44MU5K73XXYRW5ANCNFSM6AAAAAAUB7XIQI. You are receiving this because you commented.Message ID: @.***>