TB6612FNG Hookup Guide

Pages
Contributors: M-Short
Favorited Favorite 10

Board Overview

Let's discuss the pinout for the TB6612FNG breakout. We basically have three types of pins: power, input, and output, and they are all labeled on the back of the board.

Image of the back of the board

Back of the board

Each pin and its function is covered in the table below.

Pin LabelFunctionPower/Input/Output
Notes
VMMotor VoltagePowerThis is where you provide power for the motors (2.2V to 13.5V)
VCCLogic VoltagePowerThis is the voltage to power the chip and talk to the microcontroller (2.7V to 5.5V)
GNDGroundPowerCommon Ground for both motor voltage and logic voltage (all GND pins are connected)
STBYStandbyInputAllows the H-bridges to work when high (has a pulldown resistor so it must actively pulled high)
AIN1/BIN1Input 1 for channels A/BInputOne of the two inputs that determines the direction.
AIN2/BIN2Input 2 for channels A/BInputOne of the two inputs that determines the direction.
PWMA/PWMBPWM input for channels A/BInputPWM input that controls the speed
A01/B01Output 1 for channels A/BOutputOne of the two outputs to connect the motor
A02/B02Output 2 for channels A/BOutputOne of the two outputs to connect the motor

Now, for a quick overview of how to control each of the channels. If you are using an Arduino, don't worry about this too much as the library takes care of all of this for you. If you are using a different control platform, pay attention. When the outputs are set to High/Low your motor will run. When they are set to Low/High the motor will run in the opposite direction. In both cases, the speed is controlled by the PWM input.

In1In2PWMOut1Out2Mode
HHH/LLLShort brake
LHHLHCCW
LHLLLShort brake
HLHHLCW
HLLLLShort brake
LLHOFFOFFStop
Don't forget STBY must be high for the motors to drive.