Default TX power with 4-in-1 module in Devo 10

More
18 Mar 2019 18:44 - 18 Mar 2019 18:45 #73416 by Heretic786
Hi all,

I just installed a 4-in1 module in my Devo 10.

The Devo 10 has Deviation 5.0.0 installed.

The module works because all the protocols are without asterisks and I have actually loaded some protocols like KN, Bayangtoys and CG023 to bind and fly successfully with some quads and helis.

But my question is why is the TX power restricted to default power (150mW) for some protocols but not restricted for other protocols? Specifically, after S-HFSS protocol, the TX jumps to default power output for what looks like the NRF24 module. (I am unable to change power setting).

Is there a problem with the module? Or am I missing something in deviation? I’d like to reduce TX power as it’s hard on my batteries at max output.

Any help and input would be helpful and most appreciated.

Thanks in advance.
Last edit: 18 Mar 2019 18:45 by Heretic786. Reason: Added info

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

More
18 Mar 2019 20:38 #73417 by hexfet
What is the exact version of deviation (bottom line on the About page)? This sounds like a problem that was fixed a couple of weeks ago so if you're not on the current nightly build please try that.

Nothing about the 4in1 module would cause this behavior.

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

More
19 Mar 2019 01:45 - 19 Mar 2019 01:50 #73424 by Heretic786
Replied by Heretic786 on topic Default TX power with 4-in-1 module in Devo 10
The exact line is Deviation 5.0.0. No other numbers behind.

Before this reply, I tried installing the last 2 nightlies dated 17/3/19 and 18/3/19 but also same results.TX power in default.

The other weird thing is that the latest nightlies made my “up down” buttons behave iratically. Like as when pressing up quickly, the control would go the opposite ie down and vice versa.
Last edit: 19 Mar 2019 01:50 by Heretic786. Reason: Added info.

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

More
19 Mar 2019 02:46 #73425 by hexfet
When moving from 5.0 to the nightlies the filesystem files need to be copied (backup the tx.ini, hardware.ini, and model files). Just tried the latest nightly on devo10 and it worked fine. Didn't notice any button issues.

The power setting behavior did change recently. When changing protocols the power setting will automatically change to the highest power for the radio used by the protocol. I don't think that's what you're talking about though since you explicitly mention "Default" power, and you can't change the power level.

Is the has_pa-nrf24l01 line in hardware.ini set to 1?

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

More
19 Mar 2019 15:49 #73437 by Heretic786
Replied by Heretic786 on topic Default TX power with 4-in-1 module in Devo 10
Appreciate the prompt response again Hexfet.

I’ll try the latest nightly again but will back up the tx.ini, hardware.ini and model files from existing 5.0.0 first time to copy over after nightly install.

And yes, the has_pa-nrf24l01 line in hardware.ini is set to 1.

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

More
19 Mar 2019 16:46 - 19 Mar 2019 17:09 #73438 by Heretic786
Replied by Heretic786 on topic Default TX power with 4-in-1 module in Devo 10
Hi hexfet,

Tried again the latest nightly (19/3/19). Same result for the TX power at default (cannot change power but now shows in model screen; 100mW for the model instead of 150mW) and the weird button issue even after loading back the backed up files.

Strange. Even tried a Devo 10-v5.0.0-9d11a9c with same results as above.
Attachments:
Last edit: 19 Mar 2019 17:09 by Heretic786. Reason: Added pic of problem showing default Tx power

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

More
21 Mar 2019 16:38 #73473 by hexfet
Looking at the code the only reason Default is displayed on the Model Setup page is that the radio does not have a PA. The has_pa-nrf24l01 line does not have a semicolon at the beginning? Do you see the same behavior when starting with a new model and selecting an nrf24l01 protocol? If so please post your tx.ini and hardware.ini. I can load them on my devo10 and see if I get the same behavior.

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

More
22 Mar 2019 00:23 #73500 by Heretic786
Replied by Heretic786 on topic Default TX power with 4-in-1 module in Devo 10
Hi Hex,

The *pa* line does not have a semicolon at the beginning.

The same behavior occurs when starting with a new model and selecting nrf24l01 protocol.

Attached are my tx.ini and hardware.ini so you can check them out.

Thanks in advance.
Attachments:

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

More
22 Mar 2019 00:43 #73502 by hexfet
When I open this hardware.ini in vim I see the below. Do you see something different? The has_pa setting should be on its own line.

 enable-cc2500   = A14
 has_pa-cc2500   = 1
 enable-nrf24l01 = B7 has_pa-nrf24l01 = 1
; enable-multimod = A1

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

More
22 Mar 2019 02:50 - 22 Mar 2019 06:51 #73507 by Heretic786
Replied by Heretic786 on topic Default TX power with 4-in-1 module in Devo 10
Hi Hexfet,

I don’t know why but my notepad++ showed all the lines as one whole chunk/block of text (not like the format we usually see for hardware settings when opened, but like word wrap continuously) that I missed such a simple thing. I only deleted the semi-colons and thought...that was it.

But your suggestion did the trick! I put the “has_pa” line on its own and it worked! The TX power now is changeable. I’m so relieved. :cheer: :cheer: :cheer:

My heartfelt thanks to you for your patience and help.

Thanks also to all the developers/founders and contributors who have contributed to the development of this exceptional platform Deviation. I’m enjoying a RC revival coming back from RC in the 80s and laying off for about 20 years till now.

Warmest and best regards
Heretic
Last edit: 22 Mar 2019 06:51 by Heretic786.

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

More
22 Mar 2019 14:22 #73510 by hexfet
Glad you got it sorted. I thought notepad++ supported unix line endings but maybe it's configurable.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum