{"product_id":"3766-drv8434s-spi-stepper-motor-driver-carrier-potentiometer-for-max-current-limit","title":"DRV8434S SPI Stepper Motor Driver Carrier, Potentiometer for Max. Current Limit","description":"\u003cp\u003eThis breakout board for TI's DRV8434S microstepping bipolar stepper motor driver operates from 4.5 V to 48 V and can deliver up to approximately 1.2 A continuous per phase without a heat sink or forced air flow (2 A peak). The SPI interface allows configuration of the current limit, step mode (11 step modes from full-step through 1\/256-step), decay mode, and stall detection. The driver also features built-in protection against under-voltage, over-current, and over-temperature conditions. This version of the board uses an \u003cstrong\u003eon-board potentiometer for setting the maximum current limit\u003c\/strong\u003e , and SPI can be used to set the actual current limit to intermediate values ​​in increments of the set maximum\/16.\u003c\/p\u003e\n\n\u003cbr\u003e\u003ch2\u003e Overview \u003c\/h2\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 250px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11783.1200.jpg?5f846853c88a8c038d0a771ba47eb2bb\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id spi stepper motor driver carrier potentiometer for max. current limit bottom view with dimensions. data-picture-id=\"0J11783\" data-picture-longest_side=\"1199\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11783.250.jpg?5f846853c88a8c038d0a771ba47eb2bb\"\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: 250px\"\u003e\u003cp\u003e DRV8434S SPI Stepper Motor Driver Carrier, Potentiometer for Max. Current Limit, bottom view with dimensions.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n \u003cp\u003eThis product is a carrier board or breakout board for the DRV8434S stepper motor driver from Texas Instruments (TI); we therefore recommend careful reading of the \u003ca href=\"https:\/\/www.ti.com\/lit\/ds\/symlink\/drv8434s.pdf\"\u003eDRV8434S datasheet\u003c\/a\u003e 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 approximately 1.2 A continuous per phase without a heat sink or forced air flow (see the \u003cem\u003ePower dissipation considerations\u003c\/em\u003e section below for more information).\u003c\/p\u003e\n\n\u003cp\u003e There are several different versions of DRV8434x carriers, and the following comparison table shows their key differences: \u003c\/p\u003e\n\n\u003ctable style=\"margin-bottom: 1em;\" class=\"active_controller_comparison center\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003cth style=\"vertical-align:top;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3762\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/picture\/0J12257.100.jpg?855e89b559e97ac2fb8b537332811a52\" alt=\"\"\u003e\u003cbr\u003e DRV8434\u003c\/a\u003e\n\u003c\/th\u003e\n\n\u003cth style=\"vertical-align:top;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3764\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/picture\/0J11776.100.jpg?9ac6b13aad8e39d215a566f1e2a547a2\" alt=\"\"\u003e\u003cbr\u003e DRV8434A\u003c\/a\u003e\n\u003c\/th\u003e\n\n\u003cth style=\"vertical-align:top;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3766\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/picture\/0J11782.100.jpg?3da858fb488671f2d8aeb07353d479f6\" alt=\"\"\u003e\u003cbr\u003e DRV8434S\u003cbr\u003e (Potentiometer for\u003cbr\u003e Max. Current Limit)\u003c\/a\u003e\n\u003c\/th\u003e\n\n\u003cth style=\"vertical-align:top;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3768\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/picture\/0J11787.100.jpg?a0637996e0375f46d6c39ee1109455f9\" alt=\"\"\u003e\u003cbr\u003e DRV8434S\u003cbr\u003e (2A Max. Current\u003cbr\u003e Limit)\u003c\/a\u003e\n\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Configuration:\u003c\/th\u003e\n\n\t\t \u003ctd colspan=\"2\"\u003eI\/O pins\u003c\/td\u003e\n\n\u003ctd colspan=\"2\"\u003e SPI\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Control interface:\u003c\/th\u003e\n\n\u003ctd colspan=\"2\"\u003e STEP and DIR pins\u003c\/td\u003e\n\n\u003ctd colspan=\"2\"\u003e STEP and DIR pins \u003cstrong\u003eor\u003c\/strong\u003e SPI\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Stall detection: \u003c\/th\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\n\u003ctd colspan=\"2\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Current limit:\u003c\/th\u003e\n\n\u003ctd colspan=\"2\"\u003e Potentiometer\u003cbr\u003e setting (0–2 A)\u003c\/td\u003e\n\n\u003ctd\u003e Potentiometer setting\u003cbr\u003e for max. (0–2 A),\u003cbr\u003e scaled with SPI\u003cbr\u003e settings (%)\u003c\/td\u003e\n\n\u003ctd\u003e 2 A fixed max.,\u003cbr\u003e scaled with SPI\u003cbr\u003e settings (%)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Decay modes available:\u003c\/th\u003e\n\n\u003ctd\u003e 6\u003c\/td\u003e\n\n\u003ctd\u003e 1\u003c\/td\u003e\n\n\u003ctd colspan=\"2\"\u003e 8\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr style=\"text-align:left;\"\u003e\n\n\u003cth\u003e Available versions:\u003c\/th\u003e\n\n\u003ctd\u003e\u003cul style=\"margin: 0.5em 0 0\"\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3762\"\u003eheaders included\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3763\"\u003esoldered headers\u003c\/a\u003e\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003cul style=\"margin: 0.5em 0 0\"\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3764\"\u003eheaders included\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3765\"\u003esoldered headers\u003c\/a\u003e\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003cul style=\"margin: 0.5em 0 0\"\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3766\"\u003eheaders included\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3767\"\u003esoldered headers\u003c\/a\u003e\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003cul style=\"margin: 0.5em 0 0\"\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3768\"\u003eheaders included\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3769\"\u003esoldered headers\u003c\/a\u003e\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Features\u003c\/h3\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e 4.5 V to 48 V supply voltage range ( \u003cstrong\u003enote:\u003c\/strong\u003e these are\u003cins\u003e note \u003c\/ins\u003erecommended for use with 48V batteries, which can be well above nominal when fully charged)\u003c\/li\u003e\n\n\u003cli\u003e Can deliver up to 1.2 A continuous per phase without additional cooling (2 A peak)\u003c\/li\u003e\n\n\u003cli\u003e Can interface directly with 1.8 V, 3.3 V, and 5 V systems\u003c\/li\u003e\n\n\u003cli\u003e Highly configurable through SPI interface\u003c\/li\u003e\n\n\u003cli\u003e Optional STEP\/DIR control pins (stepping can also be controlled through SPI interface alone)\u003c\/li\u003e\n\n\u003cli\u003e Eleven different step resolutions: full-step with 100% current, full-step with 70% current, non-circular 1\/2-step, 1\/2-step, 1\/4-step, 1\/8-step, 1\/ 16-step, 1\/32-step, 1\/64-step, 1\/128-step, 1\/256-step\u003c\/li\u003e\n\n\u003cli\u003e Eight configurable decay modes, including smart tune dynamic decay and ripple control modes\u003c\/li\u003e\n\n\u003cli\u003e Two current limit control options available, each with two header pin assembly options, making four versions in all:\n\u003cul\u003e\n\n\u003cli\u003e\n\n \u003cstrong\u003ePotentiometer for Max. Current Limit\u003c\/strong\u003e : an on-board potentiometer sets the maximum current limit up to 2 A, and the actual current limit can be scaled down through SPI\n\u003cul\u003e\n\n\t\t\t \u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/product\/3766\"\u003ewith header pins included but not soldered\u003c\/a\u003e\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3767\"\u003ewith header pins soldered\u003c\/a\u003e\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\n\u003c\/li\u003e\n\n\u003cli\u003e\n\n \u003cstrong\u003e2A Max. Current Limit\u003c\/strong\u003e : the maximum current limit is fixed at 2A and the actual current limit is set solely through SPI in increments of 125 mA\n\u003cul\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3768\"\u003ewith header pins included but not soldered\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/3769\"\u003ewith header pins soldered\u003c\/a\u003e\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\n\u003c\/li\u003e\n\n\u003cli\u003e Integrated stall detection\u003c\/li\u003e\n\n\u003cli\u003e Over-temperature thermal shutdown, over-current protection, open load detection, under-voltage lockout, and charge pump over-voltage protection\u003c\/li\u003e\n\n\u003cli\u003e Driver IC integrates spread spectrum clocking of its internal oscillator and charge pump for reduced EMI\u003c\/li\u003e\n\n\u003cli\u003e 4-layer, 2 oz copper PCB for improved heat dissipation\u003c\/li\u003e\n\n\u003cli\u003e Exposed solderable ground pad below the driver IC on the bottom of the PCB\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n \u003cp\u003eThis product ships with all surface-mount components—including the DRV8434S driver IC—installed as shown in the product picture.\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_warning\"\u003e \u003cstrong\u003eNote:\u003c\/strong\u003e This driver needs to be enabled and configured through its SPI interface on power up, so your microcontroller must be capable of acting as an SPI master (either with an SPI peripheral or SPI software).\u003c\/p\u003e\n\n\u003cp class=\"note\"\u003e Some 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=\"?tab=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\n\n Details for item #3766 \n\n\u003c\/h2\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 300px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11782.1200.jpg?3da858fb488671f2d8aeb07353d479f6\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id spi stepper motor driver carrier potentiometer for max. current limit view data-picture-id=\"0J11782\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11782.300h.jpg?3da858fb488671f2d8aeb07353d479f6\"\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: 300px\"\u003e \u003cp\u003eDRV8434S SPI Stepper Motor Driver Carrier, Potentiometer for Max. Current Limit (top view).\u003c\/p\u003e\n\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e This version of the DRV8434S Stepper Motor Driver Carrier uses an on-board trimmer potentiometer to set the maximum current limit. Header pins are included but not soldered (see \u003ca href=\"https:\/\/www.pololu.com\/product\/3767\"\u003eitem #3767\u003c\/a\u003e for a version of this carrier with header pins already installed). For a version with a fixed 2 A maximum current limit see \u003ca href=\"https:\/\/www.pololu.com\/product\/3768\"\u003eitem #3768\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003ch3\u003e Included hardware\u003c\/h3\u003e\n\n\u003cp\u003e The DRV8434S stepper motor driver carrier ships 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. \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\/0J11784.1200.jpg?b6c3ea1e522139a4d25cdb931c0860ca\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id spi stepper motor driver carrier potentiometer for max. current limit with included headers. data-picture-id=\"0J11784\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11784.270.jpg?b6c3ea1e522139a4d25cdb931c0860ca\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\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\/0J11785.1200.jpg?1d2cd92e58d66e72332055449572dae1\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id spi stepper motor driver carrier potentiometer for max. current limit with included header pins soldered. data-picture-id=\"0J11785\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11785.250.jpg?1d2cd92e58d66e72332055449572dae1\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\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 \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11774.1200.png?f8cdc20d8cf9196c6788b1e8ff0a1aa5\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id wiring diagram for connecting a microcontroller to drv8434s stepper motor driver carrier. data-picture-id=\"0J11774\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11774.600.jpg?f8cdc20d8cf9196c6788b1e8ff0a1aa5\"\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: 600px\"\u003e\u003cp\u003e Typical wiring diagram for connecting a microcontroller to a DRV8434S stepper motor driver carrier.\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 motor supply voltage of 4.5 V to 48 V to be connected across VIN and GND. This supply should be capable of delivering the expected stepper motor current. Note that supply voltages below 6 V limit the maximum settable current limit; see the \u003cem\u003eCurrent limiting\u003c\/em\u003e section for more details. The VSDO pin must also be supplied with the desired SPI logic voltage. The SPI interface on the DRV8434S is compatible with 1.8 V, 3.3 V, and 5 V systems.\u003c\/p\u003e\n\n\u003cdiv class=\"note_warning\"\u003e\n\n \u003cp\u003e\u003cstrong\u003eWarning:\u003c\/strong\u003e We have observed that if the DRV8434S's VSDO pin is left floating while VM is connected, VSDO can briefly \u003cem\u003eoutput\u003c\/em\u003e a pulse of voltage when nSLEEP changes state. Since our board pulls nSLEEP up to VSDO, this pulse can cause nSLEEP to briefly go high and then low again, causing more pulses and leading to an abnormal oscillating voltage on both pins.\u003c\/p\u003e\n\n\u003cp\u003e To avoid this unwanted behavior, we recommend that you \u003cstrong\u003eavoid disconnecting VSDO and nSLEEP (or allowing them to float) while VM is present\u003c\/strong\u003e . (One way to be safe is to always disconnect motor power before disconnecting logic power.)\u003c\/p\u003e\n\n\n\u003c\/div\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 DRV8434S if they are properly connected; a \u003ca href=\"?tab=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 DRV8434S 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 microstep resolution is configured through the SPI interface. 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\u003ch3\u003e Control inputs and status outputs\u003c\/h3\u003e\n\n\u003cp\u003e While the DRV8434S allows control of a stepper motor through a simple step and direction interface, it must first be enabled and configured through its SPI interface after each power-up. This means that the controlling microcontroller must be capable of acting as an SPI master (either with an SPI peripheral or SPI software), and it must be connected to the SDI, SCLK, and \u003cspan class=\"overline\"\u003eSCS\u003c\/span\u003e pins. While the SDO and \u003cspan style=\"text-decoration: overline\"\u003eFAULT\u003c\/span\u003e pins are not required to use this driver, it is generally a good practice to use them to monitor for error conditions.\u003c\/p\u003e\n\n \u003cp\u003eThe rising edge of 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 down by default. If you just want rotation in a single direction, you can leave DIR disconnected. Stepping and direction can also both be controlled solely through SPI.\u003c\/p\u003e\n\n\u003cp\u003e The chip has two different inputs for controlling its power states: \u003cspan class=\"overline\"\u003eSLEEP\u003c\/span\u003e and ENABLE. For details about these power states, see the datasheet. \u003cspan class=\"overline\"\u003eSLEEP\u003c\/span\u003e is connected to VSDO through a 10k pull-up resistor and ENABLE is internally pulled high by the chip. Since both pins are pulled up, they can both be left disconnected or dynamically controlled by connecting them to a digital output of an MCU.\u003c\/p\u003e\n\n \u003cp\u003eThe DRV8434S also features an open-drain \u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e output that drives low whenever the driver detects an under-voltage, over-current, open load, stall detection, or thermal shutdown fault. \u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e is pulled up to VSDO on the board, so no external pull-up resistor is needed.\u003c\/p\u003e\n\n\u003cp class=\"note\"\u003e \u003cstrong\u003eNote:\u003c\/strong\u003e The open load, over-current protection, and over-temperature shutdown faults are latching by default and must be cleared with the CLR_FLT bit, a \u003cspan class=\"overline\"\u003eSLEEP\u003c\/span\u003e reset pulse, or a power cycle. The latching behavior of these faults can be reconfigured using the SPI interface.\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\u003eTo 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.\u003c\/p\u003e\n\n \u003cp\u003eThe DRV8434S supports such active current limiting. The trimmer potentiometer on the board can be used to set the maximum current limit, and the TRQ_DAC bits can be used to scale that maximum current limit by a configurable percentage. For example if the potentiometer is turned all the way clockwise to achieve a 2 A maximum limit and TRQ_DAC = 0b0000 (100%), the effective current limit will be 2 A. If the potentiometer is left at the maximum and TRQ_DAC = 0b1111 (6.25 %), the effective current limit will be 125 mA. This is useful for adjusting the motor current on the fly, and by decreasing the current when less torque is needed you can save power and reduce heat dissipation.\u003c\/p\u003e\n\n \u003cp\u003eBefore using the driver, we recommend setting the maximum current limit at or below the current rating of your stepper motor with the current scalar at its default of 100%. One way to set the maximum current limit is to put the driver into full-step 100% current mode and then measure the current running through a single motor coil without clocking the STEP input.\u003c\/p\u003e\n\n\u003cp\u003e Another way to set the current limit is to measure the VREF voltage and calculate the resulting current limit. The VREF pin voltage is accessible via a small hole that is circled on the bottom silkscreen of the circuit board. The current limit in amps relates to the reference voltage in volts as follows:\u003c\/p\u003e\n\n\u003cp class=\"math\"\u003e ``text(Max. Current Limit) = (text(VREF)) \/ 1.32 \\ \\ \\ or \\ \\ \\ text(Effective Current Limit) = (text(VREF ) * text( TRQ_DAC_%)) \/ 1.32``\u003c\/p\u003e\n\n\u003cp\u003e or, rearranged to solve for VREF:\u003c\/p\u003e\n\n\u003cp class=\"math\"\u003e ``text(VREF) = text(Max. Current Limit) * 1.32 \\ \\ \\ or \\ \\ \\ text(VREF) = (text(Effective Current Limit) * 1.32) \/ text(TRQ_DAC_%)``\u003c\/p\u003e\n\n \u003cp\u003eSo, the effective current limit in amps (A) is equal to the VREF voltage in volts (V) times the current scalar (TRQ_DAC) percentage divided by 1.32, and if you have a stepper motor rated for 1 A, for example, you can set the current limit to about 1 A by setting the reference voltage to about 1.32 V and leaving TRQ_DAC at 100%.\u003c\/p\u003e\n\n\u003cp\u003e When the driver ships, the current limit potentiometer will not be set at the 2A maximum of the driver, or any other specific setting. It must be manually set as described above before using the driver. We also carry a version of the \u003ca href=\"https:\/\/www.pololu.com\/product\/3768\"\u003eDRV8434S with a set 2 A maximum current limit\u003c\/a\u003e and no potentiometer where the effective current limit is set solely through SPI.\u003c\/p\u003e\n\n \u003cp\u003eFor input voltages below 6 V, the DRV8434S's internally regulated logic voltage V \u003csub\u003eDVDD\u003c\/sub\u003e linearly drops from 5 V with a 6 V input to around 4.35 V with a 4.5 V input. V \u003csub\u003eDVDD\u003c\/sub\u003e supplies the potentiometer circuit used to set the driver's current limit, so using supply voltages below 6 V reduces the maximum current limit setting possible with the onboard potentiometer. With an input of 4.5 V, the maximum settable current limit is 1.75 A.\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\u003euse 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. If the driver is in full-step 100% current or full-step 71% current modes, both coils will always be on and limited to 100% or 71% of the current limit setting respectively. 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 DRV8434S datasheet for more information.\u003c\/p\u003e\n\n\u003ch2\u003e Power dissipation considerations\u003c\/h2\u003e\n\n\u003cp\u003e The DRV8434S carrier 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.2 A per coil, a heat sink or other cooling method is required.\u003c\/p\u003e\n\n \u003cp class=\"note_warning\"\u003eThis 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. Additionally, please note that the coil current is a function of the set current limit, but it does not necessarily \u003cem\u003eequal\u003c\/em\u003e the current limit setting as the actual current through each coil changes with each microstep.\u003c\/p\u003e\n\n\u003ch2\u003e Stall detection\u003c\/h2\u003e\n\n \u003cp\u003eThe DRV8434S driver can detect motor stall conditions or an end of travel by detecting back-EMF phase shift. An internal algorithm generates a measure of the phase shift called torque count which is independent of motor current, ambient temperature, and supply voltage. For a lightly loaded motor, the torque count will be a non-zero value. As the motor approaches a stall condition, torque count will approach zero. If the torque count falls below the stall threshold, the device will detect a stall. For details on using stall detection, please see the DRV8434S datasheet.\u003c\/p\u003e\n\n\u003cp\u003e Please note that the DRV8434S's stall detection has limitations, and how well it works will depend on the specifics of the application, including the choice of motor. In our tests, we have found it works better when the step signal is steady (eg provided by a microcontroller's PWM timer output rather than software delays) and the speed is moderate. Here are some other considerations to be aware of:\u003c\/p\u003e\n\n\u003cul\u003e\n\n\t \u003cli\u003eThe ideal stall threshold is a function of the speed, which can make it difficult to use this feature in applications with widely varying speeds. For applications with small speed changes, we recommend characterizing the stall threshold or doing the learning mode process at the lowest speed.\u003c\/li\u003e\n\n\u003cli\u003e Stall detection might not work well at very low or very high speeds.\u003c\/li\u003e\n\n\u003cli\u003e Stall detection might not work well for motors with high coil resistance.\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch3\u003e Arduino library and example code\u003c\/h3\u003e\n\n\u003cp\u003e We have written a \u003ca href=\"https:\/\/github.com\/pololu\/drv8434s-arduino\"\u003eDRV8434S library for Arduino\u003c\/a\u003e that provides basic functions for configuring and operating the driver using an \u003ca href=\"https:\/\/www.pololu.com\/category\/125\/arduino-compatible\"\u003eArduino\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/category\/149\/a-star-programmable-controllers\"\u003eArduino-compatible controller\u003c\/a\u003e . The library includes several example sketches.\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: 800px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11792.1200.png?47d3b192fe175dca4dd023b9d4c30c59\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id diagram of the drv8434s spi stepper motor driver carrier. data-picture-id=\"0J11792\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11792.800.jpg?47d3b192fe175dca4dd023b9d4c30c59\"\u003e\u003c\/a\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: 800px\"\u003e\u003cp\u003e Schematic diagram of the DRV8434S SPI Stepper Motor Driver Carrier.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e This schematic is also available as a \u003ca href=\"\/en\/file\/0J1913\/drv8434s-spi-stepper-motor-driver-carrier-schematic-diagram.pdf\"\u003edownloadable pdf\u003c\/a\u003e (101k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696625729881,"sku":"POL-3766","price":18.96,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47885973619033,"sku":"POL-3766\/A","price":18.96,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J11781.1200.jpg?v=1705454990","url":"https:\/\/xernuqvalzi.pro\/en\/products\/3766-drv8434s-spi-stepper-motor-driver-carrier-potentiometer-for-max-current-limit","provider":"Robot Italy","version":"1.0","type":"link"}