glider motorpod servo 0dgs/65dgs/90dgs? noob HOW?

Programing help and example for all firmwares based on thus's th9 firmware.
Post Reply
majapahit
Posts: 28
Joined: Fri Apr 12, 2013 4:23 am
Country: -

glider motorpod servo 0dgs/65dgs/90dgs? noob HOW?

Post by majapahit »

RC noob and I have presently fried my brain after just flashing er9X
so asking for help.

got a fresh ASK21Mi here, a DR 1000 glider clone from HK, 2mtr wing and a motorPOD

modded and flashed Turnigy 9x to er9x, still waiting for couple of electro parts,
so trying to set up motorPOD now, and my brain has fried

I'm totally new to RC, so, silly me, what I was able to do:
define CH5 with 3POS, weight 125
slow down 1 (why is there no slow UP?)
et voila, does N = down, 1 = 45dgr 2=90dgs
throttle manually on/off

but should

motorpod when inside bin, must have throttle cut & disabled (throttle stick disabled 20%)
folds out to position 1, 65degrees (there's a hardware brake for the prop at this position),
this also is an speedbreak position, since this is a glider
then to position 2, 90 degrees/100% (hardware brake releases), switches throttle & throttle stick to enabled

back to position 1, 65 degrees, throttle stick override, cut & disabled throttle (prop windmills to brake position),
back to position 0, flat in bin, throttle and throttle stick disabled

optionally, there should be an emergency throttle on the throttle stick,
throttle would have 20% cut range at bottom, when thrown up,
throttle stick movement above 20%, will not start throttle,
will override 3POS switch position,
folds out prop to 90dgr/100%, THEN start motor throttle
with 3POS switch moved to 2 and back to N, this overrides any throttle stick position again,
until throttle stick back to under 20%, and 'armed' for emergency override movement

to start with
I don't even know how to make a servo do 0/65/90dgs instead of down/center/up

I suspect also that defining this travel of the servo
is the bottom of the pyramid for the desired mixes

help, pointers and advise much welcomed,
and worded in noob language much appreciated

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

Re: glider motorpod servo 0dgs/65dgs/90dgs? noob HOW?

Post by MikeB »

There is a SLOW UP, but as you have noticed it's dropped off the end of the menu! I'll put it back in the next revision.
You may find using eepe easier than the actual Tx to 'play' with mixes.
While you have set the weight to 125%, unless you have also changed the limits form +/-100%, you will still only get 100% not 125%.
So you want 0, 65deg and 90deg.
0 is at -100%, 45deg is at 0%, 90deg is at 100%, 65deg should therefore be at +44%.
Easiest is to set up a curve, use curve 1 and set the points to -100, -28, +44, +72, +100, and select CURVE 1 in the mix for channel 5.
Now your 3POS will be -100 (0deg), +44 (65deg) and +100 (90deg).

Now, let us set up a CUSTOM SWITCH.
Set CS1 to v>ofs CH5 99.
This means custom switch 1 will be ON unless channel 5 is at least +99%.

Now you can use custom switch 1 to block the throttle. One easy way is to use it as a safety switch.
In the safety switches menu, for the channel that is your throttle select
Switch SW1, value -100%
Now, as long as custom switch 1 is ON, the channel will be locked at -100% (throttle off).

Try that to start with, you'll soon get the hang of it.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
majapahit
Posts: 28
Joined: Fri Apr 12, 2013 4:23 am
Country: -

Re: glider motorpod servo 0dgs/65dgs/90dgs? noob HOW?

Post by majapahit »

thx MikeB, that sure helped, looks a lot better already
(cannot try throttle inhibition, its midnight here, peoples are sleeping :))

using eepe, nice, not quite sure what I see,
somehow I seem to think, eepe simulates sticks switches etc,
so I can properly simulate curve behavior
but I am missing actual mixed outputs (to 'something'),

in my case, programming an auxiliary servo and prop inhibition
I can't see/simulate neither prop (spin) nor servo movement
(right? is that in the future maybe? or perhaps not in the scope of things)

or is there something under THR RUD ELE AIL buttons (on left)
(there doesn't seem to be a eepe help file)

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

Re: glider motorpod servo 0dgs/65dgs/90dgs? noob HOW?

Post by MikeB »

When you click on the "Simulate" button, you should see 16 "sliders" (blue and red) at the bottom, these are the channel outputs from the mixers and should move when you move the controls.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
majapahit
Posts: 28
Joined: Fri Apr 12, 2013 4:23 am
Country: -

Re: glider motorpod servo 0dgs/65dgs/90dgs? noob HOW?

Post by majapahit »

MikeB wrote:When you click on the "Simulate" button, you should see 16 "sliders" (blue and red) at the bottom, these are the channel outputs from the mixers and should move when you move the controls.
Mike.
think i understand the simulator now
(had my 3POS topsy turvy, confused me)
works great

THX

majapahit
Posts: 28
Joined: Fri Apr 12, 2013 4:23 am
Country: -

Re: glider motorpod servo 0dgs/65dgs/90dgs? noob HOW?

Post by majapahit »

FYI
my Mix for a ASK21Mi motorpod glider (has no flaps, will add later)

added ELE D/R switch for motorpod bay/brake position/up by curve with THR inhibition & 4 sec slow
- this was my request here, to be able to slow movement and position middle (at prop brake) is magnificent (saved me a 'servo speed adjuster')
- a 9 position curve will move motorpod first to +100, and then backs down to +95 to alleviate servo power
- THR will be inhibited when in <+95 position (prop brake)
- turning down to prop brake position, will be slowed by multiple seconds (and THR be cut by above)
- going back into motor bay, presses pod down -100, then backs up to -95 to stop servo
- the 'back down/up' curve will definitely save battery, I noticed the servo humming at end positions, and these are truly amazing options

added RUDDER mix to AIL (turning wingtip stall)
added DIFFERENTIAL AIL
added 3POS (ID0 ID1 ID2) flightmode ailovons for takeoff(/soar) and landing
added ELE mix to AIL (compensate ailovon flightmode setting)
added curves to all sticks
added switch TRN to monitor/set THR level flight to middle throttle stick

thx and well done er9x :D

Post Reply

Return to “er9x / gruvin9x / th9 based firmwares”