Help with pot for idle adjust and logic definitions

Programing help and example for all firmwares based on thus's th9 firmware.
Post Reply
Brainsparks30
Posts: 3
Joined: Wed Sep 12, 2012 5:53 pm
Country: -

Help with pot for idle adjust and logic definitions

Post by Brainsparks30 »

Hello, first post and all that. kind of a lurker I suppose!
I have been working with companion 9X and ER9X trying to program what I want to work, but have got stuck at the meaning of the various logic symbols found in the custom switches section, and what the default switch assignments are. I hope with some reference I will be able to make some progress. What do they all mean? There must be a chart of definitions somewhere?
It would be nice to know, I have been guessing so far.

Somehow I have made a safety switch work for the throttle, but how can I set up a pot for throttle idle adjust rather than the throttle trim? Sorry if its all rather obvious, but I'm getting frustrated now.

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

Re: Help with pot for idle adjust and logic definitions

Post by jhsa »

If you look at the right side of this page, there are the links to er9x and openTX manuals.. Maybe those are a good start?
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
G550Ted
Posts: 389
Joined: Tue Dec 27, 2011 6:15 pm
Country: -
Location: Savannah, GA, USA

Re: Help with pot for idle adjust and logic definitions

Post by G550Ted »

I second jhsa's recommendation to read the manual. Just as important is a strong recommendation to use eePe Editor and not companion9X when using er9x firmware.

Ted
pmullen503
Posts: 277
Joined: Sun May 06, 2012 8:37 pm
Country: -
Location: Fond du Lac, WI

Re: Help with pot for idle adjust and logic definitions

Post by pmullen503 »

Here's something that would probably work in ER9x using GVARS:

Set GVAR1=P3 (this will be the offset for the throttle channel and allow you to adjust the idle with P3)

Set GVAR2=-20 (this will cancel the positive offset on the throttle channel. Used as a throttle cut with the stick all the way down)

CH03[tab=30]+100%THR Offset(20%) The 20% gives room to adjust the idle.
[tab=30][tab=30]+10%THR Switch(RUD) Offset(GVAR1) The 10% weight reduces the sensitivity of the idle adjust pot.
[tab=30][tab=30]+100%THR Switch(!RUD) Offset(GVAR2) This drives the throttle channel to zero for throttle cut.

The throttle cut is on the rudder switch for clarity.

It's not perfect because P3 will influence the entire range of throttle but it's a place to start.
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Help with pot for idle adjust and logic definitions

Post by MikeB »

Why do you not wish to use the throttle trim to adjust the idle? There is a neat little option in the model setup call T-TRIM (for throttle trim).
If this is enabled, then the throttle trim controls only the bottom end of the throttle.
With the trim centered, the throttle stick goes from -75% to +100%. The trim setting then adjusts the bottom end of the throttle from -100% to -50%.
This is what T-TRIM is for.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Brainsparks30
Posts: 3
Joined: Wed Sep 12, 2012 5:53 pm
Country: -

Re: Help with pot for idle adjust and logic definitions

Post by Brainsparks30 »

Thank you all for your patience and responses. I have come to understand it all much better now. Seems that EEPE can read Companion9x files now, which put me off before.
I just kind of like pots for fine adjustment, left to right seems more natural to me, and I like but mess about to see what things do. I will have another play later.
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Help with pot for idle adjust and logic definitions

Post by MikeB »

OK, the T-TRIM effect may be obtained, but using a pot for the trim, like this:
CH03: -50% THR Offset (-100)
CH03: * +20%P1 Offset(100%) -- MULTIPLY multiplex
CH03: +100% THR

This allows P1 to adjust the throttle at the low end, but does not affect to top end.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Help with pot for idle adjust and logic definitions

Post by Rob Thomson »

Could you not also do that with a curve?

Sent from my GT-I9300 using Tapatalk 2
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Help with pot for idle adjust and logic definitions

Post by MikeB »

I don't think so, not quite sure what you have in mind. The above uses P1 to set the throttle servo at the low end, then the throttle stick provides a linear response form low throttle to full throttle with no dead space at the top end.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “er9x / gruvin9x / th9 based firmwares”