In-stock items handed to the courier within 24-48 hours · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy

© 2026 Geekobot. All rights reserved.

+91 91810 15606 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

Product directory · Sitemap

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,927 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,712 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,320 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,562 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,307 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers499 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries580 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors297 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs576 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays192 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping122 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test733 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics191 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits273 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts220 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio110 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Motors & Motion
  4. ›DFRobot Fermion TB6612FNG Motor Driver (DRI0044)

Component guide · Beginner · 5 min read

DFRobot Fermion TB6612FNG Motor Driver (DRI0044)

Pinout, Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the DFRobot Fermion TB6612FNG motor driver isDFRobot Fermion TB6612FNG motor driver pinoutWiring the DFRobot Fermion TB6612FNG motor driverExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The DFRobot Fermion TB6612FNG board drives two DC motors at 1.2 A each, 3.2 A for a single short pulse. Unlike the common TB6612FNG module it needs only four control pins: one DIR and one PWM pin per motor, and there is no STBY pin to wire. Logic runs from 2.7 to 5.5 V and the motor supply from 2.5 to 12 V.

Key specs at a glance

Driver IC
Toshiba TB6612FNG dual MOSFET H-bridge
Control
DIR + PWM per motor, 4 pins, no STBY
Logic supply (VCC)
2.7 to 5.5 V
Motor supply (VM)
2.5 to 12 V
Current
1.2 A continuous per channel; 2 A repeated pulse, 3.2 A single pulse
PWM
Up to 100 kHz
Protection
Thermal shutdown, low-voltage cut-off
Size
20 x 19.5 mm
01

What the DFRobot Fermion TB6612FNG motor driver is

This is DFRobot's Fermion breakout of the Toshiba TB6612FNG, sold as model DRI0044. The chip is the same MOSFET dual H-bridge found on the usual purple or red TB6612FNG modules, so it loses very little voltage and stays cool on battery robots.

The difference is how you control it. The common module brings out AIN1, AIN2, PWMA, BIN1, BIN2, PWMB and STBY (seven pins). The Fermion board does the direction logic on the board, so you drive each motor with just DIR (which way) and PWM (how fast), the same way as DFRobot's L298N-style boards. There is no STBY pin: the driver is always enabled while VCC is powered.

Use it for line followers, mini sumo and small two-wheel robots with N20, BO or TT gear motors. Its motor supply is rated to 12 V, a little lower than the bare chip's 13.5 V.

02

DFRobot Fermion TB6612FNG motor driver pinout

The pins on the DFRobot Fermion TB6612FNG motor driver and what each one does.

PinFunction
DIR1Motor 1 direction (HIGH one way, LOW the other)
PWM1Motor 1 speed (PWM; 0 = stop)
PWM2Motor 2 speed (PWM; 0 = stop)
DIR2Motor 2 direction
GND (logic side)Ground, join to the controller's GND
VCCLogic supply 2.7 to 5.5 V from the controller (or a HIGH I/O pin)
M1, M1-Motor 1 outputs
M2, M2-Motor 2 outputs
GND (motor side)Motor battery negative
VMMotor battery positive, 2.5 to 12 V
PinFunction
DIR1
Motor 1 direction (HIGH one way, LOW the other)
PWM1
Motor 1 speed (PWM; 0 = stop)
PWM2
Motor 2 speed (PWM; 0 = stop)
DIR2
Motor 2 direction
GND (logic side)
Ground, join to the controller's GND
VCC
Logic supply 2.7 to 5.5 V from the controller (or a HIGH I/O pin)
M1, M1-
Motor 1 outputs
M2, M2-
Motor 2 outputs
GND (motor side)
Motor battery negative
VM
Motor battery positive, 2.5 to 12 V
03

Wiring the DFRobot Fermion TB6612FNG motor driver

Power VCC from the controller's own logic voltage (5 V on an Uno, 3.3 V on an ESP32) and the motors from a separate battery on VM. Join the battery negative to the controller's GND. Put a 10 to 100 µF capacitor across VM and GND near the board if the motor leads are long.

DFRobot Fermion TB6612FNG motor driver pinArduino UnoESP32
DIR1D4GPIO 26
PWM1D5 (PWM)GPIO 25
PWM2D6 (PWM)GPIO 33
DIR2D7GPIO 27
VCC5V3V3
GNDGNDGND
VMMotor battery +Motor battery +
GND (motor side)Motor battery -Motor battery -
M1, M1- / M2, M2-Left and right motorLeft and right motor
DIR1
Arduino Uno:
D4
ESP32:
GPIO 26
PWM1
Arduino Uno:
D5 (PWM)
ESP32:
GPIO 25
PWM2
Arduino Uno:
D6 (PWM)
ESP32:
GPIO 33
DIR2
Arduino Uno:
D7
ESP32:
GPIO 27
VCC
Arduino Uno:
5V
ESP32:
3V3
GND
Arduino Uno:
GND
ESP32:
GND
VM
Arduino Uno:
Motor battery +
ESP32:
Motor battery +
GND (motor side)
Arduino Uno:
Motor battery -
ESP32:
Motor battery -
M1, M1- / M2, M2-
Arduino Uno:
Left and right motor
ESP32:
Left and right motor
04

Example code

Two pins per motor: DIR picks the direction and PWM sets the speed. On an ESP32 use the GPIO numbers from the wiring table; analogWrite works with the ESP32 Arduino core 3.x.

Two motors with DIR and PWM (Arduino Uno) · Arduino C++Verify & upload in Electrolark
const int DIR1 = 4, PWM1 = 5;   // motor 1
const int PWM2 = 6, DIR2 = 7;   // motor 2

// speed -255..255: the sign sets DIR, the size sets PWM
void motor(int dirPin, int pwmPin, int speed) {
  digitalWrite(dirPin, speed >= 0 ? HIGH : LOW);
  analogWrite(pwmPin, constrain(abs(speed), 0, 255));
}

void setup() {
  pinMode(DIR1, OUTPUT); pinMode(PWM1, OUTPUT);
  pinMode(DIR2, OUTPUT); pinMode(PWM2, OUTPUT);
}

void loop() {
  for (int s = 0; s <= 255; s += 5) {        // ramp both motors up
    motor(DIR1, PWM1, s); motor(DIR2, PWM2, s); delay(30);
  }
  delay(1000);
  motor(DIR1, PWM1, -150); motor(DIR2, PWM2, 150);  // spin on the spot
  delay(800);
  motor(DIR1, PWM1, 0); motor(DIR2, PWM2, 0);       // stop
  delay(1500);
}
05

Setup and tuning

No STBY

if you are copying code written for the common TB6612FNG module, drop the STBY and second direction pin (AIN2/BIN2) lines and use DIR + PWM instead.

Direction

if a motor turns the wrong way, swap its two leads (M1 and M1-) or invert DIR in code.

Stopping

write PWM 0 to stop a motor. Ramp speed changes on heavy robots so the start-up current stays under the 3.2 A single-pulse limit.

Motor match

1.2 A continuous suits N20, BO and TT motors. Check your motor's stall current; if it is near or above 2 A, use a bigger driver.

PWM frequency

the Uno default (490 or 980 Hz) works; 20 kHz on an ESP32 removes the motor whine (the chip accepts up to 100 kHz).

Battery

stay at or under 12 V on VM; a 2S Li-ion (8.4 V full) or 6 x AA pack is a good fit.

06

What you need

Shop this list6 of 7 found in our store · ₹1,349

  • DFRobot Fermion TB6612FNG motor driver: the driver this guide coversDFRobot Fermion: TB6612FNG 2x1.2A DC Motor Driver (Breakout)₹489Closest match, check the specs
  • N20 micro metal gear motor: a good motor match for this driverN20 Micro Metal Gear Motor₹229
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • Electrolytic capacitor: bulk capacitance across the supplyElectrolytic Capacitor₹16
  • Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
  • Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
07

Alternatives and when to choose them

  • ✓Common TB6612FNG module: the same chip with AIN1/AIN2/PWMA/STBY pins and up to 13.5 V on VM; more pins but finer control (coast and brake).
  • ✓L298N: up to 35 V and screw terminals, but about 2 V lost and more heat.
  • ✓DRV8833: similar size, 2.7 to 10.8 V, good on a single Li-ion cell.
  • ✓BTS7960: for motors that draw many amps.
08

Common mistakes to avoid

  • !Following a common TB6612FNG module tutorial and looking for STBY, AIN1 and AIN2 pins that this board does not have.
  • !Powering VM above 12 V, for example from a fully charged 3S LiPo (12.6 V).
  • !Leaving the motor battery's negative unconnected from the controller's GND, so the motors twitch or do not move.
  • !Using motors whose stall current is above 2 A, which trips the thermal shutdown.
09

Frequently asked questions

How is this different from the usual TB6612FNG module?

The chip is the same. This DFRobot board needs only DIR and PWM per motor (four control pins) and has no STBY pin, while the common module uses two direction pins, a PWM pin per motor and STBY.

Does it work with 3.3 V boards like ESP32 and Pico?

Yes. Power VCC from 3.3 V and drive DIR and PWM directly; logic works from 2.7 V.

What motor voltage can I use?

2.5 to 12 V on VM. A 2S Li-ion pack or 6 AA cells is a good fit.

How much current can it handle?

1.2 A continuous per channel, 2 A in repeated pulses and 3.2 A for a single short pulse such as a motor start.

Can it drive a stepper motor?

It can step a small bipolar stepper with both channels, but it has no current limiting, so a stepper driver such as the A4988 or TMC2209 is better for NEMA17.

Can I use the AIN1/AIN2 code from other tutorials?

Not as it is. Use one DIR pin and one PWM pin per motor, as in the example on this page.

Parts for this guide

  • DFRobot Fermion: TB6612FNG 2x1.2A DC Motor Driver (Breakout)
    ₹489View
  • N20 Micro Metal Gear Motor
    ₹229View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Electrolytic Capacitor
    ₹16View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
  • Digital Multimeter
    ₹177View
Shop DC Motor Drivers

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Beginner · 6 sessions of 90 minutesSix-week STEM club plan with ready kits, from science to IoTView project
Browse all 1 project

Keep learning

Component guideBeginnerTB6612FNG motor driverThe TB6612FNG drives two DC motors at up to 1.2 A each (3.2 A peak) with MOSFETs, so it wastes far less voltage than an L298N.4 min read · Motors & MotionComparisonBeginnerMotor Drivers ExplainedA motor driver lets a low-power microcontroller control the speed and direction of motors using an H-bridge.4 min read · Motors & MotionComponent guideBeginnerDC Motors ExplainedA brushed DC motor spins when current flows through it: voltage sets the speed and the load sets the current it draws.4 min read · Motors & MotionHow-toIntermediateLine Follower RobotA line follower uses a row of infrared reflective sensors (TCRT5000 type) under the robot to see a black line on a white floor, and steers two DC motors to keep the line centred.3 min read · RoboticsConcept explainerBeginnerPWM ExplainedPWM (pulse-width modulation) switches a pin fully on and off very quickly; the share of time it is on, the duty cycle, sets the average power.3 min read · Electronics Fundamentals

Sources

  • DFRobot DRI0044 wiki (Fermion: TB6612FNG 2x1.2A DC Motor Driver)
  • Toshiba TB6612FNG data sheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the DFRobot Fermion TB6612FNG motor driver isDFRobot Fermion TB6612FNG motor driver pinoutWiring the DFRobot Fermion TB6612FNG motor driverExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)5 items · ₹1,115

DFRobot Fermion: TB6612FNG 2x1.2A DC Motor Driver (Breakout) · N20 Micro Metal Gear Motor · Electrolytic Capacitor · Digital Multimeter · Uno R3 CH340G ATmega328p Compatible Development Board

Ask the Community

Ask a question