Braeden108 Posted March 19, 2017 Share Posted March 19, 2017 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 More sharing options...
FragBum Posted March 19, 2017 Share Posted March 19, 2017 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 More sharing options...
Braeden108 Posted March 19, 2017 Author Share Posted March 19, 2017 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 More sharing options...
FragBum Posted March 19, 2017 Share Posted March 19, 2017 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 More sharing options...
Sokol1_br Posted March 19, 2017 Share Posted March 19, 2017 Example of encoder use in Arduino+MMjoy2: http://simhq.com/forum/ubbthreads.php/topics/4333127/re-mmjoy-mmjoy2-build-your-own-usb-controller#Post4333127 Link to comment Share on other sites More sharing options...
FragBum Posted March 19, 2017 Share Posted March 19, 2017 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 More sharing options...
Braeden108 Posted March 19, 2017 Author Share Posted March 19, 2017 Thanks guys! I think the delay setting is where I was going wrong. Light the tires kick the fires! [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Recommended Posts