{"product_id":"2511-pololu-drv8835-dual-motor-driver-shield-for-arduino","title":"Pololu DRV8835 Dual Motor Driver Shield for Arduino","description":"\u003cp\u003eThis small shield is an easy, economical way to control two small brushed DC motors with an Arduino or Arduino-compatible board.  Its integrated DRV8835 dual motor driver allows it to operate from 1.5 V to 11 V, making it a great control option for low-voltage motors.  The shield can deliver a continuous 1.2 A (1.5 A peak) per motor, or a continuous 2.4 A (3 A peak) to a single motor when configured with both channels connected in parallel.\u003c\/p\u003e\n\u003cbr\u003e\u003ctable class=\"picture_with_caption right\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 320px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5701.1200.jpg?54ed1cf9ffe482b0019731bb2ac3d71f\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id drv8835 dual motor driver shield for arduino bottom view with dimensions. data-picture-id=\"0J5701\" data-picture-longest_side=\"926\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5701.320.jpg?54ed1cf9ffe482b0019731bb2ac3d71f\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 320px\"\u003e\u003cp\u003ePololu DRV8835 Dual Motor Driver Shield for Arduino, bottom view with dimensions.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003ch2\u003eOverview\u003c\/h2\u003e\n\u003cp\u003eThis motor driver shield and its corresponding Arduino library make it easy to control a pair of bidirectional, brushed DC motors with an Arduino or compatible board, such as the \u003ca href=\"https:\/\/www.pololu.com\/category\/165\/a-star-32u4-prime\"\u003eA-Star 32U4 Prime\u003c\/a\u003e.  The board features Texas Instruments’ DRV8835 dual H-bridge motor driver IC, which allows it to operate from 1.5 V to 11 V and makes it particularly well suited for driving small, low-voltage motors.  The shield can deliver a continuous 1.2 A per channel and tolerate peak currents up to 1.5 A per channel for a few seconds, and the channels can be optionally configured to run in parallel to deliver twice the current to a single motor.  The shield ships fully populated with its SMD components, including the DRV8835 driver and a FET for reverse battery protection; header pins for interfacing with an Arduino and terminal blocks for connecting motors and power are included but are not soldered in (see the \u003cem\u003eAssembly with included hardware\u003c\/em\u003e section below).\u003c\/p\u003e\n\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5705.1200.jpg?132005d08850fa93eb3ae7c41bb659dc\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id drv8835 dual motor driver shield on an arduino uno. data-picture-id=\"0J5705\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5705.330.jpg?132005d08850fa93eb3ae7c41bb659dc\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5707.1200.jpg?01fefef11e5ba001ae0204116bae8fb1\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id drv8835 dual motor driver shield on an arduino uno. data-picture-id=\"0J5707\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5707.201.jpg?01fefef11e5ba001ae0204116bae8fb1\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThe shield uses digital pins 7, 8, 9, and 10 for its control lines, though the control pin mappings can be customized if the defaults are not convenient.   It should be compatible with any board that has a standard Arduino pin arrangement and the ability to generate PWM signals on pins 9 and 10.  Compatible control boards include:\u003c\/p\u003e\n\u003cul\u003e\n\t\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/category\/165\/a-star-32u4-prime\"\u003eA-Star 32U4 Prime\u003c\/a\u003e\u003c\/li\u003e\n\t\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/product\/2191\"\u003eArduino Uno\u003c\/a\u003e\u003c\/li\u003e\n\t\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/product\/2192\"\u003eArduino Leonardo\u003c\/a\u003e\u003c\/li\u003e\n\t\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/product\/2193\"\u003eArduino Due\u003c\/a\u003e\u003c\/li\u003e\n\t\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/product\/1699\"\u003eArduino Mega 2560\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis shield is intended to provide a low-cost, basic motor driver option for Arduinos, so it is much smaller than typical Arduino shields and does not include pass-through, \u003ca href=\"https:\/\/www.pololu.com\/product\/1035\"\u003estackable headers\u003c\/a\u003e.  For higher-power drivers with more configuration options, see our larger \u003ca href=\"https:\/\/www.pololu.com\/product\/2503\"\u003eMC33926\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/2507\"\u003eVNH5019 motor driver shields\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eFor a higher-voltage alternative to this shield, please consider the \u003ca href=\"https:\/\/www.pololu.com\/product\/2519\"\u003edual MAX14870 motor driver shield\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/product\/2512\"\u003eA4990 dual motor driver shield\u003c\/a\u003e.  We also have a similar \u003ca href=\"https:\/\/www.pololu.com\/product\/2753\"\u003eDRV8835 motor driver kit\u003c\/a\u003e for the \u003ca href=\"https:\/\/www.pololu.com\/category\/150\/raspberry-pi\"\u003eRaspberry Pi\u003c\/a\u003e, as well as a smaller \u003ca href=\"https:\/\/www.pololu.com\/product\/2135\"\u003eDRV8835 carrier\u003c\/a\u003e (and an even smaller single-channel \u003ca href=\"https:\/\/www.pololu.com\/product\/2990\"\u003eDRV8838 carrier\u003c\/a\u003e) for those using a different controller or with tighter space constraints.\u003c\/p\u003e\n\u003cp class=\"note\"\u003eAlthough the DRV8835 itself works with a minimum motor supply voltage of 0 V, this shield’s reverse-protection circuit limits the minimum to 1.5 V. If a lower motor supply voltage is required, please consider using our  \u003ca href=\"https:\/\/www.pololu.com\/product\/2135\"\u003eDRV8835 carrier\u003c\/a\u003e with motor power supplied through the VMM pin.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption right\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5721.1200.jpg?24ed2e4d77d3012943f469aeadf2ee02\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id drv8835 dual motor driver shield for arduino top and bottom sides. data-picture-id=\"0J5721\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5721.300.jpg?24ed2e4d77d3012943f469aeadf2ee02\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003ePololu DRV8835 Dual Motor Driver Shield for Arduino, top and bottom sides.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\t\u003cli\u003eDual-H-bridge motor driver: can drive two DC motors or one bipolar stepper motor\u003c\/li\u003e\n\t\u003cli\u003eMotor supply voltage: 1.5 V to 11 V\u003c\/li\u003e\n\t\u003cli\u003eLogic supply voltage 2 V to 7 V\u003c\/li\u003e\n\t\u003cli\u003eOutput current: 1.2 A continuous (1.5 A peak) per motor\u003c\/li\u003e\n\t\u003cli\u003eMotor outputs can be paralleled to deliver 2.4 A continuous (3 A peak) to a single motor\u003c\/li\u003e\n\t\u003cli\u003ePWM operation up to 250 kHz (ultrasonic frequencies allow for quieter motor operation)\u003c\/li\u003e\n\t\u003cli\u003eTwo possible interface modes: PHASE\/ENABLE (default – one pin for direction, another for speed) or IN\/IN (outputs mostly mirror inputs)\u003c\/li\u003e\n\t\u003cli\u003eShield can optionally power the Arduino base directly when motor supply voltage is suitable\u003c\/li\u003e\n\t\u003cli\u003e\n\u003ca href=\"https:\/\/github.com\/pololu\/drv8835-motor-shield\"\u003eArduino library\u003c\/a\u003e makes it easy to get started using this board as a motor driver shield\u003c\/li\u003e\n\t\u003cli\u003eArduino pin mappings can be customized if the default mappings are not convenient\u003c\/li\u003e\n\t\u003cli\u003eReverse-voltage protection on motor power supply\u003c\/li\u003e\n\t\u003cli\u003eUnder-voltage lockout and protection against over-current and over-temperature\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eAssembly with included hardware\u003c\/h2\u003e\n\u003cp\u003eBefore the shield can be plugged into your Arduino, header pins must be mounted to the \u003cstrong\u003ebottom\u003c\/strong\u003e of the board (the side without any components or text) by soldering them into the appropriate holes.  The shield ships with a 15-pin \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003e0.1″ straight breakaway male header strip\u003c\/a\u003e that can be broken into smaller pieces and used for this purpose.  Four holes along the left side of the board (VCC, GND, GND, and AVIN) and all five holes along the right side of the board (digital pins 6 – 10) should be assembled with male header pins so that the shield will make the appropriate connections to the Arduino.  Once assembled, one easy way to ensure that you are plugging the shield properly into the Arduino is to align the gap between pins 7 and 8 on the shield with the gap between pins 7 and 8 on the Arduino’s female headers.\u003c\/p\u003e\n\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5703.1200.jpg?e2e341550c125a9235e642b92a45fc6f\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id drv8835 dual motor driver shield for arduino with included hardware. data-picture-id=\"0J5703\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5703.250.jpg?e2e341550c125a9235e642b92a45fc6f\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5706.1200.jpg?ea63ba30360d950a746376f8e0f82571\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id drv8835 dual motor driver shield on an arduino uno. data-picture-id=\"0J5706\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5706.250.jpg?ea63ba30360d950a746376f8e0f82571\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eIf you want the option of powering the Arduino from the shield, you can solder two male header pins to the lower-left corner of the board (in the silkscreen box next to the VOUT label).  These pins should point up, away from the Arduino.  If you then place the included blue \u003ca href=\"https:\/\/www.pololu.com\/product\/968\"\u003eshorting block\u003c\/a\u003e across these pins (as shown in the above assembled picture), reverse-protected shield power will power the Arduino through it’s VIN pin.  See the \u003cem\u003eUsing the shield\u003c\/em\u003e section below for more information on this, including some important warnings.\u003c\/p\u003e\n\u003cp\u003eThree \u003ca href=\"https:\/\/www.pololu.com\/product\/2440\"\u003e2-pin, 5 mm terminal blocks\u003c\/a\u003e are included for making easy motor and power connections to the shield once they have been slid together and soldered to the six large through-holes.  Alternatively, you can solder 0.1″ male header pins to the smaller through-holes above the terminal block holes, or you can just solder wires directly to the shield.\u003c\/p\u003e\n\u003cp\u003eAdditional shorting blocks and header pins beyond what is included can be used to make some of the more advanced optional modifications to the shield, such as remapping the control pins or paralleling the outputs.\u003c\/p\u003e\n\u003cp\u003eAn \u003ca href=\"https:\/\/www.pololu.com\/product\/2191\"\u003eArduino\u003c\/a\u003e is \u003cstrong\u003enot included\u003c\/strong\u003e.\u003c\/p\u003e\n\u003ch2\u003eUsing the shield\u003c\/h2\u003e\n\u003cp\u003eThe shield plugs into Arduino digital pins 6, 7, 8, 9, and 10 on one side and Arduino VIN, GND, GND, and 5V\/VCC on the other.  The upper-left corner of the shield partially blocks the Arduino’s 3.3V pin, but this region of the board (marked with a white silkscreen box) can be removed if necessary to allow access.  The shield also blocks Arduino digital pin 6, but it provides alternate access points to this pin via the neighboring through-holes.  The board does not use pin 6 for anything.\u003c\/p\u003e\n\u003cp\u003eIn the shield’s default state, the motor driver shield and Arduino are powered separately, though they share a common ground and the Arduino’s 5V rail serves as the shield’s logic supply.  When used this way, the Arduino must be powered via USB, its power jack, or its VIN pin, and the shield must be supplied with 1.5 V to 11 V through its large VIN and GND pads.  Attempting to power the shield from the Arduino is not recommended as this could result in large currents flowing through small traces.  However, if the motor power supply is suitable, it is possible to power the Arduino from the shield.  This can be accomplished by placing a jumper between the shield pins in the lower-left corner labeled VOUT and AVIN, which connects the reverse-protected motor supply voltage to the Arduino’s VIN pin to power the Arduino.  The Arduino’s power jack must remain disconnected at all times in this configuration.\u003c\/p\u003e\n\u003cp class=\"note_warning\"\u003e\u003cfont color=\"red\"\u003e\u003cstrong\u003eWarning:\u003c\/strong\u003e\u003c\/font\u003e When powering the Arduino from the motor shield, you must \u003cstrong\u003enever\u003c\/strong\u003e connect a different power supply to the Arduino’s VIN pin or plug a power supply into the Arduino’s power jack, as doing so will create a short between the shield’s power supply and the Arduino’s power supply that could permanently damage both the Arduino and the motor shield.  In this case, it is also important that your shield power supply is an acceptable voltage for your Arduino, so the full shield operating voltage range of 1.5 V to 11 V probably will not be available.  For example, the recommended operating voltage of the Arduino Uno is 7 – 12 V.\u003c\/p\u003e\n\u003cp\u003eBy default, the board operates in PHASE\/ENABLE mode, in which a PWM signal applied to the ENABLE pin determines motor speed and the digital state of the PHASE pin determines direction of motor rotation.  Arduino pins 9 and 7 are used to control the speed and direction, respectively, of motor 1, and pins 10 and 8 control the speed and direction of motor 2.  The table below shows how the inputs affect the outputs in this mode:\u003c\/p\u003e\n\u003ctable class=\"reference\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style=\"text-align:center;\" colspan=\"5\"\u003eDrive\/brake operation in default PHASE\/ENABLE mode\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003exPHASE\u003c\/th\u003e\n\t\t\u003cth\u003exENABLE\u003c\/th\u003e\n\t\t\u003cth\u003eMxA\u003c\/th\u003e\n\t\t\u003cth\u003eMxB\u003c\/th\u003e\n\t\t\u003cth\u003eoperating mode\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e0\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003eforward\/brake at speed \u003cem\u003ePWM %\u003c\/em\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e1\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003ereverse\/brake at speed \u003cem\u003ePWM %\u003c\/em\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003eX\u003c\/td\u003e\n\t\t\u003ctd\u003e0\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003ebrake low (outputs shorted to ground)\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003ePHASE\/ENABLE mode should be suitable for most applications.\u003c\/p\u003e\n\u003ch3\u003eConfiguring the board for IN\/IN mode\u003c\/h3\u003e\n\u003cp\u003eThe operating mode of the driver is controlled by the MODE pin, which the shield connects to VCC by default to select PHASE\/ENABLE mode.  To change the mode, locate the pair of 0.1″ through-holes in the upper-left part of the board labeled “MODE” and use a knife to cut the trace that connects the two on the bottom side of the PCB.  Since the MODE pin has an internal pull-down resistor, severing its connection to VCC is all it takes to switch the control interface to IN\/IN, which allows for slightly more advanced control options as described in the table below:\u003c\/p\u003e\n\u003ctable class=\"reference\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style=\"text-align:center;\" colspan=\"5\"\u003eDrive\/coast or drive\/brake operation with MODE=0 (IN\/IN)\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003exIN1\u003c\/th\u003e\n\t\t\u003cth\u003exIN2\u003c\/th\u003e\n\t\t\u003cth\u003eMxA\u003c\/th\u003e\n\t\t\u003cth\u003eMxB\u003c\/th\u003e\n\t\t\u003cth\u003eoperating mode\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e0\u003c\/td\u003e\n\t\t\u003ctd\u003e0\u003c\/td\u003e\n\t\t\u003ctd\u003eZ\u003c\/td\u003e\n\t\t\u003ctd\u003eZ\u003c\/td\u003e\n\t\t\u003ctd\u003ecoast (outputs off)\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003e0\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM (H\/Z)\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM (L\/Z)\u003c\/td\u003e\n\t\t\u003ctd\u003eforward\/coast at speed \u003cem\u003ePWM %\u003c\/em\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e0\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM (L\/Z)\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM (H\/Z)\u003c\/td\u003e\n\t\t\u003ctd\u003ereverse\/coast at speed \u003cem\u003ePWM %\u003c\/em\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003e1\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM (L\/H)\u003c\/td\u003e\n\t\t\u003ctd\u003ereverse\/brake at speed \u003cem\u003e100%\u003c\/em\u003e − \u003cem\u003ePWM %\u003c\/em\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e1\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM (L\/H)\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003eforward\/brake at speed \u003cem\u003e100%\u003c\/em\u003e − \u003cem\u003ePWM %\u003c\/em\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e1\u003c\/td\u003e\n\t\t\u003ctd\u003e1\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003eL\u003c\/td\u003e\n\t\t\u003ctd\u003ebrake low (outputs shorted to ground)\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eOnce the trace between the two pins has been cut, you can use a pair of header pins and a shorting block to control the mode: with the shorting block on, the mode is PHASE\/ENABLE; with it off, the mode is IN\/IN.\u003c\/p\u003e\n\u003cp class=\"note_warning\"\u003eIN\/IN mode is generally only useful if you only care about on\/off control of the motors or if you can supply PWM signals to all four inputs, which is \u003cstrong\u003enot\u003c\/strong\u003e possible when using the default pins on an Arduino Uno. If you want to be able to control the speed of the motors when using this mode, you should either remap the control pins or select an Arduino that can generate PWM signals with digital pins 7, 8, 9, and 10 (like the Arduino Mega 2560).\u003c\/p\u003e\n\u003ch3\u003eConfiguring the board for single-channel mode (parallel outputs)\u003c\/h3\u003e\n\u003cp\u003eIn order to use the two motor channels in parallel to control a single motor, it is important to ensure that both channels will always receive the same control signals, so the reconfiguration process begins with a modification to the control inputs.  First, locate the 2×5 grouping of 0.1″ through-holes along the right side of the board.  These holes run parallel to pins 6-10 and the traces between them on the underside of the PCB effectively link the Arduino pins to the DRV8835 control pins.  If you want to remap one of these control pins, you can cut the desired trace with a knife and then run a wire from the inner hole to a new Arduino pin.  The remapping for single-channel mode requires you cut \u003cstrong\u003eone\u003c\/strong\u003e PWM (9 or 10) and \u003cstrong\u003eone\u003c\/strong\u003e DIR (7 or 8) trace; cut 10 and 8 to control both outputs from the motor 1 input pins, or cut 9 and 7 to control both from the motor 2 input pins.  If you then solder a row of header pins along the interior row of holes, you can safely connect both PWM lines together and both DIR lines together using shorting blocks.  In this configuration, the two uncut Arduino control lines determine the behavior of both motor channels.\u003c\/p\u003e\n\u003cp\u003eThe last step is to connect the output channels together.  An easy way to do this is to solder header pins to the two pairs of holes labeled “A” and “B” near the motor outputs.  Placing shorting blocks across these pairs of pins connects M1A to M2A and M1B to M2B, which in turn means you can get up to 3 A from the connection points for either channel (e.g. you can have your motor connected just to the M1A and M1B terminal blocks rather than trying to find a way to connect it to all four motor outputs).\u003c\/p\u003e\n\u003ch3\u003eReal-world power dissipation considerations\u003c\/h3\u003e\n\u003cp\u003eThe DRV8835 datasheet recommends a maximum continuous current of 1.5 A per motor channel. However, the chip by itself will overheat at lower currents. For example, in our tests at room temperature with no forced air flow, the chip was able to deliver 1.5 A per channel for approximately 15 seconds before the chip’s thermal protection kicked in and disabled the motor outputs, while a continuous current of 1.2 A per channel was sustainable for many minutes without triggering a thermal shutdown. The actual current you can deliver will depend on how well you can keep the motor driver cool. The carrier’s printed circuit board is designed to draw heat out of the motor driver chip, but performance can be improved by adding a heat sink.  Our tests were conducted at 100% duty cycle; PWMing the motor will introduce additional heating proportional to the frequency.\u003c\/p\u003e\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\u003ch3\u003eSchematic diagram\u003c\/h3\u003e\n\u003ctable class=\"picture_with_caption center wide\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 600px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5708.1200.png?694072723d02a46aa5c93052aca073bc\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id drv8835 dual motor driver shield for arduino schematic diagram. data-picture-id=\"0J5708\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5708.600.jpg?694072723d02a46aa5c93052aca073bc\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 600px\"\u003e\u003cp\u003ePololu DRV8835 Dual Motor Driver Shield for Arduino schematic diagram.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThis schematic is also available as a \u003ca href=\"\/file\/0J803\/drv8835-dual-motor-driver-shield-schematic.pdf\"\u003edownloadable pdf\u003c\/a\u003e (214k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Settimane","offer_id":47700136722777,"sku":"POL-2511","price":13.1,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47886030602585,"sku":"POL-2511\/A","price":13.1,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J5700.1200_aee65510-4b42-4892-8286-cdd47ed6d244.jpg?v=1705513930","url":"https:\/\/xernuqvalzi.pro\/products\/2511-pololu-drv8835-dual-motor-driver-shield-for-arduino","provider":"Robot Italy","version":"1.0","type":"link"}