DRV8880 Stepper Motor Driver Carrier
This breakout board for TI’s DRV8880 microstepping bipolar stepper motor driver features adjustable current limiting, overcurrent and overtemperature protection, and six microstep resolutions (down to 1/16-step). In addition, the driver’s current limit can be dynamically reduced to save power, and it has an autotune feature that automatically selects the decay mode that results in the smoothest current waveform. The carrier has a pinout and interface that are nearly identical to those of our A4988 carriers, so it can be used as a drop-in replacement for those boards in many applications. The DRV8880 operates from 6.5 V to 45 V and can deliver up to approximately 1 A per phase continuously without a heat sink or forced air flow (up to 1.6 A peak). This board ships with 0.1″ male header pins included but not soldered in.
|Description||Specs (13)||Pictures (10)||Resources (8)||FAQs (4)||On the blog (1)|
- I want to control a 3.9 V, 600 mA bipolar stepper motor, but this driver has a minimum operating voltage above 3.9 V. Can I use this driver without damaging the stepper motor?
Yes. To avoid damaging your stepper motor, you want to avoid exceeding the rated current, which is 600 mA in this instance. All of our stepper motor drivers let you limit the maximum current, so as long as you set the limit below the rated current, you will be within spec for your motor, even if the voltage exceeds the rated voltage. The voltage rating is just the voltage at which each coil draws the rated current, so the coils of your stepper motor will draw 600 mA at 3.9 V. By using a higher voltage along with active current limiting, the current is able to ramp up faster, which lets you achieve higher step rates than you could using the rated voltage.
- Do I really need to set the current limit on my stepper motor driver before using it, and if so, how do I do it?
Yes, you do! Setting the current limit on your stepper motor driver carrier before connecting your motor is essential to making sure that it runs properly. An appropriate current limit also ensures that your motor is not allowed to draw more current than it or your driver can handle, since that is likely to damage one or both of them.
Setting the current limit on our A4988, DRV8825, DRV8824, DRV8834, DRV8880, STSPINx20, and TB67SxFTG stepper motor driver carriers is done by adjusting the on-board potentiometer. We strongly recommend using a multimeter to measure the VREF voltage while setting the current limit so you can be sure you set it to an appropriate value (just turning the pot randomly until things seem to work is not a good approach). The following video has more details on setting the current limit:
- My DRV8880 stepper motor driver is overheating, but my power supply shows it’s drawing significantly less than 1 A per coil. What gives?
Measuring the current draw at the power supply does not necessarily provide an accurate measure of the coil current. Since the input voltage to the driver can be significantly higher than the coil voltage, the measured current on the power supply can be quite a bit lower than the coil current (the driver and coil basically act like a switching step-down power supply). Also, if the supply voltage is very high compared to what the motor needs to achieve the set current, the duty cycle will be very low, which also leads to significant differences between average and RMS currents: RMS current is what is relevant for power dissipation in the chip but many power supplies won’t show that. You should base your assessment of the coil current on the set current limit or by measuring the actual coil currents.
Please note that while our DRV8880 carrier is rated for up to 1.6 A (peak) per coil, the carrier by itself will overheat at lower currents. We have found that it generally requires a heat sink to deliver more than approximately 1 A per coil, but this number depends on factors such as ambient temperature and air flow. For example, sealing three DRV8880 driver carriers in close proximity in a small box will cause them to overheat at lower currents than a unit by itself in open air.
- How do I connect my stepper motor to the DRV8880 stepper motor driver carrier?
The answer to this question depends on the type of stepper motor you have. When working with stepper motors, you will typically encounter two types: unipolar stepper motors and bipolar stepper motors. Unipolar motors have two windings per phase, allowing the magnetic field to be reversed without having to reverse the direction of current in a coil, which makes unipolar motors easier to control than bipolar stepper motors. The drawback is that only half of the phase is carrying current at any given time, which decreases the torque you can get out of the stepper motor. However, if you have the appropriate control circuitry, you can increase the stepper motor torque by using the unipolar stepper motor as a bipolar stepper motor (note: this is only possible with 6- or 8-lead unipolar stepper motors, not with 5-lead unipolar stepper motors). Unipolar stepper motors typically have five, six, or eight leads.
Bipolar steppers have a single coil per phase and require more complicated control circuitry (typically an H-bridge for each phase). The DRV8880 has the circuitry necessary to control a bipolar stepper motor. Bipolar stepper motors typically have four leads, two for each coil.
Two-phase bipolar stepper motor with four leads.
The above diagram shows a standard bipolar stepper motor. To control this with the DRV8880, connect stepper leads A and C to board outputs A1 and A2, respectively, and stepper leads B and D to board outputs B1 and B2, respectively. Note that if you happen to swap which way the wires are connected for any coil, the stepper motor will turn in the opposite direction, and if you happen to pair up wires from different coils, the motor should be noticeably erratic when you try to step it, if it even moves at all. See the DRV8880 datasheet for more information.
If you have a six-lead unipolar stepper motor as shown in the diagram below:
Two-phase unipolar stepper motor with six leads.
you can connect it to the DRV8880 as a bipolar stepper motor by making the bipolar connections described in the section above and leaving stepper leads A’ and B’ disconnected. These leads are center taps to the two coils and are not used for bipolar operation.
If you have an eight-lead unipolar stepper motor as shown in the diagram below:
Two-phase unipolar stepper motor with eight leads.
you have several connection options. An eight-lead unipolar stepper motor has two coils per phase, and it gives you access to all of the coil leads (in a six-lead unipolar motor, lead A’ is internally connected to C’ and lead B’ is internally connected to D’). When operating this as a bipolar stepper, you have the option of using the two coils for each phase in parallel or in series. When using them in parallel, you decrease coil inductance, which can lead to increased performance if you have the ability to deliver more current. However, since the DRV8880 actively limits the output current per phase, you will only get half the phase current flowing through each of the two parallel coils. When using them in series, it’s like having a single coil per phase (like in four-lead bipolar steppers or six-lead unipolar steppers used as bipolar steppers). We recommend you use a series connection.
To connect the phase coils in parallel, connect stepper leads A and C’ to board output A1, stepper leads A’ and C to board output A2, stepper leads B and D’ to board output B1, and stepper leads B’ and D to board output B2.
To connect the phase coils in series, connect stepper lead A’ to C’ and stepper lead B’ to D’. Stepper leads A, C, B, and D should be connected to the stepper motor driver as normal for a bipolar stepper motor (see the bipolar stepper connections above).