{"product_id":"3758-dual-max14870-motor-driver-for-raspberry-pi-partial-kit","title":"Dual MAX14870 Motor Driver for Raspberry Pi (Partial Kit)","description":"\u003cp\u003eThis compact expansion board plugs directly into the GPIO header on a Raspberry Pi and provides an easy and low-cost solution for driving a pair of small brushed DC motors. Its pair of integrated MAX14870 motor drivers allows it to operate from 4.5 V to 36 V, making it a great control option for small motors that run on a wide range of voltages. The board can deliver a continuous 1.7 A (2.5 A peak) per motor. This version ships as a \u003cstrong\u003epartial kit\u003c\/strong\u003e; all surface-mount components are installed, but the included through-hole connectors are not soldered in.\u003c\/p\u003e\n\u003cbr\u003e\u003ch2\u003eOverview\u003c\/h2\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\/0J8599.1200.jpg?66f0ce032123e212cfc897633e3773bc\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver for raspberry pi top view with dimensions. data-picture-id=\"0J8599\" data-picture-longest_side=\"1674\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8599.300.jpg?66f0ce032123e212cfc897633e3773bc\"\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\u003eDual MAX14870 Motor Driver for Raspberry Pi, top view with dimensions.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThis motor driver expansion board and its corresponding Python library make it easy to control a pair of bidirectional, brushed DC motors with a compatible Raspberry Pi (Model B+ or newer), including the \u003ca href=\"https:\/\/www.pololu.com\/product\/2797\"\u003ePi 3 Model B+\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/2760\"\u003eModel A+\u003c\/a\u003e. The expansion board features two MAX14870 H-bridge motor driver ICs from Maxim, which allow it to operate from 4.5 V to 36 V and make it well suited for driving small motors across a wide range of voltages.  The board can deliver a continuous 1.7 A per channel and tolerate peak currents up to 2.5 A per channel for a few seconds.  It is available either as a \u003ca href=\"https:\/\/www.pololu.com\/product\/3758\"\u003epartial kit\u003c\/a\u003e, with a female header and terminal blocks included but not soldered in, or \u003ca href=\"https:\/\/www.pololu.com\/product\/3759\"\u003efully assembled\u003c\/a\u003e with these connectors soldered to the PCB.\u003c\/p\u003e\n\u003cp\u003eThe board’s default configuration uses five GPIO pins to control the motor drivers, making use of the Raspberry Pi’s hardware PWM outputs, and it uses one additional pin to read a fault output from the drivers. However, the pin mappings can be customized if the defaults are not convenient.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8600.1200.jpg?56ccfd0f617d49bce2d39ae65e464191\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver for raspberry pi on a model b. data-picture-id=\"0J8600\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8600.450.jpg?56ccfd0f617d49bce2d39ae65e464191\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eNote that this motor driver add-on is designed specifically for newer versions of the Raspberry Pi with 40-pin GPIO headers; it is \u003cem\u003enot\u003c\/em\u003e practical to use this expansion board with the original Raspberry Pi Model A or Model B due to differences in their pinout and form factor.\u003c\/p\u003e\n\u003cp\u003eFor controlling higher-power motors with a Raspberry Pi, consider our \u003ca href=\"https:\/\/www.pololu.com\/product\/2755\"\u003edual MC33926 motor driver add-on\u003c\/a\u003e, and for lower-voltage motors, consider our \u003ca href=\"https:\/\/www.pololu.com\/product\/2753\"\u003eDRV8835 dual motor driver kit\u003c\/a\u003e. We also have a similar \u003ca href=\"https:\/\/www.pololu.com\/product\/2519\"\u003edual MAX14870 shield\u003c\/a\u003e for \u003ca href=\"https:\/\/www.pololu.com\/category\/125\/arduino-compatible\"\u003eArduinos\u003c\/a\u003e and Arduino-compatible boards and a \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\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\/0J8602.1200.jpg?e01e956add2cffaa5aa45fd7d94b3363\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver for raspberry pi top and bottom sides. data-picture-id=\"0J8602\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8602.300.jpg?e01e956add2cffaa5aa45fd7d94b3363\"\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\u003eDual MAX14870 Motor Driver for Raspberry Pi, 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\u003eTwo 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\t\u003cli\u003eMotor supply voltage: 4.5 V to 36 V\u003c\/li\u003e\n\t\u003cli\u003eOutput current: 1.7 A continuous (2.5 A peak) per motor\u003c\/li\u003e\n\t\u003cli\u003eBoard can optionally power the Raspberry Pi base directly through add-on regulator (not included)\u003c\/li\u003e\n\t\u003cli\u003e\n\u003ca href=\"https:\/\/github.com\/pololu\/dual-max14870-motor-driver-rpi\"\u003ePython library\u003c\/a\u003e makes it easy to get started using this board as a motor driver expansion board\u003c\/li\u003e\n\t\u003cli\u003eGPIO 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\t\u003cli\u003eSurface-mount resistor can optionally be added to enable automatic current limiting\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\nDetails for item #3758\n\u003c\/h2\u003e\n\u003cp\u003eThis version of the motor driver is a \u003cstrong\u003epartial kit\u003c\/strong\u003e, with connectors included but not soldered in. (See \u003ca href=\"https:\/\/www.pololu.com\/product\/3759\"\u003eitem #3759\u003c\/a\u003e for an assembled version.)\u003c\/p\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\/0J8598.1200.jpg?d3d533e85c2f3959f973ad570f947838\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver for raspberry pi version with included hardware. data-picture-id=\"0J8598\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8598.600.jpg?d3d533e85c2f3959f973ad570f947838\"\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\u003eDual MAX14870 Motor Driver for Raspberry Pi (kit version) with included hardware.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThe \u003ca href=\"https:\/\/www.pololu.com\/product\/1036\"\u003e2×17-pin 0.1″ female header\u003c\/a\u003e should be mounted to the bottom of the board (the side with surface-mount components). Once soldered, this header is used to connect the board to the Raspberry Pi’s 40-pin GPIO header. Alternatively, if you want to continue to have access to the Raspberry Pi’s 40 GPIO pins while the motor driver board is plugged in, you can install a \u003ca href=\"https:\/\/www.pololu.com\/product\/2748\"\u003estackable 2×20-pin female header\u003c\/a\u003e (not included) instead.\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 board once they have been slid together and soldered to the six large through-holes.  Alternatively, you can solder \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003e0.1″ male header pins\u003c\/a\u003e to the smaller through-holes below  the terminal block holes, or you can just solder wires directly to the board.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8603.1200.jpg?da16283eb666a9d0a753d170d99e2577\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver for raspberry pi bottom view. data-picture-id=\"0J8603\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8603.420.jpg?da16283eb666a9d0a753d170d99e2577\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eA \u003ca href=\"https:\/\/www.pololu.com\/product\/2797\"\u003eRaspberry Pi\u003c\/a\u003e is \u003cstrong\u003enot included\u003c\/strong\u003e.\u003c\/p\u003e\n\u003ch2\u003eUsing the motor driver\u003c\/h2\u003e\n\u003cp\u003eThis section explains how to use the dual MAX14870 motor driver add-on board and provides some basic information about the motor driver pins to help get you started.  However, we strongly encourage you to consult the \u003ca href=\"\/file\/0J885\/MAX14870.pdf\"\u003eMAX14870 datasheet\u003c\/a\u003e (492k pdf) for detailed pin descriptions, truth tables, and electrical characteristics.  This expansion board is essentially a breakout board for two MAX14870 motor driver ICs, so the datasheet is your best resource for answering questions not covered here.\u003c\/p\u003e\n\u003cp\u003eThe board should be plugged into the leftmost position on the Raspberry Pi’s 40-pin GPIO header, leaving six pins exposed on the right, as shown in the picture below.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8601.1200.jpg?09400c5d3e78d7ec02842007a4f1001a\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id max14870 motor driver for raspberry pi on a model b. data-picture-id=\"0J8601\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8601.400.jpg?09400c5d3e78d7ec02842007a4f1001a\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eIn the board’s default state, the motor driver and Raspberry Pi are powered separately, though they share a common ground.  When used this way, the Raspberry Pi must be powered via its USB Micro-B receptacle, and the motor driver board must be supplied with 4.5 V to 36 V through its large VIN and GND pads. However, the motor driver board provides a set of three through-holes where you can conveniently connect an appropriate voltage regulator, allowing the motor supply to also power the Raspberry Pi (see the \u003cem\u003ePowering the Raspberry Pi from the motor driver board\u003c\/em\u003e section below).\u003c\/p\u003e\n\u003ch3\u003eDefault pin mappings\u003c\/h3\u003e\n\u003cp\u003eThis table shows how the Raspberry Pi’s GPIO pins are used to interface with the motor drivers:\u003c\/p\u003e\n\u003ctable class=\"reference\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003eRPi\u003cbr\u003eGPIO pin\u003c\/th\u003e\n\t\t\u003cth\u003eMotor driver pin\u003c\/th\u003e\n\t\t\u003cth\u003eDescription\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e5\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003eInverted enable input: The Raspberry Pi pulls this pin high by default, putting the motor driver IC into a low-current sleep mode and disabling the motor outputs (setting them to high impedance). \u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e must be driven low  to enable the motor driver.\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e6\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003eFault output: When the drivers are functioning normally, this pin should be pulled high by the Raspberry Pi. 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\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e12\u003c\/td\u003e\n\t\t\u003ctd\u003eMotor 1 PWM\u003c\/td\u003e\n\t\t\u003ctd rowspan=\"2\"\u003eMotor 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 motor is on. The maximum allowed PWM frequency is 50 kHz.\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e13\u003c\/td\u003e\n\t\t\u003ctd\u003eMotor 2 PWM\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e24\u003c\/td\u003e\n\t\t\u003ctd\u003eMotor 1 DIR\u003c\/td\u003e\n\t\t\u003ctd rowspan=\"2\"\u003eMotor 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\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e25\u003c\/td\u003e\n\t\t\u003ctd\u003eMotor 2 DIR\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003ch3\u003eSimplified motor control truth table\u003c\/h3\u003e\n\u003cp\u003eThis table shows how the drivers’ control inputs affect the motor outputs:\u003c\/p\u003e\n\u003ctable class=\"reference\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style=\"text-align:center;\" colspan=\"3\"\u003eInputs\u003c\/th\u003e\n\t\t\u003cth colspan=\"2\"\u003eOutputs\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003e\u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e\u003c\/th\u003e\n\t\t\u003cth\u003eDIR\u003c\/th\u003e\n\t\t\u003cth\u003ePWM\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\u003ePWM\u003c\/td\u003e\n\t\t\u003ctd\u003ePWM (H\/L)\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\u003e0\u003c\/td\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 (H\/L)\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\u003e0\u003c\/td\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\t\u003ctr\u003e\n\t\t\u003ctd\u003e1\u003c\/td\u003e\n\t\t\u003ctd\u003eX\u003c\/td\u003e\n\t\t\u003ctd\u003eX\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\u003c\/table\u003e\n\u003ch3\u003eRemapping pins\u003c\/h3\u003e\n\u003cp\u003eEach GPIO pin used by the board is connected to the corresponding motor driver pin by a trace on the top side of the board spanning a pair of holes. If you want to remap one of these motor driver pins, you can cut its trace with a knife and then run a wire from the lower hole to a new GPIO pin.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center wide\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8604.1200.jpg?02d53441a5a4b535004d8a22bd9fcdba\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id and default pin mappings of the dual max14870 motor driver for raspberry pi. data-picture-id=\"0J8604\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8604.600.jpg?02d53441a5a4b535004d8a22bd9fcdba\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eIn addition, the \u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e and \u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e pins are connected between the two driver ICs by default. If you need to access each driver’s pins separately, you can cut the traces between the surface-mount jumpers labeled “\u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e” and “\u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e” next to the Pololu logo on the board. This leaves the right side of the jumpers and the original access points on the board connected to the \u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e and \u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e pins for motor 2, while the left side of the jumpers will provide access to those pins for motor 1.\u003c\/p\u003e\n\u003cp\u003eNote that the default pin mappings were chosen so that the Raspberry Pi’s default GPIO pull-ups and pull-downs match the direction the motor driver pins are or should be pulled (up for \u003cspan class=\"overline\"\u003eEN\u003c\/span\u003e and \u003cspan class=\"overline\"\u003eFAULT\u003c\/span\u003e, down for others); if you remap the motor driver pins without paying attention to this, you might encounter issues with pins being pulled the wrong way. See the \u003ca href=\"https:\/\/www.raspberrypi.org\/help\/\"\u003eRaspberry Pi documentation\u003c\/a\u003e for more about the default GPIO states.\u003c\/p\u003e\n\u003ch3\u003eOptional current limiting\u003c\/h3\u003e\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 on the bottom side of the board.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8626.1200.jpg?c487052f68e7612e1c1ab44497dda49f\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id one of enabling current limiting on the dual max14870 motor driver for raspberry pi: cut trace between resistor pads. data-picture-id=\"0J8626\" data-picture-longest_side=\"708\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8626.250.jpg?c487052f68e7612e1c1ab44497dda49f\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThen, you will need to add your own appropriate surface-mount 1206 resistor to these pads.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8627.1200.jpg?647d08aead6738dcdea2595147ceb1ea\" 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=\"0J8627\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8627.500.jpg?647d08aead6738dcdea2595147ceb1ea\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eEach 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=\"\/file\/0J885\/MAX14870.pdf\"\u003eMAX14870 datasheet\u003c\/a\u003e (492k pdf).\u003c\/p\u003e\n\u003ch3\u003ePowering the Raspberry Pi from the motor driver board\u003c\/h3\u003e\n\u003cp\u003eOn the left side of the expansion board is a set of three pins surrounded by a box and labeled “5V”, “GND”, and “VM”. The 5V pin is connected to the Raspberry Pi’s 5V power rail, while the VM pin provides access to the driver board’s motor supply voltage after reverse-voltage protection. If a suitable voltage regulator is connected to these three pins, it can generate 5 V to power the Raspberry Pi from the board’s motor supply voltage.\u003c\/p\u003e\n\u003cp\u003eWe suggest using our \u003ca href=\"https:\/\/www.pololu.com\/product\/2831\"\u003eD24V10F5\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/product\/2858\"\u003eD24V22F5\u003c\/a\u003e switching step-down regulators, which have the same 36 V maximum input voltage as the MAX14870 (see below for details on which to choose).\u003c\/p\u003e\n\u003cp\u003eWhen adding a voltage regulator to the motor driver board, take care to orient it correctly: note that the motor driver board’s VM pin should connect to the regulator’s VIN pin, while the regulator’s VOUT pin should connect to the motor driver board’s 5V pin.\u003c\/p\u003e\n\u003cp\u003eThere are several considerations to keep in mind when powering the Raspberry Pi through a voltage regulator in this way:\u003c\/p\u003e\n\u003cul\u003e\n\t\u003cli\u003eYou must \u003cstrong\u003enever\u003c\/strong\u003e connect a different power supply to the Raspberry Pi (including through its USB Micro-B receptacle) while the regulator is connected, as doing so will create a short between the voltage regulator’s output and the external power supply that could permanently damage the Raspberry Pi, the regulator, and\/or the power supply.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\t\u003cli\u003eYour motor power supply must be an acceptable voltage for both your regulator and the MAX14870.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\t\u003cli\u003eThe regulator should be able to handle the power requirements of the Raspberry Pi. The Raspberry Pi typically uses a few hundred milliamps at 5 V (depending on the specific model), although its current draw can exceed 1 A if it is also supplying power to USB devices and other peripherals. While linear regulators like a 7805 might fit in the regulator mounting location, they could generate excessive heat or shut down at higher input voltages and output currents, so we recommend using a switching regulator. We suggest using one of the following regulators.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe \u003ca href=\"https:\/\/www.pololu.com\/product\/2831\"\u003e\u003cstrong\u003eD24V10F5\u003c\/strong\u003e\u003c\/a\u003e can supply up to 1 A of current to the Raspberry Pi and should work for lower-power models (like the \u003ca href=\"https:\/\/www.pololu.com\/product\/2760\"\u003eA+\u003c\/a\u003e) with lighter loads. It can be soldered directly to the motor driver board with a \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003emale header\u003c\/a\u003e to make a compact, permanent connection:\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\/0J8610.1200.jpg?cfdff0885aa968b5b259c57db058260f\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id href='\\\"https:\/\/www.pololu.com\/product\/2831\\\"\\u003eD24V10F5' step-down voltage regulator soldered directly to dual max14870 motor driver for raspberry pi permanent connection data-picture-id=\"0J8610\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8610.250.jpg?cfdff0885aa968b5b259c57db058260f\"\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\/0J8605.1200.jpg?8984589d2b34e80fa9bc83f21eee2d04\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id href='\\\"https:\/\/www.pololu.com\/product\/2831\\\"\\u003eD24V10F5' step-down voltage regulator soldered directly to dual max14870 motor driver for raspberry pi permanent connection data-picture-id=\"0J8605\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8605.200.jpg?8984589d2b34e80fa9bc83f21eee2d04\"\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\u003eor plugged into a \u003ca href=\"https:\/\/www.pololu.com\/product\/1013\"\u003e3-pin female header\u003c\/a\u003e soldered to the board for a more modular setup:\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8608.1200.jpg?4ab8a38d3b6fe747ec98ee311d0afa53\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id href='\\\"https:\/\/www.pololu.com\/product\/2831\\\"\\u003eD24V10F5' step-down voltage regulator plugged into a dual max14870 motor driver for raspberry pi connection data-picture-id=\"0J8608\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8608.400.jpg?4ab8a38d3b6fe747ec98ee311d0afa53\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThe \u003ca href=\"https:\/\/www.pololu.com\/product\/2858\"\u003e\u003cstrong\u003eD24V22F5\u003c\/strong\u003e\u003c\/a\u003e can supply up to 2.5 A and is more suitable for higher-performance Raspberry Pi models (like the \u003ca href=\"https:\/\/www.pololu.com\/product\/2797\"\u003ePi 3 B+\u003c\/a\u003e), especially with demanding workloads or when powering many peripherals. Because of its larger size, it must be connected through longer headers or wires to avoid interference with the terminal blocks.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8609.1200.jpg?9a2cddb8b1b297e093d89a3a8411bcb9\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id href='\\\"https:\/\/www.pololu.com\/product\/2858\\\"\\u003eD24V22F5' step-down voltage regulator plugged into a dual max14870 motor driver for raspberry pi connection data-picture-id=\"0J8609\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8609.400.jpg?9a2cddb8b1b297e093d89a3a8411bcb9\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThe FAQs page on the Raspberry Pi website has more information on \u003ca href=\"https:\/\/www.raspberrypi.org\/help\/faqs\/#power\"\u003eRaspberry Pi power requirements\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch3\u003eReal-world power dissipation considerations\u003c\/h3\u003e\n\u003cp\u003eThe 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\u003cp\u003eThe actual current you can deliver will depend on how well you can keep the motor driver cool. The driver’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\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\/0J8612.1200.png?06c92bde51e6d1f33b20cb79cb381f0d\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id diagram for the dual max14870 motor driver raspberry pi. data-picture-id=\"0J8612\" data-picture-longest_side=\"1198\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8612.600.jpg?06c92bde51e6d1f33b20cb79cb381f0d\"\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\u003eSchematic diagram for the Dual MAX14870 Motor Driver for Raspberry Pi.\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\/0J1480\/dual-max14870-motor-driver-for-raspberry-pi-schematic.pdf\"\u003edownloadable pdf\u003c\/a\u003e (134k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Settimane","offer_id":47696704831833,"sku":"POL-3758","price":29.21,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47886001668441,"sku":"POL-3758\/A","price":29.21,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J8598.1200.jpg?v=1705456602","url":"https:\/\/xernuqvalzi.pro\/products\/3758-dual-max14870-motor-driver-for-raspberry-pi-partial-kit","provider":"Robot Italy","version":"1.0","type":"link"}