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 comentarios

Guillaume
Guillaume el 30 de Jul. de 2018
Editada: Guillaume el 30 de Jul. de 2018
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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Centro de ayuda y File Exchange.

Preguntada:

el 30 de Jul. de 2018

Comentada:

el 30 de Jul. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by