Hi, I am new to coding!
but have a basic understanding. I am attempting to upload the below sketch in order to control my NEMA 17 stepper motor. The code is verified and uploads with no issue. However, there is no movement from the motor.
I am including a few photos for reference. The battery is not connected in these photos. Also, to note the tutorial calls for a 12v battery which I do not have. I used 9v.
// Include the Arduino Stepper Library
// Number of steps per output rotation
const int stepsPerRevolution = 200;
// Create Instance of Stepper library
Stepper myStepper(stepsPerRevolution, 12, 11, 10, 9);
// set the speed at 20 rpm:
// initialize the serial port:
// step one revolution in one direction:
// step one revolution in the other direction:
@woodworkergrl2000, your topic has been moved to a more suitable location on the forum; as you can upload, this has nothing todo with Avrdude, stk500 or Bootloader.
Just drag them from file explorer into a post; limit the size to something reasonable because not everybody has unlimited bandwidth. I think that new members have a limit on the amount of photos that they can upload, butnot sure how it exactly works.
Yes, that is my exact set up, I am using a battery pack with 4 double A batteries. Still working on figuring out how to upload photos. I added them to my google drive and placed the link in the original post.
A 17HS4401 is a low impedance (1.5 ohm/coil) 1.7A (max) stepper.
It can't be driven by an L293D, which isn't a stepper driver anyway.
You must use a dedicated stepper driver that can provide the current needed,
like the DRV8825 (1.5A max).
You need a 12-24volt supply.
Trying to use AA batteries will be a waste of time (and money).
The L293 is a 600mA (max) brushed DC motor driver.
You can abuse it for high-impedance steppers, like the 28BYJ-48, or small 12volt steppers,
but not for the 1.5Amp stepper you have.
That one requires a true chopper-type stepper driver.