Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use ponte h TB6612FNG: Examples, Pinouts, and Specs

Image of ponte h TB6612FNG
Cirkit Designer LogoDesign with ponte h TB6612FNG in Cirkit Designer

Introduction

The TB6612FNG is a dual H-bridge motor driver integrated circuit (IC) designed for controlling two DC motors or one stepper motor. It is widely used in robotics, automation, and other motor control applications due to its compact size, high efficiency, and ease of use. The IC supports motor voltage ranges from 2.5V to 13.5V and features PWM (Pulse Width Modulation) control for precise speed regulation. Additionally, it includes built-in thermal shutdown and overcurrent protection, making it a reliable choice for motor control projects.

Explore Projects Built with ponte h TB6612FNG

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Nano Controlled Robot with Ultrasonic Sensor and Dual Motor Drivers
Image of SENTINELS CIRCUIT : A project utilizing ponte h TB6612FNG in a practical application
This circuit features an Arduino Nano microcontroller interfaced with a TB6612FNG motor driver to control two DC Mini Metal Gear Motors. It also includes an HC-SR04 Ultrasonic Sensor for distance measurement, a 5 channel IR sensor for line tracking, and a Servomotor SG90 for positioning tasks. The system is powered by a 12V battery, with the Arduino Nano managing sensor inputs and motor outputs to perform tasks such as navigation or automation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Dual Motor Driver with IR Sensing
Image of Line follower 14 IR Sensor channel: A project utilizing ponte h TB6612FNG in a practical application
This circuit controls two DC motors using a TB6612FNG motor driver, which is interfaced with an Arduino Mega 2560 microcontroller. The Arduino provides PWM signals to control the speed and direction of the motors. Multiple IR sensors are connected to the Arduino's analog inputs, likely for sensing the environment or for line-following capabilities in a robot.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Line Following Robot with H-Bridge Motor Driver and IR Sensors
Image of seguidor de linea: A project utilizing ponte h TB6612FNG in a practical application
This circuit is designed to control two DC motors using an H-bridge (ponte h) connected to an Arduino UNO microcontroller. The Arduino receives input from two TCRT 5000 IR sensors to determine the path and controls the motors to move forward, backward, or turn left/right based on the sensor readings. The motors are powered by a 2x 18650 battery pack, and the entire system is intended for applications such as line following robots or automated guided vehicles.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Motor Control System with Pushbutton Interface
Image of LFR CKT: A project utilizing ponte h TB6612FNG in a practical application
This circuit uses an Arduino Nano to control a TB6612FNG motor driver, which in turn controls two motors. The circuit also includes two pushbuttons for user input, allowing the Arduino to receive commands and control the motor driver accordingly.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ponte h TB6612FNG

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of SENTINELS CIRCUIT : A project utilizing ponte h TB6612FNG in a practical application
Arduino Nano Controlled Robot with Ultrasonic Sensor and Dual Motor Drivers
This circuit features an Arduino Nano microcontroller interfaced with a TB6612FNG motor driver to control two DC Mini Metal Gear Motors. It also includes an HC-SR04 Ultrasonic Sensor for distance measurement, a 5 channel IR sensor for line tracking, and a Servomotor SG90 for positioning tasks. The system is powered by a 12V battery, with the Arduino Nano managing sensor inputs and motor outputs to perform tasks such as navigation or automation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Line follower 14 IR Sensor channel: A project utilizing ponte h TB6612FNG in a practical application
Arduino-Controlled Dual Motor Driver with IR Sensing
This circuit controls two DC motors using a TB6612FNG motor driver, which is interfaced with an Arduino Mega 2560 microcontroller. The Arduino provides PWM signals to control the speed and direction of the motors. Multiple IR sensors are connected to the Arduino's analog inputs, likely for sensing the environment or for line-following capabilities in a robot.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of seguidor de linea: A project utilizing ponte h TB6612FNG in a practical application
Arduino-Controlled Line Following Robot with H-Bridge Motor Driver and IR Sensors
This circuit is designed to control two DC motors using an H-bridge (ponte h) connected to an Arduino UNO microcontroller. The Arduino receives input from two TCRT 5000 IR sensors to determine the path and controls the motors to move forward, backward, or turn left/right based on the sensor readings. The motors are powered by a 2x 18650 battery pack, and the entire system is intended for applications such as line following robots or automated guided vehicles.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of LFR CKT: A project utilizing ponte h TB6612FNG in a practical application
Arduino Nano Motor Control System with Pushbutton Interface
This circuit uses an Arduino Nano to control a TB6612FNG motor driver, which in turn controls two motors. The circuit also includes two pushbuttons for user input, allowing the Arduino to receive commands and control the motor driver accordingly.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Robotics (e.g., controlling wheels or arms)
  • Automated systems (e.g., conveyor belts, robotic arms)
  • DIY projects involving DC or stepper motors
  • Educational kits for learning motor control
  • Small-scale industrial motor control systems

Technical Specifications

Key Technical Details

  • Motor Voltage Range: 2.5V to 13.5V
  • Logic Voltage Range: 2.7V to 5.5V
  • Output Current (Continuous): 1.2A per channel
  • Output Current (Peak): 3.2A per channel
  • Control Method: PWM (up to 100 kHz)
  • Built-in Protections: Thermal shutdown, overcurrent protection, and low-voltage detection
  • Operating Temperature Range: -20°C to 85°C
  • Package Type: SSOP24 (compact surface-mount package)

Pin Configuration and Descriptions

The TB6612FNG has 24 pins, but only a subset is typically used for motor control. Below is the pin configuration:

Pin Number Pin Name Description
1 AIN1 Input signal for Motor A (controls direction)
2 AIN2 Input signal for Motor A (controls direction)
3 PWMA PWM input for Motor A (controls speed)
4 A01 Output 1 for Motor A
5 A02 Output 2 for Motor A
6 VM Motor power supply (2.5V to 13.5V)
7 GND Ground connection
8 VCC Logic power supply (2.7V to 5.5V)
9 STBY Standby control (active HIGH to enable the IC)
10 BIN1 Input signal for Motor B (controls direction)
11 BIN2 Input signal for Motor B (controls direction)
12 PWMB PWM input for Motor B (controls speed)
13 B01 Output 1 for Motor B
14 B02 Output 2 for Motor B
15-24 NC Not connected (reserved for internal use or unused pins)

Usage Instructions

How to Use the TB6612FNG in a Circuit

  1. Power Connections:

    • Connect the motor power supply (VM) to the motor voltage input pin (Pin 6).
    • Connect the logic power supply (VCC) to the logic voltage input pin (Pin 8).
    • Ensure a common ground (GND) connection between the motor driver, power supply, and microcontroller.
  2. Motor Connections:

    • Connect the motor terminals to the output pins (A01, A02 for Motor A; B01, B02 for Motor B).
  3. Control Signals:

    • Use the AIN1, AIN2, and PWMA pins to control Motor A.
    • Use the BIN1, BIN2, and PWMB pins to control Motor B.
    • Apply a HIGH signal to the STBY pin to enable the IC.
  4. PWM Control:

    • Use a PWM signal on the PWMA and PWMB pins to control the speed of the motors.
    • Adjust the duty cycle of the PWM signal to vary motor speed.
  5. Direction Control:

    • Set AIN1 and AIN2 (or BIN1 and BIN2) to HIGH/LOW or LOW/HIGH to control the direction of the motor.

Important Considerations

  • Always ensure the motor voltage (VM) and logic voltage (VCC) are within the specified ranges.
  • Use decoupling capacitors near the power supply pins to reduce noise and improve stability.
  • Avoid exceeding the maximum continuous current rating (1.2A per channel) to prevent damage.
  • Use proper heat dissipation methods if operating near the peak current rating.

Example: Connecting to an Arduino UNO

Below is an example of how to control a single DC motor using the TB6612FNG and an Arduino UNO:

Circuit Connections

  • Motor A: Connect one terminal to A01 and the other to A02.
  • Power Supply: Connect VM to a 9V power source and GND to the Arduino GND.
  • Control Pins:
    • AIN1 → Arduino Pin 7
    • AIN2 → Arduino Pin 8
    • PWMA → Arduino Pin 9 (PWM pin)
    • STBY → Arduino Pin 10

Arduino Code

// Define control pins for Motor A
const int AIN1 = 7;  // Direction control pin 1
const int AIN2 = 8;  // Direction control pin 2
const int PWMA = 9;  // PWM speed control pin
const int STBY = 10; // Standby pin

void setup() {
  // Set pin modes
  pinMode(AIN1, OUTPUT);
  pinMode(AIN2, OUTPUT);
  pinMode(PWMA, OUTPUT);
  pinMode(STBY, OUTPUT);

  // Enable the motor driver
  digitalWrite(STBY, HIGH);
}

void loop() {
  // Rotate motor forward
  digitalWrite(AIN1, HIGH);
  digitalWrite(AIN2, LOW);
  analogWrite(PWMA, 128); // Set speed (0-255)

  delay(2000); // Run for 2 seconds

  // Rotate motor backward
  digitalWrite(AIN1, LOW);
  digitalWrite(AIN2, HIGH);
  analogWrite(PWMA, 128); // Set speed (0-255)

  delay(2000); // Run for 2 seconds

  // Stop the motor
  digitalWrite(AIN1, LOW);
  digitalWrite(AIN2, LOW);
  analogWrite(PWMA, 0); // Set speed to 0

  delay(2000); // Wait for 2 seconds
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Motor Not Spinning:

    • Ensure the STBY pin is set HIGH to enable the IC.
    • Check the motor connections to A01/A02 or B01/B02.
    • Verify that the PWM signal is being generated correctly.
  2. Motor Spins in the Wrong Direction:

    • Swap the HIGH/LOW signals on AIN1 and AIN2 (or BIN1 and BIN2).
  3. Overheating:

    • Ensure the current draw does not exceed 1.2A per channel.
    • Use a heat sink or improve ventilation around the IC.
  4. No Response from the IC:

    • Verify that the logic voltage (VCC) and motor voltage (VM) are within the specified ranges.
    • Check for loose or incorrect wiring.

FAQs

  • Can the TB6612FNG drive stepper motors? Yes, it can drive a single stepper motor by controlling both H-bridges simultaneously.

  • What is the maximum PWM frequency supported? The IC supports PWM frequencies up to 100 kHz.

  • Is it possible to use only one H-bridge? Yes, you can use one H-bridge to control a single motor while leaving the other unused.

  • Does the IC require external diodes for protection? No, the TB6612FNG has built-in flyback diodes for motor protection.