Adafruit DC & Stepper Motor HAT for Raspberry Pi - Mini Kit
Product Images and Video
Let your robotic dreams come true with the new DC+Stepper Motor HAT from Adafruit. This Raspberry Pi add-on is perfect for any motion project as it can drive up to 4 DC or 2 Stepper motors with full PWM speed control.
Raspberry Pi and motors are not included. Works with any and all Raspberry Pi computers with 2x20 connection port.
Since the Raspberry Pi does not have a lot of PWM pins, we use a fully-dedicated PWM driver chip onboard to both control motor direction and speed. This chip handles all the motor and speed controls over I2C. Only two pins (SDA & SCL) are required to drive the multiple motors, and since it's I2C you can also connect any other I2C devices or HATs to the same pins.
If you need more than one HAT connected at once, check out this HAT stacker that will let you connect two HATs side to side
Motors are controlled by TB6612 MOSFET drivers with 1.2A per channel current capability (you can draw up to 3A peak for approx 20ms at a time), a big improvement over L293D drivers and there are built-in flyback diodes as well.
We even had a little space so we added a polarity protection FET on the power pins and a bit of prototyping area. And the HAT is assembled and tested here at Adafruit with the 2x20 connector and terminal blocks already soldered on so this is a plug-and-play, no soldering required motor control kit!
Lets check out these specs again:
- 4 H-Bridges: TB6612 chipset provides 1.2A per bridge with thermal shutdown protection, internal kickback protection diodes. Can run motors on 4.5VDC to 13.5VDC.
- Up to 4 bi-directional DC motors with individual 8-bit speed selection (so, about 0.5% resolution)
- Up to 2 stepper motors (unipolar or bipolar) with single coil, double coil, interleaved or micro-stepping.
- Big terminal block connectors to easily hook up wires (18-26AWG) and power
- Polarity-protected 2-pin terminal block and jumper to connect external 5-12VDC power
- Works best with Raspberry Pi's with 2x20 connectors: A+, B+, Pi 2, Pi 3 Pi 4, Pi 5, Pi Zero, etc....but can be used with first-generation model A or B if you purchase a 2x13 extra-tall header and solder that instead of the 2x20
- Install the easy-to-use Python library, check out the examples and you're ready to go!
Comes with an assembled & tested HAT, with terminal blocks already soldered on, and 2x20 lifter header so it will clear the ports on a Raspberry Pi computer. No soldering required!
Raspberry Pi, motors, and battery pack are not included, but we have lots of motors in the shop, and all our DC motors and stepper motors work great. Check out our detailed tutorial for tons of info including schematics, wiring diagrams, python libraries, and example walkthroughs.
Note: The terminal blocks included with your product may vary in color
- As of Sep 27, 2023 – we've updated this PCB with Adafruit Pinguin to make a lovely and legible silkscreen and it now comes fully assembled with all terminal blocks already attached. A riser header is included so it can clear the height of the bigger Pi computers.
Note this version has solder in the 2x20 connector so it cannot be stacked - we'll try to fix for next revision!
- Dimensions w/ components: 65mm x 56mm x 13mm / 2.6" x 2.2" x 0.5"
- Datasheets, schematic, PCB files, and Fritzing available in the product tutorial
The Pi HutUnited Kingdom
NTREX, Inc.- DevicemartSouth Korea
Little Bird ElectronicsAustralia
VCTEC KOREASouth Korea
Existential Technologies, Inc.United States
BOTLAND B. DERKACZ SP.K.Poland
BOTLAND B. DERKACZ SP.K.Czech Republic
BOTLAND B. DERKACZ SP.K.Germany
Digi-Key ElectronicsUnited States
Mouser ElectronicsUnited States
3DMakerWorld, Inc.United States
See our Distributors page for a complete list of distributors.