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. This chip handles all the motor and speed controls over I2C. 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. Raspberry Pi and motors are not included.
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. Let your robotic dreams come true with the new DC+Stepper Motor HAT from Adafruit.