Jump to content

Setting up encoders


Recommended Posts

So I'm trying to get an encoder going in DCS using MMJOY I bought these encoders:

 

EN11-HNM1AF15

 

They're incremental so they should do fine AFAIK. The encoders work electrically, but MMjoy and DCS aren't understanding what they are. I have the button that the encoders are wired to set under the encoders tab in MMjoy, Then in the button sets area I have those same buttons assigned to H/W buttons. I put a 10 ms timer on each button. Mode is set to "-------" same for shift, timer off is set to no.

But it doesn't seem to work. When I go to assign them in DCS I assign the encoder buttons to say heading bug increase decrease then I spin the kno. No dice.

 

Any ideas where I went wrong?

Light the tires kick the fires!

 

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

What do you want to achieve whit the rotary encoder?

 

As far as I can see these EN11-HNM1AF15 are quadrature (bi-phase) encoders with 20 PPR.

 

How have you connected it to arduino/atmega?

Control is an illusion which usually shatters at the least expected moment.

Gazelle Mini-gun version is endorphins with rotors. See above.

 

Currently rolling with a Asus Z390 Prime, 9600K, 32GB RAM, SSD, 2080Ti and Windows 10Pro, Rift CV1. bu0836x and Scratch Built Pedals, Collective and Cyclic.

Link to comment
Share on other sites

I forgot to mention the arduino. Yes I do. And the controller works for simple buttons and switches. I'd like these encoders to tune the radio and run the ABRIS int he Ka-50 or set the course. That kinda stuff.

Light the tires kick the fires!

 

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Okay it's been a long time since I have done any of this stuff.

 

Assume you have connected the encoder as per this example.

 

And in HAL setup you select the up and down assignments as row/column selection??

 

Presumably the software provides an increment up/down which would drive the frequency selection??

Control is an illusion which usually shatters at the least expected moment.

Gazelle Mini-gun version is endorphins with rotors. See above.

 

Currently rolling with a Asus Z390 Prime, 9600K, 32GB RAM, SSD, 2080Ti and Windows 10Pro, Rift CV1. bu0836x and Scratch Built Pedals, Collective and Cyclic.

Link to comment
Share on other sites

Good resource, thanks. :thumbup:

Control is an illusion which usually shatters at the least expected moment.

Gazelle Mini-gun version is endorphins with rotors. See above.

 

Currently rolling with a Asus Z390 Prime, 9600K, 32GB RAM, SSD, 2080Ti and Windows 10Pro, Rift CV1. bu0836x and Scratch Built Pedals, Collective and Cyclic.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...