Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

Processing encoder data

Encoder data is a two-channel pulse out with 90 degrees out of phase. Using this data, we can find the direction of rotation and how many times the motor has rotated, and thereby find the displacement and velocity.

Some of the terms that specify encoder resolution are pulses per revolution (PPR) or lines per revolution (LPR) and counts per revolution (CPR). PPR specifies how many electrical pulses (0 to 1 transitions) there will be during one revolution of the motor final shaft. Some manufactures use the name CPR instead of PPR, because each pulse will contain two edges (rising and falling) and there are two pulse channels (A and B) with 90-degree phase shift; the total number of edges will be four times the number ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content