Hello!
I am facing the below detailed issue when I try to use my motors with the controllers. A have read lots of forums articles, but did not found the solution jet...
Problem:
I can not drive the motors with A4998 and DRV8825 but with EasyDriver4.4 working properly. (fast, powerfull, silence, dont skip steps, but I have to cool the driver with a fan)
I do not understand why EasyDriver is working well, because based on datasheets and forums EasyDriver current capacity is much smaller, what my motors needed. Everywhere on internet can I read the appropriate driver for my motors are A4998 and DRV8825, but those not working for me, just jumped the axis left-right and give noise....
Has somebody any idea what could be the cause of the problem? Many thanks in advance for the advises.
I have made some measurement, i share the infos too, because I found interesting the current and voltage details.
I checked the cable of the coils, wiring is OK (in theory).I attached the wiring and the code too.
br
szalczim
Details:
EasyDriver working well:
adjusted VREF on 3V it's mean -> 0,06A on coiles, and 0,7 V (17HS4401 and 17HS8401 working properly)
A4998:
adjusted VREF on 0,95 V it's mean -> 1,7 A on coil by google, but in practice 0,9 A. Voltage on coil 0,3V (17HS4401 and 17HS8401 axis left-right and give noise)
DRV8825:
adjusted VREF 0,85 V it's mean -> 1,7 A on coil by pololu, but in practice 0,1 A (17HS4401 and 17HS8401 axis left-right and give noise) During the lots of testing I damaged 3 driver, so I do not have any at this time. shipping is still in progress
I don't understand why working well the motor with EasyDriver on 0,06A. The advanced current for this motors is around or more then 1A. or am I wrong?
I have 3 stepper motor from 3 different supplyer and many motor drivers. All of them(drivers too) come from china(aliexpress)
Datasheet the motors:
17HS4401 1,7 A;1,8ohm (3ohm in practice) phase resistance;4 wire
17HS8401 1,7 A;1,8ohm (3ohm in practice) phase resistance;4 wire
Datasheet my power supply:
19V 4,7 A (notebook supply), but the voltage stepped down till 12 V.
int dirPin = 9;
int stepperPin = 8;
int led=13;
void setup() {
pinMode(dirPin, OUTPUT);
pinMode(stepperPin, OUTPUT);
pinMode(led, OUTPUT);
}
void step(boolean dir,int steps){
digitalWrite(dirPin,dir);
delay(50);
for(int i=0;i<steps;i++){
digitalWrite(stepperPin, HIGH);
//delay(2000); //for the current and voltage measurement on the coil
delayMicroseconds(60);
digitalWrite(stepperPin, LOW);
delayMicroseconds(60);
//delay(2000) ;
}
}
void loop(){
step(true,15000);
delay(150);
step(false,12000);
delay(50);
}