

The TB6612FNG is a dual H-bridge motor driver IC designed to control two DC motors or one stepper motor. It supports PWM (Pulse Width Modulation) for precise speed control and direction management. With built-in thermal shutdown protection, overcurrent protection, and low standby current, the TB6612FNG is a reliable choice for robotics, automation, and other motor control applications.








| Parameter | Value |
|---|---|
| Operating Voltage (Vcc) | 2.7V to 5.5V |
| Motor Voltage (VM) | 4.5V to 13.5V |
| Output Current (per channel) | 1.2A (continuous), 3.2A (peak) |
| Control Interface | PWM and digital signals |
| Standby Current | 1 µA (typical) |
| Built-in Protections | Thermal shutdown, overcurrent |
| Operating Temperature Range | -20°C to +85°C |
The TB6612FNG comes in a 16-pin package. Below is the pinout and description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | PWMA | PWM input for Motor A |
| 2 | AIN1 | Input 1 for Motor A (direction control) |
| 3 | AIN2 | Input 2 for Motor A (direction control) |
| 4 | STBY | Standby control (active HIGH to enable the IC) |
| 5 | Vcc | Logic power supply (2.7V to 5.5V) |
| 6 | AO1 | Output 1 for Motor A |
| 7 | AO2 | Output 2 for Motor A |
| 8 | VM | Motor power supply (4.5V to 13.5V) |
| 9 | BO2 | Output 2 for Motor B |
| 10 | BO1 | Output 1 for Motor B |
| 11 | GND | Ground |
| 12 | Vcc | Logic power supply (connected internally to Pin 5) |
| 13 | BIN2 | Input 2 for Motor B (direction control) |
| 14 | BIN1 | Input 1 for Motor B (direction control) |
| 15 | PWMB | PWM input for Motor B |
| 16 | NC | No connection |
Power Connections:
Vcc to a 3.3V or 5V logic power supply.VM to the motor power supply (4.5V to 13.5V).GND to the ground of the power supply.Motor Connections:
AO1 and AO2 for Motor A, and BO1 and BO2 for Motor B.Control Signals:
AIN1 and AIN2 to control the direction of Motor A, and BIN1 and BIN2 for Motor B.PWMA and PWMB to control the speed of Motor A and Motor B, respectively.STBY HIGH to enable the IC. Pull it LOW to put the IC in standby mode.Direction Control:
AIN1 HIGH and AIN2 LOW to rotate Motor A in one direction.AIN1 LOW and AIN2 HIGH to rotate Motor A in the opposite direction.BIN1 and BIN2 for Motor B.PWM Speed Control:
PWMA or PWMB to control the speed of the motors.Below is an example code to control two DC motors using the TB6612FNG and an Arduino UNO:
// Pin definitions for Motor A
const int AIN1 = 7; // Direction control pin 1 for Motor A
const int AIN2 = 8; // Direction control pin 2 for Motor A
const int PWMA = 9; // PWM speed control pin for Motor A
// Pin definitions for Motor B
const int BIN1 = 4; // Direction control pin 1 for Motor B
const int BIN2 = 5; // Direction control pin 2 for Motor B
const int PWMB = 6; // PWM speed control pin for Motor B
// Standby pin
const int STBY = 10; // Standby control pin
void setup() {
// Set all pins as outputs
pinMode(AIN1, OUTPUT);
pinMode(AIN2, OUTPUT);
pinMode(PWMA, OUTPUT);
pinMode(BIN1, OUTPUT);
pinMode(BIN2, OUTPUT);
pinMode(PWMB, OUTPUT);
pinMode(STBY, OUTPUT);
// Enable the motor driver by setting STBY HIGH
digitalWrite(STBY, HIGH);
}
void loop() {
// Example: Rotate Motor A forward at 50% speed
digitalWrite(AIN1, HIGH);
digitalWrite(AIN2, LOW);
analogWrite(PWMA, 128); // 50% duty cycle (128 out of 255)
// Example: Rotate Motor B backward at 75% speed
digitalWrite(BIN1, LOW);
digitalWrite(BIN2, HIGH);
analogWrite(PWMB, 192); // 75% duty cycle (192 out of 255)
delay(2000); // Run motors for 2 seconds
// Stop both motors
analogWrite(PWMA, 0);
analogWrite(PWMB, 0);
delay(2000); // Wait for 2 seconds before repeating
}
VM) matches the motor's rated voltage.VM and GND to reduce noise.Motors Not Running:
STBY is set HIGH to enable the IC.Vcc and VM.Motor Running in the Wrong Direction:
AIN1 and AIN2 (or BIN1 and BIN2) to reverse the direction.Overheating:
No Response to PWM Signals:
PWMA and PWMB pins.Q: Can the TB6612FNG drive stepper motors?
A: Yes, the TB6612FNG can drive a bipolar stepper motor by controlling the two H-bridges with appropriate step sequences.
Q: What happens if the IC overheats?
A: The TB6612FNG has built-in thermal shutdown protection. It will automatically disable the outputs if the temperature exceeds safe limits.
Q: Can I use the TB6612FNG with a 3.3V microcontroller?
A: Yes, the TB6612FNG supports logic levels as low as 2.7V, making it compatible with 3.3V microcontrollers.