Jump to content

Rotary Encoders ?


scottb613

Recommended Posts

Posted

Hi Folks,

Bought a new button box with six rotary encoders - as it stands now - I didn't think this through enough and now realize the error of my ways... I had visions of simply mapping the encoders to such functions as HDG Bug, CDI, Alt Sel, Prop Levers - Mixture Levers - etc etc etc - - - and they would work... As I'm sure everyone else knows - this is problematic - they're easy enough to map BUT it would take me an hour to spin the HDG Bug enough times to make 360 degrees - similar results with other attempts... Is there any easy to implement solutions available (I'm not a programmer) ???

Thanks...

Regards,
Scott 

imageproxy.png.c7210bb70e999d98cfd3e77d7

Posted

I wish you luck. I have been searching for years. Other than having dual encoders with switches, using linda to toggle between "fast" and regular speed turns of the knob. Now in Xplane there are Lua scripts that do it very well.

Posted

Hi Adrian,

Thanks - that doesn’t sound so promising... You would think with all the advanced controllers and home cockpits we wouldn’t be breaking new ground... LOL - I have six of the less than ideal encoders now...

i did find one purpose that seems to work well for - altitude preselect - but I just used two of them - one for 10,000 ft increments - the other for 1,000 ft increments - not the most efficient use - but they’re sitting there idle anyway...

Regards,

Scott

imageproxy.png.c7210bb70e999d98cfd3e77d7

Posted
3 hours ago, scottb613 said:

Hi Adrian,

Thanks - that doesn’t sound so promising... You would think with all the advanced controllers and home cockpits we wouldn’t be breaking new ground... LOL - I have six of the less than ideal encoders now...

i did find one purpose that seems to work well for - altitude preselect - but I just used two of them - one for 10,000 ft increments - the other for 1,000 ft increments - not the most efficient use - but they’re sitting there idle anyway...

Regards,

Scott

What brand of rotary do you have? I thought most rotaries have dual switching in each direction depending on how fast they are turned. The second switch is programmed to a higher rate. At least this is how the rotaries on the VR Insight MCP work in Linda.

gb.

YSSY. Win 10, [email protected], Corsair H115i Cooler, RTX 4070Ti, 32GB G.Skill Trident Z F4-3200, Samsung 960 EVO M.2 256GB, ASUS Maximus VIII Ranger, Corsair HX850i 850W, Thermaltake Core X31 Case, Samsung 4K 65" TV.

Posted

Hi GB,

Yeah - since I fly many different aircraft - I wanted a simple button box - not something resembling any prototype equipment - had read good reviews on this one... From my tests - it seems to be single speed... It's a shame - it's a really nice box...

Regards,

Scott

0059-2.jpg

imageproxy.png.c7210bb70e999d98cfd3e77d7

Posted

The way I did it, re: hdg, alt and crs adjustments, was using FSUIPC commands. I would turn the desired hdg knob clockwise and assign it to rapid increase hdg, by tens as I recall. Then, using same knob, rotate counterclockwise and assign that input to decrease hdg slowly, by ones. So, if I wanted to turn right 45 degrees I would turn the knob 5 clicks clockwise, (50 degrees) then back up 5 degrees by clicking counterclockwise 5 clicks. Not 100% real but it worked and only used 1 knob. Hope that makes sense.

  John  Hubbard   MSFS2020 - Win10                    

          

  • 2 months later...
Posted

Hi all.

I use the "Default FSX Library" to control the speed of my rotaries as below, simple and works a treat on a dual encoder, notwithstanding I have seen somewhere recently and bit of code that reacts to the speed of the knob is turned, spin it fast = large movements, spin it slowly = small increments all 1 on 1 rotary encoder... If I can find it again, I will post link back here asap...

 

LIB: Default FSX >  Rotaries Functions  > HDG Plus

LIB: Default FSX >  Rotaries Functions  > HDG Plus Fast

LIB: Default FSX >  Rotaries Functions  > HDG Minus

LIB: Default FSX >  Rotaries Functions  > HDG Minus Fast

LIB: Default FSX >  Rotaries Functions  > HDG Plus

 

LIB: Default FSX >  Rotaries Functions  > ALT Plus

LIB: Default FSX >  Rotaries Functions  > ALT Plus Fast

LIB: Default FSX >  Rotaries Functions  > ALT Minus

LIB: Default FSX >  Rotaries Functions  > ALT Minus Fast

 

LIB: Default FSX >  Rotaries Functions  > SPD Plus

LIB: Default FSX >  Rotaries Functions  > SPD Plus Fast

LIB: Default FSX >  Rotaries Functions  > SPD Minus

LIB: Default FSX >  Rotaries Functions  > SPD Minus Fast

 

LIB: Default FSX >  Rotaries Functions  > CRS Plus

LIB: Default FSX >  Rotaries Functions  > CRS Plus Fast

LIB: Default FSX >  Rotaries Functions  > CRS Minus

LIB: Default FSX >  Rotaries Functions  > CRS Minus Fast

 

Hope this helps someone..

Roger

 

 

Archived

This topic is now archived and is closed to further replies.

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...