Stepper Motor Control Application Guide

Just for interest I have again messed up a stepper motor project and wonder if a word of advice could be added to the Makeovers Motor Driver, 2 Channel - Application Guide.

On page 9 the instructions recommend which connections should be made between between GP0,1,2,3 to PWMA, DIRA, etc. All good.

However on a few occasions I have, in writing code assumed that, for example, pwmPinA=0 (which includes the word Pin) in the code refers to the Pico PIN numbers , where it actually refers to the Pico GPO number .

I hope I’m not being pedantic but I have wasted many hours looking for other reasons why the stepper motor wasn’t working properly!

Cheers
Toni

Hi @Toni135859,

Thanks for reaching out about this.

I can see where the confusion may be coming from.
We will look at seeing what we may be able to do to make it clearer in future.

Do you have any suggestions for how we could make it clear without adding more confusion?

Perhaps in the guide lines on pages 8,9 they could be changed to:

GP0 (pin 1) to PWM A
GP1 (pin 2) to DIR A
GP2 (pin 4) to PWM B
GP3 (pin 5) to DIR B

2 Likes

Hey @Toni135859,

Thanks again for your feedback, we appreciate your suggestion and will do our best to implement a clarification as soon as possible.

1 Like