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. ›Pololu VNH5019 Motor Driver Carrier

Component guide · Intermediate · 3 min read

Pololu VNH5019 Motor Driver Carrier

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 Pololu VNH5019 motor driver carrier isPololu VNH5019 motor driver carrier pinoutWiring the Pololu VNH5019 motor driver carrierExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The Pololu VNH5019 carrier drives one brushed DC motor at 5.5 to 24 V and about 12 A continuous, with reverse-battery protection and current sense. It accepts 3.3 V or 5 V logic and PWM up to 20 kHz, so motors run quietly. It is a well-protected step up from the VNH2SP30 when you need 24 V.

Key specs at a glance

Motor supply
5.5 to 24 V
Current
12 A continuous, 30 A peak
PWM
Up to 20 kHz
Logic
2.5 to 5 V
Current sense
About 140 mV per amp
Protection
Reverse battery, thermal, over-voltage, under-voltage
!Safety: High current: wires and parts get hot

This part can carry many amps. Use wire thick enough for the current, put a fuse close to the battery, check that connectors are rated for the load and give drivers and motors room to cool. A short at these currents melts wires in seconds.

01

What the Pololu VNH5019 motor driver carrier is

The Pololu VNH5019 carrier is a small board around ST's VNH5019 H-bridge chip. It drives one brushed DC motor in both directions and adds reverse-battery protection and a current sense output.

Control is the same as the VNH2SP30: INA and INB set direction and braking, PWM sets speed. The ENA/DIAG and ENB/DIAG pins pull low on a fault.

At 12 A the board gets warm; airflow helps for continuous high load.

02

Pololu VNH5019 motor driver carrier pinout

The pins on the Pololu VNH5019 motor driver carrier and what each one does.

PinFunction
VIN / GNDMotor supply
OUTA / OUTBMotor
INA / INBDirection
PWMSpeed
CSCurrent sense
ENA/DIAG, ENB/DIAGEnable and fault
VDDLogic supply
PinFunction
VIN / GND
Motor supply
OUTA / OUTB
Motor
INA / INB
Direction
PWM
Speed
CS
Current sense
ENA/DIAG, ENB/DIAG
Enable and fault
VDD
Logic supply
03

Wiring the Pololu VNH5019 motor driver carrier

Connect the Pololu VNH5019 motor driver carrier like this.

Pololu VNH5019 motor driver carrier pinArduino UnoESP32
INAD2GPIO 26
INBD4GPIO 27
PWMD9GPIO 25
CSA0GPIO 34
VDD / GND5V / GND3V3 / GND
INA
Arduino Uno:
D2
ESP32:
GPIO 26
INB
Arduino Uno:
D4
ESP32:
GPIO 27
PWM
Arduino Uno:
D9
ESP32:
GPIO 25
CS
Arduino Uno:
A0
ESP32:
GPIO 34
VDD / GND
Arduino Uno:
5V / GND
ESP32:
3V3 / GND
04

Example code

For quiet 20 kHz PWM on an ESP32, use ledcAttach with 20000 Hz.

Ramp speed (Uno) · Arduino C++Verify & upload in Electrolark
const int INA = 2, INB = 4, PWM = 9;

void setup() { pinMode(INA, OUTPUT); pinMode(INB, OUTPUT); }

void loop() {
  digitalWrite(INA, HIGH); digitalWrite(INB, LOW);
  for (int s = 0; s <= 255; s += 5) { analogWrite(PWM, s); delay(30); }
  for (int s = 255; s >= 0; s -= 5) { analogWrite(PWM, s); delay(30); }
  delay(1000);
}
05

Setup and tuning

Supply capacitor

keep the board's bulk capacitor and add a larger one (470 µF or more) when the battery leads are long.

PWM

use up to 20 kHz to remove motor whine. Higher frequencies are not supported.

Faults

ENA/DIAGA and ENB/DIAGB are pulled high on the board and go low when the chip shuts down. Read them to detect over-current or over-temperature.

Current sense

CS gives about 140 mV per amp; average a few readings because it follows the PWM.

Cooling

at 12 A continuous the board gets hot; add airflow for long runs.

06

What you need

Shop this list3 of 4 found in our store · ₹4,246

  • Pololu VNH5019 Motor Driver Carrier: the part this guide coversPololu VNH5019 Motor Driver Carrier₹3,559
  • 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
  • SMPS power supply in metal enclosure (5/12/24 V): a 12 or 24 V supplySMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
07

Alternatives and when to choose them

  • ✓VNH2SP30 monster driver: cheaper, 16 V max.
  • ✓BTS7960: higher current, less protection.
  • ✓High-current motor drivers.
08

Common mistakes to avoid

  • !Forgetting the common ground between the controller and the motor supply, so the inputs do not switch reliably.
  • !Using long, thin battery wires without an extra capacitor, which causes voltage spikes.
  • !Ignoring the DIAG pins, so a thermal shutdown looks like a code bug.
  • !Expecting 30 A continuous: 30 A is a peak, 12 A is the continuous rating.
09

Frequently asked questions

Can the VNH5019 run a 24 V motor?

Yes. It is rated for 5.5 to 24 V nominal supplies, which is why it is chosen over the 16 V VNH2SP30 for 24 V gear motors.

Does it work with 3.3 V logic?

Yes. The inputs accept logic from about 2.5 V to 5 V, so ESP32, Raspberry Pi Pico and Arduino Uno all work.

Is it protected against reversed battery wires?

Yes. The carrier has reverse-battery protection on the motor supply, but the logic side still needs correct wiring.

How do I measure motor current?

Read the CS pin with an analog input. It gives about 140 mV per amp, so 1.4 V means roughly 10 A.

How do I drive two motors?

Use two carriers, one per motor, or Pololu's dual VNH5019 shield which puts two drivers on one board.

Parts for this guide

  • Pololu VNH5019 Motor Driver Carrier
    ₹3,559View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • SMPS Power Supply, Metal Enclosure (5V / 12V / 24V)
    ₹298View
Shop DC Motor Drivers

Keep learning

Component guideIntermediateHigh-Current Motor DriversWhen an L298N is not enough, a high-current H-bridge module such as the BTS7960 (IBT-2) or a Cytron MD10C drives large DC motors at tens of amps.3 min read · Motors & MotionComponent guideIntermediateVNH2SP30 Monster Motor Driver Shield (14A, 30A Peak)The VNH2SP30 is a full H-bridge in one chip, rated about 14 A continuous and 30 A peak, with built-in current sensing and thermal protection.3 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 & Motion

Sources

  • Pololu VNH5019 carrier documentation

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 Pololu VNH5019 motor driver carrier isPololu VNH5019 motor driver carrier pinoutWiring the Pololu VNH5019 motor driver carrierExample 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)2 items · ₹3,763

Pololu VNH5019 Motor Driver Carrier · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

Ramps up and down forward, then rests 1 s.

Motor stopped

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