

The DRV8833 is a dual H-bridge motor driver designed to control two DC motors or one stepper motor. It provides bidirectional control and supports adjustable speed through Pulse Width Modulation (PWM) signals. Compact and efficient, the DRV8833 is ideal for battery-powered applications and robotics projects. Its built-in protection features, such as overcurrent and thermal shutdown, make it a reliable choice for motor control.








The DRV8833 motor driver has the following key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage (Vcc) | 2.7V to 10.8V |
| Motor Output Current | Up to 1.5A per channel (continuous) |
| Peak Current (per channel) | 2A (for short durations) |
| Logic Input Voltage | 0V to 5.5V |
| PWM Frequency | Up to 250 kHz |
| Thermal Shutdown | Yes |
| Overcurrent Protection | Yes |
| Operating Temperature | -40°C to 85°C |
The DRV8833 comes in a 16-pin package. Below is the pinout and description:
| Pin | Name | Description |
|---|---|---|
| 1 | AIN1 | Input 1 for H-Bridge A. Controls motor direction when paired with AIN2. |
| 2 | AIN2 | Input 2 for H-Bridge A. Controls motor direction when paired with AIN1. |
| 3 | BIN1 | Input 1 for H-Bridge B. Controls motor direction when paired with BIN2. |
| 4 | BIN2 | Input 2 for H-Bridge B. Controls motor direction when paired with BIN1. |
| 5 | VCC | Power supply for the motor driver (2.7V to 10.8V). |
| 6 | GND | Ground connection. |
| 7 | AOUT1 | Output 1 for H-Bridge A. Connect to one terminal of Motor A. |
| 8 | AOUT2 | Output 2 for H-Bridge A. Connect to the other terminal of Motor A. |
| 9 | BOUT1 | Output 1 for H-Bridge B. Connect to one terminal of Motor B. |
| 10 | BOUT2 | Output 2 for H-Bridge B. Connect to the other terminal of Motor B. |
| 11 | nSLEEP | Sleep mode input. Pull low to disable the driver and reduce power consumption. |
| 12 | nFAULT | Fault output. Active low when a fault condition occurs (e.g., overcurrent). |
| 13 | VMA | Motor power supply for H-Bridge A. |
| 14 | VMB | Motor power supply for H-Bridge B. |
| 15 | DECAY | Decay mode selection for current regulation. |
| 16 | NC | No connection. |
VCC pin and ground to the GND pin. Ensure the power supply can handle the current requirements of your motors.AOUT1, AOUT2 for Motor A; BOUT1, BOUT2 for Motor B).AIN1, AIN2, BIN1, and BIN2 pins to control the direction and speed of the motors. These pins accept logic levels (0V to 5.5V).nSLEEP pin low to put the driver into low-power sleep mode. Pull it high to enable normal operation.nFAULT pin for fault conditions. If it goes low, check for issues such as overcurrent or thermal shutdown.Below is an example of how to control a single DC motor using the DRV8833 and an Arduino UNO:
AIN1 to Arduino pin 9.AIN2 to Arduino pin 10.nSLEEP to Arduino pin 8.AOUT1 and AOUT2 to the motor terminals.VCC to a 5V power supply and GND to ground.// Define motor control pins
const int AIN1 = 9; // Motor direction control pin 1
const int AIN2 = 10; // Motor direction control pin 2
const int nSLEEP = 8; // Sleep mode control pin
void setup() {
// Set motor control pins as outputs
pinMode(AIN1, OUTPUT);
pinMode(AIN2, OUTPUT);
pinMode(nSLEEP, OUTPUT);
// Enable the motor driver by pulling nSLEEP high
digitalWrite(nSLEEP, HIGH);
}
void loop() {
// Rotate motor forward
digitalWrite(AIN1, HIGH);
digitalWrite(AIN2, LOW);
delay(2000); // Run motor for 2 seconds
// Stop motor
digitalWrite(AIN1, LOW);
digitalWrite(AIN2, LOW);
delay(1000); // Pause for 1 second
// Rotate motor backward
digitalWrite(AIN1, LOW);
digitalWrite(AIN2, HIGH);
delay(2000); // Run motor for 2 seconds
// Stop motor
digitalWrite(AIN1, LOW);
digitalWrite(AIN2, LOW);
delay(1000); // Pause for 1 second
}
VCC and GND pins to reduce noise and improve stability.Motor Not Spinning
nSLEEP pin is pulled high.AIN1, AIN2, etc.) are correctly configured.Motor Spins in the Wrong Direction
Overheating
nFAULT Pin is Low
Q: Can I use the DRV8833 to control a stepper motor?
A: Yes, the DRV8833 can control a bipolar stepper motor by using both H-bridges. You will need to sequence the inputs (AIN1, AIN2, BIN1, BIN2) appropriately to drive the stepper motor.
Q: What happens if I exceed the current rating?
A: The DRV8833 has built-in overcurrent protection. If the current exceeds the limit, the driver will shut down to prevent damage.
Q: Can I use a 3.3V microcontroller with the DRV8833?
A: Yes, the logic input pins are compatible with 3.3V and 5V logic levels.
Q: How do I select the decay mode?
A: The DECAY pin allows you to select the decay mode for current regulation. Refer to the datasheet for specific configurations.