TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
Post Reply
xavtronic
Posts: 15
Joined: Fri Aug 03, 2012 8:29 am
Country: -

TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by xavtronic »

Hi,

First thank you for the extraordinary work.

I haven't find an answer for my question.


I have mod an "old" Turnigy 9x V2 with just a connector to flash the M64 and flash with the last er9xProv822n version.
I have a Multiprotocol Bangood DIY ATmega 328P flash with the last release v1.3.1.1.

I have read that the er9xProv822n version can "Multi protocol names obtained from module."

It will works directly or I need do some hardware modifications?

Thank for your help.
Best Regards,
Xavier

User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by MikeB »

No other mods are needed, it should just work. I will be posting an update for er9x later today with improved handling of the names.
It looks like I wasn't handling protocol numbers above 63 properly either.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by jhsa »

Thanks a lot for still supporting the stock 9x radio.. This is great as it gets better and better.. :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
xavtronic
Posts: 15
Joined: Fri Aug 03, 2012 8:29 am
Country: -

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by xavtronic »

Hi Mike,

Thank you for your answer and sorry for my response time.

This is great news! I'm going to try the last ER9x version this weekend.

Just another question to be. Do I just need to configure the MPM with

Code: Select all

#define ENABLE_SERIAL -> Enable Serial
#undef ENABLE_PPM -> Disable PPM
OR do I also need to activate telemetry (I haven't made any hardware changes and I don't want to use telemetry.

Code: Select all

#undef MULTI_STATUS -> Disable
#define MULTI_TELEMETRY -> Enable
#undef INVERT_TELEMETRY_TX -> NOT inverted
Best regards and again thank your for your help and your support and ER9x for my old and amazing Turnigy 9x ;) !
Xavier
HuWo
Posts: 25
Joined: Fri May 22, 2020 12:43 am
Country: -

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by HuWo »

Xavier, where do these code snippets come from?
Hubert

User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by MikeB »

Sorry, I misread your first post!
You will only get the names from the MPM if you have done the telemetry mod as the MPM sends the names using the telemetry signal.
I think you will need to flash "er9xProv822o" (recently posted) to get the protocol numbers instead.
I'll consider whether I can put the names into the flash memory for the M64 version that doesn't support telemetry, there may be enough space in that version.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
xavtronic
Posts: 15
Joined: Fri Aug 03, 2012 8:29 am
Country: -

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by xavtronic »

Hi Mike,

Also I have two possibilities.

1)
Hardware modification with bottom PIN TX Connector connected to M64 PE0-MOSI (just 1 wire direct with no inverter) with the following options

Code: Select all

#define TELEMETRY -> Enable
#undef MULTI_STATUS -> Disable
#define MULTI_TELEMETRY -> Enable
#undef INVERT_TELEMETRY_TX -> NOT inverted
I guess I need the "ER9x-Frsky" version or the ER9x is enough if I don't use the telemetry?
With these settings I can get the protocol name from MPM to my TGY9x.

2)
Without hardware modification I can yet retrieved the number of the protocol. I haven't find the "convert table" to see which number is which protocol. Is it the file "Multi.txt" or something else? The sub-protocol how it is defined and selected with number?


@Hubert
This is in "_MyConfig.h" you can easer change the settings.
You must enable "#define USE_MY_CONFIG" (just uncomment) in "_Config.h"


Best regards,
Xavier
PS: Sorry for my bad english! I hope you can understand.
HuWo
Posts: 25
Joined: Fri May 22, 2020 12:43 am
Country: -

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by HuWo »

Thank you, never looked at this before.
You can look up the protocols' numbers on the DIY MPM site. For instance.
xavtronic
Posts: 15
Joined: Fri Aug 03, 2012 8:29 am
Country: -

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by xavtronic »

Hi Hubert,

Thank you, I have completely forgot the first rule "RTFM" :roll: !

Kind regards,
Xavier
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by jhsa »

The multi.txt file is.to be used with radios that support ErskyTX not Er9x :)
So I lt does not apply here..... yet. :) ;)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by MikeB »

OK, I can get the multi protocol names into the flash memory for the standard (non-telemetry) version of er9x. I used to have them, but removed them to save space when I added the code to get the names from the module. However, I only commented the code out so it has not been too difficult to put them back in for this specific version of er9x. I have also updated the names, and sub-protocol names, to match the current version of the multi firmware. Anything unknown is still displayed as a number.
I'll post a new test version of er9x shortly (Now Posted).

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by jhsa »

Thanks Mike.. That is cool. Er9x still rocks :) ;)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
xavtronic
Posts: 15
Joined: Fri Aug 03, 2012 8:29 am
Country: -

Re: TGY9x with ER9x (er9xProv822n) and DIY Banggood ATMega 328P Multiprotocol (v1.3.1.1)

Post by xavtronic »

Hi Mike,

Amazing!
Thank you for your support.

Xavier

Post Reply

Return to “er9x”