DX18 3 pos switch programming
#1
Thread Starter

Anyone knows how to set up DX18 3 position switch B to all positive values in X+8 travel? Say 35%, 55% and 75%?
Thanks in advance,
Barry
Thanks in advance,
Barry
#3

My Feedback: (7)
Hope this helps.
Edit: Added attachements with SPM files to implement 3 pos switch with positive values for each position
File 3PosSw uses Dx18 Gyro function to select values with Switch D and output them to X+8.
File 3PosSwDS uses the Dx18 Digital Switch function to select values with switch B and output them to X+8. It also
uses the Gyro function to output Switch D to X+7.
Last edited by wfield0455; 04-07-2015 at 02:50 AM.
#4

My Feedback: (7)
You could assign that switch in the dual rate menu and give it those percentages in 0,1,2
Vin...
Vin...
Last edited by wfield0455; 04-06-2015 at 05:17 AM.
#8
Thread Starter

Thanks for all the inputs, but none worked for me, so spoke to Andy Kunz, he had me go to the system menu and adjust the values under "Digital Switch" that corresponds to the switch/channel. This should have worked, but didn't for me either, since I had another channel, AX3 also actuated by switch B, and would have messed up AX3 pretty badly.
So next, he had me created 3 independent mixes to the each of the positions of that switch to X+8 and this worked beautifully. So conversely, I suppose if I set up Digital Switch from system menu properly for B and X+8, and then pmix AX3, probably would have also worked and would save me a couple of pmixes. He did comment that the Gyro feature of the DX18 should have also worked but he's not that familiar with it, .........and I didn't know that it was even there!
Regards,
Barry
So next, he had me created 3 independent mixes to the each of the positions of that switch to X+8 and this worked beautifully. So conversely, I suppose if I set up Digital Switch from system menu properly for B and X+8, and then pmix AX3, probably would have also worked and would save me a couple of pmixes. He did comment that the Gyro feature of the DX18 should have also worked but he's not that familiar with it, .........and I didn't know that it was even there!
Regards,
Barry
#10

My Feedback: (7)
Thanks for all the inputs, but none worked for me, so spoke to Andy Kunz, he had me go to the system menu and adjust the values under "Digital Switch" that corresponds to the switch/channel. This should have worked, but didn't for me either, since I had another channel, AX3 also actuated by switch B, and would have messed up AX3 pretty badly.
So next, he had me created 3 independent mixes to the each of the positions of that switch to X+8 and this worked beautifully. So conversely, I suppose if I set up Digital Switch from system menu properly for B and X+8, and then pmix AX3, probably would have also worked and would save me a couple of pmixes. He did comment that the Gyro feature of the DX18 should have also worked but he's not that familiar with it, .........and I didn't know that it was even there!
Regards,
Barry
So next, he had me created 3 independent mixes to the each of the positions of that switch to X+8 and this worked beautifully. So conversely, I suppose if I set up Digital Switch from system menu properly for B and X+8, and then pmix AX3, probably would have also worked and would save me a couple of pmixes. He did comment that the Gyro feature of the DX18 should have also worked but he's not that familiar with it, .........and I didn't know that it was even there!
Regards,
Barry
Thanks for posting what you discovered. The Digital Switch function was added by a firmware upgrade that came after I stopped using my DX18 so I wasn't familiar with it. It's definitely the simplest way to do what you originally asked but apparently needs to be the only function using that switch. That restriction is probably true for the gyro function as well. If you need to share multiple functions between a single switch then mixes are the best way to go as you already figured out.
Wayne
#12

My Feedback: (7)
One example could be for something like the Cortex 3 axis gyro. The magnitude and sign of the value controls the gain of the gyro and also selects it's operating mode. For example +35% would be 35% gain in normal mode while -55% would be 55% gain in hold mode. Since I'm working from memory, I could easily have those swapped but hopefully it still gets the point across. If you wanted 3 different gains for takeoff/landing, high speed flight and aerobatics, all in normal mode, you would want 3 different positive values.
Last edited by wfield0455; 04-07-2015 at 08:38 AM.
#13
Thread Starter

Wayne, that's exactly what I was dealing with, Tomcat swing wing on AX3 sync'd with cortex gain values from only one of the two banks. Thanks again for sharing Wayne!
Regards,
Barry
Regards,
Barry
#15
Thread Starter

You sure can Kris, but I needed to get away from the zero gain value at middle switch position, in fact it needed to be a higher value than either one of the other positions, but not both, then it would have worked.
Barry
Barry



