Stepper Motor Problem

Hey,
i am building something with a stepper motor controlled by an adruino. For testing i used a 2A 12V Powersupply and everytihing worked fine. For the finished product i ordered an other power supply with 3A and 12v.
The problem is, that since i use the new powersupply the motor does a strange noise first and then runs after about a second or two.
How can this be possible?

The Power-Supply is: http://www.amazon.de/gp/product/B008CPQB26?psc=1&redirect=true&ref_=oh_aui_detailpage_o05_s00

What stepper motor? What driver chip? Your code?

Driver chip: http://www.ebay.de/itm/251586113628?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
Motor: http://www.ebay.de/itm/171665226163?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

The part of the code to drive the motor:

for(int i = 0; i < steps; i++){

digitalWrite(8, HIGH);
digitalWrite(9, LOW);
digitalWrite(10, HIGH);
digitalWrite(11, LOW) ;

delay(2);

digitalWrite(8, LOW);
digitalWrite(9, HIGH);
digitalWrite(10, HIGH);
digitalWrite(11, LOW);

delay(2);

digitalWrite(8, LOW);
digitalWrite(9, HIGH);
digitalWrite(10, LOW);
digitalWrite(11, HIGH);

delay(2);

digitalWrite(8, HIGH);
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, HIGH);

delay(2);

}

Hi.

Here:

http://forum.arduino.cc/index.php?topic=305820.0

Your motor specs is rated to 2.8 amp, LN298N for 2amp.

I suspect a bad combination. No smoke yet ??

Have a look at stepper motor basics.
An L298 is a very poor choice for driving a stepper motor.

...R

I am aware that the l298 is rated for 2amp only. But the motor runs only for a few seconds at a time...
It works with an other power supply, which can only deliver 2amp. Why doesent it work with this one?
Which driver should I use?

NuclearVirus:
Which driver should I use?

See Reply #4

...R

Hi,
Your stepper is 2.8A.

The 3A supply you have got is designed as a LED driver power supply, it may have current limiting built in.

Your stepper may pull more than 3A surge, which your 2A supply could tolerate.

The 3A supply will limit the surge, hence give you a sluring of the intial steps.

Tom..... :slight_smile:
Just a theory as specs on the 3A supply not readily available,

Robin2:
See Reply #4

...R

You wrote there: "...can only supply about 2 amps. If your motor requires more than that, you will need to get one of the more expensive commercial stepper drivers." Or did i miss something?

TomGeorge:
Hi,
Your stepper is 2.8A.

The 3A supply you have got is designed as a LED driver power supply, it may have current limiting built in.

Your stepper may pull more than 3A surge, which your 2A supply could tolerate.

The 3A supply will limit the surge, hence give you a sluring of the intial steps.

Tom..... :slight_smile:
Just a theory as specs on the 3A supply not readily available,

Yeah that would be possible. I tried an old laptop supply and it works now.

NuclearVirus:
You wrote there: "...can only supply about 2 amps. If your motor requires more than that, you will need to get one of the more expensive commercial stepper drivers." Or did i miss something?

That's about it, no single-chip chopper driver can handle that much current, so you'll
either have to under-run it from a DRV8825 or get a GeckoDrive or other cheap commercial
unit. Commercial stepper drivers are more expensive than the motors they control,
typically, but are fairly bomb-proof being designed for industrial environment.

Another possibility is the new DRV8711 module that TI do, called Boost-DRV8711:

Not a breadboard friendly breakout, but upto 5A without sweat since the DRV8711
uses external MOSFETs.

Simple: You put a 2.8A 0.9 ohm therefore 2.5V stepper on a 12V power supply.

The L298 loses about 1.5 to 2V. So 10V/0.9 ohms = 11A! You are overloading the power supply. It was probably lowering the output voltage. The laptop power supply you are using now is likely also lowering the voltage rather than shutting down.

Your new power supply is going into shutdown after a few seconds. If it didn't, things would burn up.

A straight H-bridge driver like the L298 is meant to run at the stepper motor voltage, plus the drop across the L298. So you should be running it from something like a 4V 6A power supply. 6A, because two windings turned on at once means 5.6A. But the L298 is rated at 2A max, with a big heatsink and fan.

This will run -very- slowly only, losing torque quickly as you speed it up. In fact, this motor is not -meant- to be driven with a straight H-bridge driver.

Use a chopper driver. The TB6560 is a stepper motor chopper driver that is rated for up to 3A. There are a lot of them prebuilt from China, but many have a design flaw.

Here someone detailed how to identify if your board has the problem and fix it:
http://www.cnczone.com/forums/general-cnc-machine-related-electronics/110986-software.html

Another page:
http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/

Or build your own:

FYI, you should then get a higher voltage power supply. 24 to 36V. The stepper motor will then retain torque at much higher speeds.

A chopper driver for a stepper motor is a switch mode power supply that regulates current rather than voltage, and uses the inductance of the stepper motor windings rather than an external inductor as used in the typical SMPS.

NuclearVirus:
You wrote there: "...can only supply about 2 amps. If your motor requires more than that, you will need to get one of the more expensive commercial stepper drivers." Or did i miss something?

You had not given any indication that you had read it - hence my comment. When I wrote that Thread I had assumed that readers needing more powerful drivers would consult Google or Ebay.

I think others have now answered your question here.

Leadshine is another brand of larger stepper drivers -similar to Gecko.

...R

Okay I ordered a TB6560 now. I can switch the power supply I use right now to 24V.