Datasheet

Check out the specs for the DRV8871:
6.5V to 45V motor power voltage
Up to 5.5V logic level on IN pins
565mΩ Typical RDS(on) (high + low)
3.6A peak current
PWM control
Current limiting/regulation without an inline sense resistor
Undervoltage lockout
Overcurrent protection
Thermal shutdown
Using it is super simple. Connect your motor to the OUT terminal block. Power the board with 6.5-45VDC power on
VMotor and provide the H-bridge input control on IN1 and IN2. You can even PWM the inputs and the driver chip will
do the right thing.
© Adafruit Industries https://learn.adafruit.com/adafruit-drv8871-brushed-dc-motor-driver-breakout Page 4 of 20