Hi,
I wrote a n example of stepper motor using Bl0127 board.
The motor always rotate clockwise no matter I use incrementStep or DecrementStep macro.
Is there anything I should notice?
ycc
BL0127 stepper motor
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: BL0127 stepper motor
Hello,
Please try altering the order of your pin connections.
Currently you have the connections as this.
Coil 1 = C3
Coil 2 = C4
Coil 3 = C5
Coil 4 = C6
Please change the order to look like this and hopefully this should work as expected.
Coil 1 = C3
Coil 2 = C5
Coil 3 = C4
Coil 4 = C6
Please try altering the order of your pin connections.
Currently you have the connections as this.
Coil 1 = C3
Coil 2 = C4
Coil 3 = C5
Coil 4 = C6
Please change the order to look like this and hopefully this should work as expected.
Coil 1 = C3
Coil 2 = C5
Coil 3 = C4
Coil 4 = C6
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel