I have a rotary encoder with a very high resolution (5000 pulses per rotation). I've used several different python scripts to count and display the pulse count as I turn the encoder. The faster I turn the more pulses are missed or the program lags. I've read that because python is interpreted it would be best to write my code in C. But based on the examples I've seen the resolution of their encoders is quite low - maybe a couple hundred at most. Do I also need a designated micro controller to handle the pulse events? If so how would I determine the processing power needed to handle this task?

New contributor
Vindictive is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Welcome. It would be much better if you edited in one of the scripts you mention. – goldilocks Jan 9 at 17:18
  • If you haven't already, please Google this: encoder raspberrypi stack exchange. Read the results you feel are pertinent & edit your question accordingly. – Seamus Jan 9 at 17:52

Your Answer

Vindictive is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.