A kit to easily create your own...
The Raspberry Pi 3 - even faster than the Pi 2, 1 Giga of RAM, WiFi...
25 Max. per order Raspberry-Pi Pico Microcontoler RP2040 Cortex M0+ @...
Assortment of BreadBoard wires Female-Female 300mm and 75 mm + Long...
75 extra flexible prototyping wires for breadboard
MAX PURCHASE 2 per person during global component back-out period The...
Prototyping and e-learning platform for creating interactive objects or...
D24V5F1 Switching DC-DC regulator, 1.8V 0.5A, Step-Down Output voltage:...
Switching regulator D24V10F3, 3.3V 1000mA, Step-Down
Switching regulator D24V10F9, 9V 1000mA, Step-Down
Switching regulator D24V10F12, 12V 1000mA, Step-Down
D24V5F2 Switching DC-DC regulator, 2.5V 0.5A, Step-Down Output voltage:...
D24V5F3 Switching DC-DC regulator, 3.3V 0.5A, Step-Down Output voltage:...
Battery Holder for 18650 Lithium battery 18650 Lithium Battery (3.6v)...
Digital multimeter - DVM857
Linear potentiometer 10K Linear 0.05W 50 V ac max Model: P120
Panel Mount USB Cable USB C 3.1 Male (plug) USB C 3.1 C Female (panel...
Panel Mountable Stereo RCA 2 poles Red / Black 52 x 20 mm
Battery Pack Pressure contact (clip 9V) 2x AA 3V
For 2 DC motors 5-28 Volts 3A...
Warning: Last items in stock!
This motor driver board is an add-on for the all Raspberry Pi having the 40 pins GPIO that lets you easily control a pair of bidirectional, brushed DC motors. The expansion board uses two Freescale MC33926 motor drivers that operates from 5 to 28 V. The motor drivers can deliver a continuous 3 A per channel (up to 5 A per channel for a few seconds).
Other features like 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 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.
We also have a similar dual MC33926 breakout for Arduinos and Arduino-compatible boards. For a smaller, lower power, and lower cost alternative, consider the DRV8835 Dual Motor Driver for Raspberry Pi.
Robust MC33926 drivers:
For each order, you will receive the board fully populated with its SMD components with a female header and terminal blocks included and soldered on the PCB.
The product also incluces 4 x M2.5 spacers (11mm length) spacers, screws and nuts to maintain the hat on the Raspberry-Pi.
The Raspberry-Pi, motors and power pack is not included!
This 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 MC33296 datasheet (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.
In 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 Powering the Raspberry Pi from the motor driver board section below).
A reverse-voltage protection circuit helps prevent damage to the board in case the motor power supply is connected backward. 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.
The 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.
This table shows how the Raspberry Pi’s GPIO pins are used to interface with the motor drivers:
|RPi GPIO||Motor driver pin||Description|
|5||Motor 1 SF||Status 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 SF low. If either of the disable pins (D1 or D2) is disabling the outputs, SF will also be low.|
|6||Motor 2 SF||see GPIO 5 description|
|12||Motor 1 PWM||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 motor is on. The maximum allowed PWM frequency is 20 kHz.|
|13||Motor 2 PWM||see GPIO 12 description|
|22||Motor 1 EN||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.|
|23||Motor 2 EN||see GPIO 22 description|
|24||Motor 1 EN||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.|
|25||Motor 2 EN||see GPIO 24 description|
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 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.
Note 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 SF, 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 Raspberry Pi documentation for more about the default GPIO states.
On 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 D24V5F5 or D24V10F5 switching step-down regulators, 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.
When adding a voltage regulator to the motor driver board, take care to orient it correctly: note that the motor driver board’s “VOUT (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.
There are a few considerations to keep in mind when “back-powering” the Raspberry Pi through a voltage regulator in this way:
The ideal diode circuit makes it safe to have a different power supply connected to the Raspberry Pi through its USB Micro-B receptacle while the motor driver add-on and regulator are connected and powered.
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.
Unlike 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.
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.
Our tests were conducted at 100% duty cycle; PWMing the motor will introduce additional heating proportional to the frequency.
This product can get hot enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it.