Quote:
Originally Posted by thingstodo
The controller can reverse by changing the phase, forward is for example A,B,C and reverse can exchange any two, say A,C,B
Not sure about Paul's code - may require a small tweak to allow either direction to be default?
|
Shouldn't be a problem, i will just check the wheel direction while it is up on stands and swap 2 connections if it is going the wrong way.
Hopefully Paul's code is direction independent. So can work with the encoder spinning either direction.
What i mean is that say the controller tries to turn the motor clockwise, and the motor (and encoder) turn clockwise. Then i find that is the wrong direction for the gearbox and so swap a couple of phases. Then when the controller tries to turn the motor clockwise it actually rotates counter-clockwise and obviously the encoder does as well.
Will this upset the software or is it just looking for a degree of movement and it is not concerned if that degree is a positive or negative change.