Codey OnlineArduino & ESP32 component library › TB6612FNG Motor Driver
TB6612FNG Motor Driver
Actuators

TB6612FNG Motor Driver

The TB6612FNG is a dual H-bridge motor driver that lets a microcontroller control two DC motors independently. Use PWMA/AIN1/AIN2 for Motor A and PWMB/BIN1/BIN2 for Motor B, while STBY acts as an enable/standby pin. Provide motor power on VM (to the motor output pins such as AO1/AO2 and BO1/BO2) and logic supply on VCC, with common ground connections.

Width: 21.7 mm

Pinout — TB6612FNG Motor Driver

Pin Signal Description
PWMA PWM PWM speed-control input for motor channel A
STBY enable Standby enable input — drive high to enable the driver, low for standby
GND ground Common ground for logic, motor supply, and controller
VCC power Logic supply input for TB6612FNG control side, typically 3.3V or 5V
AIN1 digital Logic direction-control input 1 for motor channel A
AIN2 digital Logic direction-control input 2 for motor channel A
PWMB PWM PWM speed-control input for motor channel B
BIN1 digital Logic direction-control input 1 for motor channel B
BIN2 digital Logic direction-control input 2 for motor channel B
VM power Motor supply input for H-bridges — connect motor voltage, up to about 6V on this module
AO1 power Motor A output terminal 1 from the driver H-bridge
AO2 power Motor A output terminal 2 from the driver H-bridge
BO1 power Motor B output terminal 1 from the driver H-bridge
BO2 power Motor B output terminal 2 from the driver H-bridge
GND.1 ground Common ground connection, tied to the other GND pins
GND.2 ground Common ground connection, tied to the other GND pins

Related components

A4988 Stepper Driver

A4988 Stepper Driver

DRV8825 Driver Board

DRV8825 Driver Board

L298N Motor Driver Board

L298N Motor Driver Board

Left DC Motor

Left DC Motor

Build your Arduino or ESP32 project with AI

Describe what you want to build. Codey Online writes the code, draws the wiring diagram, compiles it and flashes your board straight from the browser.

Start for free