{"product_id":"2512-pololu-a4990-dual-motor-driver-shield-for-arduino","title":"Pololu A4990 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 A4990 dual motor driver operates from 6 V to 32 V and can deliver a continuous 0.65 A to each motor channel, making it a great control option for low-current motors that run on high voltages.  The A4990 is configured to limit the peak motor current to about 0.9 A per channel and is protected against reverse-voltage, under-voltage, over-voltage, short-circuit, and over-temperature conditions.\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\/0J5713.1200.jpg?0c528362f5a2f6fee8c2a69fc9eb100e\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a4990 dual motor driver shield for arduino top view with dimensions. data-picture-id=\"0J5713\" data-picture-longest_side=\"926\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5713.320.jpg?0c528362f5a2f6fee8c2a69fc9eb100e\"\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 A4990 Dual Motor Driver Shield for Arduino, top 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 Allegro’s A4990 dual H-bridge motor driver IC, which operates from 6 V to 32 V.  It can deliver a continuous 0.65 A to each motor channel, and the current control feature of the A4990 limits the peak motor current to about 0.9 A per channel with the onboard sense resistors, making this shield well suited for low-current, high-voltage motors.\u003c\/p\u003e\n\u003cp\u003eThe shield ships fully populated with its SMD components, including the A4990 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\/0J5715.1200.jpg?e5e84971721ed1eda5ca0cb6909ee378\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a4990 dual motor driver shield on an arduino uno. data-picture-id=\"0J5715\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5715.330.jpg?e5e84971721ed1eda5ca0cb6909ee378\"\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\/0J5717.1200.jpg?cf32c1ea120b0c63f6e1969572919417\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a4990 dual motor driver shield on an arduino uno. data-picture-id=\"0J5717\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5717.201.jpg?cf32c1ea120b0c63f6e1969572919417\"\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 6, 7, 8, 9, and 10 for its diagnostic and control lines.  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 higher-current alternatives 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\/2511\"\u003eDRV8835 dual motor driver shield\u003c\/a\u003e.  We also have a smaller \u003ca href=\"https:\/\/www.pololu.com\/product\/2137\"\u003eA4990 carrier\u003c\/a\u003e for those using something other than an Arduino or with tighter space constraints.\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\/0J5720.1200.jpg?3f944831afb32bcde6409739ae23dac4\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a4990 dual motor driver shield for arduino top and bottom sides. data-picture-id=\"0J5720\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5720.300.jpg?3f944831afb32bcde6409739ae23dac4\"\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 A4990 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: 6 V to 32 V\u003c\/li\u003e\n\t\u003cli\u003eLogic supply voltage 2.5 V to 5.5 V\u003c\/li\u003e\n\t\u003cli\u003eOutput current: 0.65 A continuous per motor\u003c\/li\u003e\n\t\u003cli\u003eCurrent control limits peak current to 0.9 A per motor\u003c\/li\u003e\n\t\u003cli\u003eCan work with ultrasonic (\u0026gt; 20 kHz) PWM frequencies, which allows for quieter motor operation\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\/a4990-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\u003eRobust:\n\t\u003cul\u003e\n\t\t\u003cli\u003eReverse-voltage protection on the motor power supply\u003c\/li\u003e\n\t\t\u003cli\u003eCan survive input voltages up to 40 V\u003c\/li\u003e\n\t\t\u003cli\u003eUnder-voltage and over-voltage protection\u003c\/li\u003e\n\t\t\u003cli\u003eOver-temperature protection\u003c\/li\u003e\n\t\t\u003cli\u003eShort-to-supply, short-to-ground, and shorted-load protection on the motor outputs\u003c\/li\u003e\n\t\u003c\/ul\u003e\n\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 with all of the surface-mount components) 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\/0J5714.1200.jpg?059d61c49afeedfef35062008a99761e\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a4990 dual motor driver shield for arduino with included hardware. data-picture-id=\"0J5714\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5714.250.jpg?059d61c49afeedfef35062008a99761e\"\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\/0J5716.1200.jpg?2fdb18be4120f29095d0a095bedb3d3c\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id a4990 dual motor driver shield on an arduino uno. data-picture-id=\"0J5716\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5716.250.jpg?2fdb18be4120f29095d0a095bedb3d3c\"\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 labeled “VOUT”).  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\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.\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 6 V to 32 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 6 V to 32 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\u003eThe shield has integrated logic gates that simplify the control interface of the A4990 by reducing the number of PWM signals required.  Each channel has a speed control input, MxPWM, and a direction control input, MxDIR.  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 following truth table shows how the shield operates:\u003c\/p\u003e\n\u003ctable class=\"reference\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003eMxDIR\u003c\/th\u003e\n\t\t\u003cth\u003eMxPWM\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\u003eThe A4990 has two diagnostic pins, EF1 and EF2, that offer feedback about the state of the driver.  These pins are open-drain outputs that are driven low by the chip to indicate faults (the datasheet describes what each combination of EF1 and EF2 means). Otherwise, these pins remain in a floating state.  By default, EF2 is connected to Arduino digital pin 6 through a 1 kΩ protection resistor; with pin 6 configured as an input with its internal pull-up enabled, a low signal indicates an over-current, over-voltage, or over-temperature condition.\u003c\/p\u003e\n\u003cp\u003eThe EF1 and EF2 pins can more generally accessed via the 3-pin row of through-holes in the lower-left corner of the board.  If you do not want to monitor the motor driver fault flags or would rather free up pin 6 for some other purpose, you can cut the trace that connects the EF2 pin to its neighboring (center) pin on the bottom side of the shield.\u003c\/p\u003e\n\u003ch3\u003eCurrent limiting\u003c\/h3\u003e\n\u003cp\u003eThe A4990 can actively limit the current through the motors by using a fixed-frequency PWM current regulation (current chopping). This carrier board connects 0.075 Ω resistors to the current sense pins, which sets the current limit to a nominal 1 A per channel. In our tests, the board actually limited the motor current to slightly above 0.9 A.\u003c\/p\u003e\n\u003ch3\u003eReal-world power dissipation considerations\u003c\/h3\u003e\n\u003cp\u003eEven though the driver limits the motor current to about 0.9 A per channel, 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 0.9 A per channel for approximately 15 seconds before the chip’s thermal protection kicked in. A continuous current of 0.65 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.  Our tests were conducted at 100% duty cycle; PWMing the inputs will introduce additional heating proportional to the frequency (unless the A4990 is already PWMing the outputs to limit the current).\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\/0J5722.1200.png?189b9e279a423b6ce681824e56f468ae\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id a4990 dual motor driver shield for arduino schematic diagram. data-picture-id=\"0J5722\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5722.600.jpg?189b9e279a423b6ce681824e56f468ae\"\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 A4990 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\/0J804\/a4990-dual-motor-driver-shield-schematic.PDF\"\u003edownloadable pdf\u003c\/a\u003e (268k PDF).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Settimane","offer_id":47696733503833,"sku":"POL-2512","price":17.49,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47886008058201,"sku":"POL-2512\/A","price":17.49,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J5710.1200.jpg?v=1705456971","url":"https:\/\/xernuqvalzi.pro\/products\/2512-pololu-a4990-dual-motor-driver-shield-for-arduino","provider":"Robot Italy","version":"1.0","type":"link"}