I am currently making a line follower, and i am looking for accuracy on my motor speed.
I made a test using the FEZ Panda II and the DFRobot 2A.
I set the PWM at the same value for both motors, and also ensured they were symetrically mounted on both sides of my robot.
When I run a test like this (same fixed PWM on both motors), the robot slowly drifts on one side.
So, i’m now looking for a solution. i can think of two things :
1 - Adding encoders to the motors and apply a software correction. That will help when i’ll need to "go straight and have both motors go to the same speed, but when i’ll need to follow a line and turn, how will i take the correction into account?
2 - Using stepper motors, then I’ll know exactly how fact both motors are.
Is there anyone who tried solution 1, or 2, and would like to comment, or have another solution?
Thanks in advance.