The TB6612FNG is a dual motor driver IC from Toshiba. There are plenty of breakout boards out there for it and it’s one of the most popular choices to drive small motors.
There are plenty of of online resources on getting started witht he TB6612FNG but I decided to write this anyway to better compile what I came across.
I’ll be focusing on the control logic and also explain the Sparkfun TB6612FNG motor driver library in detail in this instructable.”

Link