{"product_id":"2519-dual-max14870-motor-driver-shield-for-arduino","title":"Dual MAX14870 Motor Driver Shield for Arduino","description":"\u003cp\u003e This small shield is an easy, economical way to control two small brushed DC motors with an Arduino or Arduino-compatible board. Its two integrated MAX14870 motor drivers allows it to operate from 4.5 V to 36 V, making it a great for higher-voltage motors and applications, and the shield can 1.7 A continuous (2.5 A peak) per motor. The shield can optionally be configured to power the Arduino from the same power supply as the motor driver, and the Arduino pin mappings can be customized (by cutting traces) if the defaults are not convenient.\u003c\/p\u003e\n\n\u003cbr\u003e\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\n\n \u003ctd style=\"max-width: 320px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8592.1200.jpg?df8318a120695c5cc1fcacb9e21a8535\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver shield for arduino top view with dimensions. data-picture-id=\"0J8592\" data-picture-longest_side=\"1852\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8592.320.jpg?df8318a120695c5cc1fcacb9e21a8535\"\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: 320px\"\u003e\u003cp\u003e Dual MAX14870 Motor Driver Shield for Arduino, top view 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 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 a pair of Maxim's MAX14870 H-bridge motor driver ICs, which allows it to operate from 4.5 V to 36 V and makes it well suited for driving higher-voltage motors like our \u003ca href=\"https:\/\/www.pololu.com\/category\/213\/12v-carbon-brush-cb-20d-gearmotors\"\u003e12V 20D gearmotors\u003c\/a\u003e . The shield can deliver 1.7 A continuous per channel and tolerates peak currents up to 2.5 A per channel for a few seconds. The shield ships fully populated with its SMD components, including the MAX14870 drivers 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\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\/0J8593.1200.jpg?d69bd21334e4e28f8382954956ce5140\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver shield on an arduino uno. data-picture-id=\"0J8593\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8593.330.jpg?d69bd21334e4e28f8382954956ce5140\"\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\/0J8595.1200.jpg?6ade40422ae484f1870a9444a4bf77c0\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver shield on an arduino uno. data-picture-id=\"0J8595\" data-picture-longest_side=\"1727\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8595.201.jpg?6ade40422ae484f1870a9444a4bf77c0\"\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\u003cp\u003e The shield uses digital pins 4, 7, 8, 9, 10, and 12 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\n\u003cul\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/category\/165\/a-star-32u4-prime\"\u003eA-Star 32U4 Prime\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/2191\"\u003eArduino Uno\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/2192\"\u003eArduino Leonardo\u003c\/a\u003e\n\u003c\/li\u003e\n\n\u003cli\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/1699\"\u003eArduino Mega 2560\u003c\/a\u003e\n\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\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 , \u003ca href=\"https:\/\/www.pololu.com\/product\/2507\"\u003eVNH5019\u003c\/a\u003e , and \u003ca href=\"https:\/\/www.pololu.com\/category\/218\/pololu-dual-g2-high-power-motor-driver-shields\"\u003eDual G2 High-Power Motor Driver Shields\u003c\/a\u003e .\u003c\/p\u003e\n\n \u003cp\u003eFor a lower-voltage alternative to this shield, please consider the \u003ca href=\"https:\/\/www.pololu.com\/product\/2511\"\u003eDRV8835 Dual Motor Driver\u003c\/a\u003e . We also have a similar \u003ca href=\"https:\/\/www.pololu.com\/product\/3758\"\u003eMAX14870 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 and lower-cost \u003ca href=\"https:\/\/www.pololu.com\/product\/2961\"\u003esingle MAX14870 carrier\u003c\/a\u003e for those with tighter space constraints or who only want to control one motor. \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 300px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8597.1200.jpg?32d5380cf6ea4e43278041fa1b77b9b4\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver shield for arduino top and bottom sides. data-picture-id=\"0J8597\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8597.300.jpg?32d5380cf6ea4e43278041fa1b77b9b4\"\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\u003e Dual MAX14870 Motor Driver Shield for Arduino, top and bottom sides.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch2\u003e Features\u003c\/h2\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Two single-channel H-bridge motor drivers with shoot-through protection and internal free-wheeling diodes (can each drive one DC motor)\u003c\/li\u003e\n\n\u003cli\u003e Motor supply voltage: 4.5 V to 36 V\u003c\/li\u003e\n\n\u003cli\u003e Output current: 1.7 A continuous (2.5 A peak) per motor\u003c\/li\u003e\n\n\t \u003cli\u003ePWM operation up to 50 kHz (ultrasonic frequencies allow for quieter motor operation)\u003c\/li\u003e\n\n\u003cli\u003e Simple two-pin DIR\/PWM interface (one pin controls direction and another controls speed)\u003c\/li\u003e\n\n\u003cli\u003e Shield can optionally power the Arduino base directly when motor supply voltage is suitable\u003c\/li\u003e\n\n\u003cli\u003e Shield has convenient location for adding a 3-pin voltage regulator to power the Arduino base in applications where the motor supply voltage is not suitable for powering the Arduino directly\u003c\/li\u003e\n\n\u003cli\u003e\n\n \u003ca href=\"https:\/\/github.com\/pololu\/dual-max14870-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\n\u003cli\u003e Arduino pin mappings can be customized (by cutting traces) if the default mappings are not convenient\u003c\/li\u003e\n\n\u003cli\u003e Reverse-voltage protection on motor power supply\u003c\/li\u003e\n\n\u003cli\u003e Under-voltage lockout\u003c\/li\u003e\n\n\u003cli\u003e Active-low fault output indicates over-current or over-temperature condition\u003c\/li\u003e\n\n\u003cli\u003e Surface-mount resistors can optionally be added to enable automatic current limiting\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch2\u003e Assembly with included hardware\u003c\/h2\u003e\n\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 \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. Ground is the only necessary connection on the left side of the board (though VIN must also be soldered if you intend to power the Arduino from the shield). Along the right side of the board, digital pins 4, 7, 8, 9, 10, and 12 are used by default. Male header pins should be soldered to at least these locations so that the shield will make the appropriate connections to the Arduino. Once the header pins are soldered in, 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\n\u003ctable class=\"side_by_side_pics\"\u003e \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\/0J8591.1200.jpg?6cae5692bd6e344907ffb6794e2969b9\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver shield for arduino with included hardware. data-picture-id=\"0J8591\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8591.250.jpg?6cae5692bd6e344907ffb6794e2969b9\"\u003e\u003c\/a\u003e\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\/0J8594.1200.jpg?1ea7524ea5e163fe8b45e2bad6fe732b\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver shield on an arduino uno. data-picture-id=\"0J8594\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8594.250.jpg?1ea7524ea5e163fe8b45e2bad6fe732b\"\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\u003cp\u003e When the input voltage for the motors is appropriate for the Arduino or Arduino compatible board, reverse-protected power can be provided to the Arduino's VIN pin through the shield. For this configuration, solder two male header pins to the “VM = AVIN” jumper location and install the included blue shorting block across them (as shown in the above assembled picture). These pins should point up, away from the Arduino.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8623.1200.jpg?ca1638fa74b3c3661f8f7c427f173f1a\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id vm jumper location for the dual max14870 motor driver shield arduino to power from shield. data-picture-id=\"0J8623\" data-picture-longest_side=\"809\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8623.220.jpg?ca1638fa74b3c3661f8f7c427f173f1a\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n \u003cp class=\"note_warning\"\u003e\u003cfont color=\"red\"\u003e\u003cstrong\u003eWarning:\u003c\/strong\u003e\u003c\/font\u003e The MAX14870 shield works with voltages well above what typical Arduino boards can tolerate, so it is very important that you only use the “AVIN = VM” jumper in situations where the motor supply voltage is also within the operating limits of your Arduino. Otherwise, your Arduino could be permanently damaged.\u003c\/p\u003e\n\n \u003cp\u003eIf the motor supply voltage is higher than the Arduino or Arduino compatible board can handle, a voltage regulator, such as our \u003ca href=\"https:\/\/www.pololu.com\/product\/2845\"\u003eD24V5F9 500mA Step-Down Voltage Regulator\u003c\/a\u003e (not included), can optionally be used to provide a suitable voltage to VIN pin of the Arduino. For this configuration, solder the regulator into the VM, GND, and AVIN pins outlined in the shield's silkscreen. Be careful to orient the regulator so its input pin lines up with VM and its output pin lines up with AVIN. For a more modular setup, a \u003ca href=\"https:\/\/www.pololu.com\/product\/1013\"\u003ethree pin female header\u003c\/a\u003e can be soldered to the shield and used as a socket for a regulator. \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\/0J8625.1200.jpg?17e1c840e4b506624c475abc8da8bc23\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id connection location to power the arduino from dual max14870 motor driver shield. data-picture-id=\"0J8625\" data-picture-longest_side=\"879\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8625.220.jpg?17e1c840e4b506624c475abc8da8bc23\"\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\/0J8596.1200.jpg?73b6cd6ed93a927005fbbfe090342bc5\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a voltage regulator with the dual max14870 motor driver shield to power arduino. data-picture-id=\"0J8596\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8596.350.jpg?73b6cd6ed93a927005fbbfe090342bc5\"\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 \u003cp\u003eThe Arduino's power jack must remain disconnected at all times if power is supplied to the AVIN pin through the shield.\u003c\/p\u003e\n\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.\u003c\/p\u003e\n\n\u003cp\u003e Three \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 for more compact (and permanent) installations.\u003c\/p\u003e\n\n \u003cp\u003eAdditional header pins and \u003ca href=\"https:\/\/www.pololu.com\/product\/968\"\u003eshorting blocks\u003c\/a\u003e 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.\u003c\/p\u003e\n\n\u003cp\u003e An \u003ca href=\"https:\/\/www.pololu.com\/category\/125\/arduino-compatible\"\u003eArduino\u003c\/a\u003e is \u003cstrong\u003enot included\u003c\/strong\u003e .\u003c\/p\u003e\n\n\u003ch2\u003e Default pin mappings\u003c\/h2\u003e\n\n\u003cp\u003e The shield plugs into Arduino digital pins 4 – 12 on one side and A1 through RST on the other. The upper-left corner of the shield partially blocks the Arduino's IOREF 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 pins 5, 6, and 11, but these pins are not used by default and alternate access points to them are provided via the neighboring through-holes.\u003c\/p\u003e\n\n\u003cp\u003e This table shows how the Arduino's GPIO pins are used to interface with the motor drivers:\u003c\/p\u003e\n\n\u003ctable class=\"reference\"\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Arduino\u003cbr\u003e digital pin\u003c\/th\u003e\n\n\u003cth\u003e Motor driver pins\u003c\/th\u003e\n\n\u003cth\u003e Description\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 4\u003c\/td\u003e\n\n\u003ctd\u003e \u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e\n\u003c\/td\u003e \n\u003ctd\u003eInverted enable input: The shield pulls this pin low by default, enabling the drivers. Driving this pin high puts both motor driver ICs into a low-current sleep mode and disables the motor outputs (setting them to high impedance).\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 7\u003c\/td\u003e\n\n\u003ctd\u003e Motor 1 DIR\u003c\/td\u003e\n\n\u003ctd rowspan=\"2\"\u003e Motor direction input: When DIR is low, motor current flows from output A to output B; when DIR is high, current flows from B to A.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 8\u003c\/td\u003e\n\n\u003ctd\u003e Motor 2 DIR\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 9\u003c\/td\u003e\n\n\u003ctd\u003e Motor 1 PWM\u003c\/td\u003e\n\n\u003ctd rowspan=\"2\"\u003e Motor speed input: A PWM (pulse-width modulation) signal on this pin corresponds to a PWM output on the corresponding driver's motor outputs. When this pin is low, the motor brakes low. When it is high, the engine is on. The maximum allowed PWM frequency is 50 kHz. A 100 kΩ pull-down resistor on the shield makes this pin default low.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 10\u003c\/td\u003e\n\n\u003ctd\u003e Motor 2 PWM\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 12\u003c\/td\u003e\n\n\u003ctd\u003e \u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e\n\u003c\/td\u003e\n\n\t\t \u003ctd\u003eFault output: The internal pull-up on the Arduino pin connected to the \u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e input should be enabled so when the drivers are functioning normally it is pulled high. In the event of an over-current or over-temperature condition, the driver IC experiencing the fault drives \u003cspan style=\"text-decoration: overline\"\u003eFAULT\u003c\/span\u003e low.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch2\u003e Using the shield\u003c\/h2\u003e\n\n \u003cp\u003eIn the shield's default state, the motor driver shield and Arduino are powered separately, though they share a common ground. 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 4.5 V to 36 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, it is possible to power the Arduino from the shield either directly with the motor power supply or through an added regulator. See the \u003cem\u003eAssembly with included hardware\u003c\/em\u003e section above for more information on powering the Arduino from the shield, including some important warnings.\u003c\/p\u003e\n\n \u003cp\u003eThe MAX14870 offers a simple two-pin DIR\/PWM control interface, where the DIR pin determines the motor direction and the PWM pin can be supplied with a PWM signal to control the motor speed. The PWM control input is pulled low on the shield through a 100 kΩ pull-down resistor. When the PWM pin is low, the motor outputs are both shorted to ground, which results in dynamic braking of a connected motor.\u003c\/p\u003e\n\n \u003cp\u003eThe shield's \u003cspan style=\"text-decoration:overline;\"\u003eEN\u003c\/span\u003e pin can be driven high to turn off motor outputs for both motor channels, which is useful if you want to let the motors coast. The \u003cspan style=\"text-decoration:overline;\"\u003eEN\u003c\/span\u003e pin is pulled low through a 100 kΩ pull-down resistor on the shield so that both motor channels are enabled by default. To get individual control of the enable lines for both drivers, the trace between the \u003cspan style=\"text-decoration:overline;\"\u003eM1EN\u003c\/span\u003e and \u003cspan style=\"text-decoration:overline;\"\u003eM2EN\u003c\/span\u003e through holes can be cut. This will leave \u003cspan style=\"text-decoration:overline;\"\u003eM2EN\u003c\/span\u003e connected to Arduino digital pin 4. A jumper can be used across the \u003cspan style=\"text-decoration:overline;\"\u003eM1EN\u003c\/span\u003e pin and the neighboring through hole to connect it to digital pin 5.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8622.1200.jpg?65507d74300702dcc52c4184db0b11db\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id between the m1en and m2en pins to separate enable inputs on dual max14870 motor driver shield for arduino add a jumper access pin data-picture-id=\"0J8622\" data-picture-longest_side=\"599\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8622.400.jpg?65507d74300702dcc52c4184db0b11db\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n \u003cp\u003eThe following simplified truth table shows how the driver operates: \u003c\/p\u003e\n\n\u003ctable class=\"reference\"\u003e\n\n\u003ctr\u003e\n\n\u003cth style=\"text-align:center;\" colspan=\"3\"\u003e Inputs\u003c\/th\u003e\n\n\u003cth colspan=\"2\"\u003e Outputs\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e \u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e\n\u003c\/th\u003e\n\n\u003cth\u003e DIR\u003c\/th\u003e\n\n\u003cth\u003e PWM\u003c\/th\u003e\n\n\u003cth\u003e MxA\u003c\/th\u003e\n\n\u003cth\u003e MxB\u003c\/th\u003e\n\n\u003cth\u003e operating mode\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e 0\u003c\/td\u003e\n\n\u003ctd\u003e 0\u003c\/td\u003e\n\n\u003ctd\u003e PWM\u003c\/td\u003e\n\n\u003ctd\u003e PWM (H\/L)\u003c\/td\u003e\n\n\u003ctd\u003e L\u003c\/td\u003e\n\n\u003ctd\u003e forward\/brake at speed \u003cem\u003ePWM %\u003c\/em\u003e\n\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e 0\u003c\/td\u003e\n\n\u003ctd\u003e 1\u003c\/td\u003e\n\n\u003ctd\u003e PWM\u003c\/td\u003e\n\n\u003ctd\u003e L\u003c\/td\u003e\n\n\u003ctd\u003e PWM (H\/L)\u003c\/td\u003e\n\n\u003ctd\u003e reverse\/brake at speed \u003cem\u003ePWM %\u003c\/em\u003e\n\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e 0\u003c\/td\u003e\n\n\u003ctd\u003e X\u003c\/td\u003e\n\n\u003ctd\u003e 0\u003c\/td\u003e\n\n\u003ctd\u003e L\u003c\/td\u003e\n\n\u003ctd\u003e L\u003c\/td\u003e\n\n\u003ctd\u003e brake low (outputs shorted to ground)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e 1\u003c\/td\u003e\n\n\u003ctd\u003e X\u003c\/td\u003e\n\n\u003ctd\u003e X\u003c\/td\u003e\n\n\u003ctd\u003e Z\u003c\/td\u003e\n\n\u003ctd\u003e Z\u003c\/td\u003e\n\n\u003ctd\u003e coast (outputs off)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n \u003cp\u003eThe MAX14780 shield has a fault pin that combines the fault outputs of the two on-board drivers, \u003cspan class=\"overline\"\u003eM1FAULT\u003c\/span\u003e and \u003cspan style=\"text-decoration:overline;\"\u003eM2FAULT\u003c\/span\u003e . It is an open-drain, active-low fault output that goes low during an over-current or over-temperature condition on either motor channel. To get individual fault outputs, the trace between the \u003cspan style=\"text-decoration:overline;\"\u003eM1FAULT\u003c\/span\u003e and \u003cspan style=\"text-decoration:overline;\"\u003eM2FAULT\u003c\/span\u003e through holes can be cut. This will leave \u003cspan style=\"text-decoration:overline;\"\u003eM2FAULT\u003c\/span\u003e connected to Arduino digital pin 12. A jumper can be used across the \u003cspan style=\"text-decoration:overline;\"\u003eM1FAULT\u003c\/span\u003e pin and the neighboring through hole to connect it to digital pin 11.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8624.1200.jpg?a5c26e1b73fe26bf67a9d699b48e0726\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id between the m1fault and m2fault pins to separate fault outputs on dual max14870 motor driver shield for arduino add a jumper access pin data-picture-id=\"0J8624\" data-picture-longest_side=\"599\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8624.400.jpg?a5c26e1b73fe26bf67a9d699b48e0726\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003ch3\u003e Optional current limiting\u003c\/h3\u003e\n\n \u003cp\u003eThe MAX14870 IC features a SNS input that can be used for optional automatic current limiting. By default, this input is connected to ground for both drivers on this board, which bypasses the current regulation feature. To enable current limiting, you must first cut the traces between each pair of unpopulated 1206 resistor pads near the driver chips.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8621.1200.jpg?373dcc573728aaa62fcfd8c56d8ae8cb\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id one of enabling current limiting on the dual max14870 motor driver shield for arduino: cut trace between resistor pads. data-picture-id=\"0J8621\" data-picture-longest_side=\"788\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8621.250.jpg?373dcc573728aaa62fcfd8c56d8ae8cb\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003cp\u003e Then, you will need to add your own appropriate surface-mount 1206 resistor to these pads.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8620.1200.jpg?a9bd243e1cd121fc9de3ceacd8ada719\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id enable current limiting cut the trace between resistor pads shown on left and add an appropriate rsense right data-picture-id=\"0J8620\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8620.500.jpg?a9bd243e1cd121fc9de3ceacd8ada719\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003cp\u003e Each driver tries to keep the voltage on the SNS pin from exceeding 100 mV, so for example, a 100 mΩ resistor limits the current to 1 A and a 200 mΩ resistor limits it to 0.5 A. For more information on current limiting, see the \u003ca href=\"\/en\/file\/0J885\/MAX14870.pdf\"\u003eMAX14870 datasheet\u003c\/a\u003e (492k pdf).\u003c\/p\u003e\n\n \u003ch3\u003eReal-world power dissipation considerations\u003c\/h3\u003e\n\n\u003cp\u003e The MAX14870 datasheet recommends a maximum continuous current of 2.5 A. However, the chip by itself will typically overheat at lower currents. In our tests, a continuous current of 1.7 A per channel was sustainable for many minutes without triggering a thermal shutdown.\u003c\/p\u003e\n\n\u003cp\u003e The actual current you can deliver will depend on how well you can keep the motor driver cool. The shield's printed circuit board is designed to help with this by drawing heat out of the motor driver chip. PWMing the motor will introduce additional heating proportional to the frequency.\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\u003ch3\u003e Schematic \u003c\/h3\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\/0J8611.1200.jpg?16cebd9e10cf6b6c6e7ecc0649aabd80\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id diagram for the dual max14870 motor driver shield arduino. data-picture-id=\"0J8611\" data-picture-longest_side=\"1363\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8611.600.jpg?16cebd9e10cf6b6c6e7ecc0649aabd80\"\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 Schematic diagram for the Dual MAX14870 Motor Driver Shield for Arduino.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n \u003cp\u003eThis schematic is also available as a \u003ca href=\"\/en\/file\/0J1479\/dual-max14870-motor-driver-shield-for-arduino-schematic.pdf\"\u003edownloadable pdf\u003c\/a\u003e (139k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696733536601,"sku":"POL-2519","price":29.21,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47886007992665,"sku":"POL-2519\/A","price":29.21,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J8590.1200.jpg?v=1705456966","url":"https:\/\/xernuqvalzi.pro\/en\/products\/2519-dual-max14870-motor-driver-shield-for-arduino","provider":"Robot Italy","version":"1.0","type":"link"}