including custom-switch support in Deviation

More
08 Apr 2014 16:32 #22247 by victzh
Your pictures, as always, are very nice and instructive. Do you have a post on your site?

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

More
10 Apr 2014 00:07 - 10 Apr 2014 00:08 #22293 by Daryoon
Replied by Daryoon on topic including custom-switch support in Deviation
No. Not yet. It's like Developers and getting around to documenting. Not the fondest job.

Then add in a heathy dose of family life with three little kids...and written step by step instructions gets push to the back burner. :) One day though. I get pinged about it often.

I have modded 4 Devo 7e in the last few days.

And we had a Fly Nite yesterday. Came back home with two more. :|
Last edit: 10 Apr 2014 00:08 by Daryoon.

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

More
19 Apr 2014 20:17 - 20 Apr 2014 08:15 #22580 by smith
Hi everyone. I'm going to do the 1x3 switch mod on my devo 7e, but I'm very noobish at the coding side, so I have a few questions;
1, does this mod need extra coding for it?
2, if so is it possible to download it?
3, how do i code it myself? as in where is the code i am changing?

Thank you so much for any help
Last edit: 20 Apr 2014 08:15 by smith.

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

More
21 Apr 2014 07:28 #22625 by Arakon
Install the latest nightly and you won't have to do any extra "coding", just add the switch option in the hardware.ini.


But speaking of which, I recently installed a 3-position switch on the "fmode-side" of the TX (7E). When setting the switch option to 3x1, the switch is recognized as "SW A", but the third position (SW A2) never changes. If I set it up to 3x2, "SW A" becomes "SW B" and suddenly all three positions work. There seems to be some sort of bug. I already filed in in the bug tracker, but maybe someone else had this issue and can confirm it?

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

More
06 Jun 2014 01:13 #23929 by warewolf75
Replied by warewolf75 on topic including custom-switch support in Deviation
im about to install the nightly built into my devo 7e and already have 2x3way switch ans diode according to this topic, after the switch installation and the nightly build installed, do i have to activate it in the hardware.ini file? and if yes wich what do i write ? plus do i have to reactivate my nrf24l01 mod and range mod after installing the build?

and by the way, can i install a 7.4v 2s lipo pack in it, im confuse with all the topics here. :(

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

More
08 Jun 2014 08:39 #23962 by Horst0414
Replied by Horst0414 on topic including custom-switch support in Deviation

Arakon wrote: But speaking of which, I recently installed a 3-position switch on the "fmode-side" of the TX (7E). When setting the switch option to 3x1, the switch is recognized as "SW A", but the third position (SW A2) never changes. If I set it up to 3x2, "SW A" becomes "SW B" and suddenly all three positions work. There seems to be some sort of bug. I already filed in in the bug tracker, but maybe someone else had this issue and can confirm it?


Hello,

I can confirm your findings, using the nightly f5f04d4.

Greets

Horst

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

More
09 Jun 2014 00:12 #23979 by PhracturedBlue
Replied by PhracturedBlue on topic including custom-switch support in Deviation
The 3x1 installation is different than the 3x2 installation. I'm not sure which instructions you followed for the 3x1, but if it works properly with a 3x2 than the wiring isn't what Deviation expects (Deviation expects the 3x1 wiringto match the 2x2 wiring). As you've noted, it is easy enough to get it working though.

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

More
12 Jun 2014 20:39 - 12 Jun 2014 20:40 #24057 by Arakon
Okay, it gets even weirder. I now added the second switch (so proper 3x2 wiring with 2 switches).
I set them up like this: www.deviationtx.com/forum/7-development/...ation?start=80#19199

Channel 6 with SW B, channel 7 with SW A

The left switch now controls BOTH channels (in channel monitor and in actual fact), despite one being set as A, one as B. The right switch has no function.

I just checked the model ini and for some reason, channel 6 got entries for channel 7 too.. it looks like it may be saving them wrong?
[channel6]
template=expo_dr
[mixer]
src=!SW B0
dest=Ch6
[mixer]
src=!SW B0
dest=Ch6
switch=SW B1
scalar=0
[mixer]
src=!SW B0
dest=Ch6
switch=SW B2
[mixer]
src=!SW A0
dest=Ch6
[mixer]
src=!SW A0
dest=Ch6
switch=SW A1
scalar=0

[channel7]
template=expo_dr
[mixer]
src=!SW A0
dest=Ch7
[mixer]
src=!SW A0
dest=Ch7
switch=SW A1
scalar=0
[mixer]
src=!SW A0
dest=Ch7
switch=SW A2


Edit: Manually deleted the SW A channel 6 entries in notepad++ and now it works as intended.
Last edit: 12 Jun 2014 20:40 by Arakon.

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

More
30 Jul 2014 01:45 #24897 by helijagr
Replied by helijagr on topic including custom-switch support in Deviation
I just posted to the original 2-switch add thread before I saw this thread. Anyway, I noticed that PC12 (GPIOC 12) pin 53 seems to be unused in the Devo 7E. This could be used for a 5th row or column for 4 more IO ports. In addition, couldn't the FMODE0 and HOLD0 switch IOs be turned into 2 more rows and/or columns?

The best would be to make it so the PC12, FMODE0, and HOLD0 IOs were added to the 4x4 row/column button matrix. This would result in 5 rows and 6 columns for the button matrix. That would give 16 more IOs. That would give the 7e everything it needs to compete. Of course... that is if it can be done.

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

More
01 Aug 2014 20:24 #24956 by JWarrior
Replied by JWarrior on topic including custom-switch support in Deviation
I'm very interested in the result you suggest. Meanwhile, I'm not sure to understand the meaning of the row / column matrix.
As a hardware mod, would IT be possible to add 1 (rather 2) knobs ?

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

More
01 Aug 2014 22:35 #24959 by PhracturedBlue
Replied by PhracturedBlue on topic including custom-switch support in Deviation
helijagr,
note that the matrix is only designed to deal with one input at a time. In very special cases, you can support multiple inputs, and we utilize that for the switch mod. But it is not a general case that would provide fully independent controls at each position

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

More
01 Aug 2014 22:39 #24960 by PhracturedBlue
Replied by PhracturedBlue on topic including custom-switch support in Deviation
JWarrior:
Adding knobs requires using Analog inputs. you cannot replace a switch with a knob in the switch mod and have it work. I am not sure if there are any free analog inputs on the Devo7e, but it would require careful soldering to access them if there are any

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

More
12 May 2015 08:41 - 12 May 2015 08:45 #32435 by ice3487
Replied by ice3487 on topic including custom-switch support in Deviation
dear daryoon, I write from Italy.
# 22231but diode?
Last edit: 12 May 2015 08:45 by ice3487.

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

More
12 May 2015 11:51 #32439 by Daryoon
Replied by Daryoon on topic including custom-switch support in Deviation
Look closely at the picture. There are diodes there on the switches.

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

More
12 May 2015 17:18 #32459 by ice3487
Replied by ice3487 on topic including custom-switch support in Deviation
sorry, I do not understand English well.
there are no diodes, but because many posts talking about putting diodes on switches

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

More
12 May 2015 17:49 - 12 May 2015 17:49 #32461 by aMax
Take 1N4148....diodes are a must have for this mod.


Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Attachments:
Last edit: 12 May 2015 17:49 by aMax.

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

More
13 May 2015 03:58 #32480 by ice3487
Replied by ice3487 on topic including custom-switch support in Deviation
thank you, thank you very much
I could not see the diodes,
I read the post put the diodes here... put them there... but I could not see them.
And if the direction of the diodes is not just nothing works.
Thanks again,Have a nice day from Roma

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

More
05 Jun 2015 00:42 - 05 Jun 2015 00:50 #33445 by khchane
Replied by khchane on topic including custom-switch support in Deviation
I have some problem with two 3-way switches

1. Sometimes right horizontal trim moves left with left vertical trim moves up side without pushing the buttons.
2. When I keep pushing the right horizontal tirm button to the left side. Sometimes left vertical trim moves up side


I use four 1n4005g diodes
And wire is lan wire...it was very hard to find some wire use..
How do i solve this problem? Please help me!
Last edit: 05 Jun 2015 00:50 by khchane.

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

More
05 Jun 2015 06:12 #33459 by Arakon
You are using the wrong diode type. Use something like the 1N4148.. the smaller, "glass" type.

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

More
05 Jun 2015 20:47 #33483 by IMback!
Replied by IMback! on topic including custom-switch support in Deviation
Nah the diode is fine as long as the blocking voltage and the forward voltage drop is sane i dont see how any diode would be better than any other for this application. I use a 10A01 power diode.. because thats what was on my desk at the time.

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

Time to create page: 0.198 seconds
Powered by Kunena Forum