Encoder (community library)

Summary

Name Value
Name Encoder
Version 2.1.0
Installs 18938
Author Paul Stoffregen
Maintainer Paul Stoffregen, Julien Vanier jvanier@gmail.com
URL https://github.com/monkbroc/Encoder
Repository https://github.com/monkbroc/Encoder.git
Download .tar.gz
All Versions 2.1.0, 2.0.0, 1.4.3, 1.4.2, 1.4.1

Counts quadrature pulses from rotary & linear position encoders. Encoder counts pulses from quadrature encoded signals, which are commonly available from rotary knobs, motor or shaft sensors and other position sensors.

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

Encoder Library

Encoder counts pulses from quadrature encoded signals, which are commonly available from rotary knobs, motor or shaft sensors and other position sensors.

http://www.pjrc.com/teensy/td_libs_Encoder.html

http://www.youtube.com/watch?v=2puhIong-cs

Encoder Knobs Demo (image removed)

Particle port

This port of Paul's encoder library uses interrupts on the Particle Photon, Electron, Argon, Boron, Photon 2.

Carefully read the Interrupts section of the firmware docs before selecting which pins for the encoder signal. In particular, do not use D0 or A5 on the Photon as an encoder input.

License

Copyright (c) 2011,2013 PJRC.COM, LLC - Paul Stoffregen paul@pjrc.com

Modifications for the Particle platform, copyright (c) 2017 Julien Vanier jvanier@gmail.com

Released under the MIT license

Browse Library Files