I moved your topic to an appropriate forum category @jp24yt.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
I'm sorry I didn't get it😅... I change my code though but it isn't working at all..... Here my new code #include <Stepper.h>
int motorSpeed =10;
Stepper myStepper (2048, 8,10,9,11);
void setup() {
// put your setup code here, to run once:
myStepper.setSpeed(motorSpeed);
myStepper.step(1024);
delay(100);
myStepper.step(-1024);
delay(100);
}
void loop() {
// put your main code here, to run repeatedly:
myStepper.step(1024);
delay(1000);
}
Actually my problem here just started yesterday.... The driver lights up but when I connect the stepper motor it won't light up and don't even move even a little bit🤦
It doesn't matter what brand of that battery You use. That type is of the wrong kind. It's suitable for fire alarms or remotes, nothing more. It doesn't deliver enough current. Look at datasheets for that kind of battery!
If your motor is 5volt, you need a 5 volt source that can supply a solid 500mA (1/2 Amp) or better, if 12 volt, 250mA. You cannot run a 28BYJ-48 from the Arduino's 5 volt pin.
Hello, I am having the exact same issue following this tutorial with a 5000mAh charging pack instead of a battery. Same exact wire setup. I still have not found the answer, have you?