# Stepper motor driver

**URL:** <https://forum.arduino.cc/t/stepper-motor-driver/1133744>\
**Category:** Motors, Mechanics, Power and CNC\
**Created:** [June 2, 2023, 5:45am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744 "2023-06-02T05:45:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 5:45am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/1 "2023-06-02T05:45:14Z")

</div>

Hi community members,

I wanted to drive a Nema 17 stepper motor using an Arduino Uno or similar and wanted to know which stepper motor driver should I use safely? This is my first experience with a stepper motor. I guess I would need a 12V power supply. I was looking at this breakout: [Adafruit TB6612 1.2A DC/Stepper Motor Driver Breakout Board : ID 2448 : $6.95 : Adafruit Industries, Unique & fun DIY electronics and kits](https://www.adafruit.com/product/2448) but need expert advice before buying it. Below is the stepper motor electrical specifications.

 ![specs](https://europe1.discourse-cdn.com/arduino/original/4X/9/3/0/930c6b69a575ca6af3dbd4e97cb2d064b4b20864.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [June 2, 2023, 5:51am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/2 "2023-06-02T05:51:17Z")

</div>

I think that a real stepper driver like an A4988, DRV8825, TMC2209, TB6600 or similar driver would be more appropriate.

I like[the DRV8825 driver.](https://www.pololu.com/product/2133) 12V is just above the minimum for a DRV8825 driver. Better torque and speed will be obtained with higher supply voltage up to the maximum allowed by the driver.

On any of the current controlling, drivers like those listed above, one **must** properly set the coil current limit on the driver before using the motor. For the DRV8825 see the instructions on the Pololu page that I linked.

For other drivers see [this instruction for setting coil current limits.](https://www.circuitist.com/how-to-set-driver-current-a4988-drv8825-tmc2208-tmc2209/)

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 6:05am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/3 "2023-06-02T06:05:36Z")

</div>

Thanks, @groundFungus for your reply. It does not require high torque. It would be driving a mini conveyor belt slowly with less than 100 grams of payload. I am just worried about not damaging the stepper motor by connecting it wrongly someway. I am going to check the links you shared.

---

<div class="post-metadata">

**Author:** ![Railroader](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/railroader/32/274550_2.png) [@Railroader](https://forum.arduino.cc/u/Railroader)\
**Post date:** [June 2, 2023, 6:08am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/4 "2023-06-02T06:08:50Z")

</div>

The most usual stepper damaging is done by using too high current or the wrong kind of driver.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [June 2, 2023, 6:14am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/5 "2023-06-02T06:14:35Z")

</div>

The DRV8825 will handle the 1.3A maximum coil current of that motor with out needing a heat sink or additional cooling (like a fan). If performance is satisfactory and the motor does not miss steps, setting the coil current to less than maximum will make the the driver and motor will run cooler and last longer.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 6:19am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/6 "2023-06-02T06:19:49Z")

</div>

Would 12V be sufficient to drive it using the DRV8825 for just normal torque requirements? I also heard about the TB6600 from a offline contact. Are they similar?

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [June 2, 2023, 6:28am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/7 "2023-06-02T06:28:38Z")

</div>

> [@yokonav](#):
>
> Would 12V be sufficient to drive it using the DRV8825 for just normal torque

Yes, I have a CNC engraver, a 3D printer and a 2D plotter that all use steppers that run at 12V.

> [@yokonav](#):
>
> I also heard about the TB6600 from a offline contact. Are they similar?

Yes, but the TB660 will handle up to 4A coil current would be overkill for your 1.3A motor in terms of current capacity. An upside is that the coil current setting is easier. Just set some DIP switches. And the TB6600 is stand alone, the other drives need to be plugged into something like a breadboard or CNC shield.

You would have to set the TB6600 to 1.0A, 1.5A may lead to motor overheating and eventual failure.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 6:44am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/8 "2023-06-02T06:44:19Z")

</div>

> [@groundFungus](#):
>
> Just set some DIP switches. And the TB6600 is stand alone, the other drives need to be plugged into something like a breadboard or CNC shield.

What do you mean by standalone here? I would still need a microcontroller, right? Is this ([TB6600 Arduino Stepper Motor Driver - DFRobot](https://www.dfrobot.com/product-1547.html)) same you are talking about?

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [June 2, 2023, 6:58am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/9 "2023-06-02T06:58:30Z")

</div>

> [@yokonav](#):
>
> I would still need a microcontroller, right?

Yes.

> [@yokonav](#):
>
> Is this ([https://www.dfrobot.com/product-1547.html](https://www.dfrobot.com/product-1547.html)) same you are talking about?

Yes. Just connect the signal wires, stepper and power supply wires to the proper terminal blocks, set the current limit and microstep DIP switches and go to work.

The other drivers in the list need to have header pins or wires from the signal, microstep and power terminals soldered to the drivers. If headers are used the boards must plug into something. These drivers are generally somewhat less expensive than the TB6600 though.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/2/1/a/21af85dc3711443ed9f54bb3086b6bf8ca5880b8.png)

If you are using 2 or up to 4 steppers with limit switches and related things I like the [CNC shields](https://blog.protoneer.co.nz/arduino-cnc-shield/). They make connecting multiple steppers more convenient. The CNC shields take A4988, DRV8825 or similar drivers.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 8:05am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/10 "2023-06-02T08:05:48Z")

</div>

Thanks for the clarification. I assume TB6600 should work with 3.3V control signals from any MCUs.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 8:09am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/11 "2023-06-02T08:09:48Z")

</div>

If I am using a TB6600 and setting the current 1A it should be fine. Just wondering what will happen if I set the current to 0.5A? I assume the motor would run slowly or not at all but would not get damaged.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [June 2, 2023, 8:45am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/12 "2023-06-02T08:45:08Z")

</div>

> [@yokonav](#):
>
> I assume TB6600 should work with 3.3V control signals from any MCUs.

That I do not know for sure. I have no experience with the TB6600 and 3.3V control signals.

Which, exact, processor are you wanting to use?

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 8:53am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/13 "2023-06-02T08:53:32Z")

</div>

Since TB6600 is not a Uno form factor shield I am thinking to use a Nano Every or Nano 33 BLE with a screw terminal shield. Also I found this one: [SparkFun ProDriver - Stepper Motor Driver (TC78H670FTG) - ROB-16836 - SparkFun Electronics](https://www.sparkfun.com/products/16836). This looks good as it has barrel jack power connector and latch terminal which is convenient. But I am not sure if it would work with the motor I have.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [June 2, 2023, 9:02am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/14 "2023-06-02T09:02:29Z")

</div>

That is the first that I have heard of that driver. Interesting.

From [the Sparkfun page:](https://learn.sparkfun.com/tutorials/sparkfun-prodriver-hookup-guide/hardware-overview)

> | Motor Power Supply Voltage: | 2.5 to 16.0V |
> | --- | --- |
> | Output Current: | 2.0A (max) |

It looks like it would be fine for your stepper.

---

<div class="post-metadata">

**Author:** ![Railroader](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/railroader/32/274550_2.png) [@Railroader](https://forum.arduino.cc/u/Railroader)\
**Post date:** [June 2, 2023, 9:08am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/15 "2023-06-02T09:08:38Z")

</div>

Stepper motors run at the speed of the step pulses. Less current give less torque. Too little and the stepper acts like a buzzer.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 2, 2023, 9:22am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/16 "2023-06-02T09:22:13Z")

</div>

As stated the SparkFun ProDriver is a bipolar stepping motor driver. The specs of the motor I have does not say it is a bipolar but it has No of phases: 2. Does it mean a bipolar motor?

PS: Information by googling, Bipolar stepper motors are **two-phase** , four-wire stepper motors. I admit I need to learn more about the stepper motor.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [June 2, 2023, 1:36pm UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/17 "2023-06-02T13:36:44Z")

</div>

> [@yokonav](#):
>
> it is a bipolar but it has No of phases: 2. Does it mean a bipolar motor?

I admit that I am assuming that the motor is bipolar, but most new modern motors are.

> [@yokonav](#):
>
> I admit I need to learn more about the stepper motor.

Here is a start. \>\> [Stepper Motor Basics](https://forum.arduino.cc/t/stepper-motor-basics/275223)

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 3, 2023, 2:34am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/18 "2023-06-03T02:34:39Z")

</div>

> [@groundFungus](#):
>
> Here is a start. \>\> [Stepper Motor Basics](https://forum.arduino.cc/t/stepper-motor-basics/275223)

Thanks for the link!

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [June 4, 2023, 1:16am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/19 "2023-06-04T01:16:59Z")

</div>

I'm wondering if the 1.3A current rating for the 2-phase stepper motor is per phase or overall. Will it continuously draw 1.3A or 2 x 1.3A = 2.6A at maximum? This information is crucial in selecting the appropriate 12V power supply.

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [June 4, 2023, 1:19am UTC](https://forum.arduino.cc/t/stepper-motor-driver/1133744/20 "2023-06-04T01:19:06Z")

</div>

Hi,  
2.6A, the specs are per winding, plus it is good to have a safety/durablitly margin, I'd spec 5A just for the stepper.

Tom.. 😃 👍 ☕ 🇦🇺

[Next page](https://forum.arduino.cc/t/stepper-motor-driver/1133744.md?page=2)
