Pololu Wheel Encoders - Arduino Library?

Hi Everyone,

I’m trying to find an Arduino library that I can download so I can use the Pololu Wheel Encoders. The one I’m using is Encoder for Pololu Wheel 42x19mm Pololu item #1217.

Does anyone know where I can find a library that will work to program these in Arduino?

I found a library for Orangutan, is there a way to make that work with Arduino?



You might try using the “Wheel Encoders” methods from our AVR Library; it has support for C++ and Arduino, which are designated in the command reference by red text. A link to an Arduino library version of our AVR libraries can be found in the “Arduino Libraries for the Orangutan and 3pi Robot” section of the “Programming Orangutans and the 3pi Robot from the Arduino Environment” document.

Alternatively, those wheel encoders function as quadrature encoders, so you can probably find many compatible Arduino libraries. You might look through the “Reading Rotary Encoders” page from the Arduino playground.