Same-day dispatch before 2 PM · 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: free 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
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

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

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 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 & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 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
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 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 Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Motors & Motion
  4. ›Motor Drivers Explained
Step 3 of 16 in Motors and robotsPart of a learning path.
Next

Comparison · Beginner · 4 min read

Motor Drivers Explained

L298N vs TB6612FNG vs DRV8833

By Geekobot Learning Team · Updated 24 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat does a motor driver do?Motor driver comparisonL298N pinout and wiringHow to choose a motor driverWhat about steppers and servos?Try itCommon mistakesFAQsParts and next steps
Short answer

A motor driver lets a low-power microcontroller control the speed and direction of motors using an H-bridge. For small robots, the TB6612FNG is the best all-round choice: efficient, 1.2 A per channel, 3.3 V-friendly. The L298N handles higher voltages and is easy to wire but wastes about 2 V as heat. Size any driver for the motor's stall current.

Key specs at a glance

L298N
5 to 35 V, 2 A per channel, bipolar transistors, about 2 V drop
TB6612FNG
4.5 to 13.5 V motor supply, 1.2 A continuous (3.2 A peak) per channel, MOSFET
DRV8833
2.7 to 10.8 V, about 1.5 A per channel, MOSFET
L293D
4.5 to 36 V, 0.6 A per channel, built-in diodes
BTS7960
5.5 to 27 V, up to 43 A, single motor
Control
IN1/IN2 for direction, PWM for speed
01

What does a motor driver do?

An H-bridge is four switches arranged around a motor in an H shape. Closing one diagonal pair drives current one way; closing the other pair reverses it. Switching rapidly with PWM sets the speed. A driver IC packages the switches, gate drive and protection so two or three microcontroller pins can control a motor that draws amps.

02

Motor driver comparison

DriverMotor voltageCurrent per channelEfficiencyBest for
L298N module5 to 35 V2 A (3 A peak)Low, about 2 V lost12 V robots, beginners, easy screw terminals
TB6612FNG4.5 to 13.5 V1.2 A (3.2 A peak)HighSmall battery robots, ESP32 and Pico
DRV88332.7 to 10.8 VAbout 1.5 AHigh1S Li-ion and 4xAA robots, N20 motors
L293D / motor shield4.5 to 36 V0.6 A (1.2 A peak)LowToy motors, Arduino shields
BTS7960 (IBT-2)5.5 to 27 VUp to 43 AHighWheelchair, scooter and 775 motors
L298N module
Motor voltage:
5 to 35 V
Current per channel:
2 A (3 A peak)
Efficiency:
Low, about 2 V lost
Best for:
12 V robots, beginners, easy screw terminals
TB6612FNG
Motor voltage:
4.5 to 13.5 V
Current per channel:
1.2 A (3.2 A peak)
Efficiency:
High
Best for:
Small battery robots, ESP32 and Pico
DRV8833
Motor voltage:
2.7 to 10.8 V
Current per channel:
About 1.5 A
Efficiency:
High
Best for:
1S Li-ion and 4xAA robots, N20 motors
L293D / motor shield
Motor voltage:
4.5 to 36 V
Current per channel:
0.6 A (1.2 A peak)
Efficiency:
Low
Best for:
Toy motors, Arduino shields
BTS7960 (IBT-2)
Motor voltage:
5.5 to 27 V
Current per channel:
Up to 43 A
Efficiency:
High
Best for:
Wheelchair, scooter and 775 motors
03

L298N pinout and wiring

12V (Vs)

motor supply, 5 to 35 V.

GND

connect to both the battery and the microcontroller ground.

5V

with the regulator jumper fitted and Vs at 12 V or less, this outputs 5 V you can use to power an Arduino. Above 12 V, remove the jumper and supply 5 V here instead.

ENA / ENB

remove the jumpers and connect to PWM pins for speed control.

IN1, IN2 (motor A) and IN3, IN4 (motor B)

direction inputs.

OUT1 to OUT4

to the motors.

Drive one motor with an L298N or TB6612FNG · Arduino C++Verify & upload in Electrolark
const int ENA = 9;   // PWM (PWMA on TB6612FNG)
const int IN1 = 7;
const int IN2 = 8;
// TB6612FNG only: tie STBY high, or drive it from a pin

void setup() {
  pinMode(ENA, OUTPUT);
  pinMode(IN1, OUTPUT);
  pinMode(IN2, OUTPUT);
}

void drive(int speed) {          // -255 to 255
  digitalWrite(IN1, speed > 0);
  digitalWrite(IN2, speed < 0);
  analogWrite(ENA, abs(speed));
}

void loop() {
  drive(200);  delay(2000);      // forward
  drive(0);    delay(500);       // stop
  drive(-200); delay(2000);      // reverse
  drive(0);    delay(500);
}
04

How to choose a motor driver

  1. 1
    Find the stall current of your motor (datasheet, or measure with a multimeter while briefly holding the shaft). The driver's peak rating must exceed it.
  2. 2
    Match the voltage range to your battery, including a fully charged pack (a 3S Li-ion pack reaches 12.6 V, above the TB6612FNG's comfort zone).
  3. 3
    Check logic level: TB6612FNG and DRV8833 accept 3.3 V directly. Most L298N boards also respond to 3.3 V inputs, but test before relying on it.
  4. 4
    Count motors: dual drivers run two DC motors or one bipolar stepper.
05

What about steppers and servos?

Stepper motors are best driven by dedicated step/direction drivers such as the A4988, DRV8825 or TMC2209, which add current limiting and microstepping. Hobby servos contain their own driver and only need a signal pin and power, or a PCA9685 board when you have many.

06

Try it: PWM duty cycle calculator

Change the values and the diagram and results update as you type.

07

Common mistakes to avoid

  • !Choosing a driver by running current rather than stall current.
  • !Forgetting the common ground between driver and microcontroller.
  • !Leaving ENA/ENB jumpers on and wondering why PWM speed control does nothing.
  • !Feeding more than 12 V into an L298N with the 5 V regulator jumper still fitted.
  • !Running an L298N at 6 V and losing a third of the voltage as heat; use a TB6612FNG or DRV8833 for low-voltage robots.
08

Frequently asked questions

Which is better, L298N or TB6612FNG?

For battery robots under 12 V, the TB6612FNG: it is smaller, runs cooler and delivers almost the full battery voltage to the motors. The L298N suits 12 to 24 V motors that draw up to 2 A, where its simple terminals help beginners.

Can the L298N drive a stepper motor?

Yes, one bipolar stepper using both channels, but without current limiting. An A4988 or DRV8825 is the better choice for steppers.

Why is my L298N getting hot?

Its bipolar transistors drop about 1.8 to 3 V at full current, which becomes heat. Use the heatsink, keep current under 2 A, or switch to a MOSFET-based driver.

Can I use an L298N with an ESP32?

Usually yes; most modules recognise 3.3 V on the IN and EN pins. Do not feed the module's 5 V output into ESP32 GPIO pins, and connect grounds.

What does the STBY pin on the TB6612FNG do?

Pulling STBY low puts both channels into standby with outputs off. Tie it high (to VCC) for normal operation or drive it from a pin to cut power to the motors.

Parts for this guide

  • L298N Dual H-Bridge Motor Driver Module
    ₹128View
  • TB6612FNG Dual Motor Driver Module
    ₹130View
  • L293D Motor Driver Shield for Arduino Uno / Mega
    ₹189View
Shop DC Motor DriversShop BLDC Motor Drivers

Calculators

PWM duty cycle calculatorMotor power torque calculator

Terms in this guide

H-bridgeA circuit of four switches that can drive a motor in both directions.PWMPulse-width modulation: switching a signal on and off quickly so its average sets brightness, speed or position.Stall currentThe current a motor draws when its shaft is blocked; the maximum it will draw.Flyback diodeA diode placed across a coil (relay, motor, solenoid) to absorb the voltage spike when current is switched off.Logic levelThe voltage that represents a digital high: 5 V on classic Arduinos, 3.3 V on ESP32, Pico and Raspberry Pi.

Projects that use it

Put this into practice: 35 step-by-step builds in our project library use parts from this guide.

Intermediate · 3–4 hoursLine follower robot with L298N and TCRT5000View projectIntermediate · 3–4 hoursObstacle-avoiding robotView projectIntermediate · 3 hoursTable-edge avoiding robotView project
Browse all 35 projects

Keep learning

Component 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 & MotionComponent guideIntermediateStepper Motors and DriversA stepper motor turns in precise fixed steps, so you can position it accurately without a sensor.4 min read · Motors & MotionComponent guideBeginnerServo Motors GuideA hobby servo is a small motor with a gearbox, position sensor and control circuit that moves to an angle you set with a pulse signal.3 min read · Motors & MotionComponent guideBeginnerLi-ion, 18650 and LiPo BatteriesLithium-ion cells, including 18650s and flat LiPo packs, store about 3.6 to 3.7 V nominal, charge to exactly 4.2 V and should not be discharged below about 3.0 V.4 min read · Power & Batteries

Sources

  • L298 dual full-bridge driver datasheet (STMicroelectronics)
  • TB6612FNG datasheet (Toshiba)
  • DRV8833 datasheet (Texas Instruments)
  • L293D datasheet (Texas Instruments)
  • BTN7960 datasheet (Infineon)

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 does a motor driver do?Motor driver comparisonL298N pinout and wiringHow to choose a motor driverWhat about steppers and servos?Try itCommon 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)3 items · ₹462

L298N Dual H-Bridge Motor Driver Module · TB6612FNG Dual Motor Driver Module · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

drive(200), stop, drive(-200), stop: 2 s, 0.5 s, 2 s, 0.5 s. Change the 200 to see the speed change.

Motor fwd 78%
HIGH / LOWIN1 / IN2

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question