Jump to content

splanky

Members
  • Content Count

    6
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

Flight Sim Profile

  • Commercial Member
    No
  • Online Flight Organization Membership
    none
  • Virtual Airlines
    No
  1. This is the rotary encoder that's part of the popular Propwash kit: http://ljvraphael.blogspot.com/2016/08/ljv-dual-shaft-rotary-encoder-re08223ax.html https://www.propwashsim.com/store/dual-encoder-kit This are a nice kit because it contains the LJV rotary encoder, PCB, inner and outer knobs, and header pins. For half the money, one can buy a similar half step Bourns dual concentric rotary encoder with pushbutton switch from Digi-Key. These, however, require one to figure out a mounting solution, 3d print their own knobs and fiddle with wiring from the data sheet vs having a premade/labeled PCB. Still, they're a perfectly workable product with a gentle switching feel, lighter than the LJV. The LJV, however, is more similar in feel to, say, a real Garmin G1000 flight panel. https://www.bourns.com/docs/product-datasheets/pec11d.pdf The takeaway from a simple test of your update is that both of these dual encoders work properly using the Half-Step option as configurable in your 'hobby project'. 😉 Congrats. The Arduino DIY crowd, tiny as it likely is, will find this helpful in opening up simple to use possibilities for AAO.
  2. I've worked out a sketch based on this man's work: https://github.com/buxtronix/arduino/tree/master/libraries/Rotary He identifies the differences between the half step and full step encoders. If you decide, at some time, to revisit your Arduino Bridge, this may be of help.
  3. Thanks, Mike. I've found a solution using another competitor, spad.next, which interfaces well with the Aruduino Mega2560 I'd already built out.
  4. I saw that the other day when searching for answers in another thread here. Since the arduino is on the simulator machine's USB I won't be buying add'l hardware simply for a network connection. Also, figuring out appropriate code is, for me, a time consuming task since I don't write html, so I'm better off throwing a little money at another software solution. Will see what's available in the morning, Again, thanks for your suggestions.
  5. I see. I'm afraid I've run off and gotten married to AAO with the Honeycomb shortcomings (for which AAO works very well). If there is no user access to your Mega2650 sketch, which I expect is proprietary, and given I want to stick with AAO if possible, would you suggest an alternative for the Arduino that would play nicely with Axis and Ohs (and MSFS 2020)?
  6. I'm using a (genuine) Mega2560 with some dual rotary encoders (the type with the pushbutton center). Some are from Propwash and some are Bourns encoders but they both operate the same way. There are no V+ pins on these dual encoders so, using a simple loop sketch for testing, they're coded with INPUT_PULLUP resistors on the Mega. Every detent generates an output. This works as expected in a loop sketch on the Auduino IDE with output: Direction: CW -- Value: 0 Direction: CW -- Value: 1 Direction: CW -- Value: 2 Direction: CW -- Value: 3 Direction: CCW -- Value: 2 Direction: CCW -- Value: 1 Direction: CCW -- Value: 0 Direction: CCW -- Value: -1 Direction: CCW -- Value: -2 Direction: CCW -- Value: -3 Direction: CW -- Value: -2 Direction: CW -- Value: -1 Direction: CW -- Value: 0 Whenever I use the Arduino Bridge with Axis and Ohs the encoders are registered during Add Button Assignment for, say, COM radios. The issue is that only every other detent is detected. In other words, it takes a movement of 2 detents to get only one increment of change on the radio frequency. I can see the green indicator flash within the Assgned Buttons list, but again, only every other detent. The detents in between do not light the green indicator. Behavior is the same when entering the button assignment. A 2 detent movement is required to cause a change in the Assigned button/key area when assigning a new button. AAO version 2.70 b37 Arduino Bridge version 1.0 b12 I'd appreciate thoughts on how to proceed.
×
×
  • Create New...