Pololu 2761 Dual TB9051FTG Motor Driver for Raspberry Pi
This 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 Pi 4 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.
The 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.
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 not 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.