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.
+
+
[[Fichier:Rasp-Hat-Moteur-02.jpg|640px]]
+
+
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 GPIO 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.
+
+
In fact, '''you can even stack multiple Motor HATs''', up to 32 of them, for controlling up to 64 stepper motors or 128 DC motors - just remember to purchase and solder in a stacking header instead of the one we include.
+
+
{{ambox|text=If connecting the Hat off-the Pi via jumpers, you will need to connect GND and 3.3v in addition to SDA and SCL.}}
+
+
{{ADFImage|Rasp-Hat-Moteur-03.jpg|640px}}
+
+
Motors are controlled TB6612 MOSFET driver: '''with 1.2A per channel current capability''' (20ms long bursts of 3A peak), a big improvement over L293D drivers and there are built-in flyback diodes as well.