- Posts: 10
CX-20 ini file for Devo 10
- jondubya
- Topic Author
- Offline
I did find file for Devo7 but that does not work, any help would be appreciated.
John.
Please Log in or Create an account to join the conversation.
- mwm
- Offline
As Jon noted, I offer a service doing model files for people who don't want to do their own. See www.patreon.com/mwm for details. But like Jon, I encourage you to learn how to do it yourself,and have written some tutorials to help with that. If you're familiar with computerized transmitters, then go straight to rc.mired.org/p/writing-deviationtx-model.html for an extended tutorial on dealing with deviation. It walks you through setting up a 200QX, and that ought to transfer pretty directly to any modern quad. If you're not familiar with computerized controllers, you might start with rc.mired.org/p/blog-page.html .
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Here is my ini for the Cheerson CX-20 running APM with a Devo 6s with 2x2 switch mod and L-R trim mod. It is set up with an OrangeRX R1020 (DSMX) with 10 channels.
Channels:
1-4 TAER (DSMX protocol standard)
5 - this is the Flight Mode channel with up to six modes (DR/FMODE)
6 - gimbal pitch (TRIM_R+ and TRIM_R-)
7 - not used
8 - RTL this sets the flight mode to RTL and extends the landing gear (Switch SWA)
9 - Retractable landing gear (Switch GEAR)
10 - this channel channel shadows channel 9 to turn on landing lights when gear is down.
Virt4 - used to send the pitch commands to the gimbal. TRIM_R+ and - are forward/back.
Virt5 - used for resetting the timers when you press TRIM_L+
Virt6 - used to display throttle 0-100%
Flight Modes
DR (2-way switch) and FMODE (3-way) are used to set flight modes. The combination sets 6 different values to the FC, but i have only set up five for my system... I'm thinking of use Circle in DA0/FM2, but that's for another time. Here's how i"m set up:
DR0 - FMODE 0 - RTL (1000-1230)
DR0 - FMODE 1 -Stabilze (1231-1360)
DR0 - FMODE 2 - Pos Hold (1361-1490)
DR1 - FMODE 0 - Loiter (1491-1620)
DR1 - FMODE 1 - Alt hold (1621-1749)
DR1 - FMODE 2 - Pos Hold (1750-2000)
An excellent discussion of flight modes in APM is here.
This ini should be compatible with the Devo 8, 10 and 12. For the 10, you will need to change SWA to a switch on your TX. I am also using the TRIM_R+ & - trims to simulate a potentiometer for my gimbal, but if you've got a real pot you probably want to use it. This model also uses a custom Toggle3.bmp for color icons, so for the 10 you'll need to choose other icons or create your own Toggle3.bmp... there are a couple of options on this site.
Happy Flying!
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!!
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
I will install ini file in Devo 10 and see how it goes and let you know how it goes.
I have tried other ini files previously but other than normal flying functions I could not get the flight modes to work.
Are there other setting adjustments that I need to make in the transmitter and if so could you please give me some instruction in how to go about it.
Thank you in advance,
John.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
The tricky part to APM seems to be getting the flight modes set up using the Mission Planner transmitter calibration. You may need to adjust the scalar but i think these settings are well centered. The other channels are straightforward, but you need to have a good reliable flight mode set.
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!!
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
Even though the radio binds with each model it will not show in mission planner, I reinstalled Deviation 4.0 but it made no difference so have reinstalled deviation 5.
Any help would be very much appreciated.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Can you post your ini so I can try it in the emulator?
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!!
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
name=CX-20
mixermode=Advanced
icon=CX-20.bmp
[radio]
protocol=DSMX
num_channels=10er=10mW
[protocol_opts]
Telemetry=On
[channel1]
template=simple
[mixer]
src=THR
dest=Ch1
[channel2]
reverse=1
template=simple
[mixer]
src=AIL
dest=Ch2
[channel3]
reverse=1
template=simple
[mixer]
src=ELE
dest=Ch3
[channel4]
reverse=1
template=simple
[mixer]
src=RUD
dest=Ch4
[channel5]
max=60
failsafe=-100
min=-85
template=complex
[mixer]
src=!DR1
dest=Ch5
scalar=-113
offset=20
curvetype=zero/max
points=0
[mixer]
src=FMODE1
dest=Ch5
scalar=32
usetrim=0
muxtype=add
curvetype=zero/max
points=0
[mixer]
src=FMODE2
dest=Ch5
scalar=80
usetrim=0
muxtype=add
curvetype=zero/max
points=0
[channel6]
max=55
min=-10
template=complex
[mixer]
src=!Virt4
dest=Ch6
[channel8]
template=simple
[mixer]
src=SW A1
dest=Ch8
curvetype=min/max
points=0
[channel9]
failsafe=-100
template=complex
[mixer]
src=!GEAR1
dest=Ch9
curvetype=min/max
points=0
[mixer]
src=AIL
dest=Ch9
switch=SW A1
scalar=-100
usetrim=0
curvetype=fixed
[channel10]
template=simple
[mixer]
src=Ch9
dest=Ch10
curvetype=expo
points=0,0
[virtchan4]
name=Ctilt
template=complex
[virtchan5]
name=TReset
template=simple
[mixer]
src=AIL
dest=Virt5
scalar=0
curvetype=fixed
[virtchan6]
name=Tview
template=simple
[mixer]
src=Ch1
dest=Virt6
scalar=50
offset=50
[virtchan9]
name=Virt9
[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-
[trim5]
src=Virt4
pos=TRIM_R+
neg=TRIM_R-
step=40
[trim6]
src=Virt5
pos=TRIM_L+
step=193
value=-100,0,0
[timer1]
type=countdown
src=Ch1
resetsrc=Virt5
time=600
[timer2]
src=Ch1
resetsrc=Virt5
[timer4]
type=permanent
src=Ch1
val=2406577
[datalog]
switch=None
rate=1 sec
source=Ch1
source=Ch2
source=Ch3
source=Ch4
source=Ch5
[safety]
Auto=min
[gui-320x240]
H-trim=6,220,3
V-trim=310,75,5
H-trim=191,220,4
Big-box=15,40,Virt6
Big-box=15,97,Timer1
Small-box=15,150,Timer2
Small-box=15,181,Timer4
Bargraph=190,150,Ch1
Bargraph=205,150,Ch2
Bargraph=219,150,Ch3
Bargraph=235,150,Ch4
Bargraph=255,150,Ch5
Bargraph=269,150,Ch6
Bargraph=285,150,Ch8
Bargraph=300,150,Ch9
Model=206,40
Toggle=130,38,227,226,0,SW A
Toggle=168,38,227,217,0,GEAR
Toggle=147,76,208,196,0,SW B
Toggle=147,115,1,64,128,FMODE
Toggle=147,153,6,69,0,DR
Toggle=147,192,203,196,0,Ch8
quickpage1=Telemetry monitor
quickpage2=Model setup
quickpage3=Input monitor
quickpage4=Channel monitor
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
For the Devo 10 here are the settings:
Channels:
1-4 TAER (DSMX protocol standard)
5 - this is the Flight Mode channel with up to six modes (AIL DR/FMODE)
6 - gimbal pitch
7 - not used
8 - RTL this sets the flight mode to RTL and extends the landing gear (Switch ELE DR)
9 - Retractable landing gear (Switch GEAR)
10 - this channel channel shadows channel 9 to turn on landing lights when gear is down.
** NOT USED ** AUX4 Pot is set to Channel 6. ** Virt4 - used to send the pitch commands to the gimbal. TRIM_R+ and - are forward/back.
Virt5 - used for resetting the timers when you press TRIM_L+
Virt6 - used to display throttle 0-100%
Flight Modes
AIL DR (2-way switch) and FMODE (3-way) are used to set flight modes. The combination sets 6 different values to the FC, but i have only set up five for my system... I'm thinking of use Circle in AIL DR0 / FM2, but that's for another time. Here's how i"m set up:
AIL DR0 - FMODE 0 - RTL (1000-1230)
AIL DR0 - FMODE 1 -Stabilze (1231-1360)
AIL DR0 - FMODE 2 - Pos Hold (1361-1490)
AIL DR1 - FMODE 0 - Loiter (1491-1620)
AIL DR1 - FMODE 1 - Alt hold (1621-1749)
AIL DR1 - FMODE 2 - Pos Hold (1750-2000)
An excellent discussion of flight modes in APM is here.
And I found a nice b/w icon here. Right-click and save as bitmap.
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!!
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
It will not change modes at all, it is set on "stabilize" and will not change to any other mode.
I really don't have any idea on how to change the transmitter settings if that is the problem.
Thanks again in advance, I think that I might need the idiots guide to programming the Devo 10.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
First, in Mission Planner, under Radio Calibration, do you see the channel 5 bar change values when you move the Ail DR and FMODE switches? If not then something isn't happening between the receiver and the flight controller. They should move. Check your Flight Modes configuration screen. If the flight modes are blank, you'll need to set them up, and my previous note shows how I set mine.
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!!
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
I can't get any change in Mission planner, I have tried your settings and still nothing changes with the switches.
I have noticed that whatever mode I replace the selected Stabilize mode with such as Loiter or Alt Hold it will change to that mode but the switching makes no difference
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
"num_channels=10
tx_power=10mW"
That might be a problem.
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!!
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
Please Log in or Create an account to join the conversation.
- jondubya
- Topic Author
- Offline
- Posts: 10
Could the problem be that I am using a Lemon DSMX receiver and the outputs are T, A, E, R and Gear.
Please Log in or Create an account to join the conversation.
- reednoel4u
- Offline
- Posts: 20
Hi @Deal57;Deal57 wrote: We don't have the protocol hacked for the CX-20 with the stock receiver. The stock receiver isn't really bad, but it's not like having the Devo! I have been using the OrangeRX R1020; others prefer the frsky for the telemetry (not a priority for me since I use a separate 933mhz radio for telemetry). I have been flying short flights with this setup, and i wrote the ini to be pretty flexible with other RX if needed.
Here is my ini for the Cheerson CX-20 running APM with a Devo 6s with 2x2 switch mod and L-R trim mod. It is set up with an OrangeRX R1020 (DSMX) with 10 channels.
Channels:
1-4 TAER (DSMX protocol standard)
5 - this is the Flight Mode channel with up to six modes (DR/FMODE)
6 - gimbal pitch (TRIM_R+ and TRIM_R-)
7 - not used
8 - RTL this sets the flight mode to RTL and extends the landing gear (Switch SWA)
9 - Retractable landing gear (Switch GEAR)
10 - this channel channel shadows channel 9 to turn on landing lights when gear is down.
Virt4 - used to send the pitch commands to the gimbal. TRIM_R+ and - are forward/back.
Virt5 - used for resetting the timers when you press TRIM_L+
Virt6 - used to display throttle 0-100%
Flight Modes
DR (2-way switch) and FMODE (3-way) are used to set flight modes. The combination sets 6 different values to the FC, but i have only set up five for my system... I'm thinking of use Circle in DA0/FM2, but that's for another time. Here's how i"m set up:
DR0 - FMODE 0 - RTL (1000-1230)
DR0 - FMODE 1 -Stabilze (1231-1360)
DR0 - FMODE 2 - Pos Hold (1361-1490)
DR1 - FMODE 0 - Loiter (1491-1620)
DR1 - FMODE 1 - Alt hold (1621-1749)
DR1 - FMODE 2 - Pos Hold (1750-2000)
An excellent discussion of flight modes in APM is here.
This ini should be compatible with the Devo 8, 10 and 12. For the 10, you will need to change SWA to a switch on your TX. I am also using the TRIM_R+ & - trims to simulate a potentiometer for my gimbal, but if you've got a real pot you probably want to use it. This model also uses a custom Toggle3.bmp for color icons, so for the 10 you'll need to choose other icons or create your own Toggle3.bmp... there are a couple of options on this site.
Happy Flying!
Please help.
I using Devo10 and rx1002.
When copy you file to my devo10, the 5 of first ok, but flymode number 6 not right.:
DR0 - FMODE 0 - RTL (1000-1230) 1162
DR0 - FMODE 1 -Stabilze (1231-1360) 1257
DR0 - FMODE 2 - Pos Hold (1361-1490) 1449
DR1 - FMODE 0 - Loiter (1491-1620) 1580
DR1 - FMODE 1 - Alt hold (1621-1749) 1708
DR1 - FMODE 2 - Pos Hold (1750-2000) 1741
Please show me, How to fix it, thanks
Rgs
Reed.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
scalar=80
[channel5]
max=60
failsafe=-100
min=-85
template=complex
[mixer]
src=!DR1
dest=Ch5
scalar=-113
offset=20
curvetype=zero/max
points=0
[mixer]
src=FMODE1
dest=Ch5
scalar=32
usetrim=0
muxtype=add
curvetype=zero/max
points=0
[mixer]
src=FMODE2
dest=Ch5
scalar=82
usetrim=0
muxtype=add
curvetype=zero/max
points=0
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!!
Please Log in or Create an account to join the conversation.
- reednoel4u
- Offline
- Posts: 20
Thanks for your reply.
No thing to change in Flymode number 6 when changed scale = 82 or 84 ..
but the other flymode was changed,
Please see and help me again.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
[channel5]
max=63
...
In the GUI this is adjusted by clicking on the Model Menu-> Mixer -> 5-GEAR button (not the Complex button) and scrolling to the Max Limit value.
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!!
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Model Configs, Templates, Skins
- Model Configs
- CX-20 ini file for Devo 10