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 件のコメント

Guillaume
Guillaume 2018 年 7 月 30 日
編集済み: Guillaume 2018 年 7 月 30 日
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 2018 年 7 月 30 日
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

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

質問済み:

2018 年 7 月 30 日

コメント済み:

2018 年 7 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by