Sprool Posted July 23, 2020 Posted July 23, 2020 SO I put together a couple of button boxes with switches adn rotary encoders. All works finer but Id like to use the rotary encoder to control course and heading in F-18. Trouble is, one complete turn of the encoder only moves the heading 1 or 2 degrees. How can I get the resolution to be a lot coarser?
RustBelt Posted July 23, 2020 Posted July 23, 2020 It needs "Acceleration" so that within 5 clicks it's super fine control, but as it sees more clicks it steps up the interval per click. If you figure out how to do it smoothly let me know too, right now only commercial products seem to have that feature, I still haven't figured out how to integrate it in a DIY. My latest plan is just to get an absolute encoder with 1/2 degree resolution and just gear it to the knob. But that won't at all be cheap.
Sprool Posted July 24, 2020 Author Posted July 24, 2020 (edited) some stuff here maybe worth investigation: https://forum.pjrc.com/threads/48783-Encoder-Acceleration-help but geting that to work in a 4-encoder matrix may be beyond my current powers Edited July 24, 2020 by Sprool
RustBelt Posted July 24, 2020 Posted July 24, 2020 (edited) Yea that makes a linear slope acceleration. Variables to play with would be the slope (a) and the milliseconds value (27). Couldn't do this in a matrix the way it's written here. One encoder two digital inputs only. So definitely an Arduino Mega application once you pass about 3 or 4 with other buttons. Edited July 24, 2020 by RustBelt
Recommended Posts