I am trying to start my path learning and using Arduino taking the opportunity that I am working on a project that includes the use of stepper motor (bipolar) which I would like to do it via Arduino.
I am using Arduino Uno R4 wifi, and from this forum and YouTube I found the example (I think it is from 101) of using the L293D motor driver module which was a bit old - I like the idea of the module being fixed on the Arduino card- but I did not notice that it is no longer supported.
I had the following error (C:\Users\mekhal\Documents\Arduino\libraries\Adafruit-Motor-Shield-library-master/AFMotor.h:156:47: error: 'DC_MOTOR_PWM_RATE' was not declared in this scope
AF_DCMotor(uint8_t motornum, uint8_t freq = DC_MOTOR_PWM_RATE)) and I found that is is not anymore supported this way.
I would like to purchase a new module to use ...the simplest possible and less wire using but I do not have the necessary experience to decide:
H-bridge L298N, two-motor module
DRV8825 driver for stepper motors
A4988 driver for stepper motors
Keyes 2-channel motor driver shield L298P.
Which one should I purchase and can you recommend any tutorial to follow as I would highly appreciate that since most of the topics are old, I really afraid that I will fall for the same issue.
@DaveX Thanks for the feedback well below a link for the blow pdf :
I am using [Stepper motor NEMA 17 17HS3401 0.28Nm] 17HS4401-MotionKing.pdf (94.9 KB)
Thanks a lot for the recommendations, and I am so sorry for taking time to reply as I was sick and incapable of checking feedbacks. well I can not solder for some reasons but I used the channel motor driver shield and I tried to program according to my hardware and the code is running and the motor is working fortunately.