Skip to content

The EncoderTool is a library to manage and read out rotary encoders connected either directly or via multiplexers to ARM based boards. Encoder push buttons are supported. Callback functions can be attached to encoder changes and button presses to allow for event driven applications

License

Notifications You must be signed in to change notification settings

luni64/EncoderTool

Repository files navigation

EncoderTool  Badge License  Badge Arduino  Badge PlatformIO

Bounce-Free Rotary Encoder Library
+Standard or Multiplexed Wiring
+Push Button Support
+Callback System



Supports



Board Compatibility


  • PJRC Teensy (Teensy-LC, Teensy 3.x, Teensy 4.x, MicroMod)

  • SAMD (SEEED XIAO, Nano33 ...)

  • 8bit Arduino AVR (UNO, Nano, Mega...)

  • ESP32

  • Fallback solution for other boards (using slow digitalRead/Write)


Features

  • Fully bounce free readout without additional hardware

  • Provides hard and cyclic count limits

  • Supports and debounces encoder push buttons

  • Modern callback system for event driven applications

  • Encoders can be connected directly (A / B / Btn connected to pins)

  • Encoder connection using various multiplexers (up to 32 encoders on only 4 control pins)

  • Schematics and Gerbers available for multiplexed encoder boards (Eagle/KiCad).

About

The EncoderTool is a library to manage and read out rotary encoders connected either directly or via multiplexers to ARM based boards. Encoder push buttons are supported. Callback functions can be attached to encoder changes and button presses to allow for event driven applications

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •