Component guide · Intermediate · 3 min read
VNH2SP30 Monster Motor Driver Shield (14A, 30A Peak)

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
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. The single-channel module and the dual 'monster moto' shield are used for 12 V robot cars, wheelchairs-scale bots and linear actuators. Control is two direction pins plus one PWM pin per motor.
Key specs at a glance
- Motor supply
- 5.5 to 16 V
- Current
- About 14 A continuous, 30 A peak (with good cooling)
- PWM
- Up to 20 kHz
- Control
- INA, INB, PWM, EN/DIAG
- Current sense
- CS pin, about 0.13 V per amp
- Protection
- Thermal shutdown, under-voltage, over-current
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.
What the VNH2SP30 monster motor driver is
The VNH2SP30 is an ST automotive chip that holds a complete H-bridge, its gate drivers, current sensing and protection in one package, so one chip drives one large brushed DC motor in both directions.
Real continuous current depends on cooling; without a heatsink expect closer to 6 A before it gets hot. The supply limit is 16 V, so a 24 V system needs a different driver like the BTS7960.
The CS pin gives an analog voltage proportional to motor current, useful for stall detection.
VNH2SP30 monster motor driver pinout
The pins on the VNH2SP30 monster motor driver and what each one does.
| Pin | Function |
|---|---|
| INA / INB | Direction (high/low sets forward, reverse, brake) |
| PWM | Speed |
| EN / DIAG | Enable and fault flag |
| CS | Current sense output |
| VIN / GND | Motor supply |
| OUTA / OUTB | Motor terminals |
- INA / INB
- Direction (high/low sets forward, reverse, brake)
- PWM
- Speed
- EN / DIAG
- Enable and fault flag
- CS
- Current sense output
- VIN / GND
- Motor supply
- OUTA / OUTB
- Motor terminals
Wiring the VNH2SP30 monster motor driver
The dual shield has fixed pins (motor 1: D7, D8, D5; motor 2: D4, D9, D6). Join motor supply ground to Arduino ground.
| VNH2SP30 monster motor driver pin | Arduino Uno | ESP32 |
|---|---|---|
| INA | D7 | GPIO 26 |
| INB | D8 | GPIO 27 |
| PWM | D5 | GPIO 25 |
| CS | A2 | GPIO 34 |
| EN | 5V (pull-up) or a pin | 3V3 via pin |
| 5V / GND | 5V / GND | 5V / GND |
- INA
- Arduino Uno:
- D7
- ESP32:
- GPIO 26
- INB
- Arduino Uno:
- D8
- ESP32:
- GPIO 27
- PWM
- Arduino Uno:
- D5
- ESP32:
- GPIO 25
- CS
- Arduino Uno:
- A2
- ESP32:
- GPIO 34
- EN
- Arduino Uno:
- 5V (pull-up) or a pin
- ESP32:
- 3V3 via pin
- 5V / GND
- Arduino Uno:
- 5V / GND
- ESP32:
- 5V / GND
Example code
A minimal sketch to check the part works.
const int INA = 7, INB = 8, PWM = 5, CS = A2;
void drive(int speed) { // -255..255
digitalWrite(INA, speed > 0);
digitalWrite(INB, speed < 0);
analogWrite(PWM, abs(speed));
}
void setup() { pinMode(INA, OUTPUT); pinMode(INB, OUTPUT); Serial.begin(9600); }
void loop() {
drive(180); delay(2000);
Serial.println(analogRead(CS));
drive(0); delay(500); // INA=INB=0 brakes to ground
drive(-180); delay(2000);
drive(0); delay(500);
}Setup and tuning
the chip is rated for big currents only with copper area and airflow. Add a heatsink or a small fan above about 6 A continuous.
use thick (16 to 18 AWG) motor and battery wires and screw terminals. Dupont jumpers melt at these currents.
20 kHz keeps the motor quiet; on an Uno use a timer library or accept the audible 490 Hz.
stop or brake for 100 to 200 ms before reversing, so the motor does not dump its back-EMF into the bridge.
if EN/DIAG goes low the chip has shut down (over-temperature or over-current). Remove the load, let it cool, then toggle EN to reset.
What you need
Shop this list4 of 5 found in our store · ₹4,124
VNH2SP30 Monster Motor Driver Shield (14A, 30A peak): the part this guide coversVNH2SP30 Monster Motor Driver Shield (14A, 30A peak)₹3,421- 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
Electrolytic capacitor: bulk capacitance across the supplyElectrolytic Capacitor₹16
Alternatives and when to choose them
- BTS7960 motor driver: 24 V and higher current.
- Cytron MD10C: simple 10 A driver.
- High-current motor drivers.
Common mistakes to avoid
- Running it from a 24 V battery, which is above the 16 V rating and kills the chip.
- Pulling high current with no heatsink, so the chip keeps shutting down on temperature.
- Reversing at full speed without a pause, which stresses the bridge and the gearbox.
- Using thin jumper wires that heat up and drop voltage under load.
Frequently asked questions
Can the VNH2SP30 drive two motors?
The single module drives one motor. The dual 'monster moto' shield has two VNH2SP30 chips and drives two motors.
What is the CS pin used for?
CS gives a voltage proportional to motor current, about 0.13 V per amp on the shield. Read it with analogRead to detect stalls or overloads.
What is the maximum supply voltage?
The VNH2SP30 is rated to 16 V, so it suits 12 V and 3S LiPo systems. For 24 V use a BTS7960 or the Pololu VNH5019.
Can it brake the motor?
Yes. Setting INA and INB to the same level shorts the motor terminals through the bridge, which brakes it quickly.
Can an ESP32 control the VNH2SP30?
Yes. The inputs accept 3.3 V logic, so an ESP32 can drive INA, INB and PWM directly; read CS through a pin that can take the voltage it produces.
Parts for this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

