The Wayback Machine - https://web.archive.org/web/20201111183639/https://github.com/madhephaestus/ESP32Encoder
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
Jul 24, 2020
Jul 17, 2020

README.md

ESP32Encoder

Build Status

ESP32Encoder library that uses the ESP32 pulse counter hardware peripheral:

https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/pcnt.html

There is only one interrupt for the peripheral, and that is managed by the library. The user has no interrupt interface, and no interrupts are generated on each pulse. Interrupts arrive when the 16 bit counter buffer overflows, so this library has a tiny interrupt footprint while providing support for up to 10 simultaneous quadrature encoders.

Documentation by Doxygen

ESP32Encoder Doxygen

Pull Downs

The 2 encoder pins have an internal weak pull down. This is to prevent erroneous ticking when disconnected.

You can’t perform that action at this time.