How to know pulses per revolution for my wheel encoder ?

5 vues (au cours des 30 derniers jours)
Hesham Khalifa
Hesham Khalifa le 30 Juil 2018
Commenté : Hesham Khalifa le 30 Juil 2018
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 commentaires
Guillaume
Guillaume le 30 Juil 2018
Modifié(e) : Guillaume le 30 Juil 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.
Hesham Khalifa
Hesham Khalifa le 30 Juil 2018
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by