Lcd menu rotary encoder

Not a problem, but a solution to create a menu with an rotary encoder. I've put it on a shared folder.
I made a kinda tutorial.
Hope it will be a solution for some of you.

Greetz

Well done. You deserve a karma point.
The only criticism I have is, that you need hardware to debounce the encoder.

Have a look at Ben Buxton's excellent rotary encoder library which works without addt'l hardware.
I use it very often and it works flawlessly with $2 rotarys.

Here is a link to a "repackaged" version. It also is worth while looking up Ben's site about the rotary algorithm.

Thx, but it is debounced with the capacitators. And the signal is clean with the smitt trigger ic.

Everything works as a charm :). Took me long enough....

Grtz

Yes, I understand, never mind my criticism.

But for some people every single piece of additional external hardware complicates wiring and takes a bit of extra space. I ran into the space issue in a project and had to look for a "hardware-less" debouncing solution.

I tried it to software-debounce but didn't really react as I wanted. Still, I didn't had notion of the one you gave me.

I'll give it a try when I terminate my other projects... :).

Thx anyways.

Thx anyways.

You're welcome.

I bet, you will be astonished how good this library is. It is in my opinion by far the best one I have ever tried and during my investigation phase I dealt with up to 10 different approaches. Besides of the "internal" debounce mechanism it doesn't need any interrupts. This was another point which convinced me as I needed my Arduino Nano's interrupt for another, more important operational reason.