The DRV8834 Low-Voltage Stepper Motor Driver Carrier by Pololu is a compact and versatile motor driver designed to control bipolar stepper motors. It features dual H-bridge outputs, adjustable current control, and microstepping capabilities, allowing for precise and efficient motor control. The DRV8834 is particularly well-suited for low-voltage applications, operating with motor supply voltages as low as 2.5V. Additionally, it includes built-in protection features such as overcurrent protection, thermal shutdown, and undervoltage lockout, ensuring reliable operation in demanding environments.
The following table outlines the key technical details of the DRV8834:
Parameter | Value |
---|---|
Motor Supply Voltage (VMOT) | 2.5V to 10.8V |
Logic Voltage (VCC) | 1.8V to 7V |
Maximum Output Current | 1.5A per phase (continuous), 2A (peak) |
Microstepping Modes | Full-step, half-step, 1/4-step, 1/8-step, 1/16-step, 1/32-step |
Current Control | Adjustable via external potentiometer |
Protection Features | Overcurrent, thermal shutdown, undervoltage lockout |
Dimensions | 0.6" × 0.8" × 0.1" (15.2 mm × 20.3 mm × 2.7 mm) |
Operating Temperature | -40°C to +85°C |
The DRV8834 has 16 pins, which are described in the table below:
Pin | Name | Description |
---|---|---|
1 | VMOT | Motor power supply (2.5V to 10.8V). Connect a decoupling capacitor close to this pin. |
2 | GND | Ground connection for motor power supply. |
3 | B2 | Output for motor coil B (phase 2). |
4 | B1 | Output for motor coil B (phase 1). |
5 | A1 | Output for motor coil A (phase 1). |
6 | A2 | Output for motor coil A (phase 2). |
7 | VCC | Logic power supply (1.8V to 7V). |
8 | GND | Ground connection for logic power supply. |
9 | STEP | Step input. A rising edge on this pin advances the motor by one step. |
10 | DIR | Direction input. High or low determines the rotation direction of the motor. |
11 | M0 | Microstepping mode selection input 0. |
12 | M1 | Microstepping mode selection input 1. |
13 | DECAY | Decay mode selection input. |
14 | FAULT | Fault output. Active low when a fault condition occurs. |
15 | SLEEP | Sleep mode input. Pull low to put the driver into low-power sleep mode. |
16 | ENABLE | Enable input. Pull low to disable the motor outputs. |
Power Connections:
Motor Connections:
Control Inputs:
Current Limiting:
Optional Features:
Below is an example of how to control a stepper motor using the DRV8834 and an Arduino UNO:
// Define pin connections
#define STEP_PIN 3 // Connect to the STEP pin of DRV8834
#define DIR_PIN 4 // Connect to the DIR pin of DRV8834
void setup() {
pinMode(STEP_PIN, OUTPUT); // Set STEP pin as output
pinMode(DIR_PIN, OUTPUT); // Set DIR pin as output
digitalWrite(DIR_PIN, LOW); // Set initial direction (LOW = clockwise)
}
void loop() {
// Generate step pulses to move the motor
digitalWrite(STEP_PIN, HIGH); // Set STEP pin HIGH
delayMicroseconds(500); // Wait 500 microseconds
digitalWrite(STEP_PIN, LOW); // Set STEP pin LOW
delayMicroseconds(500); // Wait 500 microseconds
}
Motor Not Moving:
Overheating:
FAULT Pin Active (Low):
Erratic Motor Movement:
Q: Can the DRV8834 drive unipolar stepper motors?
A: No, the DRV8834 is designed for bipolar stepper motors only.
Q: What is the maximum step rate supported by the DRV8834?
A: The maximum step rate depends on the STEP signal timing. Refer to the datasheet for the minimum pulse width requirements.
Q: Can I use the DRV8834 with a 12V motor?
A: No, the maximum motor supply voltage for the DRV8834 is 10.8V. Using a higher voltage may damage the driver.
Q: How do I reset the driver after a fault condition?
A: Toggle the SLEEP pin or cycle the power to reset the driver. Ensure the fault condition is resolved before restarting.