{"product_id":"1182-a4988-stepper-motor-driver-carrier","title":"A4988 Stepper Motor Driver Carrier","description":"\u003cp\u003eThis breakout board for Allegro's A4988 microstepping bipolar stepper motor driver features adjustable current limiting, over-current and over-temperature protection, and five different microstep resolutions (down to 1\/16-step). It operates from 8 V to 35 V and can deliver up to approximately 1 A per phase without a heat sink or forced air flow (it is rated for 2 A per coil with sufficient additional cooling). This board ships with 0.1″ male header pins included but not soldered in. \u003c\/p\u003e\n\n\u003cbr\u003e\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 280px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10061.1200.jpg?28dcebcb0b7b778f9af83cdb52c0ef8a\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id stepper motor driver carrier with dimensions. data-picture-id=\"0J10061\" data-picture-longest_side=\"1007\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10061.280.jpg?28dcebcb0b7b778f9af83cdb52c0ef8a\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 280px\"\u003e\u003cp\u003e A4983\/A4988 stepper motor driver carrier with dimensions.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch2\u003e Overview\u003c\/h2\u003e\n\n \u003cp\u003eThis product is a carrier board or breakout board for Allegro's A4988 DMOS Microstepping Driver with Translator and Overcurrent Protection; we therefore recommend careful reading of the \u003ca href=\"\/en\/file\/0J450\/A4988.pdf\"\u003eA4988 datasheet\u003c\/a\u003e (1MB pdf) before using this product. This stepper motor driver lets you control one \u003ca href=\"https:\/\/www.pololu.com\/category\/87\/stepper-motors\"\u003ebipolar stepper motor\u003c\/a\u003e at up to 2 A output current per coil (see the \u003cem\u003ePower Dissipation Considerations\u003c\/em\u003e section below for more information). Here are some of the driver's key features:\u003c\/p\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Simple step and direction control interface\u003c\/li\u003e\n\n\u003cli\u003e Five different step resolutions: full-step, half-step, quarter-step, eighth-step, and sixteenth-step\u003c\/li\u003e\n\n\u003cli\u003e Adjustable current control lets you set the maximum current output with a potentiometer, which lets you use voltages above your stepper motor's rated voltage to achieve higher step rates\u003c\/li\u003e\n\n\u003cli\u003e Configured for mixed decay mode\u003c\/li\u003e\n\n\t \u003cli\u003eOver-temperature thermal shutdown, under-voltage lockout, and crossover-current protection\u003c\/li\u003e\n\n\u003cli\u003e Short-to-ground and short-load protection\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003cp\u003e This product ships with all surface-mount components—including the A4988 driver IC—installed as shown in the product picture.\u003c\/p\u003e\n\n\u003cp\u003e This product ships individually packaged with 0.1″ male header pins included but not soldered in; we also carry a \u003ca href=\"https:\/\/www.pololu.com\/product\/2980\"\u003eversion with male header pins already soldered in\u003c\/a\u003e . For customers interested in higher volumes at lower unit costs, we offer a \u003ca href=\"https:\/\/www.pololu.com\/product\/2975\"\u003ebulk-packaged version without header pins\u003c\/a\u003e and a \u003ca href=\"https:\/\/www.pololu.com\/product\/2985\"\u003ebulk-packaged version with header pins installed\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003cp\u003e We also have a variety of other \u003ca href=\"https:\/\/www.pololu.com\/category\/269\/16-pin-stepper-motor-drivers\"\u003estepper motor driver options in this same form factor\u003c\/a\u003e with different operating profiles and features.\u003c\/p\u003e\n\n \u003cp class=\"note\"\u003eSome unipolar stepper motors (eg those with six or eight leads) can be controlled by this driver as bipolar stepper motors. For more information, please see the \u003ca href=\"1182\/faqs\"\u003efrequently asked questions\u003c\/a\u003e . Unipolar motors with five leads\u003cins\u003e cannot\u003c\/ins\u003e be used with this driver.\u003c\/p\u003e\n\n\u003ch2\u003e Included hardware\u003c\/h2\u003e\n\n\u003cp\u003e The A4988 stepper motor driver carrier comes with one 1×16-pin breakaway \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003e0.1\" male header\u003c\/a\u003e . The headers can be soldered in for use with \u003ca href=\"https:\/\/www.pololu.com\/category\/28\/solderless-breadboards\"\u003esolderless breadboards\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/category\/50\/0.1-2.54-mm-female-headers\"\u003e0.1\" female connectors\u003c\/a\u003e . You can also solder your motor leads and other connections directly to the board. (A \u003ca href=\"https:\/\/www.pololu.com\/product\/2980\"\u003eversion of this board with headers already installed\u003c\/a\u003e is also available.) \u003c\/p\u003e\n\n\u003ctable class=\"side_by_side_pics\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10064.1200.jpg?c9f23bb0a581ad7237832aa804ad0006\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id stepper motor driver carrier with included hardware. data-picture-id=\"0J10064\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10064.320.jpg?c9f23bb0a581ad7237832aa804ad0006\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e \u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10065.1200.jpg?b63f11341129426340f57ab54e30c6fb\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a4988 stepper motor driver carrier with included header pins soldered. data-picture-id=\"0J10065\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10065.180.jpg?b63f11341129426340f57ab54e30c6fb\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch2\u003e Using the driver \u003c\/h2\u003e\n\n\u003ctable class=\"picture_with_caption center wide\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 600px\"\u003e\u003cimg alt=\"\" class=\"wide\" data-gallery-pictures=\"[{\" id wiring diagram for connecting a microcontroller to an a4988 stepper motor driver carrier mode data-picture-id=\"0J10073\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10073.600.jpg?75d9ca5bb2e095e5c5f64350019e1b81\"\u003e\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 600px\"\u003e\u003cp\u003e Minimal wiring diagram for connecting a microcontroller to an A4988 stepper motor driver carrier (full-step mode).\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Power connections\u003c\/h3\u003e\n\n\u003cp\u003e The driver requires a logic supply voltage (3 V to 5.5 V) to be connected across the VDD and GND pins and a motor supply voltage (8 – 35 V) to be connected across VMOT and GND. These supplies should have appropriate decoupling capacitors close to the board, and they should be capable of delivering the expected currents (peaks up to 4 A for the motor supply).\u003c\/p\u003e\n\n \u003cp class=\"note_warning\"\u003e\u003cstrong\u003eWarning:\u003c\/strong\u003e This carrier board uses low-ESR ceramic capacitors, which makes it susceptible to destructive \u003ca href=\"https:\/\/www.pololu.com\/docs\/0J16\"\u003eLC voltage spikes\u003c\/a\u003e , especially when using power leads longer than a few inches. Under the right conditions, these spikes can exceed the 35 V maximum voltage rating for the A4988 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.\u003c\/p\u003e\n\n\u003ch3\u003e Motor connections\u003c\/h3\u003e\n\n\u003cp\u003e Four, six, and eight-wire stepper motors can be driven by the A4988 if they are properly connected; a \u003ca href=\"https:\/\/www.pololu.com\/product\/1182\/faqs\"\u003eFAQ answer\u003c\/a\u003e explains the proper wirings in detail.\u003c\/p\u003e\n\n \u003cp class=\"note_warning\"\u003e\u003cstrong\u003eWarning:\u003c\/strong\u003e 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.)\u003c\/p\u003e\n\n\u003ch3\u003e Step (and microstep) size\u003c\/h3\u003e\n\n\u003cp\u003e Stepper motors typically have a step size specification (eg 1.8° or 200 steps per revolution), which applies to full steps. A microstepping driver such as the A4988 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.\u003c\/p\u003e\n\n \u003cp\u003eThe resolution (step size) selector inputs (MS1, MS2, and MS3) enable selection from the five step resolutions according to the table below. MS1 and MS3 have internal 100kΩ pull-down resistors and MS2 has an internal 50kΩ pull-down resistor, so leaving these three microstep selection pins disconnected results in full-step mode. 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.\u003c\/p\u003e\n\n\u003ctable class=\"specifications center\"\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e MS1\u003c\/th\u003e\n\n\u003cth\u003e MS2\u003c\/th\u003e\n\n\u003cth\u003e MS3\u003c\/th\u003e\n\n\u003cth\u003e Microstep Resolution\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e Full step\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e High\u003c\/td\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e Half step\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e High\u003c\/td\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e Quarter step\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e High\u003c\/td\u003e\n\n\u003ctd\u003e High\u003c\/td\u003e\n\n\u003ctd\u003e Low\u003c\/td\u003e\n\n\u003ctd\u003e Eighth step\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\n\u003ctd\u003e High\u003c\/td\u003e\n\n\u003ctd\u003e High\u003c\/td\u003e\n\n\u003ctd\u003e High\u003c\/td\u003e\n\n\u003ctd\u003e Sixteenth step\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Control inputs\u003c\/h3\u003e\n\n \u003cp\u003eEach pulse to the STEP input corresponds to one microstep of the stepper motor in the direction selected by the DIR pin. Note that the STEP and DIR pins are not pulled to any particular voltage internally, so you should not leave either of these pins floating in your application. If you just want rotation in a single direction, you can tie DIR directly to VDD or GND. The chip has three different inputs for controlling its many power states: \u003cspan style=\"text-decoration:overline;\"\u003eRST\u003c\/span\u003e , \u003cspan style=\"text-decoration:overline;\"\u003eSLP\u003c\/span\u003e , and \u003cspan style=\"text-decoration:overline;\"\u003eEN\u003c\/span\u003e . For details about these power states, see the datasheet. Please note that the \u003cspan style=\"text-decoration:overline;\"\u003eRST\u003c\/span\u003e pin is floating; if you are not using the pin, you can connect it to the adjacent \u003cspan style=\"text-decoration:overline;\"\u003eSLP\u003c\/span\u003e pin on the PCB to bring it high and enable the board.\u003c\/p\u003e\n\n\u003ch3\u003e Current limiting \u003c\/h3\u003e\n\n\u003cdiv class=\"center\"\u003e\u003cdiv class=\"video video_16_9\"\u003e\u003cdiv\u003e\n\n\u003ciframe id=\"ytplayer\" type=\"text\/html\" src=\"https:\/\/www.youtube.com\/embed\/89BHS9hfSUk?fs-1\u0026amp;rel=0\u0026amp;wmode=transparent\" frameborder=\"0\" allowfullscreen=\"1\"\u003e\u003c\/iframe\u003e\n\n\u003c\/div\u003e\u003c\/div\u003e\u003c\/div\u003e \u003cp\u003eOne way to maximize stepper motor performance is to use as high of a voltage as is practical for your application. In particular, increasing the voltage generally allows for higher step rates and stepping torque since the current can change more quickly in the coils after each step. However, in order to safely use voltages above the rated voltage of a stepper motor, the coil current must be actively limited to keep it from exceeding the motor's rated current.\u003c\/p\u003e\n\n \u003cp\u003eThe A4988 supports such active current limiting, and the trimmer potentiometer on the board can be used to set the current limit. One way to set the current limit is to put the driver into full-step mode and measure the current running through a single motor coil while adjusting the current limit potentiometer. This should be done with the motor holding a fixed position (ie without clocking the STEP input). \u003cstrong\u003eNote\u003c\/strong\u003e that the current you are measuring is only \u003cstrong\u003e70% of the actual current limit setting\u003c\/strong\u003e , since both coils are always on and limited to this value in full-step mode, so if you later enable microstepping modes, the current through the coils will be able to exceed this measured full-step current by 40% (1\/0.7) on certain steps; please take this into account when using this method to set the current limit. Also, note that you will need to perform this adjustment again if you ever change the logic voltage, VDD, since the reference voltage that sets the current limit is a function of VDD.\u003c\/p\u003e\n\n \u003cp class=\"note\"\u003e\u003cstrong\u003eNote:\u003c\/strong\u003e The coil current can be very different from the power supply current, so you should\u003cins\u003e note\u003c\/ins\u003e use the current measured at the power supply to set the current limit. The appropriate place to put your current meter is in series with one of your stepper motor coils.\u003c\/p\u003e\n\n\u003cp\u003e Another way to set the current limit is to calculate the reference voltage that corresponds to your desired current limit and then adjust the current limit potentiometer until you measure that voltage on the \u003cstrong\u003eVREF\u003c\/strong\u003e pin. The VREF pin voltage is accessible on a via that is circled on the bottom silkscreen of the circuit board. The current limit, I \u003csub\u003eMAX\u003c\/sub\u003e , relates to the reference voltage as follows:\u003c\/p\u003e\n\n\u003cp class=\"math\"\u003e ``I_(MAX) = (V_(REF)) \/ (8 * R_(CS))``\u003c\/p\u003e\n\n\u003cp\u003e or, rearranged to solve for VREF:\u003c\/p\u003e\n\n\u003cp class=\"math\"\u003e ``V_(REF) = 8 * I_(MAX) * R_(CS)``\u003c\/p\u003e\n\n \u003cp\u003e\u003cstrong\u003eR \u003csub\u003eCS\u003c\/sub\u003e\u003c\/strong\u003e is the current sense resistance, and all units manufactured since 2017 have \u003cstrong\u003e0.068 Ω\u003c\/strong\u003e current sense resistors (units made prior to this had green 0.050 Ω sense resistors). So, for example, if you want to set the current limit to 1 A, you would set VREF to 540 mV. Doing this ensures that even though the current through each coil changes from step to step, the magnitude of the current vector in the stepper motor stays constant at 1 A:\u003c\/p\u003e\n\n\u003cp class=\"math\"\u003e ``sqrt(I_(COIL1)^2 + I_(COIL2)^2) = I_(MAX) = 1 text (A)``\u003c\/p\u003e\n\n\u003cp\u003e If you instead want the current through \u003cem\u003eeach coil\u003c\/em\u003e to be 1 A in full-step mode, you would need to set the current limit to be 40% higher, or 1.4 A, since the coils are limited to approximately 70% of the set current limit in full-step mode (the equation above shows why this is the case). This can be accomplished by setting VREF to 770 mV.\u003c\/p\u003e\n\n\u003ch2\u003e Power dissipation considerations\u003c\/h2\u003e\n\n \u003cp\u003eThe A4988 driver IC has a maximum current rating of 2 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 A per coil, a heat sink or other cooling method is required.\u003c\/p\u003e\n\n\u003cp class=\"note_warning\"\u003e This product can get \u003cstrong\u003e\u003cspan style=\"color:red;\"\u003ehot\u003c\/span\u003e\u003c\/strong\u003e enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it.\u003c\/p\u003e\n\n\u003cp\u003e\u003cins\u003e Please note that measuring the current draw at the power supply will generally not provide an accurate measure of the coil current. \u003c\/ins\u003eSince 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.\u003c\/p\u003e\n\n\u003ch2\u003e Schematic diagram \u003c\/h2\u003e\n\n\u003ctable class=\"picture_with_caption center wide\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 600px\"\u003e\u003cimg alt=\"\" class=\"wide\" data-gallery-pictures=\"[{\" id diagram of the a4988 stepper motor driver carrier green and black editions data-picture-id=\"0J3359\" data-picture-longest_side=\"1173\" src=\"https:\/\/a.pololu-files.com\/picture\/0J3359.600.jpg?bafae85a9d4ff4a7837ec16a322748fe\"\u003e\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 600px\"\u003e\u003cp\u003e Schematic diagram of the A4988 stepper motor driver carrier (both green and black editions).\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp class=\"note\"\u003e \u003cstrong\u003eNote:\u003c\/strong\u003e This board is a drop-in replacement for our original (and now discontinued) \u003ca href=\"https:\/\/www.pololu.com\/product\/1201\"\u003eA4983 stepper motor driver carrier\u003c\/a\u003e . The newer A4988 offers overcurrent protection and has an internal 100k pull-down on the MS1 microstep selection pin, but it is otherwise virtually identical to the A4983.\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696595288409,"sku":"POL-1182","price":20.42,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47885964935513,"sku":"POL-1182\/A","price":20.42,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J10064.1200.jpg?v=1705454256","url":"https:\/\/xernuqvalzi.pro\/en\/products\/1182-a4988-stepper-motor-driver-carrier","provider":"Robot Italy","version":"1.0","type":"link"}