MP6500 Stepper Motor Driver Carrier, Digital Current Control

This is a merged information page for Item #2968.
View normal product page.

Pololu item #: 2968
Brand: Pololu
Status: Active and Preferred 
RoHS 3 compliant


This breakout board for the MPS MP6500 microstepping bipolar stepper motor driver has a pinout and interface that are very similar to that of our popular A4988 carriers, so it can be used as a drop-in replacement for those boards in many applications. The MP6500 offers up to 1/8-step microstepping, operates from 4.5 V to 35 V, and can deliver up to approximately 1.5 A per phase continuously without a heat sink or forced air flow. This version of the board allows for dynamic current limit control through a pair of digital inputs, and the board ships with 0.1″ male header pins included but not soldered in.

Alternatives available with variations in these parameter(s): current limit control header pins soldered? Select variant…

Pictures

MP6500 Stepper Motor Driver Carrier, Digital Current Control with included header pins.

MP6500 Stepper Motor Driver Carrier, Digital Current Control,

MP6500 Stepper Motor Driver Carrier, Digital Current Control, top view.

MP6500 Stepper Motor Driver Carrier, bottom view.

MP6500 Stepper Motor Driver Carriers, Digital Current Control with included header pins soldered.

Basic wiring diagram for connecting a microcontroller to an MP6500 Stepper Motor Driver Carrier, Digital Current Control (full-step mode).

Current limit vs. analog voltage for the MP6500 Stepper Motor Driver Carrier, Digital Current Control.

Current limit vs. PWM duty cycle for the MP6500 Stepper Motor Driver Carrier, Digital Current Control.

Schematic diagram for the MP6500 Stepper Motor Driver Carrier.

Schematic of nSLEEP and nFAULT pins on MP6500 carrier.




Overview

MP6500 Stepper Motor Driver Carrier, bottom view.

This product is a carrier board or breakout board for the MP6500 stepper motor driver from Monolithic Power Systems (MPS); we therefore recommend careful reading of the MP6500 datasheet (1MB pdf) before using this product. This stepper motor driver lets you control one bipolar stepper motor at up to approximately 1.5 A per phase continuously without a heat sink or forced air flow (see the Power dissipation considerations section below for more information). Here are some of the driver’s key features:

This product ships with all surface-mount components—including the MP6500 driver IC—installed as shown in the product picture.

We also have a variety of other stepper motor driver options in this same form factor with different operating profiles and features.

Some unipolar stepper motors (e.g. those with six or eight leads) can be controlled by this driver as bipolar stepper motors. For more information, please see the frequently asked questions. Unipolar motors with five leads cannot be used with this driver.

Details for item #2968

This version of the MP6500 Stepper Motor Driver Carrier offers digital current control through its I1 and I2 inputs, which allows a microcontroller to make dynamic current limit adjustments. See the Current limiting section below for more details on controlling the current limit.

Header pins are included but not soldered (see item #2969 for a version of this carrier with header pins already installed).

Included hardware

The MP6500 stepper motor driver carrier ships with one 1×16-pin breakaway 0.1″ male header. The headers can be soldered in for use with solderless breadboards or 0.1″ female connectors. You can also solder your motor leads and other connections directly to the board.

Using the driver

Basic wiring diagram for connecting a microcontroller to an MP6500 Stepper Motor Driver Carrier, Digital Current Control (full-step mode).

Power connections

The driver requires a motor supply voltage of 4.5 V to 35 V to be connected across VMOT and GND. This supply should have appropriate decoupling capacitors close to the board, and it should be capable of delivering the expected stepper motor current. The driver has an internal voltage regulator, so it does not require a logic voltage supply.

Warning: This carrier board uses low-ESR ceramic capacitors, which makes it susceptible to destructive LC voltage spikes, especially when using power leads longer than a few inches. Under the right conditions, these spikes can exceed the 40 V absolute maximum voltage rating for the MP6500 and permanently damage the board, even when the motor supply voltage is as low as 12 V. One way to protect the driver from such spikes is to put a large (at least 47 µF) electrolytic capacitor across motor power (VMOT) and ground somewhere close to the board.

Motor connections

Four, six, and eight-wire stepper motors can be driven by the MP6500 if they are properly connected; a FAQ answer explains the proper wirings in detail.

Warning: Connecting or disconnecting a stepper motor while the driver is powered can destroy the driver. (More generally, rewiring anything while it is powered is asking for trouble.)

Step (and microstep) size

Stepper motors typically have a step size specification (e.g. 1.8° or 200 steps per revolution), which applies to full steps. A microstepping driver such as the MP6500 allows higher resolutions by allowing intermediate step locations, which are achieved by energizing the coils with intermediate current levels. For instance, driving a motor in quarter-step mode will give the 200-step-per-revolution motor 800 microsteps per revolution by using four different current levels.

The resolution (step size) selector inputs (MS1 and MS2) enable selection from the four step resolutions according to the table below. These two pins are pulled low through internal 500 kΩ pull-down resistors, so the driver defaults to full-step mode when these inputs are left disconnected. For the microstep modes to function correctly, the current limit must be set low enough (see below) so that current limiting gets engaged. Otherwise, the intermediate current levels will not be correctly maintained, and the motor will skip microsteps.

MS1 MS2 Microstep Resolution
Low Low Full step
High Low Half (1/2) step
Low High Quarter (1/4) step
High High Eighth (1/8) step

Control inputs

Each pulse to the STEP input corresponds to one microstep of the stepper motor in the direction selected by the DIR pin. These inputs are both pulled low by default through internal 500 kΩ pull-down resistors. If you just want rotation in a single direction, you can leave DIR disconnected.

The chip has two different inputs for controlling its power states: SLEEP and ENBL. For details about these power states, see the datasheet. Please note that the driver pulls both of these pins low through internal 500 kΩ pull-down resistors. The default SLEEP state prevents the driver from operating; this pin must be high to enable the driver (it can be connected directly to a logic “high” voltage between 2.5 V and 5 V, or it can be dynamically controlled by connecting it to a digital output of an MCU). The default state of the ENBL pin is to enable the driver, so this pin can be left disconnected.

The datasheet does not describe how SLEEP and ENBL affect the driver’s internal logic, but based on our testing, bringing SLEEP low disables and resets the entire driver (including the microstep position) while bringing ENBL high disables only the motor outputs while retaining the microstep position.

Schematic of nSLEEP and nFAULT pins on MP6500 carrier.

The MP6500 also features an open-drain FAULT output that drives low whenever the H-bridge FETs are disabled as the result of over-current protection, over-voltage protection, thermal shutdown, or under-voltage lockout protection. The carrier board connects this pin to the SLEEP pin through a 10 kΩ resistor that acts as a FAULT pull-up whenever SLEEP is externally held high, so no external pull-up is necessary on the FAULT pin. Note that the carrier includes a 1.5 kΩ protection resistor in series with the FAULT pin that makes it is safe to connect this pin directly to a logic voltage supply, as might happen if you use this board in a system designed for the pin-compatible A4988 carrier. In such a system, the 10 kΩ resistor between SLEEP and FAULT would then act as a pull-up for SLEEP, making the MP6500 carrier more of a direct replacement for the A4988 in such systems (the A4988 has an internal pull-up on its SLEEP pin).

As a consequence of the connection between SLEEP and FAULT, active faults can pull the SLEEP pin low (below 2.1 V) if it is not externally pulled up strongly enough. We recommend any pull-up resistor used with SLEEP be 4.7 kΩ or stronger (or just connect SLEEP directly to VCC).

Current limiting

To achieve high step rates, the motor supply is typically higher than would be permissible without active current limiting. For instance, a typical stepper motor might have a maximum current rating of 1 A with a 5 Ω coil resistance, which would indicate a maximum motor supply of 5 V. Using such a motor with 9 V would allow higher step rates, but the current must actively be limited to under 1 A to prevent damage to the motor. You will typically want to set the driver’s current limit to be at or below the current rating of your stepper motor.

This version of the MP6500 carrier (as opposed to the one with a potentiometer) uses the I1 and I2 inputs to set the current limit. For coarse control, these inputs can be driven low or set to high-impedance to provide four different limit settings in increments of approximately 500 mA:

I1 I2 Current Limit
Z Z 0.5 A
Low Z 1 A
Z Low 1.5 A
Low Low 2 A

A pin can be set to high-impedance by leaving it disconnected or, if it is connected to a microcontroller, by configuring the microcontroller pin as an input. If both I1 and I2 are disconnected, the current limit defaults to 0.5 A.

For finer control, an analog voltage or a PWM can be supplied to the I1 pin while I2 is driven low:

The equation for these curves is:

``text(current limit) = 2.2   text(A) − 0.63   text(A)/text(V) × (text(analog voltage on I1))``

We recommend using a PWM frequency of 1 kHz or greater.

In practice, we have often observed the actual current limit when using analog or PWM control to be about 10% (sometimes up to 15%) lower than what the equation and graphs show. However, when driving the I1 and I2 pins digitally for coarse control, the current limiting circuit should produce fairly accurate 0.5 A steps as indicated in the table above.

The VREF node on this version of the MP6500 Stepper Motor Driver Carrier does not mean anything; it will always be between around 0.8 V and 1 V.

Note: The coil current can be very different from the power supply current. If you want to confirm that your current limit setting matches what you expect, the appropriate place to put your current meter is in series with one of your stepper motor coils. If the driver is in full-step mode, both coils will always be on and limited to approximately 70% of the current limit setting. If your driver is in one of the microstepping modes, the current through the coils will change with each step, ranging from 0% to 100% of the set limit. See the MP6500 datasheet for more information.

Current limiting circuit changes: As of 28 April 2021, we are changing some of the component values in the current limiting circuit to reduce the time it takes for the current limit to stabilize on driver startup in certain situations (from about half a second to less than 100 ms). This change should not affect the behavior of the board otherwise. The new component values are reflected in the updated schematic diagrams. Please note that you might receive either the old or the new version until we complete this transition.

Power dissipation considerations

The MP6500 driver IC has a maximum current rating of 2.5 A per coil, but the actual current you can deliver depends on how well you can keep the IC cool. The carrier’s printed circuit board is designed to draw heat out of the IC, but to supply more than approximately 1.5 A per coil, a heat sink or other cooling method is required. Note that the version of this board with digital current control has a maximum current limit setting of around 2 A.

This product can get hot enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it.

Please note that measuring the current draw at the power supply will generally not 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. Additionally, please note that the coil current is a function of the set current limit, but it does not necessarily equal the current limit setting as the actual current through each coil changes with each microstep.

Schematic diagram

Schematic diagram for the MP6500 Stepper Motor Driver Carrier.

This schematic is also available as a downloadable pdf (106k pdf).

Dimensions

Size: 0.6″ × 0.8″
Weight: 1.4 g1

General specifications

Minimum operating voltage: 4.5 V
Maximum operating voltage: 35 V
Continuous current per phase: 1.5 A2
Maximum current per phase: 2 A3
Minimum logic voltage: 2.1 V4
Maximum logic voltage: 6 V5
Microstep resolutions: full, 1/2, 1/4, and 1/8
Current limit control: digital
Reverse voltage protection?: N
Header pins soldered?: N

Identifying markings

PCB dev codes: md33a, md33b
Other PCB markings: 0J10855, 0J11019

Notes:

1
Without included optional headers.
2
Without a heat sink or forced air flow.
3
With sufficient additional cooling. This limitation comes from maximum achievable current limit setting on this version of the board.
4
This is the input logic high threshold.
5
Absolute maximum voltage on any input is 6.5 V.

File downloads

Recommended links

Frequently-asked questions

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.

If you do want to use a lower motor supply voltage for other reasons, consider using our DRV8834 or STSPIN-220 low-voltage stepper motor drivers.

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 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.

For the MP6500 with digital current control, the details for setting the current limit can be found in the product description.

For the MP6500 with potentiometer current control, the current limit is set by adjusting its 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 MP6500 stepper motor driver is overheating, but my power supply shows it’s drawing significantly less than 1.5 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 the MP6500 driver is rated for up to 2.5 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.5 A per coil, but this number depends on factors such as ambient temperature and air flow. For example, sealing three MP6500 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 MP6500 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 MP6500 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 MP6500, 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 MP6500 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 MP6500 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 MP6500 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).

On the blog