Hi guys, kinda need some help here. I am trying to run a stepper motor here and the specs is listed below:
rated voltage= 3.25V
Rated Current 1.3A
The stepper motor is connected to easy driver. The driver power source is from arduino's 5V.
I have managed to run a stepper motor with rated voltage 5V. With the below code:
#include <AccelStepper.h>
AccelStepper stepper1(1, 2, 3);
void setup()
{
Serial.begin(9600);
Serial.setTimeout(10);
stepper1.setMaxSpeed(50000);
stepper1.setAcceleration(50000);
}
void loop()
{
stepper1.setSpeed(500);
stepper1.runSpeed();
delay (1);
}
But when i changed the motor into the 3.25V all i can hear are the vibration but no turning. I pretty sure the wiring is correct. Is it because coding or power source ?
I apologize as my basic in electronic stuff is still basic. Please bear with me.
Thanks in advance
From the Sparkfun EasyDriver web page:-
The EasyDriver requires a 6V to 30V supply to power the motor
And you most definitely cannot do this:-
The driver power source is from arduino's 5V.
The Arduino cannot supply anywhere near that much current at 5V, and even less at 3.3V. You must use a separate power supply.
Edit: Furthermore, the EasyDriver cannot be used for a stepper that draws 1.3A. Again, from the Sparkfun page:-
Adjustable current control from 150mA/phase to 700mA/phase
Yeah i was thinking that too.
But i am able to power 2 5V stepper motor just fine.
Thats why i was wondering how could that happen?
lordchickenbreast:
Yeah i was thinking that too.
But i am able to power 2 5V stepper motor just fine.
Thats why i was wondering how could that happen?
Read the edits to my last post.
Robin2
September 24, 2016, 5:39pm
5
You may find some useful stuff in these links
Stepper Motor Basics
Simple Stepper Code
...R