Motor Driver for Raspberry Pi – Dual G2 High-Power 18V18 – Pololu 3750
This G2 dual high-power motor driver is an add-on board for the Raspberry Pi, featuring a pair of discrete MOSFET H-bridges designed to drive two large brushed DC motors. It has been designed to mount on and plugs into compatible Raspberry Pi boards (Model B+ or newer), including the Pi 4. Four versions are available so you can pick the one with the appropriate operating voltage range and output current capabilities for your project:
The minimum operating voltage for all four versions is 6.5 V, while the maximum operating voltages are given in the above table. The board also includes an integrated 5 V, 2.5 A switching step-down regulator that can be used to power the Raspberry Pi it is plugged into, enabling operation from a single power supply.
- PWM operation up to 100 kHz
- Motor indicator LEDs show what the outputs are doing even when no motor is connected
- Integrated 5 V, 2.5 A switching step-down voltage regulator powers the Raspberry Pi base for single-supply operation
- Python library makes it easy to get started using this board as a motor driver expansion board
- GPIO pin mappings can be customized if the default mappings are not convenient
- Current sensing and limiting pins are exposed for advanced use
- Reverse-voltage protection
- Undervoltage shutdown
- Short circuit protection
- Operating Voltage: 6.5V to 30V
- Absolute Max. Input Voltage: 30V
- Max. Nominal Battery Voltage: 18V
- Max. Continuous Current Per Channel: 18A
- Default active current-limiting threshold: 50A
The driver’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 pins for current sensing and limiting 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.