How to know pulses per revolution for my wheel encoder ?

I am trying to use some of functions in this example : https://www.mathworks.com/help/supportpkg/arduinoio/examples/steer-two-wheel-robot.html
Now when I create the Rotary encoder object, I have to specify pulses per revolution.
I know counts or number of ticks per revolution for my encoders which is 4480. I have read that pulses per revolution would be this number divided by 4, is that so ?
in this case, I tried to make test for this value (4480/4). However, the readings are not so correct.

2 Comments

I have read that pulses per revolution would be this number divided by 4
Where? To me ticks per rev and pulses per rev would mean exactly the same thing. But to be sure, consult the documentation of your encoder.
Here: https://www.cui.com/blog/what-is-encoder-ppr-cpr-and-lpr
I checked the specifications of the encoder and they only mentioned Counts per revolution.
This is the encoder i am using: https://www.pololu.com/product/2825

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Asked:

on 30 Jul 2018

Commented:

on 30 Jul 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!