← index #5214Issue #5602
Related · high · value 2.863
QUERY · ISSUE

pulse counter quadrature encoder

openby ZeshuiLiopened 2019-10-15updated 2025-10-03
enhancement

How can I use this firmware to get the output of the quadrature encoder

CANDIDATE · ISSUE

Request to integrate quadrature decoder support via pulse count unit into ESP32 port

closedby sengpwopened 2020-02-03updated 2025-10-03
port-esp32

For ESP 32 exist a solution to use the on chip pulse counter modules (PULSE_CNT) for interfacing multiple (up to 8) quadrature encoded signals. I used the code successfully and integrated it into lv-micropython V1.12.
Think many people would benefit from this code being available within standard micropython too.
For description of module, integration and code see:
https://forum.littlevgl.com/t/example-for-working-with-a-rotary-encoder/1509/20

best regards,

Peter # @

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied