Rotary encoder library for frequency generator?

Hi all. I’m building a little chip-based frequency generator and so far so good, it works (though as usual with analog circuits, de-noising took longer than coding so far!).

The only thing left to do is to use a rotary encoder to set the desired frequency. I’m thinking the button to select the digit you want to change, and then the encoder to change it.

But that encoder is a small part of the designs so I want to use a library. Problem is: a quick search shows dozens of libraries, even included in the IDE.

SO: any suggestions for me?

Below: the display actually works, just the iPhone doesn’t capture it. And the strip board is were it all ends up after the design is finalized.



The one by Paul Stoffregen in the IDE is popular. There's also one by @gfvalvo here GitHub - gfvalvo/NewEncoder: Rotary Encoder Library.

1 Like

I did a similar project some time ago. You may be interested in reading this blog post ( Adaptive User Input with a Rotary Encoder – Arduino++ (wordpress.com)) about using the rotary encoder in this type of application.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.