Hat contrôle Moteur et Moteur pas-à-pas
chevron_left chevron_right

Motor Hat for Raspberry-Pi (DC motor and stepper)

HAT control driver continuous motor and stepper motor

€26.14 (tax incl.) €21.60 (tax excl.)
Tax included
block Out-of-Stock
Secure payments
Payments are secured by LyraCollect, a French payment collection company.
Multiple delivery solutions
It is possible to delivered to your home, to a pick-up point or picked up by appointment at MCHobby
Parcels packed with care and efficiency
We prepare, pack and ship your orders with great respect and care.

Control motors from your Raspberry Pi with the Motor Hat

Make your robotic projects come true with this new HAT produced by Adafruit.
A great extra for continuous motor (DC) and stepper motor, perfect for any animated or mobile project.
With this card, you can control up to 4 continuous motors or two stepper motors with PWM speed control.

The Raspberry Pi and the motors are not included.

Given that the Raspberry-Pi does not have many PWM pins, Adafruit decided to place a PWM controller on the card to control the direction and speed of the motors. This chip is capable of controlling all motors via I2C. Only two pins (SDA and SCL) are needed... even to drive multiple motors. And since the I2C bus also allows other I2C or HAT devices to be connected to the same pins on the I2C bus.

In fact, it is possible to stack several HAT motors (theoretically up to 32 cards) to control up to 64 steppers motors or 128 continuous motors (or a combination of both). Remember to purchase 40-pin stacking header to replace the connector provided with the product.

The motors are driven using the TB6612 MOSFETs supporting 1.2A per channel with current peaks at 3A. This is a great improvement over an  L293D H-Bridge and there are also anti fly-back diodes (coasting).

Adafruit also had the good idea to add a protective FET on the power pins (protection against accidental reverse polarization) and since there is a little space available, it has been converted into a prototyping aera. 

Like all Adafruit products, the HAT is delivered assembled and tested. You will still have to weld the 40-pin connector sold with the product (or a stacking header that you can buy here) and terminal blocks. It is an easy operation that should not take more than 15 minutes.

Some key specifications: 

  • 4 H-Bridge: chipset TB6612 providing 1.2A per bridge (3A peak) with thermal protection (extinction), anti fly-back diodes (so-called "coasting"). Capable of running continuous motors from 4.5V to 13.5V.
  • Up to 4 continuous motors with bi-directional control and individually assignable speed (8-bit speed, value from 0 to 255, ie a resolution of approximately 0.5%)
  • Up to 2 stepper motors (unipolar or bipolar) with simple coiling, double coiling, interleaved or micro-stepping.
  • Terminal blocks for easy connection of wires from 0.8 to 0.1 mm² (18 to 26 AWG) and power supply. 
  • 2 Poles terminal block protected against reverse polarization and jumper for connecting an external power supply of 5 to 12 volts DC.
  • Works with Raspberry Pi-2, B+, A+ but can also be used with a Raspberry Pi A or B (you need a 2x13 poles connector).
  • Install the Python library easy to use, take a look at the examples and you are ready to start!

HAT delivered assembled and tested, with terminal block and 2x20 connector. Some welding operations are required to place the included 2x20 connector (or a Stacking Header not included).

The Raspberry-Pi, motors, battery pack are not included... but we have many motors and steppers motors in our range "motors & robotics". See the tutorial section for more information on.

Technical details

  • Dimensions: 65 x 56 x 13mm


Raspberry Compatibility
Zero / Zero W, Pi 3A, Pi 3B+, Pi 4, Pi 400, Pi 5, Zero 2 W
Interface : Connector