Skip to content
luni64 edited this page May 5, 2020 · 3 revisions

EncPlex is a small Arduino library for reading rotary encoders. It works with encoders directly connected to digital pins and with encoders connected via a multiplexers. EncPlex comes with support for 74HC165 based and CD74HC4067 based multiplexers. Additional multiplexers can be added easily.

The library mainly aims manually operated, mechanical encoders, but also works with motor-driven optical encoders. However, for high speed encoders specialized libraries like the QUAD-Encoder-Library from mjs513 might be a better choice.

Unlike most other libraries, EncPlex uses a polling algorithm that generates a predictable processor load and is completely insensitive to contact bounce.

EncPlex is written for the ARM based PJRC Teensy boards T-LC, T3.0 - T3.6 and T4.0 - T4.1.

Contents

Assembly 4067

Clone this wiki locally