Ive read quite a few posts. Basically it seems like the answer to the ever so popular question:
"Can I drive a stepper without a shield?"
is a big fat NO. Unless you want to build a driver board out of large breadboard-size equivalent components like resistors and transistors.
Im just getting started in electronics and just recently understood the beauty of the transistor, so bare with me. But I was considering running a stepper without a driver board but it seems like a waste of time and components.
I have a 12V, 200 step NEMA17 motor than came in an advanced kit from Amazon. Its bipolar and unfortunately came without "an adapter", iow a geared adapter at the end. So my first order of business will be to find one or make one that fits the shaft.
I think the L293D driver board would be overkill because i would only be driving the 1 stepper.
So far it seems the the L293D driver board and the L298N driver board are both overkill because they can control more than 1 motor. So #2 and #5 are the last choices. #1 I would leave out because it requires a bit more wiring up and a breadboard. I guess its down to #3 & #4 but Im not sure if TB6612FNG can drive steppers. Im trying to research more about it.
No, the 293 and 298 can only drive one stepper. A stepper has two windings.
But first things first - what is the current rating and winding resistance of your stepper motor? How
fast do you want it to spin? H-bridges may be a red-herring if you want actual performance.
Don't use a h-bridge to control a stepper motor. Use a specialized stepper motor driver (see for example the Pololu DRV8825) it makes everything easier.
So the reason for using h-bridges is they can switch the current-flow such that the motor can spin one way vs the other way? (A useful features when turning a car).
On the other hand, stepper motors (which usually aren't used for cars) need to be controlled because of the voltage-current-torque-speed issue which requires current-quantity control instead of current-flow control?
Basically all motors produce torque proportional to current - goes for pretty much all types.
PMDC (permanent magnet DC) motors produce speed proportional to voltage, but steppers
produce speed proportional to step rate, limited by available voltage.
The faster a stepper spins the more voltage needs to be available to sustain that steprate.
The difference between a BLDC and a stepper is pretty much just the number of pole-pairs
(1 or 2 typical for BLDC, 50 for a stepper) and phases (2 for stepper, 3 for most BLDCs).
Given a 3-phase stepper (rare beast), you could drive it OK with an RC ESC...
Due to the massive number of poles in a stepper you have the issue of drive frequency.
A 2-pole 3-phase BLDC at 3000rpm is running its windings at 50Hz. A normal stepper at
3000 rpm is running its windings at 2.5kHz - this means iron losses become important and
very low impedance windings are needed to avoid attenuating the 2.5kHz current.
Iron losses are due to reversal of magnetization in the stator laminations dumping some
energy as heat - power is lost proportional to the frequency, and this is 50 or 25 times more
of an issue in a standard (200 step) stepper than in most other motors.
There are so many tutorials for steppers with the L298N bridge. So wolhat would the advantages be of using the 293, 298 and tb6612 board? All 3 are h-bridge, right?
Marciokoko:
There are so many tutorials for steppers with the L298N bridge. So wolhat would the advantages be of using the 293, 298 and tb6612 board? All 3 are h-bridge, right?
In my opinion there is no advantage to using any H-bridge to drive a stepper motor. Use a specialized stepper motor driver. That is the message I had hoped I got across in Stepper Motor Basics.
These days a DRV8825 module is very cheap on eBay, and you only need 2 pins to drive a stepper with it,
rather than a minimum of 4 pins and dual H-bridge.
Either way be sure to identify the two windings A and B and connect them correctly - connecting
randomly has only a 1/3rd chance of being viable.
I think I do understand but I don't have a stepper driver like a4988 or drv8825. it would take about a month to get one. I was just looking for my best option.
At least now I understand all my current options are h-bridges.
Marciokoko:
I think I do understand but I don't have a stepper driver like a4988 or drv8825. it would take about a month to get one.
You can make a stepper move with a H-bridge if that is what you already have. But you are unlikely to get great performance from the motor because the H-bridge cannot limit the current to protect the motor and you must use a voltage that is low enough not to cause dmaage.
Exactly, that is what I mean, I wouldn't be able to protect from overCurrent.
But then the actual h-bridge functionality is not really needed for the stepper, or is it? From my understanding, the h-bridge functionality is required for DC motors when you want to make them turn, which requires the motor to run backwards, which is accomplished by the h-bridge switching current flow.
But does the stepper require current flow switching to run in a straight line?
Marciokoko:
But does the stepper require current flow switching to run in a straight line?
There is lots of stuff on the web about how exactly a stepper motor works. I have forgotten the details because I have been using specialized stepper drivers. Try this.
Thanks for the reading material. I just want to clear one last thing:
The TB6612FNG is an h-bridge just like the 298N and the 293D, right? And the reason so many online tutorials use H-bridges is because the H functionality is indeed required to make the stepper go both forward and backward. Iow, if I were to access it directly, it would only run in one direction. So from what I have at hand, TB6612FNG, L298N, L293D, they are all basically the same thing, H-bridges.
I was reading that the TB6612FNG supplies a steady 1.2A per channel, which is definitely too much for my stepper.
The L298N doesnt specify how much it limits current to but it states: Driven part of the peak current Io: 2A. Not sure what that means.
Finally the Arduino Motor Driver board L293D states that it supplies a 600mA per channel. So could I assume the L293D motor driver board is the best option from what I have at the moment?
Marciokoko:
I was reading that the TB6612FNG supplies a steady 1.2A per channel, which is definitely too much for my stepper.
It is a common misconception that something that "supplies 1.2A" forces the other device to "consume" 1.2A even though it does not need that much.
The opposite is the case. It is the consuming device that determines how much current flows depending on the supply voltage - study Ohm's law - though motors (especially stepper motors are a bit more complex).
If the consuming device only draws (say) 0.5A then the H-bridge will only provide 0.5A. However if the consuming device would like (say) 3A then a 1.2A H-bridge will be overloaded and may be damaged.
That link says the L293 can provide 600 mA per channel so it should be OK.
I suspect there will be a voltage drop within the L293 so that a 12v supply will mean maybe only 10v going to the motor. Have a look at the datasheet for the L293 chip.