I'm trying to develop length measuring system and I'm using a industrial rotary encoder as the sensor.

A have decided to use an Arduino external interrupt for connect the encoder. But, Encoder will rotate very fast. I need to calculate PPR(Pulse per revolution) of the encoder according to maximum interrupt frequency of Arduino MEGA.

So, What is the maximum interrupt frequency of Arduino MEGA?

  • 1
    it depends on the program that you are running – jsotola May 16 '19 at 6:52
  • 1
    Using the atmega's counter module might be the way to go – Sim Son May 16 '19 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.