Search found 2 matches

by sengp
Fri Mar 20, 2020 10:37 pm
Forum: General Discussion and Questions
Topic: Rotary encoder.
Replies: 8
Views: 732

Re: Rotary encoder.

Hello, think this theme is almost solved, please see: https://forum.micropython.org/viewtopic.php?f=18&t=5997&p=43919&hilit=rotary+encoder+sengp#p43919 And follow the links. Problem is: MicroPython is slow and you may not guarantee a suitable minimal cycle time which is necessary when using software...
by sengp
Mon Feb 03, 2020 11:39 am
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 15
Views: 3974

Re: Pulse counter support

Hello, micropython already supports interfacing to quadrature encoded signals, e.g. rotary encoders, based on the pulse counter unit available on ESP32. See: https://forum.littlevgl.com/t/example-for-working-with-a-rotary-encoder/1509/20 My software (polling) and pin interrupt based approaches to im...