V202 protocol

More
31 May 2014 15:38 #23790 by SeByDocKy
Replied by SeByDocKy on topic V202 protocol

jdoo wrote:

timmyd463229 wrote:

jason4207 wrote: I wrote the original V2x2 config file that was on Massive's site. Not sure if it has been updated since then.

Can you link to where it's currently at on his site? I just spent a good hour looking for it in vein. Been a while since I saw it there.

With all V2x2 quads the flip is initiated by activating CH6 and then hitting 100% on the stick. Ch5 is for LED control.

Certain V2x2 stock Tx's have CH6 always activated and so all that is needed is 100% stick input to initiate the flip routine, and other V2x2 stock Tx's use a separate button for Ch6 control. Either way the flip control is CH6 + 100% stick input in the protocol.

On Devo we have full control. We can keep rudder at 100% rate no matter what we set for the other rates. We can trigger Ch6 (flips) however we like; simultaneously with 100% AIL/ELE stick input or using any switch/button on the Tx or even some other creative way if you like or even fully disable it even though rates are 100%.

Here's some useful info from earlier in this thread:

deviationtx.com/forum/protocol-developme...ocol?start=100#11855

www.massiverc.com/PrestaShop/en/115-wl-t...nf-alien-canopy.html

OK thank you for the help ...yeah I really would like to be able yo fly 100% without flipping unless I want it to ...so if I want to use a switch I have to go to channel six and assign a switch to that channel and make the scale 100 and that's its?


That is exactly it. I assigned FMOD1 ( top right switch on my Devo10 ) to channel 6, and when it's in position - get flips on my V222 at 100% throws. Moving the switch away from that position -- and can go full 100% throws with no flipping!


Can you share your V2x2 model file for Devo10 ?

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

More
31 May 2014 16:05 #23792 by jdoo
Replied by jdoo on topic V202 protocol

SeByDocKy wrote:
Can you share your V2x2 model file for Devo10 ?

Happy to - but it will be a little later. All i did though, was add Channel 6 to my FMOD1 Devo10 switch... with default settings. My Devo10 had whatever model file Massive had configured on it.

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

More
01 Jun 2014 21:01 #23830 by jdoo
Replied by jdoo on topic V202 protocol
Original (unedited for channel 6) model2.ini ( Model1 is set for my Eye One Xtreme ):

name=V2X2
mixermode=Advanced
icon=V222_B.BMP
[radio]
protocol=V202
num_channels=8
fixed_id=111111
tx_power=150mW

[channel1]
reverse=1
template=complex
[mixer]
src=AIL
dest=Ch1
scalar=60
curvetype=expo
points=25,25
[mixer]
src=AIL
dest=Ch1
switch=FMODE1
curvetype=expo
points=15,15

[channel2]
template=complex
[mixer]
src=ELE
dest=Ch2
scalar=60
curvetype=expo
points=25,25
[mixer]
src=ELE
dest=Ch2
switch=FMODE1
curvetype=expo
points=15,15

[channel3]
template=complex
[mixer]
src=THR
dest=Ch3

[channel4]
reverse=1
template=complex
[mixer]
src=RUD
dest=Ch4
curvetype=expo
points=-15,-15

[channel5]
template=simple

[channel6]
template=simple
[mixer]
src=Virt3
dest=Ch6
curvetype=expo
points=0,0

[channel7]
template=simple
[mixer]
src=Virt1
dest=Ch7
curvetype=zero/max
points=0

[channel8]
template=simple
[mixer]
src=Virt2
dest=Ch8
curvetype=zero/max
points=0

[virtchan1]
template=complex
[mixer]
src=AIL
dest=Virt1
scalar=0
curvetype=fixed

[trim1]
src=Virt1
pos=TRIMLV+
neg=None
step=193
value=-100,0,0
[trim2]
src=RIGHT_V
pos=TRIMRV+
neg=TRIMRV-
step=5
[trim3]
src=Virt3
pos=TRIMLH-
neg=None
step=192
value=-100,0,0
[trim4]
src=RIGHT_H
pos=TRIMRH+
neg=TRIMRH-
step=5
[trim5]
src=Virt2
pos=TRIMLV-
neg=None
step=193
value=-100,0,0
[timer1]
type=countdown
src=GEAR0
resetsrc=GEAR1
time=360
[timer2]
src=THR
[datalog]
switch=None
rate=1 sec
[safety]
Auto=min
[gui-128x64]
V-trim=59,10,0
H-trim=5,59,0
V-trim=65,10,2
H-trim=74,59,4
Small-box=2,22,Ch3
Small-box=2,31,Timer1
Small-box=2,39,Timer2
Model=75,20
Battery=102,1
Toggle=4,10,0,3,0,None
Toggle=13,10,0,5,0,None
Toggle=22,10,0,4,0,None
Toggle=31,10,0,0,0,None
Toggle=40,10,0,0,0,None
TxPower=102,7
quickpage1=Telemetry monitor

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

More
02 Jun 2014 02:35 #23837 by timmyd463229
Replied by timmyd463229 on topic V202 protocol
So with those setting fmode will enable flip mode?

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

More
02 Jun 2014 11:35 #23846 by jdoo
Replied by jdoo on topic V202 protocol

timmyd463229 wrote: So with those setting fmode will enable flip mode?

No. I configured Channel 6 to FMODE1 (with defaults) on top of these. I did this from the transmitter itself. It's pretty straight forward. Sorry - not where I can get and dump the updated model file. Again though -- IIRC, you only need to go to the Mixer settings and make a quick entry / Change in Channel 6 to a Devo10 control. In my case... that was FMODE1. That - enables flip mode at 100% throws.

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

More
02 Jun 2014 19:23 #23857 by timmyd463229
Replied by timmyd463229 on topic V202 protocol
Maybe someone else can chime in here about them setting cause I'm new to this but the way that is set fmod switch is set to expo so if we put fmod1 to channel 6 when I switch to fmod I'd also be switching the expo to 100 but then you would always be in flip mode with 100 when u want 100 expo so wouldn't it be better to use a different switch for channel 6 maybe fmod2 so fmod would be 60-100-100 with flip?

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

More
03 Jun 2014 01:35 #23867 by jdoo
Replied by jdoo on topic V202 protocol
I connected to my Devo10 and dumped my V222 model file. Here it is:

name=V2X2
mixermode=Advanced
icon=V222_B.BMP
[radio]
protocol=V202
num_channels=8
fixed_id=111111
tx_power=150mW

[channel1]
reverse=1
template=complex
[mixer]
src=AIL
dest=Ch1
scalar=80
curvetype=expo
points=25,25
[mixer]
src=AIL
dest=Ch1
switch=FMODE1
curvetype=expo
points=15,15

[channel2]
template=complex
[mixer]
src=ELE
dest=Ch2
scalar=80
curvetype=expo
points=25,25
[mixer]
src=ELE
dest=Ch2
switch=FMODE1
curvetype=expo
points=15,15

[channel3]
template=complex
[mixer]
src=THR
dest=Ch3

[channel4]
reverse=1
template=complex
[mixer]
src=RUD
dest=Ch4
scalar=125
curvetype=expo
points=-15,-15

[channel5]
template=simple

[channel6]
template=simple
[mixer]
src=FMODE1
dest=Ch6
curvetype=expo
points=0,0

[channel7]
template=simple
[mixer]
src=ELE DR0
dest=Ch7
curvetype=zero/max
points=0

[channel8]
template=simple
[mixer]
src=AIL DR1
dest=Ch8
curvetype=zero/max
points=0

[virtchan1]
template=complex
[mixer]
src=AIL
dest=Virt1
scalar=0
curvetype=fixed

[trim1]
src=Virt1
pos=TRIMLV+
neg=None
step=193
value=-100,0,0
[trim2]
src=RIGHT_V
pos=TRIMRV+
neg=TRIMRV-
step=5
[trim3]
src=Virt3
pos=TRIMLH-
neg=None
step=192
value=-100,0,0
[trim4]
src=RIGHT_H
pos=TRIMRH+
neg=TRIMRH-
step=5
[trim5]
src=Virt2
pos=TRIMLV-
neg=None
step=193
value=-100,0,0
[timer1]
type=countdown
src=GEAR0
resetsrc=GEAR1
time=360
[timer2]
src=THR
[datalog]
switch=None
rate=1 sec
[safety]
Auto=min
[gui-128x64]
V-trim=59,10,0
H-trim=5,59,0
V-trim=65,10,2
H-trim=74,59,4
Small-box=2,22,Ch3
Small-box=2,31,Timer1
Small-box=2,39,Timer2
Model=75,20
Battery=102,1
Toggle=4,10,0,3,0,None
Toggle=13,10,0,5,0,None
Toggle=22,10,0,4,0,None
Toggle=31,10,0,0,0,None
Toggle=40,10,0,0,0,None
TxPower=102,7
quickpage1=Telemetry monitor

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

More
03 Jun 2014 23:23 #23884 by jdoo
Replied by jdoo on topic V202 protocol
Thanks to a PM from timmy463229, I added this to Channel5 to get the V222 lights to toggle on/off with Mix1 (on)..
[channel5]
template=simple
[mixer]
src=MIX1
dest=Ch5
curvetype=expo
points=0,0

While I was there, I upped the rates to 125 for everything. It only flips the V222 when the FMOD1 switch is centered ( Channel 6 enabled ), so bumping the rates (AIL, RUD, ELE) as high as they can go was my preferred setting..

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

More
04 Jun 2014 01:19 #23886 by victzh
Replied by victzh on topic V202 protocol
I'll tell you a secret - V202 protocol can't use 125%. By setting it to 125% you effectively make your sticks more sensitive, but the range - smaller.

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

More
04 Jun 2014 01:21 #23887 by jdoo
Replied by jdoo on topic V202 protocol

victzh wrote: I'll tell you a secret - V202 protocol can't use 125%. By setting it to 125% you effectively make your sticks more sensitive, but the range - smaller.

LOL. Thanks.. I probably should spend more time reading your write-ups.. :P

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

More
18 Jul 2014 00:36 #24665 by ramunas
Replied by ramunas on topic V202 protocol

victzh wrote: OK, I build a new V202 for Devo10. It has an option - Re-bind. If you set it to Yes, it will start in binding mode for 3 seconds at every TX turn-on. I will put it in Builds forum. Test it and if it's satisfactory I will make a pull request so that it will be in nightlies.


Victzh - Has the V202 re-bind at transmitter turn-on been implemented in the Devo7E nightly? The 7E has the same issue, and it would be useful. In my case I am using it for the V272 at the moment. -thanks, great firmware!

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

More
24 Jul 2014 02:53 - 24 Jul 2014 04:24 #24765 by Florida Heli
Replied by Florida Heli on topic V202 protocol
Problem solved itself by the heli dying.

-Florida Heli-
Last edit: 24 Jul 2014 04:24 by Florida Heli.

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

More
30 Jul 2014 21:02 #24922 by victzh
Replied by victzh on topic V202 protocol

ramunas wrote: Victzh - Has the V202 re-bind at transmitter turn-on been implemented in the Devo7E nightly? The 7E has the same issue, and it would be useful. In my case I am using it for the V272 at the moment. -thanks, great firmware!


As far as I can tell by looking at the code - yes. It is turned off by default, you need to press enter when you on the Protocol menu item on the model configuration page and switch it on.

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

More
12 Dec 2014 06:09 #26912 by SLMcc
Replied by SLMcc on topic V202 protocol

jdoo wrote: I connected to my Devo10 and dumped my V222 model file. Here it is:

name=V2X2
mixermode=Advanced
icon=V222_B.BMP
[radio]
protocol=V202
num_channels=8
fixed_id=111111
tx_power=150mW

[channel1]
reverse=1
template=complex
[mixer]
src=AIL
dest=Ch1
scalar=80
curvetype=expo
points=25,25
[mixer]
src=AIL
dest=Ch1
switch=FMODE1
curvetype=expo
points=15,15

[channel2]...


Would this be a good file for the little v272? Thanks!

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

More
14 Dec 2014 10:39 - 16 Dec 2014 02:43 #26966 by DeviateFish
Replied by DeviateFish on topic V202 protocol

SLMcc wrote: Would this be a good file for the little v272? Thanks!


Here's some of my current v272 inis I am using with a 7e. These profiles use icons from here: www.deviationtx.com/forum/bw-icons-for-d...-q4-jet-funjet-clone

Red LED on HOLD 1. Flip enable on HOLD 0.
High rates on FMOD 1, Low rates on FMOD 0.
Timers are set for a 180 second flight time based on throttle, I read somewhere (rcg?) that people experienced longer battery life when capping their flights around 3 minutes.

Look over the code and you should be able to change it for your needs.

name=V272_60DR
mixermode=Advanced
icon=protox02.BMP
type=plane
[radio]
protocol=V202
num_channels=6
tx_power=150mW

[channel1]
reverse=1
template=expo_dr
[mixer]
src=AIL
dest=Ch1
scalar=60
curvetype=expo
points=-10,-10
[mixer]
src=AIL
dest=Ch1
switch=FMODE0
scalar=60
curvetype=expo
points=-10,-10
[mixer]
src=AIL
dest=Ch1
scalar=100
switch=FMODE1
curvetype=expo
points=-10,-10

[channel2]
template=complex
[mixer]
src=ELE
dest=Ch2
scalar=60
curvetype=expo
points=-10,-10
[mixer]
src=ELE
dest=Ch2
scalar=60
switch=FMODE0
curvetype=expo
points=-10,-10
[mixer]
src=ELE
dest=Ch2
scalar=100
switch=FMODE1
curvetype=expo
points=-10,-10

[channel3]
template=complex
[mixer]
src=THR
dest=Ch3

[channel4]
reverse=1
template=simple
[mixer]
src=RUD
dest=Ch4

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

[channel6]
template=simple
[mixer]
src=HOLD0
dest=Ch6
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-
[timer1]
type=countdown
src=Ch3
time=180
[timer2]
type=stopwatch
src=Ch3
[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,39,Timer2
Model=75,20
Battery=102,1
Toggle=4,10,0,3,0,FMODE
Toggle=13,10,0,5,0,HOLD
Toggle=22,10,0,4,0,None
Toggle=31,10,0,0,0,None
Toggle=40,10,0,0,0,None
TxPower=102,7
quickpage1=Telemetry monitor


Here's an ini I've been using with young pilots who have no RC experience. Note the rates are extremely (painfully) low and even the throttle is tame.

name=V272_20DR_M25T
mixermode=Advanced
icon=protox01.BMP
type=plane
[radio]
protocol=V202
num_channels=6
tx_power=150mW

[channel1]
reverse=1
template=expo_dr
[mixer]
src=AIL
dest=Ch1
scalar=20
curvetype=expo
points=-10,-10
[mixer]
src=AIL
dest=Ch1
switch=FMODE0
scalar=20
curvetype=expo
points=-10,-10
[mixer]
src=AIL
dest=Ch1
switch=FMODE1
curvetype=expo
points=-10,-10

[channel2]
template=complex
[mixer]
src=ELE
dest=Ch2
scalar=20
curvetype=expo
points=-10,-10
[mixer]
src=ELE
dest=Ch2
scalar=20
switch=FMODE0
curvetype=expo
points=-10,-10
[mixer]
src=ELE
dest=Ch2
switch=FMODE1
curvetype=expo
points=-10,-10

[channel3]
max=25
min=-100
template=complex
failsafe=-100
safetyval=-100
[mixer]
src=THR
dest=Ch3

[channel4]
reverse=1
template=simple
[mixer]
src=RUD
dest=Ch4

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

[channel6]
template=simple
[mixer]
src=HOLD0
dest=Ch6
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-
[timer1]
type=countdown
src=Ch3
time=180
[timer2]
type=stopwatch
src=Ch3
[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,39,Timer2
Model=75,20
Battery=102,1
Toggle=130,38,0,72,0,GEAR
Toggle=168,38,0,72,0,GEAR
Toggle=158,76,66,5,0,DR
Toggle=158,115,1,0,0,FMODE
Toggle=158,153,0,64,0,FMODE
Toggle=158,192,0,0,128,FMODE
TxPower=102,7
quickpage1=Telemetry monitor


Not sure if I did these correctly but myself and others have been flying on them without issue so far. I have only owned my 7e for a few days.

Enjoy
Last edit: 16 Dec 2014 02:43 by DeviateFish.

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

More
21 Dec 2014 02:05 #27119 by SLMcc
Replied by SLMcc on topic V202 protocol
Hi DeviateFish.

Thanks for the files. I've been working on getting the first one set up on my 8s. I've made some tweaks to tame it down a bit and getting the switch assignments set. The 8s has GEAR, not HOLD. Oops on my part! I set those to the GEAR switch but had them backward! That got interesting fast, LOL! :woohoo:

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

More
31 Jan 2015 21:42 - 16 Mar 2015 08:42 #28302 by Durete
Replied by Durete on topic V202 protocol
Hi guys.
By popular demand :) , I captured SPI data for Headless mode in Wltoys V626,V636 and probably newer models with magnetometer.
The first file, is a capture with the bind sequence, activate Headless button and some seconds later deactivate Headless mode.
The second file, are the commands implicated to calibrate X and Y axis at the quadcopter for Headless operation. This calibration is buggy, and really nobody knows 100% how it works. Maybe don't mind to put attention into this calibration procedure, or can't be replicated at this protocol, but if anyone want to take a look, I captured the sequence to calibration. Bind sequence, X calibration and some seconds later Y calibration.

Maybe Victzh or any other V202 expert could take a look to integrate into the V202 protocol.

Thanks!!!

Removed data captured
Last edit: 16 Mar 2015 08:42 by Durete. Reason: Removed data captured

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

More
04 Mar 2015 07:37 #29312 by Durete
Replied by Durete on topic V202 protocol
Anyone continues monitoring this thread? :huh:
Maybe is better to open a new thread with the captures? :unsure:

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

More
04 Mar 2015 09:00 #29317 by victzh
Replied by victzh on topic V202 protocol
I am, I will take a look at it. I made a note to myself in the list of my current projects.

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

More
04 Mar 2015 09:28 #29319 by Durete
Replied by Durete on topic V202 protocol
Thanks Victzh! :)

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

Time to create page: 0.082 seconds
Powered by Kunena Forum