Faster quadrature decoder loops with Python code
- by Kelei
I'm working with a BeagleBone Black and using Adafruit's IO Python library. Wrote a simple quadrature decoding function and it works perfectly fine when the motor runs at about 1800 RPM.
But when the motor runs at higher speeds, the code starts missing some of the interrupts and the encoder counts start to accumulate errors.
Do you guys have any…