Hubsan X4 - for Devo 6s - Fall 2015

More
24 Nov 2015 07:44 - 24 Nov 2015 09:59 #40333 by mellowvision
Hubsan X4 - for Devo 6s - Fall 2015 was created by mellowvision
I've been reading threads on RCgroups and here, and have been finding a lot of info from 2012-2014, in threads that are thousands of posts long. It's really hard to weed through them and find out what solutions worked, and which ones were edited out over time. I've yet to find a perfect hubsan x4 ini, nothing that was a complete ini I could download and install and have everything set to work as I had hoped, so I thought I'd start a new thread here with the goal of posting a nice ini file at the end. I'm not quite there yet. I have a working ini that has a few issues that I'd like to work on, and I'm hoping some of you here can help.

I have been asking about this in Daryoon's 7e thread too, on RCgroups.com, on page 277+

so far this is what I have:

MIX switch is being used for a throttle safety
I have lights running off GEAR switch
D/R switch currently switches between dual rates
FMOD currently - not sure what it does, but I think it disables flips. it did before I started messing with this stuff.

What I'd like to accomplish:

1. The MIX switch throttle safety isn't safe - it cuts the throttle, but for some reason the safety value is 100, so when you flip it back, you have to hit 100 instead of -100 to overcome the safety. I'd like to have it be safe, requiring a throttle down to restart. I fixed this by editing the ini directly to remove the ! from before !THR. This seems to have done the trick.

2. I want to switch the D/R and FMODE switches... I think having D/R turn flips on and off would be a better use of the 2 position switch, and using FMODE for rates would allow 3 sets of rates instead of 2.

I am also interested in opinions on how I have the rates set, using expo20 curves, and what you'd do at the various rates. I *think* I would like expo on the rudder, elevator and aeleron, but I'm new to this all, so please tell me what you think.

This has also made me want to suggest a feature - is it possible to add a comment and date at the top of an ini file? it would be soooo useful if the ini files had a creation date, and possibly a thread url associated with it.

anyway, here is the file I have so far. I will be updating it here and on RCgroups as it progresses.
name=HUBSAN
mixermode=Advanced
icon=HUBSAN~1.BMP
[radio]
protocol=Hubsan4
num_channels=7
tx_power=10mW

[protocol_opts]
vTX MHz=5885
Telemetry=On

[channel1]
template=complex
[mixer]
src=AIL
dest=Ch1
switch=DR0
scalar=70
curvetype=expo
points=20,20
[mixer]
src=AIL
dest=Ch1
switch=DR1
usetrim=0
curvetype=expo
points=20,20

[channel2]
template=complex
[mixer]
src=ELE
dest=Ch2
switch=DR0
scalar=70
curvetype=expo
points=20,20
[mixer]
src=ELE
dest=Ch2
switch=DR1
usetrim=0
curvetype=expo
points=20,20

[channel3]
safetysw=Virt1
safetyval=-100
failsafe=-100
template=complex
[mixer]
src=THR
dest=Ch3
switch=DR0
scalar=70
offset=-30
[mixer]
src=THR
dest=Ch3
switch=DR1
usetrim=0

[channel4]
template=complex
[mixer]
src=RUD
dest=Ch4
switch=DR0
scalar=70
curvetype=expo
points=20,20
[mixer]
src=RUD
dest=Ch4
switch=DR1
usetrim=0
curvetype=expo
points=20,20

[channel5]
template=simple
[mixer]
src=GEAR0
dest=Ch5
curvetype=expo
points=0,0

[channel6]
template=expo_dr
[mixer]
src=MIX0
dest=Ch6
curvetype=expo
points=0,0
[mixer]
src=MIX0
dest=Ch6
switch=MIX1
scalar=0
curvetype=expo
points=0,0
[mixer]
src=MIX0
dest=Ch6
switch=MIX0
curvetype=expo
points=0,0

[channel7]
template=simple
[mixer]
src=DR0
dest=Ch7
curvetype=expo
points=0,0

[channel8]
template=expo_dr
[mixer]
src=FMODE0
dest=Ch8
curvetype=expo
points=0,0
[mixer]
src=FMODE0
dest=Ch8
switch=FMODE1
scalar=0
curvetype=expo
points=0,0
[mixer]
src=FMODE0
dest=Ch8
switch=FMODE0
curvetype=expo
points=0,0

[virtchan1]
name=Virt1
template=complex
[mixer]
src=Virt1
dest=Virt1
usetrim=0
curvetype=min/max
points=0
[mixer]
src=THR
dest=Virt1
offset=-1
usetrim=0
muxtype=add
[mixer]
src=AIL
dest=Virt1
switch=MIX1
usetrim=0
curvetype=fixed
[mixer]
src=AIL
dest=Virt1
switch=MIX2
usetrim=0
curvetype=fixed

[trim1]
src=LEFT_V
pos=TRIMLV+
neg=TRIMLV-
[trim2]
src=RIGHT_V
pos=TRIMRV+
neg=TRIMRV-
[trim3]
src=LEFT_H
pos=TRIMLH+
neg=TRIMLH-
[trim4]
src=RIGHT_H
pos=TRIMRH+
neg=TRIMRH-
[timer2]
type=countdown
time=300
[telemalarm1]
source=Volt1
above=1
value=32
[datalog]
switch=None
rate=1 sec
[safety]
Auto=min
[gui-320x240]
V-trim=133,75,1
H-trim=6,220,3
V-trim=183,75,2
H-trim=191,220,4
Big-box=9,40,Ch3
Big-box=9,90,Timer1
Small-box=9,150,Timer2
Small-box=9,181,TelemV1
Bargraph=205,150,Ch3
Bargraph=235,150,Ch4
Bargraph=265,150,Ch2
Bargraph=295,150,Ch1
Model=206,40
Toggle=130,38,1,64,128,None
Toggle=168,38,2,65,129,None
Toggle=147,76,18,17,17,MIX
Toggle=147,115,11,12,0,Ch5
Toggle=147,153,15,16,0,DR
Toggle=147,192,14,13,13,FMODE
quickpage1=Telemetry monitor

I've also attached an updated toggle graphic I have been using to help with the testing. It includes icons for lights on, flip, noflip, stop, go, slow 70% and fast 100%. I will probably update this as time goes on as well.

thanks in advance for your help. Deviation rocks.
Attachments:
Last edit: 24 Nov 2015 09:59 by mellowvision. Reason: fixed the !THR problem, added icons for hubsan x4107c and hubsan x4 picnic quads version

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

More
24 Nov 2015 10:04 #40337 by mellowvision
Replied by mellowvision on topic Hubsan X4 - for Devo 6s - Fall 2015
reserved for final solution ini and graphics. B)

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

Time to create page: 0.027 seconds
Powered by Kunena Forum