CX-20 ini file for Devo 10

More
24 Sep 2016 02:33 #54194 by jondubya
CX-20 ini file for Devo 10 was created by jondubya
Can anyone please assist me with an ini file for Cheerson CX-20 and Devo10. I have searched thread thoroughly and haven't been able to find.
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.

More
25 Sep 2016 22:00 #54267 by mwm
Replied by mwm on topic CX-20 ini file for Devo 10
I doubt you found a file for the Devo 7, as cheerson hasn't licensed their protocols from walkera, and that's all the 7 can do. Possibly you mean the 7e?

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.

More
26 Sep 2016 17:27 #54294 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
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!

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!!
Attachments:

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

More
26 Sep 2016 23:31 #54308 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
Thank you for the CX-20 ini file Deal57, I have the Lemon 10 channel DSMX receiver with satellite installed.
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.

More
27 Sep 2016 01:23 #54310 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
I guess it should go without saying that you should test this with the blades off! I was a bit surprised to find I needed to reverse a couple of channels and I did not break any blades to find out.

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.

More
28 Sep 2016 10:03 #54361 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
I now have a problem with the Thr, Ail, Elev and Rud outputs on the Devo 10 after updating from Deviation 4.0 to 5.0. The outputs do not show any anything on the monitor accept a zero.
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.

More
28 Sep 2016 19:30 #54380 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
Ok, I'll load that ini in the Devo 10 emulator and fix the switches and layout.

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.

More
29 Sep 2016 03:12 #54387 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
It was the one that you posted 589.

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.

More
30 Sep 2016 00:32 #54415 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
I loaded the ini file into the Devo 10 emulator and fixed it to work with that transmitter. I HAVE NOT FLOWN WITH THESE SETTINGS! Before you fly, be sure to check the ELE DR switch for RTL mode, and the Gear switch if you have retractable landing gear. If you have this working please let us know!

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 (TRIM_R+ and TRIM_R-) Aux4
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!!
Attachments:

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

More
30 Sep 2016 01:40 #54417 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
Thank you Deal57 for all of your hard work, i will try and get the radio sorted an the weekend and will keep you up to date. Thank you again and kind regards.

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

More
02 Oct 2016 07:44 #54503 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
Hi again Deal57, I reloaded the latest version Deviation 5.0 nightly build plus the ini file that you so kindly supplied. Everything is working according to the Devo 10 monitor screen, but I can't get it to work with Mission Planner.
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.

More
02 Oct 2016 12:44 #54505 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
APM and Mission Planner can be tricky. Does your Mission Planner have flight modes set up?

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.

More
03 Oct 2016 02:57 #54532 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
My flight mode setup is the initial settings from the top RTL, Alt Hold, Stabilize, Stabilize, Stabilize, Loiter.
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.

More
03 Oct 2016 11:20 #54549 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
Looking closely at the ini you posted, there is a line about six lines in that looks wrong. It says."num_channels=10er=10mW". This SHOULD read as two lines:
"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.

More
04 Oct 2016 02:52 #54565 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
Thanks again Deal57 I will check and change. I will let you know how it pans out.

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

More
04 Oct 2016 07:08 #54572 by jondubya
Replied by jondubya on topic CX-20 ini file for Devo 10
In the later ini file that you posted you did make the change to two separate lines.
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.

More
23 May 2018 15:52 #69385 by reednoel4u
Replied by reednoel4u on topic CX-20 ini file for Devo 10

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!

Hi @Deal57;
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.

More
25 May 2018 13:28 #69403 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
Channel 5 sets the flight mode, and the scalar is how you can adjust the output PWM values. DR sets a base value, then FMODE adds a scalar, so i think that you can add a bit to the FMODE2 scalar to fix this. It is set at
scalar=80
now, so you can increase it by 2 and the PWM value should go up a bit; just add 2 at a time until you have over 1750. Don't go too high, because this setting also affects the third mode (1361 - 1490) which will also increase.
[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.

More
27 May 2018 06:07 - 27 May 2018 15:07 #69430 by reednoel4u
Replied by reednoel4u on topic CX-20 ini file for Devo 10
Hi sir,
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.
Last edit: 27 May 2018 15:07 by reednoel4u.

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

More
01 Jun 2018 12:19 #69501 by Deal57
Replied by Deal57 on topic CX-20 ini file for Devo 10
My apologies, it has been a while since I've worked on this one. The solution isn't the scalar so please return that to the original value (80). The correct change is to the channel max value, which is now set at 60. You can increase that a bit which will increase your PWM output.

[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.

Time to create page: 0.069 seconds
Powered by Kunena Forum