- Posts: 15
- Forum
- Model Configs, Templates, Skins
- Model Configs
- Model Requests
- Hubsan X4 H107L setup for Devo 7E?
Hubsan X4 H107L setup for Devo 7E?
- barees63
- Topic Author
- Offline
Less
More
04 Sep 2015 08:33 #37426
by barees63
Hubsan X4 H107L setup for Devo 7E? was created by barees63
Can anyone point me at a good model config for the V2 Hubsan X4 (w/leds) that is setup for the 7E?
I have downloaded one for the Devo 10 which works (I get voltage telemetry, it flies) but I'm not sure of the best way to map all the functions to the 7E switches, a working config to help me learn would be much appreciated
Thanks!
Bruce
I have downloaded one for the Devo 10 which works (I get voltage telemetry, it flies) but I'm not sure of the best way to map all the functions to the 7E switches, a working config to help me learn would be much appreciated
Thanks!
Bruce
Please Log in or Create an account to join the conversation.
- barees63
- Topic Author
- Offline
Less
More
- Posts: 15
05 Sep 2015 06:39 - 05 Sep 2015 06:40 #37461
by barees63
Replied by barees63 on topic Hubsan X4 H107L setup for Devo 7E?
FWIW, I found this one from 2013, added voltage telemetry, made HOLD1 the throttle safety switch and disabled auto-flip
throttle trim down toggles the LEDS and FMODE is mid/high rates.
I'm not sure why it says num_channels=4 when it is using 6 but it seems to work regardless?
Perhaps it will help someone else and If anyone has any suggestions on improving it for the latest deviation builds I'd be most grateful!
throttle trim down toggles the LEDS and FMODE is mid/high rates.
I'm not sure why it says num_channels=4 when it is using 6 but it seems to work regardless?
Perhaps it will help someone else and If anyone has any suggestions on improving it for the latest deviation builds I'd be most grateful!
name=Hubsan X4
mixermode=Advanced
icon=HubsanX4.BMP
[radio]
protocol=Hubsan4
num_channels=4
tx_power=30mW
[protocol_opts]
vTX MHz=5885
Telemetry=On
[channel1]
template=expo_dr
[mixer]
src=AIL
dest=Ch1
scalar=75
curvetype=expo
points=0,0
[mixer]
src=AIL
dest=Ch1
switch=FMODE1
curvetype=expo
points=0,0
[channel2]
template=expo_dr
[mixer]
src=ELE
dest=Ch2
scalar=75
curvetype=expo
points=0,0
[mixer]
src=ELE
dest=Ch2
switch=FMODE1
curvetype=expo
points=0,0
[channel3]
safetysw=HOLD1
safetyval=-100
template=simple
[mixer]
src=THR
dest=Ch3
[channel4]
template=expo_dr
[mixer]
src=RUD
dest=Ch4
scalar=50
curvetype=expo
points=0,0
[mixer]
src=RUD
dest=Ch4
switch=FMODE1
scalar=60
curvetype=expo
points=0,0
[channel6]
template=simple
[mixer]
src=HOLD0
dest=Ch6
scalar=-100
curvetype=min/max
points=0
[virtchan1]
template=complex
[mixer]
src=AIL
dest=Virt1
scalar=0
curvetype=fixed
[trim2]
src=RIGHT_V
pos=TRIMRV+
neg=TRIMRV-
value=21,0,0
[trim3]
src=LEFT_H
pos=TRIMLH+
neg=TRIMLH-
[trim4]
src=RIGHT_H
pos=TRIMRH+
neg=TRIMRH-
value=13,0,0
[trim5]
src=Ch5
pos=TRIMLV-
step=192
value=-100,0,0
[timer1]
type=countdown
src=THR
time=300
[timer2]
src=THR
[telemalarm1]
source=Volt1
above=1
value=32
[safety]
Auto=min
[gui-128x64]
V-trim=58,10,1
H-trim=1,59,3
V-trim=65,10,2
H-trim=76,59,4
Small-box=2,20,Ch3
Small-box=2,31,Timer1
Small-box=2,42,TelemV1
Model=76,22
Battery=74,1
TxPower=102,1
Small-box=78,14,Ch7
Last edit: 05 Sep 2015 06:40 by barees63.
Please Log in or Create an account to join the conversation.
- mellowvision
- Offline
Less
More
- Posts: 29
17 Nov 2015 07:14 #40145
by mellowvision
Replied by mellowvision on topic Hubsan X4 H107L setup for Devo 7E?
I'm looking for similar information. I have a Hubsan x4 107c, and a Devo 6s with devo6-v4.0.1-583c468.
The build has a hubsan model built in, and it will fly the quad, and I can toggle the leds with the gear switch. Supposedly one of the switches allows/dissallows autoflips, but I don't know which one, and haven't tested it with enough space to try flips. I don't care that much about flips really, but would like to know how to use the switches. On the radio, I was able to add the voltage telemetry to the display, and have been able to map switches on the display and add a custom icon... but have not been able to figure out how to make a throttle safety. I also found your model here and thought I'd ask what the key differences are between your ini and the stock one. I'm new to deviation, just trying to figure it all out. If you could help me make sense of the code, that would be great.
here is the code from my stock hubsan profile that is installed as model 2 on mine:
here's a bonus - an icon for the 107c.
The build has a hubsan model built in, and it will fly the quad, and I can toggle the leds with the gear switch. Supposedly one of the switches allows/dissallows autoflips, but I don't know which one, and haven't tested it with enough space to try flips. I don't care that much about flips really, but would like to know how to use the switches. On the radio, I was able to add the voltage telemetry to the display, and have been able to map switches on the display and add a custom icon... but have not been able to figure out how to make a throttle safety. I also found your model here and thought I'd ask what the key differences are between your ini and the stock one. I'm new to deviation, just trying to figure it all out. If you could help me make sense of the code, that would be great.
here is the code from my stock hubsan profile that is installed as model 2 on mine:
name=HUBSAN
mixermode=Advanced
[radio]
protocol=Hubsan4
num_channels=7
tx_power=10mW
[protocol_opts]
vTX MHz=5885
Telemetry=On
[channel1]
template=simple
[mixer]
src=AIL
dest=Ch1
[channel2]
template=simple
[mixer]
src=ELE
dest=Ch2
[channel3]
template=simple
[mixer]
src=THR
dest=Ch3
[channel4]
template=simple
[mixer]
src=RUD
dest=Ch4
[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
[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=10
[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,None
Bargraph=205,150,Ch2
Bargraph=235,150,Ch1
Bargraph=265,150,Ch3
Bargraph=295,150,Ch4
Model=206,40
Toggle=130,38,1,64,128,None
Toggle=168,38,2,65,129,None
Toggle=147,76,0,66,0,None
Toggle=147,115,0,67,0,None
Toggle=147,153,0,68,0,None
Toggle=147,192,8,71,0,None
quickpage1=Telemetry monitor
here's a bonus - an icon for the 107c.
Please Log in or Create an account to join the conversation.
- barees63
- Topic Author
- Offline
Less
More
- Posts: 15
17 Nov 2015 19:49 #40164
by barees63
Replied by barees63 on topic Hubsan X4 H107L setup for Devo 7E?
I'm afraid it's the blind leading the blind here, but I do know how to set the safety switch.. immediately under [channel3] add these two lines:
safetysw=HOLD1
safetyval=-100
You may have to replace HOLD1 with an unused switch from the 6S (I don't know anything about that model) but on the 7E this locks out the throttle when the HOLD switch is in the down position.
safetysw=HOLD1
safetyval=-100
You may have to replace HOLD1 with an unused switch from the 6S (I don't know anything about that model) but on the 7E this locks out the throttle when the HOLD switch is in the down position.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
Less
More
- Posts: 857
18 Nov 2015 00:49 - 18 Nov 2015 00:52 #40169
by Deal57
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Replied by Deal57 on topic Hubsan X4 H107L setup for Devo 7E?
Here are some code snippets that should help. Presuming Channel 3 is the throttle channel, you set up a virtual channel to handle the "sticky throttle hold". Please use Search for "Sticky Throttle Hold" and you'll see some really awesome discussion and help on this topic.
On the Devo 6S I think most people use the GEAR switch rather than HOLD. You can choose whatever switch you are comfortable with. We are testing the code to add more switches to the 6S, so I put in a dedicated HOLD switch on my 6S now, along with additional trims and a couple other things. Gotta love this software!
On the Devo 6S I think most people use the GEAR switch rather than HOLD. You can choose whatever switch you are comfortable with. We are testing the code to add more switches to the 6S, so I put in a dedicated HOLD switch on my 6S now, along with additional trims and a couple other things. Gotta love this software!
[channel3]
safetysw=Virt1
safetyval=-100
failsafe=-100
template=simple
[mixer]
src=THR
dest=Ch3
...
[virtchan1]
template=complex
[mixer]
src=Virt1
dest=Virt1
usetrim=0
curvetype=min/max
points=0
[mixer]
src=Ch3
dest=Virt1
offset=-1
usetrim=0
muxtype=add
[mixer]
src=AIL
dest=Virt1
switch=HOLD1
usetrim=0
curvetype=fixed
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Last edit: 18 Nov 2015 00:52 by Deal57.
Please Log in or Create an account to join the conversation.
- Forum
- Model Configs, Templates, Skins
- Model Configs
- Model Requests
- Hubsan X4 H107L setup for Devo 7E?
Time to create page: 0.037 seconds
- Home
- Forum
- Model Configs, Templates, Skins
- Model Configs
- Model Requests
- Hubsan X4 H107L setup for Devo 7E?