{"product_id":"2762-dual-tb9051ftg-motor-driver-for-raspberry-pi-assembled","title":"Dual TB9051FTG Motor Driver for Raspberry Pi (Assembled)","description":"\u003cp\u003e This add-on board enables a Raspberry Pi B+, Pi A+, Pi 2 or Pi 3 to drive a pair of brushed DC motors. Its dual TB9051FTG motor drivers operate from 4.5 V to 28 V and can deliver a continuous 2.6 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 \u003cstrong\u003efully assembled\u003c\/strong\u003e with connectors soldered in.\u003c\/p\u003e\n\n\u003cbr\u003e\u003ch2\u003e Overview\u003c\/h2\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n \u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8895.1200.jpg?92f24cce730e02914970117650be54b8\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id tb9051ftg motor driver for raspberry pi. data-picture-id=\"0J8895\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8895.300.jpg?92f24cce730e02914970117650be54b8\"\u003e\u003c\/a\u003e\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 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 uses a pair of Toshiba TB9051FTG motor drivers, which operate from 4.5 to 28 V and can deliver a continuous 2.6 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. It is available either as a \u003ca href=\"https:\/\/www.pololu.com\/product\/2761\"\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\/2762\"\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 TB9051FTG 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\/0J8898.1200.jpg?706f485a6f04d0bed32bfedd6ffdba98\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id tb9051ftg motor driver on a raspberry pi. data-picture-id=\"0J8898\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8898.450.jpg?706f485a6f04d0bed32bfedd6ffdba98\"\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\u003eFor controlling higher-power motors with a Raspberry Pi, consider our \u003ca href=\"https:\/\/www.pololu.com\/category\/219\/pololu-dual-g2-high-power-motor-drivers-for-raspberry-pi\"\u003eDual G2 High-Power Motor Driver expansion boards\u003c\/a\u003e , and for controlling lower-power motors with a smaller board, consider our \u003ca href=\"https:\/\/www.pololu.com\/product\/2753\"\u003eDRV8835 dual motor driver\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/product\/3758\"\u003eMAX14870 dual motor driver\u003c\/a\u003e kits. We also have a similar \u003ca href=\"https:\/\/www.pololu.com\/product\/2520\"\u003edual TB9051FTG 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 basic \u003ca href=\"https:\/\/www.pololu.com\/product\/2997\"\u003esingle TB9051 carrier\u003c\/a\u003e for those using a different controller or with tighter space constraints.\u003c\/p\u003e\n\n\u003ch2\u003e Features\u003c\/h2\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Dual-channel H-bridge motor driver in the form factor of a Raspberry Pi expansion board\u003c\/li\u003e\n\n\u003cli\u003e Wide operating voltage range: 4.5 V to 28 V\u003c\/li\u003e\n\n\t \u003cli\u003eOutput current: 2.6 A continuous (5 A peak) per motor\u003c\/li\u003e\n\n\u003cli\u003e Automatic current chopping feature helps prevent overheating by gracefully reducing power rather than abruptly shutting down\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\u003cli\u003e Board can optionally power the Raspberry Pi base through added regulator like the \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 (not included)\u003c\/li\u003e\n\n\u003cli\u003e\n\n \u003ca href=\"https:\/\/github.com\/pololu\/dual-tb9051ftg-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 Exposed solderable ground pads below the driver ICs on the bottom of the PCB\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\t\t \u003cli\u003eTransient operation (\u0026lt; 500 ms) up to 40 V\u003c\/li\u003e\n\n\u003cli\u003e Under-voltage lockout and protection against over-current\/short-circuit and over-temperature\u003c\/li\u003e\n\n\u003cli\u003e Active-low error output indicates over-current, over-temperature, under-voltage, or VCC over-voltage condition\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 #2762\n\n\u003c\/h2\u003e\n\n\u003cp\u003e This version of the motor driver is \u003cstrong\u003efully assembled\u003c\/strong\u003e , with a \u003ca href=\"https:\/\/www.pololu.com\/product\/1037\"\u003e2×20-pin 0.1″ female header\u003c\/a\u003e (for connecting to the Raspberry Pi's 40-pin GPIO header) and a six-pin strip of \u003ca href=\"https:\/\/www.pololu.com\/product\/2440\"\u003e5 mm terminal blocks\u003c\/a\u003e (for motor and power connections) soldered in. (See \u003ca href=\"https:\/\/www.pololu.com\/product\/2761\"\u003eitem #2761\u003c\/a\u003e for a kit version with connectors included but not soldered in.)\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center wide\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8900.1200.jpg?96df38d20b985eb6a127a44f7e31c5c7\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id tb9051ftg motor driver for raspberry pi version with included hardware. data-picture-id=\"0J8900\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8900.600.jpg?96df38d20b985eb6a127a44f7e31c5c7\"\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 TB9051FTG 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\/0J1663\/TB9051FTG_datasheet_en_20190206.pdf\"\u003eTB9051FTG datasheet\u003c\/a\u003e (2MB pdf) for detailed pin descriptions, truth tables, and electrical characteristics. This expansion board is essentially a breakout board for two TB9051FTG 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\/0J8899.1200.jpg?d564bb111d701e72bde68444dec9c69a\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id tb9051ftg motor driver on a raspberry pi. data-picture-id=\"0J8899\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8899.450.jpg?d564bb111d701e72bde68444dec9c69a\"\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. The board's 3.3 V and 5 V logic supplies are 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 4.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 VM 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 TB9051FTG 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\/0J8897.1200.jpg?8c0550afe906a2886d9df9adc810d40c\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id tb9051ftg motor driver for raspberry pi controlling a pair of motors. data-picture-id=\"0J8897\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8897.600.jpg?8c0550afe906a2886d9df9adc810d40c\"\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 Dual TB9051FTG Motor Driver for Raspberry Pi controlling a pair of motors.\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 DIAG\u003c\/td\u003e\n\n\u003ctd rowspan=\"2\"\u003e Diagnostic error 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 DIAG low. If either of the disable pins (EN or ENB) is disabling the outputs, DIAG 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 DIAG\u003c\/td\u003e\n\n\n\u003c\/tr\u003e \n\u003ctr\u003e\n\n\u003ctd style=\"text-align:center;\"\u003e12\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: The Raspberry Pi pulls this pin low by default, disabling the motor outputs by 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\n\u003ctd\u003e Motor 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\t\t \u003ctd\u003ebrake 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\u003e All 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 topside 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: 500px\"\u003e\u003cimg alt=\"\" class=\"\" data-gallery-pictures=\"[{\" id tb9051ftg motor driver for raspberry pi remapping example: moving m2dir from gpio pin to data-picture-id=\"0J8905\" data-picture-longest_side=\"599\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8905.500.jpg?f83349efa6e6be3e324281354cbdad8f\"\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: 500px\"\u003e\u003cp\u003e Dual TB9051FTG Motor Driver for Raspberry Pi remapping example: moving M2DIR from GPIO pin 25 to pin 27.\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 DIAG, 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 TB9051FTG pins\u003c\/h3\u003e\n\n\u003cp\u003e The rest of the TB9051FTG 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\t\t \u003cth\u003eDefault configuration on board\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e ENB\u003c\/td\u003e\n\n\u003ctd\u003e Inverted enable input\u003c\/td\u003e\n\n\u003ctd\u003e Tied low (enabled) through cuttable trace\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e OCC\u003c\/td\u003e\n\n\u003ctd\u003e Over-current response configuration input\u003c\/td\u003e\n\n\u003ctd\u003e Internally pulled low (driver remains disabled after over-current condition)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e CMO\u003c\/td\u003e\n\n\u003ctd\u003e Current monitor output\u003c\/td\u003e\n\n\u003ctd\u003e Connected to sense resistor and low-pass filter to output approx. 500 mV\/A (only active while H-bridge is driving) through an on-board RC filter\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\/0J1663\/TB9051FTG_datasheet_en_20190206.pdf\"\u003eTB9051FTG datasheet\u003c\/a\u003e (2MB 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 “VM (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.\u003c\/p\u003e\n\n\u003cp\u003e We 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 , which work at input voltages exceeding the 28 V maximum of the TB9051FTG (see below for details on which to choose), and can supply up to 500 mA or 1 A of current, respectively, to the Raspberry Pi.\u003c\/p\u003e\n\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 (REG IN)” pin should connect to the regulator's VIN pin, while the regulator's VOUT pin should connect to the motor driver board's 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 TB9051FTG 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\u003cp\u003e The \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\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\/0J8906.1200.jpg?8158ff5ff1593bd4d0c3ba78fd83a914\" 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 tb9051ftg motor driver for raspberry pi permanent connection data-picture-id=\"0J8906\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8906.300.jpg?8158ff5ff1593bd4d0c3ba78fd83a914\"\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\/0J8902.1200.jpg?6deec84001671509ab1051fa47445450\" 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 tb9051ftg motor driver for raspberry pi permanent connection data-picture-id=\"0J8902\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8902.400.jpg?6deec84001671509ab1051fa47445450\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\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 or 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\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8903.1200.jpg?f1f62796e3363cca5b09fed9739fdccb\" 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 tb9051ftg motor driver for raspberry pi connection data-picture-id=\"0J8903\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8903.400.jpg?f1f62796e3363cca5b09fed9739fdccb\"\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 \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\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8904.1200.jpg?97f147ed151cd1517d5192de3c2da9c2\" 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 tb9051ftg motor driver for raspberry pi connection data-picture-id=\"0J8904\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8904.400.jpg?97f147ed151cd1517d5192de3c2da9c2\"\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 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\n\u003ch3\u003e Real-world power dissipation considerations\u003c\/h3\u003e\n\n\u003cp\u003e The TB9051FTG will start chopping its output current at a typical threshold of 6.5 A. However, the chip by itself will typically overheat at lower currents. In our tests, we found that the chip was able to deliver 5 A for only a few seconds before the chip's thermal protection kicked in; a continuous current of about 2.6 A per channel was sustainable for many minutes without triggering thermal current limiting or an over-temperature shutdown. The 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\n \u003cp\u003eUnlike typical H-bridges, the TB9051FTG has a feature that allows it to gracefully reduce the maximum current limit when 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 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 diagram\u003c\/h3\u003e\n\n\u003ctable class=\"picture_with_caption center wide\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J8908.1200.jpg?40a533a2546e27f0fa3b9ded5656275b\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id diagram of the dual tb9051ftg motor driver for raspberry pi. data-picture-id=\"0J8908\" data-picture-longest_side=\"1600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J8908.1600.png?40a533a2546e27f0fa3b9ded5656275b\"\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 This diagram is also available as a downloadable pdf: \u003ca href=\"\/en\/file\/0J1545\/dual-tb9051ftg-motor-driver-for-raspberry-pi-schematic.pdf\"\u003e\u003cstrong\u003eDual TB9051FTG Motor Driver for Raspberry Pi schematic\u003c\/strong\u003e\u003c\/a\u003e (269k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696705192281,"sku":"POL-2762","price":51.17,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47886002094425,"sku":"POL-2762\/A","price":51.17,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J8900.1200.jpg?v=1705456616","url":"https:\/\/xernuqvalzi.pro\/en\/products\/2762-dual-tb9051ftg-motor-driver-for-raspberry-pi-assembled","provider":"Robot Italy","version":"1.0","type":"link"}