×
Important information

To file a bug, find instructions here: Reporting bugs

Please only post images or files to this forum which you either own the copyright to or you are sure can be distributed under an open source license.

Hubsan H122D Devo 10 Model ini

More
18 Apr 2018 18:30 - 18 Apr 2018 18:40 #68726 by FireAngel
Hubsan H122D Devo 10 Model ini was created by FireAngel
I have made a 10 channel simple switch model ini for the Devo 10 Hubsan H122D quad from the channel mapping info below that SeByDocKy gave me.

CHANNEL1 = 0, // Aileron
CHANNEL2, // Elevator
CHANNEL3, // Throttle
CHANNEL4, // Rudder
ChANNEL5, // Leds
CHANNEL6, // Flip (or Altitude Hold on H501S, Stabilized mode on/off on H301)
CHANNEL7, // Still camera
CHANNEL8, // Video camera
CHANNEL9, // Headless
CHANNEL10, // RTH
CHANNEL11, // GPS HOLD

I have assigned to the following switches,

CHANNEL1 = 0, // Aileron
CHANNEL2, // Elevator
CHANNEL3, // Throttle
CHANNEL4, // Rudder
RUD DR CHANNEL5, // Leds -100 OFF +100 ON
ELE DR CHANNEL6, // Flip (or Altitude Hold on H501S, Stabilized mode on/off on H301)
GEAR CHANNEL7, // Still camera
MIX CHANNEL8, // Video camera
AIL DR CHANNEL9, // Headless
FMODE CHANNEL10, // RTH

Channels 1,2,3,4,5,7,8 work ok and it flys good, But i cant get channels 6,9,10 to work these should be,

OSD on/off (dont think this works when not using original controller)
SPORT Mode on/off
Flip Direction on/off

They are working on the devo 10 channel monitor as -100 OFF +100 ON but does not do anything on the quad.
Sport and flip on the original controller work by pressing(clicking) the sticks down if that makes a difference?

How do i get these working as this quad does not use betaflight to see whats happening?

Thanks

File Attachment:

File Name: MODEL7.INI
File Size:4 KB



name=H122D ORIG 501
mixermode=Advanced
type=plane
[radio]
protocol=Hubsan4
num_channels=11
fixed_id=123456
tx_power=10mW

[protocol_opts]
Format=H501
vTX MHz=5830
Telemetry=On
Freq Tune=0

[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]
reverse=1
template=simple
[mixer]
src=RUD DR0
dest=Ch5
curvetype=expo
points=0,0

[channel6]
reverse=1
template=simple
[mixer]
src=ELE DR0
dest=Ch6
curvetype=expo
points=0,0

[channel7]
reverse=1
template=simple
[mixer]
src=GEAR0
dest=Ch7
curvetype=expo
points=0,0

[channel8]
reverse=1
template=simple
[mixer]
src=MIX0
dest=Ch8
curvetype=expo
points=0,0

[channel9]
reverse=1
template=simple
[mixer]
src=AIL DR0
dest=Ch9
curvetype=expo
points=0,0

[channel10]
reverse=1
template=simple
[mixer]
src=FMODE0
dest=Ch10
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-128x64]
V-trim=59,10,1
H-trim=5,59,3
V-trim=65,10,2
H-trim=74,59,4
Small-box=2,22,Ch3
Small-box=2,31,Timer1
Small-box=2,40,Timer2
Model=75,20
Battery=102,1
Toggle=4,10,0,3,0,RUD DR
Toggle=13,10,0,5,0,ELE DR
Toggle=22,10,0,4,0,AIL DR
Toggle=31,10,0,0,0,None
Toggle=40,10,0,0,0,None
TxPower=102,7
quickpage1=Telemetry monitor
[voice]
Attachments:
Last edit: 18 Apr 2018 18:40 by FireAngel.

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

More
14 May 2018 12:57 #69215 by fynn00
Replied by fynn00 on topic Hubsan H122D Devo 10 Model ini
Same thing with my H122D, Deviation on Jumper T8SG plus.
With your model.ini the little race copter did not even release the rotor lock.
I had to delete the last channels and now it works like a charm. However still not able to use flip mode or headless but I don't need any of it.

Here is my model.ini

By the way: I have also used telemetry of the H122D which is just the copter's voltage. Very helpful. It start at 8.4 V and if it goes below 6.8 the copter starts to use it's speaker. On the transmitter display it is very helpful to see the actual voltage.

I have also created an icon. You can find it in the icon section of this forum.

Cheers
Flow
Attachments:

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

More
14 May 2018 13:07 #69216 by goebish
Replied by goebish on topic Hubsan H122D Devo 10 Model ini

FireAngel wrote: i cant get channels 6,9,10 to work these should be,

OSD on/off (dont think this works when not using original controller)
SPORT Mode on/off
Flip Direction on/off


Those functions have never been implemented into the Hubsan X4 / H501 protocol, can you dump the SPI bus inside your stock transmitter so we can add them ?
www.deviationtx.com/forum/protocol-devel...95-spi-capture-guide

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

Time to create page: 0.210 seconds
Powered by Kunena Forum