{"product_id":"2755-pololu-dual-mc33926-motor-driver-for-raspberry-pi-partial-kit","title":"Pololu Dual MC33926 Motor Driver for Raspberry Pi (Partial Kit)","description":"\u003cp\u003eThis add-on board enables a compatible Raspberry Pi (Model B+ or newer), including the Pi 3 Model B+ and Model A+, to drive a pair of brushed DC motors. Its dual MC33926 motor drivers operate from 5 V to 28 V and can deliver a continuous 3 A (5 A peak) per motor. The default pin mappings make it easy to get started using our provided software, but the board also exposes most of the driver chips' I\/O pins for more specialized applications. 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\n\u003cbr\u003e\u003ch2\u003e Overview\u003c\/h2\u003e\n\n \u003cp class=\"note_warning\"\u003e\u003cstrong\u003eDecember 2022 availability update:\u003c\/strong\u003e Availability of this product is still restricted by the global parts shortages. As an alternative, we recommend the very similar Dual TB9051FTG Motor Driver for Raspberry Pi, which is also available \u003ca href=\"https:\/\/www.pololu.com\/product\/2762\"\u003eassembled\u003c\/a\u003e or as a \u003ca href=\"https:\/\/www.pololu.com\/product\/2761\"\u003epartial kit\u003c\/a\u003e and can serve as a drop-in replacement in typical applications.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J6593.1200.jpg?952418d3f6e9b7159f91e917dca87ee8\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id dual mc33926 motor driver for raspberry pi. data-picture-id=\"0J6593\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6593.300.jpg?952418d3f6e9b7159f91e917dca87ee8\"\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\u003eThis motor driver board is an add-on for 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 , that lets it easily control a pair of bidirectional, brushed DC motors. The expansion board uses a pair of Freescale MC33926 motor drivers, which operate from 5 to 28 V and can deliver a continuous 3 A per channel (up to 5 A per channel for a few seconds). Other features include a reverse battery protection circuit and logic gates that reduce the number of I\/O pins required to control the driver ICs effectively. The board ships fully populated with its SMD components; it is available either as a \u003ca href=\"https:\/\/www.pololu.com\/product\/2755\"\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\/2756\"\u003efully assembled\u003c\/a\u003e with these connectors soldered to the PCB.\u003c\/p\u003e\n\n \u003cp\u003eThe board's default configuration uses six GPIO pins to control the motor drivers, making use of the Raspberry Pi's hardware PWM outputs, and it uses two additional pins to read status outputs from the drivers. However, the pin mappings can be customized if the defaults are not convenient, and other control inputs and outputs of the MC33926 ICs are accessible on the board for more advanced applications.\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\/0J6594.1200.jpg?4eac4d8af56338d9ae19652b830e1b45\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id dual mc33926 motor driver on a raspberry pi model data-picture-id=\"0J6594\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6594.450.jpg?4eac4d8af56338d9ae19652b830e1b45\"\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 The board matches the Raspberry Pi HAT (Hardware Attached on Top) mechanical specification, although it does not conform to the full HAT specifications due to the lack of an ID EEPROM. (A footprint for adding your own EEPROM is available for applications where one would be useful; pull-ups on SDA, SCL, and WP are provided.) 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\n \u003cp\u003eWe also have a similar \u003ca href=\"https:\/\/www.pololu.com\/product\/2503\"\u003edual MC33926 shield\u003c\/a\u003e for \u003ca href=\"https:\/\/www.pololu.com\/category\/125\/arduino-compatible\"\u003eArduinos\u003c\/a\u003e and Arduino-compatible boards and basic \u003ca href=\"https:\/\/www.pololu.com\/product\/1212\"\u003esingle\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/1213\"\u003edual MC33926 carriers\u003c\/a\u003e for those using a different controller or with tighter space constraints. For a smaller, lower power, and lower cost alternatives, consider the \u003ca href=\"https:\/\/www.pololu.com\/product\/3758\"\u003edual MAX14870 motor driver for Raspberry Pi\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/product\/2753\"\u003eDRV8835 dual motor driver for Raspberry Pi\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003ch2\u003e Features\u003c\/h2\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Wide operating voltage range: 5 V to 28 V\u003c\/li\u003e\n\n\u003cli\u003e Output current: 3 A continuous (5 A peak) per motor\u003c\/li\u003e\n\n\u003cli\u003e PWM operation up to 20 kHz, which is ultrasonic and allows for quieter motor operation\u003c\/li\u003e\n\n\u003cli\u003e Motor indicator LEDs show what the outputs are doing even when no motor is connected\u003c\/li\u003e\n\n\t \u003cli\u003eBoard can optionally power the Raspberry Pi base directly through added regulator (not included)\u003c\/li\u003e\n\n\u003cli\u003e\n\n \u003ca href=\"https:\/\/github.com\/pololu\/dual-mc33926-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\n\u003cli\u003e GPIO pin mappings can be customized if the default mappings are not convenient\u003c\/li\u003e\n\n\u003cli\u003e Remaining motor driver pins are exposed for advanced use\u003c\/li\u003e\n\n\u003cli\u003e Reverse-voltage protection on motor supply\u003c\/li\u003e\n\n\u003cli\u003e Robust drivers:\n\u003cul\u003e\n\n\u003cli\u003e Transient operation (\u0026lt; 500 ms) up to 40 V\u003c\/li\u003e\n\n\u003cli\u003e Internal peak-current limiting gracefully reduces the output power if the current or temperature get too high\u003c\/li\u003e\n\n\u003cli\u003e Under-voltage shutdown\u003c\/li\u003e\n\n\u003cli\u003e Output short-to-ground and short-to-Vcc protection\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\n\u003c\/li\u003e\n\n\u003cli\u003e Prototyping space for easier\/cleaner construction of custom circuits\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch2\u003e\n\n Details for item #2755\n\n\u003c\/h2\u003e\n\n\u003cp\u003e This 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\/2756\"\u003eitem #2756\u003c\/a\u003e for an assembled version.)\u003c\/p\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\/0J6595.1200.jpg?64dc9837f1d2ca4112bf3f64fdd24253\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id dual mc33926 motor driver for raspberry pi version with included hardware. data-picture-id=\"0J6595\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6595.600.jpg?64dc9837f1d2ca4112bf3f64fdd24253\"\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: 600px\"\u003e\u003cp\u003e Pololu Dual MC33926 Motor Driver for Raspberry Pi (kit version) with included hardware.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e The \u003ca href=\"https:\/\/www.pololu.com\/product\/1037\"\u003e2×20-pin 0.1″ female header\u003c\/a\u003e should be mounted to the bottom of the board (the side opposite the 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\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\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J6598.1200.jpg?55b6fad6079fcc78175be6a1ba0ceb0f\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id dual mc33926 motor driver for raspberry pi bottom view. data-picture-id=\"0J6598\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6598.400.jpg?55b6fad6079fcc78175be6a1ba0ceb0f\"\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 motor driver ships with a set of four \u003ca href=\"https:\/\/www.pololu.com\/product\/1952\"\u003eM2.5 standoffs\u003c\/a\u003e (11 mm length), \u003ca href=\"https:\/\/www.pololu.com\/product\/1968\"\u003escrews\u003c\/a\u003e , and \u003ca href=\"https:\/\/www.pololu.com\/product\/1967\"\u003enuts\u003c\/a\u003e that can be used to secure the board to the Raspberry Pi at the proper height for the GPIO connector. If you decide not to use the standoffs, be careful not to allow the motor and power connections to short against the Raspberry Pi's HDMI connector.\u003c\/p\u003e\n\n\u003cp\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/968\"\u003eShorting blocks\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003e0.1″ male headers\u003c\/a\u003e (not included) can be used to make some of the more advanced optional modifications to the board, such as remapping the control pins.\u003c\/p\u003e\n\n\u003cp\u003e A \u003ca href=\"https:\/\/www.pololu.com\/product\/2797\"\u003eRaspberry Pi\u003c\/a\u003e is \u003cstrong\u003enot included\u003c\/strong\u003e .\u003c\/p\u003e\n\n\u003ch2\u003e Using the motor driver board\u003c\/h2\u003e\n\n \u003cp\u003eThis section explains how to use the dual MC33926 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=\"\/en\/file\/0J233\/MC33926.pdf\"\u003eMC33926 datasheet\u003c\/a\u003e (1MB pdf) for detailed pin descriptions, truth tables, and electrical characteristics. This expansion board is essentially a breakout board for two MC33926 motor driver ICs with additional logic circuitry to simplify the motor control, so the datasheet is your best resource for answering questions not covered here.\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\/0J6599.1200.jpg?b96eb9975f7e233790d79b9dc6573773\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id dual mc33926 motor driver on a raspberry pi model data-picture-id=\"0J6599\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6599.450.jpg?b96eb9975f7e233790d79b9dc6573773\"\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\u003eIn the board's default state, the motor driver outputs and the Raspberry Pi are powered separately, though they share a common ground and the board's 3.3 V logic supply is provided by the Raspberry Pi. 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 5 V to 28 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\n\u003cp\u003e A reverse-voltage protection circuit helps prevent damage to the board in case the motor power supply is connected backwards. The reverse-protected input voltage can be accessed for use in other circuits through the two pins labeled VOUT on the left side of the board.\u003c\/p\u003e\n\n \u003cp\u003eThe board includes logic gates that enable drive\/brake operation of the MC33926 drivers with only two control pins per motor (PWM and direction). As drive\/brake operation usually provides a more linear relationship between PWM duty cycle and motor speed than drive\/coast operation, we generally recommend using drive\/brake operation when possible. \u003c\/p\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\/0J6605.1200.jpg?202e4ed0304965e7854c95f1ae2fd2e6\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id motors with a dual motor driver on raspberry pi model b or b. href='\\\"https:\/\/www.pololu.com\/product\/2831\\\"\\u003estep-down' regulator provides to the pi. data-picture-id=\"0J6605\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6605.600.jpg?202e4ed0304965e7854c95f1ae2fd2e6\"\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 Driving motors with a #2756 dual motor driver on a Raspberry Pi Model B+ or Pi 2 Model B. A \u003ca href=\"https:\/\/www.pololu.com\/product\/2831\"\u003estep-down regulator\u003c\/a\u003e provides 5 V to the Raspberry Pi.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Default pin mappings\u003c\/h3\u003e\n\n\u003cp\u003e This table shows how the Raspberry Pi'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 RPi\u003cbr\u003e GPIO 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 5\u003c\/td\u003e\n\n\u003ctd\u003e Motor 1 \u003cspan style=\"text-decoration: overline\"\u003eSF\u003c\/span\u003e\n\n\u003c\/td\u003e\n\n\t\t \u003ctd rowspan=\"2\"\u003eStatus flag output: When the driver is functioning normally, this pin should be pulled high by the Raspberry Pi. In the event of a driver fault, the driver IC drives \u003cspan style=\"text-decoration: overline\"\u003eSF\u003c\/span\u003e low. If either of the disable pins (D1 or \u003cspan style=\"text-decoration: overline\"\u003eD2\u003c\/span\u003e ) is disabling the outputs, \u003cspan style=\"text-decoration: overline\"\u003eSF\u003c\/span\u003e will also be low.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 6\u003c\/td\u003e\n\n\u003ctd\u003e Motor 2 \u003cspan style=\"text-decoration: overline\"\u003eSF\u003c\/span\u003e\n\n\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 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 20 kHz.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 13\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 22\u003c\/td\u003e\n\n\u003ctd\u003e Motor 1 EN\u003c\/td\u003e\n\n\u003ctd rowspan=\"2\"\u003e Enable input: This pin is internally pulled low, putting the motor driver IC into a low-current sleep mode and disabling the motor outputs (setting them to high impedance). EN must be driven high to enable the motor driver.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 23\u003c\/td\u003e \n\u003ctd\u003eMotor 2 EN\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e 24\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 25\u003c\/td\u003e\n\n\u003ctd\u003e Motor 2 DIR\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Simplified motor control truth table\u003c\/h3\u003e\n\n\u003cp\u003e This table shows how the drivers' control inputs affect the motor outputs: \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 EN\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 1\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 1\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 1\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 0\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\u003ch3\u003e Remapping pins\u003c\/h3\u003e\n\n \u003cp\u003eAll of the Raspberry Pi's GPIO pins are broken out along a row of numbered through-holes just below the 40-pin GPIO connector. Each GPIO pin used by the board is connected from this row to the corresponding motor driver pin by a trace on the underside of the board spanning the 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\n\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 450px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J6597.1200.jpg?d012109f07149ea309fc2f2c4c4b6fd9\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id view of the dual mc33926 motor driver for raspberry pi showing cuttable traces. data-picture-id=\"0J6597\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6597.450.jpg?d012109f07149ea309fc2f2c4c4b6fd9\"\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: 450px\"\u003e\u003cp\u003e Bottom view of the dual MC33926 motor driver for Raspberry Pi, showing cuttable traces.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\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 style=\"text-decoration: overline\"\u003eSF\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\n\u003ch3\u003e Using additional MC33926 pins\u003c\/h3\u003e\n\n \u003cp\u003eThe rest of the MC33926 inputs and outputs are not connected to the Raspberry Pi, but they are accessible through their own through-holes in case you want to use them in a more advanced application of the motor drivers. The board ties some of the inputs high or low through cuttable traces, similar to the way the remappable pins are connected, and you should cut the trace before connecting each input to anything else. This table shows the default configuration of the additional pins:\u003c\/p\u003e\n\n\u003ctable class=\"reference\"\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Motor driver pins\u003c\/th\u003e\n\n\u003cth\u003e Description\u003c\/th\u003e\n\n\u003cth\u003e Default configuration on board\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e Q1\u003c\/td\u003e\n\n\u003ctd\u003e Disable input 1(active high)\u003c\/td\u003e\n\n\u003ctd\u003e Tied low (inactive) through cuttable trace\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e \u003cspan style=\"text-decoration: overline\"\u003eD2\u003c\/span\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e Disable input 2 (active low)\u003c\/td\u003e\n\n\u003ctd\u003e Tied high (inactive) through cuttable trace\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e SLEW\u003c\/td\u003e\n\n\u003ctd\u003e Slew rate selection\u003c\/td\u003e\n\n\u003ctd\u003e Tied high to select fast slew rate through cuttable trace\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e INV\u003c\/td\u003e\n\n\u003ctd\u003e Invert input\u003c\/td\u003e\n\n\u003ctd\u003e Internally pulled low (non-inverted)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e FB\u003c\/td\u003e\n\n\u003ctd\u003e Feedback (current sense output)\u003c\/td\u003e\n\n\t\t \u003ctd\u003eConnected to sense resistor and low-pass filter to output approx. 360 mV\/A (only active while H-bridge is driving)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e For more information about these pins and how they can be used, refer to the \u003ca href=\"\/en\/file\/0J233\/MC33926.pdf\"\u003eMC33926 datasheet\u003c\/a\u003e (1MB pdf).\u003c\/p\u003e\n\n\u003ch3\u003e Powering the Raspberry Pi from the motor driver board\u003c\/h3\u003e\n\n \u003cp\u003eOn the left side of the expansion board is a set of three pins surrounded by a box labeled “5V Regulator”. The “VOUT (REG IN)” pin provides access to the driver board's motor supply voltage after reverse-voltage protection, while the “REG OUT” pin is connected to the Raspberry Pi's 5V power rail through an ideal diode circuit. 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. We suggest using our \u003ca href=\"https:\/\/www.pololu.com\/product\/2843\"\u003eD24V5F5\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/product\/2831\"\u003eD24V10F5 switching step-down regulators\u003c\/a\u003e , which work at input voltages up to the 28 V maximum of the MC33926 and can supply up to 500 mA or 1 A of current, respectively, to the Raspberry Pi. \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 450px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J6600.1200.jpg?7212a86d1c989bd261a0dc389ed260c2\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id href='\\\"https:\/\/www.pololu.com\/product\/2831\\\"\\u003eD24V10F5' step-down regulator connected to an assembled pololu dual mc33926 motor driver for raspberry pi. data-picture-id=\"0J6600\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J6600.450.jpg?7212a86d1c989bd261a0dc389ed260c2\"\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: 450px\"\u003e \u003cp\u003e\u003ca href=\"https:\/\/www.pololu.com\/product\/2831\"\u003eD24V10F5 step-down regulator\u003c\/a\u003e connected to an assembled Pololu Dual MC33926 Motor Driver for Raspberry Pi.\u003c\/p\u003e\n\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e When adding a voltage regulator to the motor driver board, take care to orient it correctly: note that the \u003cem\u003emotor driver board's\u003c\/em\u003e “VOUT (REG IN)” pin should connect to the \u003cem\u003eregulator's\u003c\/em\u003e VIN pin, while the \u003cem\u003eregulator's\u003c\/em\u003e VOUT pin should connect to the \u003cem\u003emotor driver board's\u003c\/em\u003e “REG OUT” pin.\u003c\/p\u003e\n\n\u003cp\u003e There are a few considerations to keep in mind when “back-powering” the Raspberry Pi through a voltage regulator in this way:\u003c\/p\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Your motor power supply must be an acceptable voltage for both the regulator and the MC33926 driver ICs.\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003cul\u003e\n\n\t \u003cli\u003eThe regulator should be able to handle the power requirements of the Raspberry Pi. The Model B+ typically uses a few hundred milliamps at 5 V, although its current draw can exceed 1 A if it is also supplying power to USB devices and other peripherals. While a linear regulator like a 7805 might fit in the regulator mounting location, it could generate excessive heat or shut down at higher input voltages and output currents. We recommend using a switching regulator like the ones mentioned above.\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003cp\u003e The ideal diode circuit on this board prevents reverse current from flowing into the motor driver board's 5 V supply if the Raspberry Pi is separately powered (for example, through its USB power receptacle). However, starting with the Raspberry Pi 3 Model B+, there is no corresponding ideal diode circuit on the Raspberry Pi's USB power input, so it is possible for the driver board to backfeed a USB power adapter through the Raspberry Pi. As a result,\u003cins\u003e we do not recommend connecting external USB power \u003c\/ins\u003eto the Raspberry Pi while it is powered through the motor driver.\u003c\/p\u003e\n\n\u003cp\u003e Backfeeding is not an issue with older Raspberry Pi versions, which do have a diode circuit on the USB power input. With Raspberry Pi versions prior to the Pi 3 B+, ​​it is safe to have a different power supply connected to the Raspberry Pi through its USB receptacle while the motor driver add-on and regulator are connected and powered.\u003c\/p\u003e\n\n\u003ch3\u003e Real-world power dissipation considerations\u003c\/h3\u003e\n\n\u003cp\u003e Each MC33926 motor driver IC has a maximum continuous current rating of 5 A. However, the actual current it can deliver depends on how well you can keep it cool. The motor driver board is designed to draw heat out of the motor driver chips, but performance can be improved by adding heat sinks.\u003c\/p\u003e\n\n \u003cp\u003eUnlike many other H-bridges, the MC33926 has a feature that allows it to gracefully reduce current as the current exceeds 5 A or as the chip temperature approaches its limit. This means that if you push the chip close to its limit, you will see less power to the motor, but it might allow you to avoid a complete shutdown.\u003c\/p\u003e\n\n\u003cp\u003e We tested this motor driver board at room temperature with no forced air flow or heat sinks. In our tests, the board was able to deliver 5 A to both channels simultaneously for about 10 s before the thermal protection started reducing the current. The board delivered 4 A on both channels for about 40 s, and at 3 A it was able to operate continuously for over 10 minutes without triggering current limiting or thermal protection.\u003c\/p\u003e\n\n\u003cp\u003e Our tests were conducted at 100% duty cycle; PWMing the motor will introduce additional heating proportional to the frequency.\u003c\/p\u003e\n\n \u003cp class=\"note_warning\"\u003eThis product can get \u003cstrong\u003e\u003cspan style=\"color:red;\"\u003ehot\u003c\/span\u003e\u003c\/strong\u003e enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it.\u003c\/p\u003e\n\n\u003ch3\u003e Schematic diagram\u003c\/h3\u003e\n\n\u003cp\u003e A schematic diagram is available as a PDF: \u003ca href=\"\/en\/file\/0J894\/pololu-dual-mc33926-motor-driver-for-raspberry-pi-schematic.pdf\"\u003ePololu Dual MC33926 Motor Driver for Raspberry Pi schematic diagram\u003c\/a\u003e (211k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696705159513,"sku":"POL-2755","price":95.09,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47886002159961,"sku":"POL-2755\/A","price":95.09,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J6595.1200.jpg?v=1705456615","url":"https:\/\/xernuqvalzi.pro\/en\/products\/2755-pololu-dual-mc33926-motor-driver-for-raspberry-pi-partial-kit","provider":"Robot Italy","version":"1.0","type":"link"}