About Rotary Encoder

Can I have RPM using 400 PPR rotary encode?
lpd3806

Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.

Topic moved.

Yes.

How many RPM?

tops 1000

That's 1000RPM x 400 pulses/revolution = 400,000 pulses/min. = 6667 pulses/sec.

Should be OK

Would you be kind enough to help me with a jitter free(denounced) sketch for the same? I am kinda new to this world.

No need to debounce.
You can measure RPM two ways:

  1. Count pulses over a specified time period. For example, count the number of pulses for 1 second.
  2. Measure the time between pulses.
    Both methods will use interrupts.

Thanks for explaining the possible path to success.
Will try to write code around the same.

If pulse_count is the number of pulses you counted in 1 second then:
RPM = pulse_count*60.0/400.0

You should try to figure out the rest