TB6612FNG Motor Driver
Dual motor driver IC/carrier family for suitable brushed motors.
What is the TB6612FNG Motor Driver and what is it used for?
Dual motor driver IC/carrier family for suitable brushed motors. Makers use it for practice independent logic and motor power.
Battery-powered robotics
Motor drivers handle inductive loads under specified electrical and thermal limits; motor stall current matters.
Key specifications
| Interface module spec | Value |
|---|---|
| Function | Dual MOSFET H-bridge motor driver |
| Supply voltage | Motor 4.5 to 13.5 V (VM); logic 2.7 to 5.5 V (VCC) |
| Interface | PWMA/PWMB speed, AIN1/AIN2 and BIN1/BIN2 direction, STBY |
| Rating | 1.2 A per channel continuous, 3.2 A peak |
| Logic level | 3.3 V or 5 V |
Pinout
How to use it
Works with 3.3 V boards and wastes far less power than the L298N. Remember STBY: if it is low, nothing moves.
const int PWMA = 5, AIN1 = 7, AIN2 = 8, STBY = 6;
void setup() { for (int p : {PWMA, AIN1, AIN2, STBY}) pinMode(p, OUTPUT); digitalWrite(STBY, HIGH); }
void loop() { digitalWrite(AIN1, HIGH); digitalWrite(AIN2, LOW); analogWrite(PWMA, 200); delay(2000); analogWrite(PWMA, 0); delay(1000); }Applications
Builds that use it
DC motor speed and direction
Obstacle-avoiding robot
Two-wheel self-balancing robot
Wall-following robot with ToF
Roaming pet toy robot
Sumo robot with front ToF array
Fast PID line follower with 8 sensors
Mini sumo robot
Alternatives
- L298N Dual H-Bridge ModuleHigher voltage, bigger, less efficient
Common questions
What is the TB6612FNG Motor Driver used for?
In products: battery-powered robotics. In maker projects: practice independent logic and motor power.
How does the TB6612FNG Motor Driver work?
Motor drivers handle inductive loads under specified electrical and thermal limits; motor stall current matters.
What voltage does the TB6612FNG Motor Driver need?
Motor 4.5 to 13.5 V (VM); logic 2.7 to 5.5 V (VCC).
How do I connect the TB6612FNG Motor Driver to an Arduino or ESP32?
PWMA/PWMB speed, AIN1/AIN2 and BIN1/BIN2 direction, STBY. Pins: VM (Motor supply), VCC (Logic supply), GND (Ground), STBY (Pull HIGH to enable), PWMA / AIN1 / AIN2 (Motor A speed and direction), PWMB / BIN1 / BIN2 (Motor B).
What can I use instead of the TB6612FNG Motor Driver?
L298N Dual H-Bridge Module.
