I am using 2 DC motors with quadrature encoders (Motor 1 and 2) with a RoboClaw 2x30A. Unfortunately Motor 2has a suspected faulty encoder such that the encoder counts do not increase with the motor shaft rotation.
To circumvent the issue, I would like to explore using a standard potentiometer as an absolute encoder for Motor 2 while keeping to the quadrature encoder for Motor 1. In that case, I would use the wiring diagram for quadrature encoder wiring for Motor 1 and absolute encoder wiring for Motor 2. Will this be a problem for RoboClaw to function? For this potentiometer (https://uk.rs-online.com/web/p/potentiometers/1548183/), its max voltage is 5V, is it still necessary to include a resistor? If so, how should I determine the type of resistor to use since I would also be using 1 potentiometer instead of 2?