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.
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 Exchange에서 MATLAB 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