QPPS setting with absolute encoder (POT)

Questions about using encoders with the Roboclaw product line
Post Reply
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: QPPS setting with absolute encoder (POT)

Post by Basicmicro Support »

The analog pot voltage is converted into a number between 0(0v) and 2047(2v). Since most pots cant turn more than 220 degrees you cant measure the QPPS easily. Instead you will need to calculate it from the specs of the motor at the voltage you are running.

1. You need to know the RPM of your motor for the voltage you are using.

2. You need to know the full range of your pot(whats the lowest and highest reading it produces and over how many degrees of motion). You can measure that using IonMotion.

Once you have that information you can caluclate the approx QPPS for that motor/pot/voltage setup.

360/Degrees of pot range * (MaxPotValue-MinPotValue) * (RPM/60)

Assuming a 60 rpm motor with a pot range of 220 degrees and the full value range of 0 to 2047 the QPPS would be 3350.

Post Reply