Nathan, this is much appreciated!
EthOS Tips and Tricks
Collapse
X
-
Mixing Planes with Rudder to Reduce Pitch/Roll (For roll you must have the ability to control each side of the dive planes independently. The differences needed for pitch-only are included as well, towards the bottom.)
This one is a little more complicated and I don't have a boat that I can fully test this on. The exact weights and directions will have to be left up to you. I'll highlight areas where those changes can be made, but the specifics will be up to your individual boat and preferences. I suggest you make sure your output limits are set to prevent any damage from over travel and use the full values in my pictures. This will show you an exaggerated version of the changes. That will help you set up the directions of the inputs and otherwise make the secret sauce less secret.
Okay, here we go:
Set up a curve to use for mixing in the throttle. This curve is set up to only start working when the boat is moving forward. If you don't have reverse, or want the throttle's impact to start at a higher throttle then modify this curve. Most likely you won't want it to go to 100% unless you have a really large and slow moving boat. There is nothing fancy in this curve otherwise so I am not showing the config page. Do note that the curve starts at 0, not -100 - this is because 0 should be no throttle and negative is reverse. Sorry, I am not going to document how to make this work while travelling backwards!
Set up a logic switch to only activate in more extreme rudder movements. I am thinking that tiny movements of the rudder will not cause significant rolling so this logical switch sets up where in the rudder stick travel to turn on the anti-rolling function. The value (x) percentage is setpoint. The absolute value function ensures it works on both sides of the rudder input.
Create an output for our throttle mixing. This output is what links the speed of the model to the amount of correction. The "control' of this amount is through the Curve. This is just a necessary intermediary because of the way EthOS works. Make SURE you use a channel that does not have anything plugged into it. EthOS doesn't care if you use a channel above the count on your receiver. This channel NEEDS to be greater than the number of channels on your receiver. I chose 5, but you could use 10 or even 64. Just use a channel that is not physically connected to your model. The mix we will create will make this channel function.
Add the Throttle Mix. This mix ties the throttle stick (or pot, or whatever you use) to our fake output (Channel 5 for me, maybe 10 or something for you - again, a channel you are not already using. Don't break your model)
Make sure you apply the Curve and set the channel. The source is the same as you use for your throttle.
And, finally, make the anti-roll mix. This is the mix that moves the planes according to the amount of rudder and throttle. it isn't complicated once you get this far. There is a trick in the Actions, though, you have to "long press" to get the ability to choose the channel.
Here is the Action screen with a highlight for where to long press. When you do so, a screen will popup and offer a selection of "Use a source". Choose that and then select Channels and your Channel
Okay, the rest of the mix:
Note that I chose BOTH of the planes. Here is place where you might need to reverse one to get the direction of travel you need.
For pitch-only control
Use this curve instead:
And add it to the Throttle mix
That was even easier that I thought it would be!
From here you will just need to play around.
I am planning on bringing my test rig to Subfest (2024 Redux) if you'd like to try it out in person.
Nathan👍 1Leave a comment:
-
Biggsgolf, I haven't used stability control on a sub yet, others have and might chime in.
Regarding roll control, assuming you have each plane on an independent servo, you can mix the roll into the rudder mix. And if you add in some throttle mixing.... Bob and I have discussed this sort of mix but I haven't been able to experiment. I'll spend some time on it this week and see if I can get something posted this weekend.
NathanLeave a comment:
-
Regarding roll control, assuming you have each plane on an independent servo, you can mix the roll into the rudder mix. And if you add in some throttle mixing.... Bob and I have discussed this sort of mix but I haven't been able to experiment. I'll spend some time on it this week and see if I can get something posted this weekend.
NathanLeave a comment:
-
Setting Up Ballast Control Using the 6-Position Switch
If anyone wants to use the 6 position switch as momentary switches to control your ballast with 3 different modes, this should get you started. In this example we are using the left most set of buttons to control three ballast actions:- Venting the tank (actuated by a switch driving power to a solenoid)
- Normal blowing of the ballast (actuated by opening the valve for surface air and powering the air pump)
- Emergency blow (actuated by powering the air pump only)
NOTE: this is a system that scavenges air from the dry compartment for emergency blow with a valve to allow surface air in for normal blow
To start, set up a state table like this showing the states of the channels you need (this case has 2 channels, but yours may have 3. Even more could be possible by extending this example.)This table will help you be sure you are setting the right values at the right time. Be sure to test each value to be sure (we had swapped the pump and vent and nearly burned up a solenoid because we were driving it when we thought we weren't!)Switch Action Channel 1
(surface air valve)Channel 2
(Air Pump & Vent)Upper (FS1) Snorkel Blow -100 -100 Middle (FS2) Emergency Blow 100 -100 Lower (FS3) Vent 100 100
Once you have your state table set up we need to configure the transmitter 6-position switch. This is a 2 step process.
The first step is to tell the transmitter how to treat the switch
In Edit Model set the "Function Switches" to "Momentary" - this makes each button an independent momentary switch (this transmitter is awesome!!)
Now that we have 6 more switches we have to set up Variables to actually use them. For this set up we'll use 3 vars, one for each button.
We are going to work our way from the bottom of our state table to the top because venting and emergency blowing is "easier" because they each impact only a single channel.
The Range isn't critical in our setup, but be sure it includes the values you are setting. The Values section:- Sets the default value (-100)
- We added the FS3 switch which sets the value to 0
- (for THIS setup, we need a default value of -100, your model may be different)
Now we'll repeat 2 more times.
These variables now become the "switches" in our mixes
Vent Mix - actuating the venting solenoid
Pump Mix - actuating just the air pump
And finally the slightly more complicated state, the Snorkel Blow both opens the valve and actuates the pump
So this is actually 2 mixes actuated by the same switch. (okay, not ALL that complicated...)
We start with opening the valve
And then we turn on the pump
And that does it.
Of course your exact values, channels, and output reverses may differ, but the idea can be applied across many functions.
Nathan
Leave a comment:
-
Setting Up Ballast Control Using the 6-Position Switch
If anyone wants to use the 6 position switch as momentary switches to control your ballast with 3 different modes, this should get you started. In this example we are using the left most set of buttons to control three ballast actions:- Venting the tank (actuated by a switch driving power to a solenoid)
- Normal blowing of the ballast (actuated by opening the valve for surface air and powering the air pump)
- Emergency blow (actuated by powering the air pump only)
NOTE: this is a system that scavenges air from the dry compartment for emergency blow with a valve to allow surface air in for normal blow
To start, set up a state table like this showing the states of the channels you need (this case has 2 channels, but yours may have 3. Even more could be possible by extending this example.)This table will help you be sure you are setting the right values at the right time. Be sure to test each value to be sure (we had swapped the pump and vent and nearly burned up a solenoid because we were driving it when we thought we weren't!)Switch Action Channel 1
(surface air valve)Channel 2
(Air Pump & Vent)Upper (FS1) Snorkel Blow -100 -100 Middle (FS2) Emergency Blow 100 -100 Lower (FS3) Vent 100 100
Once you have your state table set up we need to configure the transmitter 6-position switch. This is a 2 step process.
The first step is to tell the transmitter how to treat the switch
In Edit Model set the "Function Switches" to "Momentary" - this makes each button an independent momentary switch (this transmitter is awesome!!)
Now that we have 6 more switches we have to set up Variables to actually use them. For this set up we'll use 3 vars, one for each button.
We are going to work our way from the bottom of our state table to the top because venting and emergency blowing is "easier" because they each impact only a single channel.
The Range isn't critical in our setup, but be sure it includes the values you are setting. The Values section:- Sets the default value (-100)
- We added the FS3 switch which sets the value to 0
- (for THIS setup, we need a default value of -100, your model may be different)
Now we'll repeat 2 more times.
These variables now become the "switches" in our mixes
Vent Mix - actuating the venting solenoid
Pump Mix - actuating just the air pump
And finally the slightly more complicated state, the Snorkel Blow both opens the valve and actuates the pump
So this is actually 2 mixes actuated by the same switch. (okay, not ALL that complicated...)
We start with opening the valve
And then we turn on the pump
And that does it.
Of course your exact values, channels, and output reverses may differ, but the idea can be applied across many functions.
Nathan
Last edited by Nathan; 03-23-2025, 09:35 AM.Leave a comment:
-
Someday I need to figure out why the forum won't email me when people make a reply...
NathanLeave a comment:
-
Thank you for your input..
Rob
"Firemen can stand the heat."Leave a comment:
-
OP doesn't seem to be active on this forum anymore, so here's the answer to my question earlier in case anyone is looking for how to set up the bow plane lock out:
It's pretty much like the video above, the functions we are looking for are similar to the nose landing gear steering lockouts in RC airplanes.
Leave a comment:
-
Bow Plane Retract Lockout
IMPORTANT: before testing this be sure you have disconnected any linkages that could cause damage if anything goes wrong, or if any outputs need to be reversed.
When you have retracting planes it is important to be sure of 2 things. One, that the planes will centered before they retract, and two, that they cannot be operated while retracted. If you have an EthOS radio you can set this up right in the radio. Here is how.
There is one thing that it is important to note about EthOS in order for this to work - EthOS only tracks the "sweep" of a channel if there is a slow set in the mix. If you don't use a slow you will see the channel move direct to the endpoint (for example, 100% right to -100%) even though you see the servo is still moving. With the slow enabled, EthOS, and you, will see all the values (for example, 100% to 98% to 96%, etc.) This sweep is important because it keeps the logical switch in time with the retract servo. Though if there is a mechanical problem with the servo the radio won't know. A closed loop system will have to be left up to the Reader, sorry.
Okay, here we go.
Planes Enabled Logical Switch
You first need to create a Logical Switch to identify when the planes are enabled. Note that the source is the retract servo channel. That is the "sweep" we need. The delay gives a second for the servo to finish deploying the planes before activating the planes. It should be a "just in case" but your physical configuration may require a longer delay before becoming active.
You will use this logical switch in the planes mix.
Planes Mix
Note the active condition is the logical switch, meaning the planes can only move when the logical switch is on. When the active condition is false the channel is set to 0, which is centered position (works well for us!) Be sure you factor in the logical switch if you add extra mixes for the planes.
Retract Mix
Finally, you need the mix for the retract channel. This is where the slow goes.
You will have to reverse the channels, maybe adjust the slow on the retract mix, or the delay on the planes mix, but this should get you on the right path.
Nathan
Thanks!Leave a comment:
-
This is a great thread. This will be a reference I will be visiting over and over.Leave a comment:
-
Should be just the thing, Rob! You can either have it all on one stick or separate them into two. Completely up to you!Leave a comment:
-
Nathan and Bob: Thank you so much for spoon-feeding old luddite's like me theses set-up and operational tips for this whiz-bang-works-fine-failsafe-drains-to-the-bilge wonder r/c system. This **** I need to know if I'm to continue this hobby into the 24 1/2 Century!
😀 1Leave a comment:
-
Nathan,
I am assuming that this set up would work on my shark!? I have left and right thrusters that would require right and left turn on one stick and forward and reverse on another stick.
Thanks Nathan!
Rob
"Firemen can stand the heat."Leave a comment:
-
Differential Throttle / "Tank" Control
Differential throttle is a common need on subs with multiple props and it is actually really easy to set up in EthOS. The configuration below will set the left stick (for Mode 2 radios) up and down for the forward/backward power, and the left stick left and right for the differential throttle. Any inputs can be chosen, such as a dial for speed and a stick for differential. The mixes don't change, only the inputs.
The first step is to configure your throttle input and mix to all motors as normal:
And the Mix
And don't forget to set a throttle cut - could save your fingers and your props!
And, finally, the outputs (this is vary based on your set up and chosen channels)
Okay, and now that the throttle is set up we need to add the mix to add/remove throttle based on the other stick.
Set your source. Also, you could set an "Active condition" to only have differential when, say, a switch is flipped.
And then set up the 2 (or more) outputs and note that each can be reversed to get the direction of change you need based upon your setup. If you just can't get it to do what you want with a single mix then set up 1 mix per output, that will give you maximum flexibility.
Two other things to note:
You can change the "Weight" of the mix to alter the amount of change introduced. The outputs will never go above the min/max set in the actual output, but you can reduce the total amount of change if you need.
If you find that you need a different amount of, say, forward than reverse you can set the "Weight" to "Differential" to reduce one half of the curve.
The same interface also lets you apply a curve for full configurability, if you find you need it.
Hopefully this helps!
NathanLeave a comment:
Leave a comment: